7#ifndef CDOCUMENTWRITER_INTERFACE_H
9#define CDOCUMENTWRITER_INTERFACE_H
void CDocumentWriter_SetOutputProgressCallback(CDocumentWriter argCDocumentWriter, IProgressDocumentWriting argpProgress, idrs_exception *pargException)
Sets the object for monitoring progress.
IDRS_UINT64 CDocumentWriter_GetDocumentMaxMemoryConsumption(const CDocumentWriter argCDocumentWriter, idrs_exception *pargException)
Gets the value for the max memory consumption threshold.
IDRS_ERROR CDocumentWriter_Save8(const CDocumentWriter argCDocumentWriter, IStreamFactory argStreamFactory, const CPageArray argPageArray, idrs_exception *pargException)
Creates one or more output documents using the supplied pages array. The method is using argStreamFac...
IFontDataProviderCallback CDocumentWriter_GetFontDataProvider(const CDocumentWriter argCDocumentWriter, idrs_exception *pargException)
Gets the callback object used for formatting.
IDRS_ERROR CDocumentWriter_Save3(const CDocumentWriter argCDocumentWriter, const idrs_string strOutputFilePath, const CPageArray argPageArray, idrs_exception *pargException)
Creates the output file using the supplied pages array and writes it to the given file path.
IDRS_ERROR CDocumentWriter_Save6(const CDocumentWriter argCDocumentWriter, IByteStream argOutputStream, const CPage xargPageBuffer[], IDRS_UINT const uiPageCount, idrs_exception *pargException)
Creates the output file using the supplied pages and writes it to the given stream.
IDRS_ERROR CDocumentWriter_Save5(const CDocumentWriter argCDocumentWriter, const idrs_string strOutputFilePath, const CPage xargPageBuffer[], IDRS_UINT const uiPageCount, idrs_exception *pargException)
Creates the output file using the supplied pages and writes it to the given file path.
IDRS_ERROR CDocumentWriter_Save2(const CDocumentWriter argCDocumentWriter, IByteStream argOutputStream, const CDocument argDocument, idrs_exception *pargException)
Creates the output file using the supplied document and writes it to the given stream.
void CDocumentWriter_SetOutputParams(CDocumentWriter argCDocumentWriter, const COutputParams argOutputParams, idrs_exception *pargException)
Sets the parameters used to generate the output document.
void CDocumentWriter_SetAdvancedThreadingConfig(CDocumentWriter argCDocumentWriter, const OutputThreadingConfig *stThreadingConfig, idrs_exception *pargException)
Sets the threading config used for the document output process.
IDRS_ERROR CDocumentWriter_Save4(const CDocumentWriter argCDocumentWriter, IByteStream argOutputStream, const CPageArray argPageArray, idrs_exception *pargException)
Creates the output file using the supplied pages array and writes it to the given stream.
void CDocumentWriter_SetDocumentMaxMemoryConsumption(CDocumentWriter argCDocumentWriter, IDRS_UINT64 const uiMaxMemoryConsumption, idrs_exception *pargException)
Sets the threshold for the maximum amount of memory that will be allocated to store the output docume...
IDRS_ERROR CDocumentWriter_Save9(const CDocumentWriter argCDocumentWriter, IStreamFactory argStreamFactory, const CPage xargPageBuffer[], IDRS_UINT const uiPageCount, idrs_exception *pargException)
Creates one or more output documents using the supplied pages. The method is using argStreamFactory t...
void CDocumentWriter_Destroy(CDocumentWriter argCDocumentWriter, idrs_exception *pargException)
Destroys a CDocumentWriter handle.
CDocumentWriter CDocumentWriter_Create(const CIDRS argIDRS, idrs_exception *pargException)
Create creates a CDocumentWriter object.
IProgressDocumentWriting CDocumentWriter_GetOutputProgressCallback(const CDocumentWriter argCDocumentWriter, idrs_exception *pargException)
GetOutputProgressCallback gets the object used for monitoring progress.
CDocumentWriter CDocumentWriter_Create2(const CIDRS argIDRS, IBaseImagePlugin argImagePlugin, idrs_exception *pargException)
Create creates a CDocumentWriter object.
OutputThreadingConfig CDocumentWriter_GetAdvancedThreadingConfig(const CDocumentWriter argCDocumentWriter, idrs_exception *pargException)
Gets the threading config used for the document output process.
void CDocumentWriter_SetThreadingMode(CDocumentWriter argCDocumentWriter, const enum ThreadingMode *const evThreadingMode, idrs_exception *pargException)
Sets the threading mode used for the document output process.
void CDocumentWriter_SetFontDataProvider(CDocumentWriter argCDocumentWriter, IFontDataProviderCallback argpFontProviderCallback, idrs_exception *pargException)
Sets the callback class used by integrators to retrieve font data when creating documents.
IDRS_ERROR CDocumentWriter_Save7(const CDocumentWriter argCDocumentWriter, IStreamFactory argStreamFactory, const CDocument argDocument, idrs_exception *pargException)
Creates one or more output documents using the supplied document object. The method is using argStrea...
COutputParams CDocumentWriter_GetOutputParams(const CDocumentWriter argCDocumentWriter, idrs_exception *pargException)
Gets the output parameters property value.
enum ThreadingMode CDocumentWriter_GetThreadingMode(const CDocumentWriter argCDocumentWriter, idrs_exception *pargException)
Returns the threading mode that should be used for the document output process.
IDRS_ERROR CDocumentWriter_Save(const CDocumentWriter argCDocumentWriter, const idrs_string strOutputFilePath, const CDocument argDocument, idrs_exception *pargException)
Creates the output file using the supplied document and writes it to the given file path.
Interface for CIDRS wrapper.
Interface for COutputParams wrapper.
Interface for CPage wrapper.
ThreadingMode
Multi-threading usage modes.
Definition EnumDefinitions_interface.h:3111
Interface for IProgressDocumentWriting wrapper.
Interface for IStreamFactory wrapper.
CDocument class represents a document composed of a set of CPage elements.
The CDocumentWriter class exports iDRS structures to external file formats.
COutputParams class is the base class for different output classes.
The CPage class manages a page in the IDRS.
IBaseImagePlugin defines the interface required to provide custom image loading/saving capabilities.
IByteStream defines the interface required to provide read, write and seek functionalities for a sequ...
IFontDataProviderCallback defines the interface required to supply the fonts to be used by the docume...
IProgressDocumentWriting defines the interface required to monitor document writing progress.
IStreamFactory represents an interface used for output stream creation.
Class that handles a string of characters.
unsigned long IDRS_ERROR
The IDRS_ERROR data type defines an error code.
Definition idrserr_interface.h:16
Defines how many threads output operations should use for processing.
Definition StructDefinitions_interface.h:172