Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CPDF_FileSpec Class Reference

#include <cpdf_filespec.h>

+ Collaboration diagram for CPDF_FileSpec:

Public Member Functions

 CPDF_FileSpec (RetainPtr< const CPDF_Object > pObj)
 
 ~CPDF_FileSpec ()
 
WideString GetFileName () const
 
RetainPtr< const CPDF_StreamGetFileStream () const
 
RetainPtr< const CPDF_DictionaryGetParamsDict () const
 
RetainPtr< CPDF_DictionaryGetMutableParamsDict ()
 

Static Public Member Functions

static WideString EncodeFileName (const WideString &filepath)
 
static WideString DecodeFileName (const WideString &filepath)
 

Detailed Description

Definition at line 19 of file cpdf_filespec.h.

Constructor & Destructor Documentation

◆ CPDF_FileSpec()

CPDF_FileSpec::CPDF_FileSpec ( RetainPtr< const CPDF_Object > pObj)
explicit

Definition at line 60 of file cpdf_filespec.cpp.

References CPDF_FileSpec().

Referenced by CPDF_FileSpec().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ~CPDF_FileSpec()

CPDF_FileSpec::~CPDF_FileSpec ( )
default

Member Function Documentation

◆ DecodeFileName()

WideString CPDF_FileSpec::DecodeFileName ( const WideString & filepath)
static

Definition at line 67 of file cpdf_filespec.cpp.

References fxcrt::WideString::WideString(), and fxcrt::WideString::WideString().

Referenced by GetFileName().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ EncodeFileName()

WideString CPDF_FileSpec::EncodeFileName ( const WideString & filepath)
static

Definition at line 169 of file cpdf_filespec.cpp.

References fxcrt::WideString::WideString(), and fxcrt::WideString::WideString().

Referenced by CPDF_InteractiveForm::ExportToFDF().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetFileName()

WideString CPDF_FileSpec::GetFileName ( ) const

Definition at line 97 of file cpdf_filespec.cpp.

References DecodeFileName(), fxcrt::WideString::FromDefANSI(), CPDF_Dictionary::GetByteStringFor(), CPDF_String::GetString(), fxcrt::WideString::IsEmpty(), and fxcrt::ByteString::operator==().

Referenced by FPDFAttachment_GetName(), CPDF_Action::GetFilePath(), and TEST().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetFileStream()

RetainPtr< const CPDF_Stream > CPDF_FileSpec::GetFileStream ( ) const

Definition at line 130 of file cpdf_filespec.cpp.

References CPDF_Dictionary::GetUnicodeTextFor(), and fxcrt::WideString::IsEmpty().

Referenced by TEST().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetMutableParamsDict()

RetainPtr< CPDF_Dictionary > CPDF_FileSpec::GetMutableParamsDict ( )

Definition at line 164 of file cpdf_filespec.cpp.

◆ GetParamsDict()

RetainPtr< const CPDF_Dictionary > CPDF_FileSpec::GetParamsDict ( ) const

Definition at line 155 of file cpdf_filespec.cpp.

Referenced by TEST().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: