![]() | InDesign SDK 20.5 |
#include <IUsedFontList.h>

Public Types | |
| enum | { kDefaultIID = IID_IUSEDFONTLIST } |
Public Member Functions | |
| virtual int32 | CountUsedFontFamilies ()=0 |
| virtual UID | GetUsedFontFamily (int32 n)=0 |
| virtual int32 | CountUsedFontVariants (UID family)=0 |
| virtual const PMString * | GetUsedFontVariant (UID family, int32 n)=0 |
| virtual int32 | CountMissingFonts (bool16 recalculate=kTrue)=0 |
| virtual void | GetMissingFont (int32 n, UID *family, PMString &setMe, int32 *oldTech=nil, int32 *newTech=nil, bool16 recalculate=kTrue)=0 |
| virtual void | ForceRecalculateAll ()=0 |
| virtual void | Add_NeedToProcessReferencesto_UsedToBe_DysfunctionalFont (UID familyUID, UID familyReplacement)=0 |
| virtual void | AttemptAutoActivation ()=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
List of fonts used in the document.
| pure virtual |
Updates document's IFontFamily UIDs and font style names after fixing dysfunctional fonts. This is used when we open old documents that have an old font style names that refers to a postscript name that now is reffered to by a different style name.
| familyUID | old dysfunctional IFontFamily UID |
| familyReplacement | new IFontFamily UID to use |
| pure virtual |
Attempt to auto activate missing fonts.
| pure virtual |
Count the number of missing fonts.
| recalculate | If kTrue we recalculate missing fonts |
| pure virtual |
Counts number of IFontFamily UIDs used in the document
| pure virtual |
Counts the number of font styles for a given IFontFamily that are used in the document
| family | UID of IFontFamily |
| pure virtual |
Recalculates the list. Calling this will cause the missing font list to be recalculated by looking at all stories in the pub. Please use sparingly.
| pure virtual |
Get nth missing font. Use this with CountMissingFonts to iterate through all missing fonts in the document.
| n | Index into missing font list |
| *family | OUT nth missing IFontFamily UID of this missing font |
| setMe | OUT font style of this missing font |
| *oldTech | OUT IPMFont::FontType of missing font |
| *newTech | OUT IPMFont::FontType of missing font. This will be different than oldTech if the document was open when a different FontType of this font was available. |
| recalculate | recalculate missing fonts. |
| pure virtual |
Gets the nth IFontFamily UID in list. Use this with CountUsedFontFamilies to iterate through all used IFontFamilies
| n | Index into Used font list. Starts at 0. |
Gets the nth font style for a given IFontFamily that is used in the document. Use this with CountUsedFontVariants to iterate through all used font styles in an IFontFamily.
| family | UID of IFontFamily |
| n | Index into IFontFamily font style list |