InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ITextAttrScalableMeasure Class Referenceabstract

#include <ITextAttrScalableMeasure.h>

Inheritance diagram for ITextAttrScalableMeasure:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ITEXTATTRSCALABLEMEASURE }
 

Public Member Functions

virtual void ScaleMeasure (AttributeBossList *attrList, PMReal xScale, PMReal yScale, bool16 isVertical, bool16 isVerticalWritingMode, bool16 scaleAffectsLineHeight) const =0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

Interface to scale a text attribute.

Member Function Documentation

virtual void ITextAttrScalableMeasure::ScaleMeasure (AttributeBossListattrList,
PMReal xScale,
PMReal yScale,
bool16 isVertical,
bool16 isVerticalWritingMode,
bool16 scaleAffectsLineHeight 
) const
pure virtual
Attribute independent interface to scale a text attribute.  The implementation should pick the appropriate arguments

    (not all may apply), scale the attribute and add it to the attrList.

Parameters
attrListINOUT The list of attributes to which the scaled attribute should be applied.
xScaleIN Scale in the x-direction.
yScaleIN Scale in the y-direction.
isVerticalIN Does the STORY text flow vertically? I.e. does the main text flow vertically?
isVerticalWritingModeIN Does THIS text flow vertically? Some text, although in a vertical story, may actually be horizontally drawn. (c.f. TCY).
scaleAffectsLineHeightIN Should the scale affect the line height, when appropriate?
Note
Not all parameters apply to all attributes (e.g. attributes using the kTextAttrScalableYMeasureImpl implementation ignores all but the yScale parameter)