|
Foxit PDF SDK
|
Public Member Functions | |
| UnembeddedFontSettings () | |
| Constructor. | |
| UnembeddedFontSettings (const UnembeddedFontSettings &other) | |
| Constructor, with another unembedded font settings 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 | SetSubsetAllEmFonts (bool bSubsetAllEmFonts) |
| Sets whether to include subsets of all unembedded fonts. More... | |
| void | SetUnembeddedFontNameArray (const WStringArray &font_name_array) |
| Set a font name array to specify which fonts are to be unembeded. More... | |
Public Member Functions inherited from foxit::Base | |
| 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 font settings 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 font settings 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 font settings 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 font settings object. This function will check if current object is equal to this one. |
| void foxit::addon::optimization::UnembeddedFontSettings::SetSubsetAllEmFonts | ( | bool | bSubsetAllEmFonts | ) |
Sets whether to include subsets of all unembedded fonts.
| [in] | bSubsetAllEmFonts | true means to include subsets of all unembedded fonts. false means not to include subsets of all unembedded fonts. |
| 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 which 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. |