|
Haru Free PDF Library
|
Functions | |
| HPDF_Outline | HPDF_CreateOutline (HPDF_Doc pdf, HPDF_Outline parent, const char *title, HPDF_Encoder encoder) |
| Create new outline object. More... | |
| HPDF_STATUS | HPDF_Outline_SetOpened (HPDF_Outline outline, HPDF_BOOL opened) |
| Set whether this outline node is opened when the outline is displayed for the first time. More... | |
| HPDF_STATUS | HPDF_Outline_SetDestination (HPDF_Outline outline, HPDF_Destination dst) |
| Set target destination object to jump to when outline object is clicked. More... | |
| HPDF_Outline HPDF_CreateOutline | ( | HPDF_Doc | pdf, |
| HPDF_Outline | parent, | ||
| const char * | title, | ||
| HPDF_Encoder | encoder | ||
| ) |
Create new outline object.
| Document object handle. | |
| parent | Outline object handle which comes to the parent of the created outline object. If NULL, the outline is created as a root outline. |
| title | Caption of the outline object. |
| encoder | Encoding object handle applied to the title. If NULL, PDFDocEncoding is used. |
NULL and calls error handler.NULL | HPDF_STATUS HPDF_Outline_SetDestination | ( | HPDF_Outline | outline, |
| HPDF_Destination | dst | ||
| ) |
Set target destination object to jump to when outline object is clicked.
| outline | Outline object handle. |
| dst | Destination object handle |
| HPDF_STATUS HPDF_Outline_SetOpened | ( | HPDF_Outline | outline, |
| HPDF_BOOL | opened | ||
| ) |
Set whether this outline node is opened when the outline is displayed for the first time.
| outline | Outline object handle. |
| opened | Specify whether outline node is opened or not. |