Vanilla.PDF  1.6.0
Cross-platform toolkit for creating and modifying PDF documents
c_page_object.h
Go to the documentation of this file.
1#ifndef _C_PAGE_OBJECT_H
2#define _C_PAGE_OBJECT_H
3
7
8#ifdef __cplusplus
9extern "C"
10{
11#endif
12
42 VANILLAPDF_API error_type CALLING_CONVENTION PageObject_CreateFromDocument(DocumentHandle* handle, PageObjectHandle** result);
43
48 VANILLAPDF_API error_type CALLING_CONVENTION PageObject_CreateFromObject(DictionaryObjectHandle* handle, PageObjectHandle** result);
49
55 VANILLAPDF_API error_type CALLING_CONVENTION PageObject_GetContents(PageObjectHandle* handle, PageContentsHandle** result);
56
61 VANILLAPDF_API error_type CALLING_CONVENTION PageObject_GetParent(PageObjectHandle* handle, PageTreeHandle** result);
62
73 VANILLAPDF_API error_type CALLING_CONVENTION PageObject_GetResources(PageObjectHandle* handle, ResourceDictionaryHandle** result);
74
81 VANILLAPDF_API error_type CALLING_CONVENTION PageObject_GetAnnotations(PageObjectHandle* handle, PageAnnotationsHandle** result);
82
90 VANILLAPDF_API error_type CALLING_CONVENTION PageObject_GetMediaBox(PageObjectHandle* handle, RectangleHandle** result);
91
95 VANILLAPDF_API error_type CALLING_CONVENTION PageObject_SetMediaBox(PageObjectHandle* handle, RectangleHandle* value);
96
103 VANILLAPDF_API error_type CALLING_CONVENTION PageObject_GetBaseObject(PageObjectHandle* handle, DictionaryObjectHandle** result);
104
108 VANILLAPDF_API error_type CALLING_CONVENTION PageObject_ToUnknown(PageObjectHandle* handle, IUnknownHandle** result);
109
113 VANILLAPDF_API error_type CALLING_CONVENTION PageObject_FromUnknown(IUnknownHandle* handle, PageObjectHandle** result);
114
119 VANILLAPDF_API error_type CALLING_CONVENTION PageObject_Release(PageObjectHandle* handle);
120
123#ifdef __cplusplus
124};
125#endif
126
127#endif /* _C_PAGE_OBJECT_H */
This file contains macro declarations for importing and exporting symbols from library boundaries.
This file contains all type forward declarations returned by the library API.
This file contains types and constants used as parameters or return values.
A dictionary object is an associative table containing pairs of objects.
Represents high-level file access handle.
Base class for reference counting.
An array of annotation dictionaries that shall contain indirect references to all AnnotationHandle as...
A content stream is a PDF stream object whose data consists of a sequence of instructions describing ...
The leaves of the page tree are page objects, each of which is a dictionary specifying the attributes...
error_type CALLING_CONVENTION PageObject_GetBaseObject(PageObjectHandle *handle, DictionaryObjectHandle **result)
Switch object to low-level syntax API.
error_type CALLING_CONVENTION PageObject_FromUnknown(IUnknownHandle *handle, PageObjectHandle **result)
Convert IUnknownHandle to PageObjectHandle.
error_type CALLING_CONVENTION PageObject_SetMediaBox(PageObjectHandle *handle, RectangleHandle *value)
A rectangle expressed in default user space units, that shall define the boundaries of the physical m...
error_type CALLING_CONVENTION PageObject_Release(PageObjectHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION PageObject_GetMediaBox(PageObjectHandle *handle, RectangleHandle **result)
A rectangle expressed in default user space units, that shall define the boundaries of the physical m...
error_type CALLING_CONVENTION PageObject_GetParent(PageObjectHandle *handle, PageTreeHandle **result)
The page tree node that is the immediate parent of this page object.
error_type CALLING_CONVENTION PageObject_GetContents(PageObjectHandle *handle, PageContentsHandle **result)
A content stream (see 7.8.2, "Content Streams") that shall describe the contents of this page....
error_type CALLING_CONVENTION PageObject_GetAnnotations(PageObjectHandle *handle, PageAnnotationsHandle **result)
An array of annotation dictionaries that shall contain indirect references to all annotations associa...
error_type CALLING_CONVENTION PageObject_CreateFromObject(DictionaryObjectHandle *handle, PageObjectHandle **result)
Create a new PageObject from existing low-level syntax API object.
error_type CALLING_CONVENTION PageObject_CreateFromDocument(DocumentHandle *handle, PageObjectHandle **result)
Creates a new instance.
error_type CALLING_CONVENTION PageObject_ToUnknown(PageObjectHandle *handle, IUnknownHandle **result)
Reinterpret current object as IUnknownHandle.
error_type CALLING_CONVENTION PageObject_GetResources(PageObjectHandle *handle, ResourceDictionaryHandle **result)
A dictionary containing any resources required by the page (see 7.8.3, "Resource Dictionaries").
The pages of a document are accessed through a structure known as the page tree, which defines the or...
Represents rectangle in 2D space.
A content stream's named resources shall be defined by a resource dictionary, which shall enumerate t...
uint32_t error_type
This is return value type of all API functions.
Definition: c_types.h:25