CFx SDK Documentation
2022 SP0
|
#include <PdfImportEx.h>
Public Member Functions | |
virtual OdRxDictionaryPtr | properties ()=0 |
virtual ImportResult | import ()=0 |
virtual ImportResult | loadDocument ()=0 |
virtual bool | isDocumentLoaded () const =0 |
virtual ImportResult | loadPage ()=0 |
virtual bool | isPageLoaded () const =0 |
virtual OdUInt32 | getPageCount () const =0 |
virtual double | getMeasureDictInfo ()=0 |
virtual OdPdfImport::ImportResult | fillLayersInfo (std::map< std::wstring, bool > &layers_info)=0 |
virtual double | getPageWidth () const =0 |
virtual double | getPageHeight () const =0 |
virtual void | setClipBoundary (const OdGePoint2dArray &clipBoundary, const bool is_clip_boundary_inverted)=0 |
virtual void | setLayersInfo (std::map< std::wstring, bool > &layers_info)=0 |
virtual void | clearUnderlayInfo ()=0 |
virtual int | preview (int pic_width, int pic_height, OdGiRasterImagePtr &pImage)=0 |
virtual void | getImportedObjectsInfo (size_t &object_count, size_t &error_count)=0 |
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 | |
Public Types inherited from OdPdfImport | |
enum | ImportResult { success , fail , bad_password , bad_file , bad_database , encrypted_file , invalid_page_number , image_file_error , no_objects_imported } |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
An abstract class that provides the interface for upper level of the PDF import manager. <group OdPdfImport_Classes>
Definition at line 41 of file PdfImportEx.h.
|
pure virtual |
Clears underlay information.
|
pure virtual |
Retrieves the layers information from the PDF document.
layers_info | [out] A placeholder for an STL map object that contains layers information. |
|
pure virtual |
Retrieves information about import results .
object_count | [out] A placeholder for the number of PDF objects to be imported. |
error_count | [out] A placeholder for the number of PDF objects imported with an error. |
|
pure virtual |
Retrieves the current measuring unit of the PDF document.
|
pure virtual |
Retrieves the quantity of pages in the PDF document.
|
pure virtual |
Retrieves the current page height of the PDF document.
|
pure virtual |
Retrieves the current page width of the PDF document.
|
pure virtual |
Imports the data from a specified PDF file to a drawing database.
Implements OdPdfImport.
|
pure virtual |
Retrieves whether the PDF document is successfully loaded.
|
pure virtual |
Retrieves whether the page from the PDF document is successfully loaded.
|
pure virtual |
Loads the content of a specified PDF document.
|
pure virtual |
Loads the content of a specified page from the PDF document.
|
pure virtual |
|
pure virtual |
Retrieves current set of the PDF import properties.
Implements OdPdfImport.
|
pure virtual |
Sets a new clipping boundaries for the PDF document content.
clipBoundary | [in] A point array that defines the boundary of clipping. |
is_clip_boundary_inverted | [in] A boolean value that determines whether the boundary is inverted (if is equal to true) or not (if is equal to false). |
|
pure virtual |
Sets layers information.
layers_info | [in] An STL map object that contains layers information. |