My Project
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 
ReadingBookmark(const ReadingBookmark &other)
Constructor, with another reading bookmark object.
void * FS_HANDLE
Handle type.
Definition: fs_basictypes.h:216
bool operator !=(const ReadingBookmark &other) const
Not equal operator.
void SetPageIndex(int index)
Set the index of the destination page.
Definition: fs_basictypes.h:375
bool IsEmpty() const
Check whether current object is empty or not.
bool operator==(const ReadingBookmark &other) const
Equal operator.
Header file for common definitions and classes.
DateTime GetDateTime(bool is_creation_date) const
Get date time information.
int GetPageIndex() const
Get the index of the destination page.
ReadingBookmark & operator=(const ReadingBookmark &other)
Assign operator.
Foxit namespace.
Definition: fs_connectedpdf.h:26
Definition: fs_readingbookmark.h:43
void SetTitle(const WString &title)
Set the title.
#define NULL
The null-pointer value.
Definition: fx_system.h:773
WString GetTitle() const
Get the title.
void SetDateTime(const DateTime &date_time, bool is_creation_date)
Set date time information.
WIDE STRING CLASS.
Definition: fx_string.h:1470
Definition: fs_basictypes.h:342

Foxit Software Corporation Logo
@2019 Foxit Software Incorporated. All rights reserved.