Foxit PDF SDK
|
Public Member Functions | |
UnembeddedFontSettings () | |
Constructor. | |
UnembeddedFontSettings (const UnembeddedFontSettings &other) | |
Constructor, with another unembedded fonts setting object. More... | |
~UnembeddedFontSettings () | |
Destructor. | |
bool | IsEmpty () const |
Check whether current object is empty or not. More... | |
bool | operator!= (const UnembeddedFontSettings &other) const |
Not equal operator. More... | |
UnembeddedFontSettings & | operator= (const UnembeddedFontSettings &other) |
Assign operator. More... | |
bool | operator== (const UnembeddedFontSettings &other) const |
Equal operator. More... | |
void | SetUnembeddedFontNameArray (const WStringArray &font_name_array) |
Set a font name array to specify which fonts are to be unembeded. More... | |
![]() | |
FS_HANDLE | Handle () const |
Get the handle of current object. More... | |
This class represents the settings for unembedded fonts. This class object can be set to class OptimizerSettings and then be used to optimize a PDF document.
foxit::addon::optimization::UnembeddedFontSettings::UnembeddedFontSettings | ( | const UnembeddedFontSettings & | other | ) |
Constructor, with another unembedded fonts setting object.
[in] | other | Another ImageSettings object. |
bool foxit::addon::optimization::UnembeddedFontSettings::IsEmpty | ( | ) | const |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
bool foxit::addon::optimization::UnembeddedFontSettings::operator!= | ( | const UnembeddedFontSettings & | other | ) | const |
Not equal operator.
[in] | other | Another unembedded fonts setting object. This function will check if current object is not equal to this one. |
UnembeddedFontSettings& foxit::addon::optimization::UnembeddedFontSettings::operator= | ( | const UnembeddedFontSettings & | other | ) |
Assign operator.
[in] | other | Another unembedded fonts setting object, whose value would be assigned to current object. |
bool foxit::addon::optimization::UnembeddedFontSettings::operator== | ( | const UnembeddedFontSettings & | other | ) | const |
Equal operator.
[in] | other | Another unembedded fonts setting object. This function will check if current object is equal to this one. |
void foxit::addon::optimization::UnembeddedFontSettings::SetUnembeddedFontNameArray | ( | const WStringArray & | font_name_array | ) |
Set a font name array to specify which fonts are to be unembeded.
This function can be used to specify whic fonts are to be unembedded. User can use function pdf::PDFDoc::GetEmbeddedFontData to get the embedded font name arrays of a PDF document, then decide which embeded fonts are to be unembeded, and pass the unembeded font name array to current function.
[in] | font_name_array | A font name array to specify which fonts are to be unembeded. |