#include <IFontMgr.h>
|
| enum | MissingFonts { kSkip, kBeforeFonts, kAfterFonts, kOnly } |
| |
| virtual int16 FontGroupIteratorCallBack::GetNamesFlag | ( | | ) | const |
| pure virtual |
| virtual void FontGroupIteratorCallBack::OnEnd | ( | | ) | |
| pure virtual |
Called for each item
- Parameters
| pFont | font to iterate |
| fontGroup | font group font belongs to |
| displayFamilyName | name for family as it shows in font menu |
| displayStyleName | name for font style as it shows in font menu |
Implemented in SnpPerformFontGroupIterator.
| virtual void FontGroupIteratorCallBack::OnFontGroupEnd | ( | IFontGroup * | fontGroup | ) | |
| pure virtual |
| virtual void FontGroupIteratorCallBack::OnFontGroupStart | ( | IFontGroup * | fontGroup | ) | |
| pure virtual |
Called at the start of a font group
- Parameters
| fontGroup | font group we are starting to iterate |
Implemented in SnpPerformFontGroupIterator.
| virtual void FontGroupIteratorCallBack::OnFontsAddedForLastScript | ( | | ) | |
| pure virtual |
| virtual void FontGroupIteratorCallBack::OnLocaleScriptFontsEnd | ( | | ) | |
| pure virtual |
| virtual void FontGroupIteratorCallBack::OnLocaleScriptFontsStart | ( | | ) | |
| pure virtual |
| virtual void FontGroupIteratorCallBack::OnMissingFont | ( | IFontFamily * | fontFamily, | | | int32 | faceIndex, | | | const PMString & | displayFamilyName, | | | const PMString & | displayStyleName | | ) | | |
| pure virtual |
| virtual void FontGroupIteratorCallBack::OnMissingFontsEnd | ( | | ) | |
| pure virtual |
| virtual void FontGroupIteratorCallBack::OnMissingFontsStart | ( | | ) | |
| pure virtual |
| virtual void FontGroupIteratorCallBack::OnMMAxes | ( | IPMFont * | pFont, | | | const Fixed * | sourceAxes, | | | int32 | numAxes | | ) | | |
| pure virtual |
Called for each multiple master instance
- Parameters
| pFont | multiple master font |
| sourceAxes | axes |
| numAxes | number of axes |
Implemented in SnpPerformFontGroupIterator.
| virtual void FontGroupIteratorCallBack::OnMMFontsEnd | ( | | ) | |
| pure virtual |
| virtual void FontGroupIteratorCallBack::OnMMFontsStart | ( | | ) | |
| pure virtual |
| virtual void FontGroupIteratorCallBack::OnStart | ( | | ) | |
| pure virtual |
| virtual IUsedFontList* FontGroupIteratorCallBack::QueryUsedFontList | ( | | ) | |
| pure virtual |
| virtual bool16 FontGroupIteratorCallBack::RunDuplicateFonts | ( | | ) | const |
| pure virtual |
Called by FontGroupIterator. drives the iterator to allow duplicate font names.
- Returns
- bool16
Implemented in SnpPerformFontGroupIterator.
| virtual bool16 FontGroupIteratorCallBack::RunFamilyOnly | ( | | ) | const |
| pure virtual |
Called by FontGroupIterator; drives the iterator to skip styles
- Returns
- kTrue skip styles. kFalse iterate styles.
Implemented in SnpPerformFontGroupIterator.
| virtual MissingFonts FontGroupIteratorCallBack::RunMissingFonts | ( | | ) | const |
| pure virtual |
Called by FontGroupIterator. drives the iterator to flatten the menu to "Times Bold".
- Returns
- MissingFonts
Implemented in SnpPerformFontGroupIterator.
| virtual bool16 FontGroupIteratorCallBack::RunMMFonts | ( | | ) | const |
| pure virtual |
Called by FontGroupIterator; drives the iterator to flatten MM Fonts.
- Returns
- kTrue iterate MM axes. kFalse only show Regular Style for MM fonts.
Implemented in SnpPerformFontGroupIterator.
| virtual bool16 FontGroupIteratorCallBack::SkipThisFont | ( | IPMFont * | font | ) | const |
| pure virtual |
Called by FontGroupIterator; drives the iterator to skip a font entirely.
- Parameters
| *font | font to choose to skip |
- Returns
- bool16 kTrue skip this font. kFalse iterate this font.
Implemented in SnpPerformFontGroupIterator.
| virtual const UIDList* FontGroupIteratorCallBack::UseFontUIDList | ( | | ) | const |
| pure virtual |