Vanilla.PDF  1.4.1
Cross-platform toolkit for creating and modifying PDF documents
c_destinations.h
Go to the documentation of this file.
1 #ifndef _C_DESTINATIONS_H
2 #define _C_DESTINATIONS_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 
38  typedef enum {
46 
58 
67 
76 
89 
101 
110 
119  } DestinationType;
120 
138  VANILLAPDF_API error_type CALLING_CONVENTION Destination_GetPageNumber(DestinationHandle* handle, ObjectHandle** result);
139 
144  VANILLAPDF_API error_type CALLING_CONVENTION Destination_Release(DestinationHandle* handle);
145 
156  VANILLAPDF_API error_type CALLING_CONVENTION NamedDestinations_Contains(NamedDestinationsHandle* handle, const NameObjectHandle* name, boolean_type* result);
157 
166  VANILLAPDF_API error_type CALLING_CONVENTION NamedDestinations_Find(NamedDestinationsHandle* handle, const NameObjectHandle* name, DestinationHandle** result);
167 
172  VANILLAPDF_API error_type CALLING_CONVENTION NamedDestinations_Release(NamedDestinationsHandle* handle);
173 
176 #ifdef __cplusplus
177 };
178 #endif
179 
180 #endif /* _C_DESTINATIONS_H */
Display the page designated by page, with the vertical coordinate top positioned at the top edge of t...
Definition: c_destinations.h:109
error_type NamedDestinations_Find(NamedDestinationsHandle *handle, const NameObjectHandle *name, DestinationHandle **result)
Find mapped value for key name.
Display the page designated by page, with its contents magnified just enough to fit the entire page w...
Definition: c_destinations.h:57
Display the page designated by page, with the horizontal coordinate left positioned at the left edge ...
Definition: c_destinations.h:118
error_type NamedDestinations_Contains(NamedDestinationsHandle *handle, const NameObjectHandle *name, boolean_type *result)
Determine if current map contains name.
Display the page designated by page, with the vertical coordinate top positioned at the top edge of t...
Definition: c_destinations.h:66
Base class for all destinations.
Display the page designated by page, with the horizontal coordinate left positioned at the left edge ...
Definition: c_destinations.h:75
A map of unique names mapped to their associated a DestinationHandle.
This file contains all type forward declarations returned by the library API.
Display the page designated by page, with the coordinates (left, top) positioned at the upper-left co...
Definition: c_destinations.h:45
Display the page designated by page, with its contents magnified just enough to fit the rectangle spe...
Definition: c_destinations.h:88
DestinationType
Available destination types.
Definition: c_destinations.h:38
error_type Destination_GetPageNumber(DestinationHandle *handle, ObjectHandle **result)
The page of the document that shall be displayed.
Base class for syntactic tokens.
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...
error_type Destination_Release(DestinationHandle *handle)
Decrement the internal reference counter.
This file contains types and constants used as parameters or return values.
Represents unique name references in document.
Display the page designated by page, with its contents magnified just enough to fit its bounding box ...
Definition: c_destinations.h:100
int8_t boolean_type
Boolean type supported in C.
Definition: c_types.h:31
error_type NamedDestinations_Release(NamedDestinationsHandle *handle)
Decrement the internal reference counter.