CFx SDK Documentation
2023 SP0
|
#include <PdfPublish.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdFile) | |
ODRX_HEAP_OPERATORS () | |
OdFile () | |
virtual | ~OdFile () |
OdUInt32 | exportPdf (OdDocumentPtr &doc, const OdString &file) |
OdUInt32 | exportPdf (OdDocumentPtr &doc, OdStreamBufPtr &output) |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () const |
virtual void | addRef ()=0 |
virtual void | release ()=0 |
virtual long | numRefs () const |
bool | isKindOf (const OdRxClass *pClass) const |
virtual OdRxObjectPtr | clone () const |
virtual void | copyFrom (const OdRxObject *pSource) |
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
virtual bool | isEqualTo (const OdRxObject *pOther) const |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
This class implements file level operations for publishing drawings in .pdf format.
Definition at line 47 of file PdfPublish.h.
OdPdfPublish::OdFile::OdFile | ( | ) |
Creates a file object for publishing.
|
virtual |
Destroys the file object for publishing.
Writes a specified document content to a specified file.
doc | [in] A smart pointer to the <link OdPdfPublish::OdDocument, document> instance. |
file | [in] A full path to the output file. |
OdUInt32 OdPdfPublish::OdFile::exportPdf | ( | OdDocumentPtr & | doc, |
OdStreamBufPtr & | output | ||
) |
Writes a specified document content to a specified data stream.
doc | [in] A smart pointer to the <link OdPdfPublish::OdDocument, document> instance. |
output | [in] A smart pointer to the output data stream buffer. |
OdPdfPublish::OdFile::ODRX_DECLARE_MEMBERS | ( | OdFile | ) |
OdPdfPublish::OdFile::ODRX_HEAP_OPERATORS | ( | ) |