Vanilla.PDF  1.5.2
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 
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 
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 */
error_type 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 DocumentInfo_GetModificationDate(DocumentInfoHandle *handle, DateHandle **result)
The date and time the document was most recently modified.
The document has been fully trapped. No further trapping shall be needed.
Definition: c_document_info.h:47
Metadata for the document.
error_type DocumentInfo_Release(DocumentInfoHandle *handle)
Decrement the internal reference counter.
error_type DocumentInfo_GetCreator(DocumentInfoHandle *handle, StringObjectHandle **result)
If the document was converted to PDF from another format, the name of the conforming product that cre...
This file contains all type forward declarations returned by the library API.
error_type DocumentInfo_GetTrapped(DocumentInfoHandle *handle, DocumentTrappedType *result)
Indication whether the document has been modified to include trapping information (see 14...
Represents a reference to a particular day represented within a calendar system.
error_type DocumentInfo_GetCreationDate(DocumentInfoHandle *handle, DateHandle **result)
The date and time the document was created.
error_type DocumentInfo_GetTitle(DocumentInfoHandle *handle, StringObjectHandle **result)
The document's title.
error_type DocumentInfo_GetSubject(DocumentInfoHandle *handle, StringObjectHandle **result)
The subject of the document.
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...
DocumentTrappedType
Indication whether the document has been modified to include trapping information (see 14...
Definition: c_document_info.h:31
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
This file contains types and constants used as parameters or return values.
The document has not yet been trapped.
Definition: c_document_info.h:52
Reprsents human readable text.
error_type DocumentInfo_GetAuthor(DocumentInfoHandle *handle, StringObjectHandle **result)
The name of the person who created the document.
error_type DocumentInfo_GetKeywords(DocumentInfoHandle *handle, StringObjectHandle **result)
Keywords associated with the document.