Foxit PDF SDK
fs_readingbookmark.h
浏览该文件的文档.
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 
62 
70  bool operator == (const ReadingBookmark& other) const;
78  bool operator != (const ReadingBookmark& other) const;
79 
87  bool IsEmpty() const;
88 
94  WString GetTitle() const;
95 
103  void SetTitle(const WString& title);
104 
110  int GetPageIndex() const;
111 
121  void SetPageIndex(int index);
122 
132  DateTime GetDateTime(bool is_creation_date) const;
133 
144  void SetDateTime(const DateTime& date_time, bool is_creation_date);
145 
146  // User is strongly recommended NOT to use this method; otherwise unknown situation may occur.
147  explicit ReadingBookmark(FS_HANDLE handle = NULL);
148 };
149 } // namespace pdf
150 } // namespace foxit
151 #endif // FS_READINGBOOKMARK_H_
152 
WString GetTitle() const
获取标题。
void SetTitle(const WString &title)
设置标题。
int GetPageIndex() const
获取目标页面的索引。
bool operator !=(const ReadingBookmark &other) const
不相等操作符。
Definition: fs_basictypes.h:482
bool IsEmpty() const
检查当前对象是否为空。
宽字符串类
Definition: fx_string.h:1457
ReadingBookmark(const ReadingBookmark &other)
构造函数,使用另一个阅读书签对象。
bool operator==(const ReadingBookmark &other) const
相等操作符。
~ReadingBookmark()
析构函数。
ReadingBookmark & operator=(const ReadingBookmark &other)
赋值操作符。
void SetPageIndex(int index)
设置目标页面的索引。
void * FS_HANDLE
句柄类型。
Definition: fs_basictypes.h:214
通用定义和类的头文件。
DateTime GetDateTime(bool is_creation_date) const
获取日期时间信息。
Definition: fs_basictypes.h:449
Foxit命名空间。
Definition: fs_taggedpdf.h:27
void SetDateTime(const DateTime &date_time, bool is_creation_date)
设置日期时间信息。
#define NULL
空指针值。
Definition: fx_system.h:792
Definition: fs_readingbookmark.h:43