15 #ifndef FS_PDFNAMETREE_H_ 16 #define FS_PDFNAMETREE_H_ 254 #endif // FS_PDFNAMETREE_H_ bool RemoveObj(const WString &name)
Remove a key name from current name tree, along with its value (as PDF object).
"Dests" name tree.
Definition: fs_pdfnametree.h:76
bool operator==(const PDFNameTree &other) const
Equal operator.
PDFNameTree & operator=(const PDFNameTree &other)
Assign operator.
"EmbeddedFiles" name tree.
Definition: fs_pdfnametree.h:80
"JavaScript" name tree.
Definition: fs_pdfnametree.h:78
bool operator!=(const PDFNameTree &other) const
Not equal operator.
WIDE STRING CLASS.
Definition: fx_string.h:1470
bool SetObj(const WString &name, objects::PDFObject *pdf_object)
Set the value (as PDF object) of a specified key name.
~PDFNameTree()
Destructor.
Definition: fs_pdfdoc.h:338
bool Add(const WString &name, objects::PDFObject *pdf_object)
Add a new key name with a PDF object as its value.
Type GetType()
Get the type of current name tree.
WString GetName(int index)
Get a key name in the name tree, by index.
Type
Enumeration for name tree type.
Definition: fs_pdfnametree.h:74
PDFNameTree()
Constructor.
void * FS_HANDLE
Handle type.
Definition: fs_basictypes.h:216
Header file for common definitions and classes.
bool IsEmpty() const
Check whether current object is empty or not.
Definition: fs_pdfnametree.h:67
bool Rename(const WString &old_name, const WString &new_name)
Rename an existing key name to a new key name.
Header file for PDF object related definitions and classes.
Definition: fs_basictypes.h:342
bool RemoveAllObjs()
Remove all key names from current name tree, along with theirs value (as PDF object).
bool HasName(const WString &name)
Check if the specified key name exists in current name tree.
Foxit namespace.
Definition: fs_connectedpdf.h:26
Definition: fs_pdfobject.h:55
int GetCount()
Get the count of elements in current name tree.
objects::PDFObject * GetObj(const WString &name)
Get the value (as PDF object) of a specified key name.