Foxit PDF SDK
fs_readingbookmark.h
Go to the documentation of this file.
1 
15 #ifndef FS_READINGBOOKMARK_H_
16 #define FS_READINGBOOKMARK_H_
17 
18 #include "common/fs_common.h"
19 
25 namespace foxit {
29 namespace pdf {
43 class ReadingBookmark FS_FINAL : public Base {
44  public:
50  ReadingBookmark(const ReadingBookmark& other);
59 
67  bool operator == (const ReadingBookmark& other) const;
75  bool operator != (const ReadingBookmark& other) const;
76 
84  bool IsEmpty() const;
85 
91  WString GetTitle() const;
92 
100  void SetTitle(const WString& title);
101 
107  int GetPageIndex() const;
108 
118  void SetPageIndex(int index);
119 
129  DateTime GetDateTime(bool is_creation_date) const;
130 
141  void SetDateTime(const DateTime& date_time, bool is_creation_date);
142 
143  // User is strongly recommended NOT to use this method; otherwise unknown situation may occur.
144  explicit ReadingBookmark(FS_HANDLE handle = NULL);
145 };
146 } // namespace pdf
147 } // namespace foxit
148 #endif // FS_READINGBOOKMARK_H_
149 
WString GetTitle() const
Get the title.
void SetTitle(const WString &title)
Set the title.
int GetPageIndex() const
Get the index of the destination page.
Definition: fs_basictypes.h:426
bool IsEmpty() const
Check whether current object is empty or not.
WIDE STRING CLASS.
Definition: fx_string.h:1452
ReadingBookmark(const ReadingBookmark &other)
Constructor, with another reading bookmark object.
bool operator==(const ReadingBookmark &other) const
Equal operator.
ReadingBookmark & operator=(const ReadingBookmark &other)
Assign operator.
void SetPageIndex(int index)
Set the index of the destination page.
bool operator!=(const ReadingBookmark &other) const
Not equal operator.
void * FS_HANDLE
Handle type.
Definition: fs_basictypes.h:216
Header file for common definitions and classes.
DateTime GetDateTime(bool is_creation_date) const
Get date time information.
Definition: fs_basictypes.h:393
Foxit namespace.
Definition: fs_compare.h:27
void SetDateTime(const DateTime &date_time, bool is_creation_date)
Set date time information.
#define NULL
The null-pointer value.
Definition: fx_system.h:767
Definition: fs_readingbookmark.h:43