InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Font_Info Class Reference

#include <IPrintJobData.h>

Public Types

enum  { kIsVertical = 0x00000001 }
 
typedef base_type data_type
 

Public Member Functions

 Font_Info (const CTFontDict *ctFontDict, int32 numDesignVectors=0, Fixed *designVectors=nil, uint32 flags=0)
 
const CTFontDict * GetCTFontDict () const
 
size_t GetNumDesignVectors () const
 
void GetDesignVectors (Fixed *dV) const
 
uint32 GetFlags () const
 
Font_Infooperator= (const Font_Info &other)
 
bool16 operator== (const Font_Info &fi) const
 

Detailed Description

Font_Info is the container for font information for the pages in the publication. Used in the IPrintJobData interface.

Member Enumeration Documentation

anonymous enum

flags for this font

Constructor & Destructor Documentation

Font_Info::Font_Info (const CTFontDict * ctFontDict,
int32 numDesignVectors = 0,
Fixed * designVectors = nil,
uint32 flags = 0 
)
inline

constructor

Parameters
ctFontDictIN pointer to a CTFontDict for the font
numDesignVectorsIN the number of design vectors for the font - only applicable for multiple master fonts - defaults to zero
designVectorsIN pointer to the array of Fixed numbers for the design vectors
flagsIN the flags for this font

Member Function Documentation

const CTFontDict* Font_Info::GetCTFontDict () const
inline

get the CTFontDict for this font

Returns
CTFontDict pointer
void Font_Info::GetDesignVectors (Fixed * dV) const
inline

get the design vectors

Parameters
dVOUT a pointer to an array of 4 Fixed values to store the design vectors in
uint32 Font_Info::GetFlags () const
inline

get the flags for this font

Returns
the flags
size_t Font_Info::GetNumDesignVectors () const
inline

get the number of design vectors for this font

Returns
the number of design vectors
Font_Info& Font_Info::operator= (const Font_Infoother)
inline

assignment operator for this class

bool16 Font_Info::operator== (const Font_Infofi) const
inline

equality operator for this class

Returns
kTrue if classes are equal, kFalse otherwise