Mako 9.1.0 API
MakoCore SDK API Documentation
Loading...
Searching...
No Matches
JawsMako::IPCL5FontSelectionMonitor Class Referenceabstract

Interface allowing users to monitor the PCL5 font selection information used when adding IDOMFont objects to the DOM. More...

#include <jawsmako/pcl5input.h>

Public Types

enum  eLocation { eLSoftFont = 0 , eLInternalFont = 1 }
 Font location. More...

Public Member Functions

virtual ~IPCL5FontSelectionMonitor ()=default
virtual void selectByCriteria (const IDOMFontPtr &font, int32 symbolSet, int32 spacing, double pitch, double height, int32 style, int32 strokeWeight, int32 typeface, uint32 resolution, eLocation location)=0
 Invoked when adding a font that was selected by criteria using one of the PCL5 characteristic selection commands.
virtual void selectById (const IDOMFontPtr &font, uint16 id)=0
 Invoked when adding a font that was selected by numerical ID using the PCL5 font selection by ID command.
virtual void selectById (const IDOMFontPtr &font, RawString id)=0
 Invoked when adding a font that was selected by string ID using the PCL5 alphanumeric ID command.

Detailed Description

Interface allowing users to monitor the PCL5 font selection information used when adding IDOMFont objects to the DOM.

Use IPCL5Input::setFontSelectionMonitor() to install subclasses of this type.

Member Enumeration Documentation

◆ eLocation

Font location.

Enumerator
eLSoftFont 0 

Soft font.

eLInternalFont 1 

Internal font.

Constructor & Destructor Documentation

◆ ~IPCL5FontSelectionMonitor()

virtual JawsMako::IPCL5FontSelectionMonitor::~IPCL5FontSelectionMonitor ( )
virtualdefault

Member Function Documentation

◆ selectByCriteria()

virtual void JawsMako::IPCL5FontSelectionMonitor::selectByCriteria ( const IDOMFontPtr & font,
int32 symbolSet,
int32 spacing,
double pitch,
double height,
int32 style,
int32 strokeWeight,
int32 typeface,
uint32 resolution,
eLocation location )
pure virtual

Invoked when adding a font that was selected by criteria using one of the PCL5 characteristic selection commands.

Parameters
fontThe IDOMFont selected from the criteria.
symbolSetThe font select table Symbol Set value used for the selection.
spacingThe font select table Spacing value used for the selection.
pitchThe font select table Pitch value used for the selection.
heightThe font select table Height value used for the selection.
styleThe font select table Style value used for the selection.
strokeWeightThe font select table Stroke Weight value used for the selection.
typefaceThe font select table Typeface value used for the selection.
resolutionThe resolution used for the selection. Used only for bitmap fonts, and is set to zero for any other font types.
locationThe PCL font location.

◆ selectById() [1/2]

virtual void JawsMako::IPCL5FontSelectionMonitor::selectById ( const IDOMFontPtr & font,
RawString id )
pure virtual

Invoked when adding a font that was selected by string ID using the PCL5 alphanumeric ID command.

◆ selectById() [2/2]

virtual void JawsMako::IPCL5FontSelectionMonitor::selectById ( const IDOMFontPtr & font,
uint16 id )
pure virtual

Invoked when adding a font that was selected by numerical ID using the PCL5 font selection by ID command.


The documentation for this class was generated from the following file: