Class definition file: wpfntpal.idl
Class hierarchy SOMObject
WPObject
WPAbstract
WPPalette
WPFontPalette
Description
This is the font palette object class. An instance of this class can be created as a Workplace object. An instance of this class is created initially by the system. It has the title "Font Palette" and resides in the "System Setup" folder.
Instance methods
The following list shows all the WPFontPalette instance methods.
SOMObject instance methods
The following list shows all the instance methods overridden by the WPObject class. These instance methods are overridden in order to modify the behavior defined by an ancestor class.
WPObject instance methods
The following list shows all the methods overridden by the WPFontPalette class. These methods are overridden in order to modify the behavior defined by an ancestor class.
wpSetup override by WPFontPalette
The following table shows the keyname-value pairs supported by the WPFontPalette class.
┌──────────┬──────────┬────────────────────────────────────────┐│KEYNAME │VALUE │DESCRIPTION │ ├──────────┼──────────┼────────────────────────────────────────┤ │AUTOSETUP │YES │This specifies that the font palette is │ │ │ │to be reinitialized with the default set│ │ │ │of fonts. │ ├──────────┼──────────┼────────────────────────────────────────┤ │FONTS │fonttype │These are the initial fonts for each │ │ │ │cell in the font palette. The values │ │ │ │for each cell are separated by commas. │ │ │ │This is equivalent to calling the │ │ │ │wpSetupCell method. The fonttype value │ │ │ │is presented as the point size followed │ │ │ │by a period which is then followed by │ │ │ │the face name. │ ├──────────┼──────────┼────────────────────────────────────────┤ │XCELLCOUNT│columns │Number of X cells as decimal digits. If│ │ │ │not specified, defaults to 2. │ ├──────────┼──────────┼────────────────────────────────────────┤ │YCELLCOUNT│rows │Number of Y cells as decimal digits. If│ │ │ │not specified, defaults to 4. │ └──────────┴──────────┴────────────────────────────────────────┘
Example
pszSetupString="FONTS=10.Helvetica,"
"8.Helvetica,"
"10.Courier,"
"12.Courier,"
"24.Courier,"
"10.System";
WPPalette instance methods
The following list shows all the methods overridden by the WPFontPalette class. These methods are overridden in order to modify the behavior defined by an ancestor class.
Class methods
There are currently no class methods defined for the WPFontPalette Workplace object class.
WPObject class methods
The following list shows all the class methods overridden by the WPFontPalette class. These methods are overridden to modify the behavior defined by an ancestor class.
WPPalette class methods
The following list shows all the class methods overridden by the WPFontPalette class. These methods are overridden to modify the behavior defined by an ancestor class.