CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions
PdfImport.h File Reference
#include "RxModule.h"
#include "RxDictionary.h"
#include "DynamicLinker.h"
#include "OdPlatformSettings.h"
#include <functional>

Go to the source code of this file.

Classes

class  OdPdfImport
 
class  OdPdfImportModule
 

Macros

#define PDFIMPORT_TOOLKIT   OD_TOOLKIT_IMPORT
 
#define PDFIMPORT_TOOLKIT_STATIC   OD_STATIC_IMPORT
 

Typedefs

using PreferableFontCallback = std::function< OdAnsiString(const char *, const char *, const bool)>
 
typedef OdSmartPtr< OdPdfImportOdPdfImportPtr
 
typedef OdSmartPtr< OdPdfImportModuleOdPdfImportModulePtr
 

Functions

OdPdfImportPtr createImporter ()
 

Macro Definition Documentation

◆ PDFIMPORT_TOOLKIT

#define PDFIMPORT_TOOLKIT   OD_TOOLKIT_IMPORT

Definition at line 40 of file PdfImport.h.

◆ PDFIMPORT_TOOLKIT_STATIC

#define PDFIMPORT_TOOLKIT_STATIC   OD_STATIC_IMPORT

Definition at line 41 of file PdfImport.h.

Typedef Documentation

◆ OdPdfImportModulePtr

A data type that represents a smart pointer to a <link OdPdfImportModule, PDF import module>.

Definition at line 294 of file PdfImport.h.

◆ OdPdfImportPtr

A data type that represents a smart pointer to a <link OdPdfImport, PDF importer> object.

Definition at line 273 of file PdfImport.h.

◆ PreferableFontCallback

using PreferableFontCallback = std::function<OdAnsiString(const char*, const char*, const bool)>

This is a prototype of the preferred font setting function.

Parameters
font_name[in] The name of the current font. The name is the same as the one displayed in the properties of the PDF document.
font_family[in] FamilyName for the current font.
is_found[in] Flag to determine if the current font is found in the system.
Returns
The name of the font to which the current font is to be replaced, or an empty string if replacement is not required.

Definition at line 57 of file PdfImport.h.

Function Documentation

◆ createImporter()

OdPdfImportPtr createImporter ( )
inline

Creates an instance of the <link OdPdfImportModule, PDF import module> class.

Returns
Returns a smart pointer to the <link OdPdfImportModule, PDF import module>. <group OdPdfImport_Classes>

Definition at line 302 of file PdfImport.h.