#include <ITextReferences.h>
|
| enum | { kDefaultIID = IID_ITEXTREFERENCES } |
| |
Used to track of usage of UIDs. Example is kTextStoryBoss.
| virtual int32 ITextReferences::CountMissingFonts | ( | | ) | |
| pure virtual |
Count used missing fonts.
- Returns
- int32 number of used missing fonts
| virtual int32 ITextReferences::CountUsedCharStyles | ( | | ) | |
| pure virtual |
Number of used character styles
- Returns
- int32 count of used character styles
| virtual int32 ITextReferences::CountUsedColors | ( | | ) | |
| pure virtual |
Number of used colors
- Returns
- int32 count of used colors
| virtual int32 ITextReferences::CountUsedConditions | ( | | ) | |
| pure virtual |
Number of used conditions
- Returns
- int32 count of used conditions
| virtual int32 ITextReferences::CountUsedFontFamilies | ( | | ) | |
| pure virtual |
| virtual int32 ITextReferences::CountUsedFontVariants | ( | UID | family | ) | |
| pure virtual |
Get number of used font styles for this font family uid
- Parameters
| family | font family uid to get number of styles for |
- Returns
- int32 number of used font styles for this font family uid
| virtual int32 ITextReferences::CountUsedParaStyles | ( | | ) | |
| pure virtual |
Number of used paragraph styles
- Returns
- int32 count of used paragraph styles
| virtual void ITextReferences::GetMissingFont | ( | int32 | n, | | | UID * | family, | | | PMString & | setMe | | ) | | |
| pure virtual |
Get nth used missing font UID and style name
- Parameters
| n | nth used missing font. must be < CountMissingFonts() |
| family | OUT font family UID |
| setMe | OUT missing font style name |
| virtual UID ITextReferences::GetUsedCharStyle | ( | int32 | n | ) | |
| pure virtual |
Get nth used character style
- Parameters
- Returns
- UID character style UID
| virtual UID ITextReferences::GetUsedColor | ( | int32 | n | ) | |
| pure virtual |
Get nth used color
- Parameters
- Returns
- UID color UID
| virtual UID ITextReferences::GetUsedCondition | ( | int32 | n | ) | |
| pure virtual |
Get nth used condition
- Parameters
- Returns
- UID condition UID
| virtual UID ITextReferences::GetUsedFontFamily | ( | int32 | n | ) | |
| pure virtual |
Get nth font family uid
- Parameters
- Returns
- UID IFontFamily uid.
| virtual const PMString* ITextReferences::GetUsedFontVariant | ( | UID | family, | | | int32 | n | | ) | | |
| pure virtual |
Get nth used font style.
- Parameters
| family | font family uid |
| n | nth style to get style name for |
- Returns
- font style name
| virtual UID ITextReferences::GetUsedParaStyle | ( | int32 | n | ) | |
| pure virtual |
Get nth used paragraph style
- Parameters
- Returns
- UID paragraph style UID
| virtual void ITextReferences::Invalidate | ( | | ) | |
| pure virtual |
Invalidate the references. Next call to get reference will recalculate the references.