|
CFx SDK Documentation 2024 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 |
| virtual OdPdfImport::ImportResult | fillFontsInfo (std::map< OdAnsiString, OdAnsiString > &font_map)=0 |
| virtual void | setPreferableFontCallback (PreferableFontCallback callback)=0 |
| virtual OdPdfImport::ImportResult | extractEmbededFonts (OdStringArray &font_list) const =0 |
| virtual ImportResult | import ()=0 |
| virtual OdRxDictionaryPtr | properties ()=0 |
| virtual void | setPreferableFontCallback (PreferableFontCallback callback)=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 , font_file_error } |
Static Public Member Functions inherited from OdRxObject | |
| static OdRxObjectPtr | cast (const OdRxObject *pointer) |
| static OdRxClass * | desc () |
An abstract class that provides the interface for the upper level of the PDF import manager. <group OdPdfImport_Classes>
Definition at line 48 of file PdfImportEx.h.
|
pure virtual |
Clears underlay information.
|
pure virtual |
Extracts embedded TrueType fonts from a .pdf document and returns the list of font files.
| font_list | [out] A placeholder for the OdStringArray that contains names for extracted fonts. |
|
pure virtual |
Retrieves font information from the current page of the .pdf document.
| font_map[out] | Placeholder for the STL map object that contains font information. |
|
pure virtual |
Retrieves the layer information from the .pdf document.
| layers_info | [out] A placeholder for an STL map object that contains layer 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 coefficient 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 the current set of the PDF import properties.
Implements OdPdfImport.
|
pure virtual |
Sets a new clipping boundary 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 equal to true) or not (if equal to false). |
|
pure virtual |
Sets layer information.
| layers_info | [in] An STL map object that contains layer information. |
|
pure virtual |
Sets a function to select the preferred font.
| callback | [in] A pointer to the function for selecting the preferred font. |
Implements OdPdfImport.