Vanilla.PDF  1.6.0
Cross-platform toolkit for creating and modifying PDF documents
c_document_info.h
Go to the documentation of this file.
1#ifndef _C_DOCUMENT_INFO_H
2#define _C_DOCUMENT_INFO_H
3
7
8#ifdef __cplusplus
9extern "C"
10{
11#endif
12
31 typedef enum {
32 DocumentTrappedType_Undefined = 0,
33
41
48
54
63 VANILLAPDF_API error_type CALLING_CONVENTION DocumentInfo_GetTitle(DocumentInfoHandle* handle, StringObjectHandle** result);
64
68 VANILLAPDF_API error_type CALLING_CONVENTION DocumentInfo_GetAuthor(DocumentInfoHandle* handle, StringObjectHandle** result);
69
73 VANILLAPDF_API error_type CALLING_CONVENTION DocumentInfo_GetSubject(DocumentInfoHandle* handle, StringObjectHandle** result);
74
78 VANILLAPDF_API error_type CALLING_CONVENTION DocumentInfo_GetKeywords(DocumentInfoHandle* handle, StringObjectHandle** result);
79
86 VANILLAPDF_API error_type CALLING_CONVENTION DocumentInfo_GetCreator(DocumentInfoHandle* handle, StringObjectHandle** result);
87
93 VANILLAPDF_API error_type CALLING_CONVENTION DocumentInfo_GetProducer(DocumentInfoHandle* handle, StringObjectHandle** result);
94
98 VANILLAPDF_API error_type CALLING_CONVENTION DocumentInfo_GetCreationDate(DocumentInfoHandle* handle, DateHandle** result);
99
103 VANILLAPDF_API error_type CALLING_CONVENTION DocumentInfo_GetModificationDate(DocumentInfoHandle* handle, DateHandle** result);
104
108 VANILLAPDF_API error_type CALLING_CONVENTION DocumentInfo_GetTrapped(DocumentInfoHandle* handle, DocumentTrappedType* result);
109
114 VANILLAPDF_API error_type CALLING_CONVENTION DocumentInfo_Release(DocumentInfoHandle* handle);
115
118#ifdef __cplusplus
119};
120#endif
121
122#endif /* _C_DOCUMENT_INFO_H */
DocumentTrappedType
Indication whether the document has been modified to include trapping information (see 14....
Definition: c_document_info.h:31
@ DocumentTrappedType_Unknown
Either it is unknown whether the document has been trapped or it has been partly but not yet fully tr...
Definition: c_document_info.h:40
@ DocumentTrappedType_False
The document has not yet been trapped.
Definition: c_document_info.h:52
@ DocumentTrappedType_True
The document has been fully trapped. No further trapping shall be needed.
Definition: c_document_info.h:47
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.
Represents a reference to a particular day represented within a calendar system.
Metadata for the document.
error_type CALLING_CONVENTION DocumentInfo_GetAuthor(DocumentInfoHandle *handle, StringObjectHandle **result)
The name of the person who created the document.
error_type CALLING_CONVENTION DocumentInfo_GetTrapped(DocumentInfoHandle *handle, DocumentTrappedType *result)
Indication whether the document has been modified to include trapping information (see 14....
error_type CALLING_CONVENTION DocumentInfo_GetProducer(DocumentInfoHandle *handle, StringObjectHandle **result)
If the document was converted to PDF from another format, the name of the conforming product that con...
error_type CALLING_CONVENTION DocumentInfo_GetCreator(DocumentInfoHandle *handle, StringObjectHandle **result)
If the document was converted to PDF from another format, the name of the conforming product that cre...
error_type CALLING_CONVENTION DocumentInfo_GetModificationDate(DocumentInfoHandle *handle, DateHandle **result)
The date and time the document was most recently modified.
error_type CALLING_CONVENTION DocumentInfo_Release(DocumentInfoHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION DocumentInfo_GetSubject(DocumentInfoHandle *handle, StringObjectHandle **result)
The subject of the document.
error_type CALLING_CONVENTION DocumentInfo_GetCreationDate(DocumentInfoHandle *handle, DateHandle **result)
The date and time the document was created.
error_type CALLING_CONVENTION DocumentInfo_GetKeywords(DocumentInfoHandle *handle, StringObjectHandle **result)
Keywords associated with the document.
error_type CALLING_CONVENTION DocumentInfo_GetTitle(DocumentInfoHandle *handle, StringObjectHandle **result)
The document's title.
Reprsents human readable text.
uint32_t error_type
This is return value type of all API functions.
Definition: c_types.h:25