#include <PdfName.h>
Inheritance diagram for PoDoFo::PdfName:
Public Member Functions | |
PdfName () | |
PdfName (const std::string &sName) | |
PdfName (const char *pszName) | |
PdfName (const char *pszName, long lLen) | |
std::string | GetEscapedName () const |
PdfName (const PdfName &rhs) | |
void | Write (PdfOutputDevice *pDevice, EPdfWriteMode eWriteMode, const PdfEncrypt *pEncrypt=NULL) const |
PODOFO_NOTHROW const std::string & | GetName () const |
PODOFO_NOTHROW size_t | GetLength () const |
PODOFO_NOTHROW const PdfName & | operator= (const PdfName &rhs) |
PODOFO_NOTHROW bool | operator== (const PdfName &rhs) const |
bool | operator== (const char *rhs) const |
PODOFO_NOTHROW bool | operator== (const std::string &rhs) const |
PODOFO_NOTHROW bool | operator!= (const PdfName &rhs) const |
bool | operator!= (const char *rhs) const |
PODOFO_NOTHROW bool | operator< (const PdfName &rhs) const |
Static Public Member Functions | |
PdfName | FromEscaped (const std::string &sName) |
PdfName | FromEscaped (const char *pszName, pdf_long ilength=0) |
PdfName are required as keys in PdfObject and PdfVariant objects.
PdfName may have a maximum length of 127 characters.
|
Constructor to create NULL strings. use PdfName::KeyNull instead of this constructor |
|
Create a new PdfName object.
|
|
Create a new PdfName object.
|
|
Create a new PdfName object.
|
|
Create a copy of an existing PdfName object.
|
|
Create a new PdfName object from a string containing an escaped name string without the leading / .
|
|
Create a new PdfName object from a string containing an escaped name string without the leading / .
|
|
|
|
|
|
|
|
overloaded operator for convinience The string argument is treated as an unescaped name.
|
|
compare two PdfName objects.
|
|
compare two PdfName objects. Used for sorting in lists
|
|
Assign another name to this object
|
|
overloaded operator for convinience The string argument is treated as an unescaped name.
|
|
overloaded operator for convinience The string argument is treated as an unescaped name.
|
|
compare to PdfName objects.
|
|
Write the name to an output device in PDF format. This is an overloaded member function.
Implements PoDoFo::PdfDataType. |