Vanilla.PDF  1.3.0
Cross-platform toolkit for creating and modifying PDF documents
c_page_labels.h
Go to the documentation of this file.
1 #ifndef _C_PAGE_LABELS_H
2 #define _C_PAGE_LABELS_H
3 
4 #include "vanillapdf/c_export.h"
5 #include "vanillapdf/c_handles.h"
6 #include "vanillapdf/c_values.h"
7 
8 #ifdef __cplusplus
9 extern "C"
10 {
11 #endif
12 
41  typedef enum {
46 
51 
56 
64 
73 
84  VANILLAPDF_API error_type CALLING_CONVENTION PageLabels_Contains(PageLabelsHandle* handle, size_type page_number, boolean_type* result);
85 
90  VANILLAPDF_API error_type CALLING_CONVENTION PageLabels_At(PageLabelsHandle* handle, size_type page_number, PageLabelHandle** result);
91 
96  VANILLAPDF_API error_type CALLING_CONVENTION PageLabels_Release(PageLabelsHandle* handle);
97 
108  VANILLAPDF_API error_type CALLING_CONVENTION PageLabel_Prefix(PageLabelHandle* handle, StringObjectHandle** result);
109 
114  VANILLAPDF_API error_type CALLING_CONVENTION PageLabel_Start(PageLabelHandle* handle, IntegerObjectHandle** result);
115 
121  VANILLAPDF_API error_type CALLING_CONVENTION PageLabel_Style(PageLabelHandle* handle, NumberingStyle* result);
122 
127  VANILLAPDF_API error_type CALLING_CONVENTION PageLabel_Release(PageLabelHandle* handle);
128 
131 #ifdef __cplusplus
132 };
133 #endif
134 
135 #endif /* _C_PAGE_LABELS_H */
NumberingStyle
Numbering style types.
Definition: c_page_labels.h:41
error_type PageLabel_Style(PageLabelHandle *handle, NumberingStyle *result)
The numbering style that shall be used for the numeric portion of each page label.
error_type PageLabels_Contains(PageLabelsHandle *handle, size_type page_number, boolean_type *result)
Detemines if collection contains label for page number page_number.
error_type PageLabel_Release(PageLabelHandle *handle)
Decrement the internal reference counter.
Uppercase roman numerals.
Definition: c_page_labels.h:50
Represents integer values.
This file contains all type forward declarations returned by the library API.
uint32_t size_type
Size type defined in standard library.
Definition: c_types.h:62
Lowercase letters (a to z for the first 26 pages, aa to zz for the next 26, and so on)...
Definition: c_page_labels.h:71
Uppercase letters (A to Z for the first 26 pages, AA to ZZ for the next 26, and so on)...
Definition: c_page_labels.h:63
error_type PageLabels_Release(PageLabelsHandle *handle)
Decrement the internal reference counter.
uint32_t error_type
This is return value type of all API functions.
Definition: c_types.h:25
This file contains macro declarations for importing and exporting symbols from library boundaries...
Lowercase roman numerals.
Definition: c_page_labels.h:55
error_type PageLabels_At(PageLabelsHandle *handle, size_type page_number, PageLabelHandle **result)
Get page label for page number page_number.
This file contains types and constants used as parameters or return values.
Page labels are used for numbering or otherwise identifying individual pages.
Collection of PageLabelHandle.
Reprsents human readable text.
error_type PageLabel_Prefix(PageLabelHandle *handle, StringObjectHandle **result)
The label prefix for page labels in this range.
error_type PageLabel_Start(PageLabelHandle *handle, IntegerObjectHandle **result)
The value of the numeric portion for the first page label in the range.
int8_t boolean_type
Boolean type supported in C.
Definition: c_types.h:31
Decimal arabic numerals.
Definition: c_page_labels.h:45