Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cpdf_name.h>
Public Member Functions | |
Type | GetType () const override |
RetainPtr< CPDF_Object > | Clone () const override |
ByteString | GetString () const override |
WideString | GetUnicodeText () const override |
void | SetString (const ByteString &str) override |
CPDF_Name * | AsMutableName () override |
bool | WriteTo (IFX_ArchiveStream *archive, const CPDF_Encryptor *encryptor) const override |
Public Member Functions inherited from CPDF_Object | |
uint32_t | GetObjNum () const |
void | SetObjNum (uint32_t objnum) |
uint32_t | GetGenNum () const |
void | SetGenNum (uint32_t gennum) |
bool | IsInline () const |
uint64_t | KeyForCache () const |
RetainPtr< CPDF_Object > | CloneDirectObject () const |
virtual float | GetNumber () const |
virtual int | GetInteger () const |
virtual CPDF_Array * | AsMutableArray () |
virtual CPDF_Boolean * | AsMutableBoolean () |
virtual CPDF_Dictionary * | AsMutableDictionary () |
virtual CPDF_Null * | AsMutableNull () |
virtual CPDF_Number * | AsMutableNumber () |
virtual CPDF_Reference * | AsMutableReference () |
virtual CPDF_Stream * | AsMutableStream () |
virtual CPDF_String * | AsMutableString () |
virtual RetainPtr< CPDF_Object > | CloneNonCyclic (bool bDirect, std::set< const CPDF_Object * > *pVisited) const |
virtual RetainPtr< CPDF_Reference > | MakeReference (CPDF_IndirectObjectHolder *holder) const |
RetainPtr< const CPDF_Object > | GetDirect () const |
RetainPtr< CPDF_Object > | GetMutableDirect () |
RetainPtr< const CPDF_Dictionary > | GetDict () const |
RetainPtr< CPDF_Dictionary > | GetMutableDict () |
const CPDF_Array * | AsArray () const |
const CPDF_Boolean * | AsBoolean () const |
const CPDF_Dictionary * | AsDictionary () const |
const CPDF_Name * | AsName () const |
const CPDF_Null * | AsNull () const |
const CPDF_Number * | AsNumber () const |
const CPDF_Reference * | AsReference () const |
const CPDF_Stream * | AsStream () const |
const CPDF_String * | AsString () const |
bool | IsArray () const |
bool | IsBoolean () const |
bool | IsDictionary () const |
bool | IsName () const |
bool | IsNull () const |
bool | IsNumber () const |
bool | IsReference () const |
bool | IsStream () const |
bool | IsString () const |
Public Member Functions inherited from fxcrt::Retainable | |
Retainable ()=default | |
bool | HasOneRef () const |
Public Attributes | |
CONSTRUCT_VIA_MAKE_RETAIN | |
Private Member Functions | |
~CPDF_Name () override | |
Additional Inherited Members | |
Public Types inherited from CPDF_Object | |
enum | Type { kBoolean = 1 , kNumber , kString , kName , kArray , kDictionary , kStream , kNullobj , kReference } |
Static Public Attributes inherited from CPDF_Object | |
static constexpr uint32_t | kInvalidObjNum = static_cast<uint32_t>(-1) |
Protected Member Functions inherited from CPDF_Object | |
CPDF_Object ()=default | |
CPDF_Object (const CPDF_Object &src)=delete | |
~CPDF_Object () override | |
virtual const CPDF_Object * | GetDirectInternal () const |
virtual const CPDF_Dictionary * | GetDictInternal () const |
RetainPtr< CPDF_Object > | CloneObjectNonCyclic (bool bDirect) const |
Protected Member Functions inherited from fxcrt::Retainable | |
virtual | ~Retainable ()=default |
Protected Attributes inherited from CPDF_Object | |
uint32_t | m_ObjNum = 0 |
uint32_t | m_GenNum = 0 |
Definition at line 15 of file cpdf_name.h.
|
overrideprivatedefault |
|
overridevirtual |
Reimplemented from CPDF_Object.
Definition at line 37 of file cpdf_name.cpp.
|
overridevirtual |
Implements CPDF_Object.
Definition at line 25 of file cpdf_name.cpp.
|
overridevirtual |
Reimplemented from CPDF_Object.
Definition at line 29 of file cpdf_name.cpp.
Referenced by CPDF_Dictionary::GetNameFor(), and WriteTo().
|
overridevirtual |
|
overridevirtual |
Reimplemented from CPDF_Object.
Definition at line 41 of file cpdf_name.cpp.
|
overridevirtual |
Reimplemented from CPDF_Object.
Definition at line 33 of file cpdf_name.cpp.
|
overridevirtual |
Implements CPDF_Object.
Definition at line 45 of file cpdf_name.cpp.
References GetString(), fxcrt::ByteString::IsEmpty(), PDF_NameEncode(), and IFX_WriteStream::WriteString().
CPDF_Name::CONSTRUCT_VIA_MAKE_RETAIN |
Definition at line 17 of file cpdf_name.h.