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

Public Types | |
| enum | { kDefaultIID = IID_IDOCUMENTFONTUSAGE } |
Public Member Functions | |
| virtual int32 | GetNumMissingFonts () const =0 |
| virtual const PMString & | GetNthMissingFontString (int32 index) const =0 |
| virtual const PMString & | GetNthMissingFontFaceString (int32 index) const =0 |
| virtual UID | GetNthMissingFontUID (int32 index) const =0 |
| virtual int32 | GetNumUsedFonts () const =0 |
| virtual const PMString & | GetNthUsedFontString (int32 index) const =0 |
| virtual const PMString & | GetNthUsedFontFaceString (int32 index) const =0 |
| virtual UID | GetNthUsedFontUID (int32 index) const =0 |
| virtual int32 | GetNthUsedFontFaceIndex (int32 index) const =0 |
| virtual int32 | GetNumGraphicFonts () const =0 |
| virtual const PMString & | GetNthGraphicFontString (int32 index) const =0 |
| virtual UID | GetNthGraphicFontPageItemUID (int32 index) const =0 |
| virtual bool16 | GetNthGraphicFontEmbedded (int32 index) const =0 |
| virtual bool16 | GetNthGraphicFontMissing (int32 index) const =0 |
| virtual void | UpdateFontList ()=0 |
| virtual int32 | GetNumFontsByType (IPMFont::FontType type)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Interface off the document that contains all the font family UIDs and font faces used in a document. First call to UpdateFontList() on the same interface to make sure the fonts are up to date. Use this interface rather than IUsedFontList is to gain access to information about fonts in graphics.
| pure virtual |
Get embedded state of nth graphic font.
| index | 0 based index. must be less than value returned by GetNumGraphicFonts |
| pure virtual |
Get missing state of nth graphic font.
| index | 0 based index. must be less than value returned by GetNumGraphicFonts |
| pure virtual |
Get graphic page UID of nth graphic font.
| index | 0 based index. must be less than value returned by GetNumGraphicFonts |
| pure virtual |
Get nth graphic font face display name.
| index | 0 based index. must be less than value returned by GetNumGraphicFonts |
| pure virtual |
Get nth missing font face display name.
| index | 0 based index. must be less than value returned by GetNumMissingFonts |
| pure virtual |
Get nth missing font family display name.
| index | 0 based index. must be less than value returned by GetNumMissingFonts |
| pure virtual |
Get nth missing font family UID. This is an IFontFamily UID
| index | 0 based index. must be less than value returned by GetNumMissingFonts |
| pure virtual |
Get nth font face index. This is the index used to call APIs like IFontFamily::AppendStyleName
| index | 0 based index. must be less than value returned by GetNumUsedFonts. |
| pure virtual |
Get nth used font face display name.
| index | 0 based index. must be less than value returned by GetNumUsedFonts |
| pure virtual |
Get nth used font family display name.
| index | 0 based index. must be less than value returned by GetNumUsedFonts |
| pure virtual |
Get nth used font family UID. This is an IFontFamily UID
| index | 0 based index. must be less than value returned by GetNumUsedFonts |
| pure virtual |
Get number of fonts of particular type used in the document. Includes missing and graphic fonts.
| type | Font type |
| pure virtual |
Gets number of fonts used in graphics.
| pure virtual |
Gets number of missing fonts
| pure virtual |
Gets number of used fonts. Does not include missing fonts.
| pure virtual |
Update font list. Calling this will cause the font list to be recalculated by looking at all stories and graphics in the pub. Please use sparingly.