iDRS™ SDK 16
Loading...
Searching...
No Matches
CDocument_interface.h
Go to the documentation of this file.
1
7#ifndef CDOCUMENT_INTERFACE_H
8
9#define CDOCUMENT_INTERFACE_H
10
11#include "CObjPtr_interface.h"
14
15#include "idrs_common.h"
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
42CDocument CDocument_Create(CIDRS argIDRS, IDRS_BOOL const bBlocking, idrs_exception *pargException);
43
64CDocument CDocument_Create2(CIDRS argIDRS, idrs_exception *pargException);
65
72CDocument CDocument_Create3(IPageCollection argPageCollection, idrs_exception *pargException);
73
81IPageCollection CDocument_GetPages(const CDocument argCDocument, idrs_exception *pargException);
82
90CDocumentMetadata CDocument_GetMetadata(const CDocument argCDocument, idrs_exception *pargException);
91
99void CDocument_SetMetadata(CDocument argCDocument, const CDocumentMetadata argMetadata, idrs_exception *pargException);
100
108void CDocument_Destroy(CDocument argCDocument, idrs_exception *pargException);
109
110#ifdef __cplusplus
111}
112#endif /* __cplusplus */
113
114#endif /* CDOCUMENT_INTERFACE_H */
CDocumentMetadata CDocument_GetMetadata(const CDocument argCDocument, idrs_exception *pargException)
GetMetadata returns the document's metadata container.
CDocument CDocument_Create2(CIDRS argIDRS, idrs_exception *pargException)
Creates a new CDocument that uses a CDefaultPageCollection to handle the pages.
void CDocument_Destroy(CDocument argCDocument, idrs_exception *pargException)
Destroys a CDocument handle.
IPageCollection CDocument_GetPages(const CDocument argCDocument, idrs_exception *pargException)
GetPages returns the collection of CPage elements.
CDocument CDocument_Create3(IPageCollection argPageCollection, idrs_exception *pargException)
Creates a new CDocument that uses a custom IPageCollection.
void CDocument_SetMetadata(CDocument argCDocument, const CDocumentMetadata argMetadata, idrs_exception *pargException)
SetMetadata sets the document's metadata.
CDocument CDocument_Create(CIDRS argIDRS, IDRS_BOOL const bBlocking, idrs_exception *pargException)
Creates a new CDocument that uses a CDefaultPageCollection to handle the pages.
Interface for CDocumentMetadata wrapper.
Interface for CObjPtr wrapper.
Interface for IPageCollection wrapper.
CDocument class represents a document composed of a set of CPage elements.
CDocumentMetadata class represents the set of metadata defined at the document level.
IPageCollection defines the interface for a page collection.
IDRS_INT IDRS_BOOL
A Boolean value.
Definition idrsstd_interface.h:37