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