![]() |
wxPdfDocument
1.4.0
Library for generating PDF documents from wxWidgets applications
|
#include <pdfbookmark.h>
Public Member Functions | |
| wxPdfBookmark (const wxString &txt, int level, double y, int page) | |
| Constructor. | |
| virtual | ~wxPdfBookmark () |
| Destructor. | |
| wxString | GetText () |
| Get the bookmark text. | |
| int | GetLevel () |
| Get the associated level. | |
| double | GetY () |
| Get the Y offset of the bookmark. | |
| int | GetPage () |
| Get the page number of the bookmark. | |
| void | SetParent (int parent) |
| Set the parent of the bookmark. | |
| int | GetParent () |
| Get the parent of the bookmark. | |
| void | SetPrev (int prev) |
| Set previous bookmark. | |
| int | GetPrev () |
| Get previous bookmark. | |
| void | SetNext (int next) |
| Set next bookmark. | |
| int | GetNext () |
| Get next bookmark. | |
| void | SetFirst (int first) |
| Set first bookmark. | |
| int | GetFirst () |
| Get first bookmark. | |
| void | SetLast (int last) |
| Set last bookmark. | |
| int | GetLast () |
| Get last bookmark. | |
Class representing bookmarks for defining the document's outline. (For internal use only)
| wxPdfBookmark::wxPdfBookmark | ( | const wxString & | txt, |
| int | level, | ||
| double | y, | ||
| int | page ) |
Constructor.
| txt | text associated with the bookmark |
| level | hierarchical level |
| y | offset on the referenced page |
| page | number of the referenced page |
|
virtual |
Destructor.
|
inline |
Get first bookmark.
|
inline |
Get last bookmark.
|
inline |
Get the associated level.
|
inline |
Get next bookmark.
|
inline |
Get the page number of the bookmark.
|
inline |
Get the parent of the bookmark.
|
inline |
Get previous bookmark.
|
inline |
Get the bookmark text.
|
inline |
Get the Y offset of the bookmark.
|
inline |
Set first bookmark.
| first | the number of the first bookmark on the same level in the hierarchy |
|
inline |
Set last bookmark.
| last | the number of the last bookmark on the same level in the hierarchy |
|
inline |
Set next bookmark.
| next | the number of the successor on the same level in the bookmark hierarchy |
|
inline |
Set the parent of the bookmark.
| parent | the number of the parent in the bookmark hierarchy |
|
inline |
Set previous bookmark.
| prev | the number of the predecessor on the same level in the bookmark hierarchy |