Vanilla.PDF  2.0.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
113 VANILLAPDF_API error_type CALLING_CONVENTION DocumentInfo_ToUnknown(DocumentInfoHandle* handle, IUnknownHandle** result);
114
118 VANILLAPDF_API error_type CALLING_CONVENTION DocumentInfo_FromUnknown(IUnknownHandle* handle, DocumentInfoHandle** result);
119
124 VANILLAPDF_API error_type CALLING_CONVENTION DocumentInfo_Release(DocumentInfoHandle* handle);
125
128#ifdef __cplusplus
129};
130#endif
131
132#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_ToUnknown(DocumentInfoHandle *handle, IUnknownHandle **result)
Reinterpret current object as IUnknownHandle.
error_type CALLING_CONVENTION DocumentInfo_GetSubject(DocumentInfoHandle *handle, StringObjectHandle **result)
The subject of the document.
error_type CALLING_CONVENTION DocumentInfo_FromUnknown(IUnknownHandle *handle, DocumentInfoHandle **result)
Convert IUnknownHandle to DocumentInfoHandle.
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.
Base class for reference counting.
Reprsents human readable text.
uint32_t error_type
This is return value type of all API functions.
Definition c_types.h:25