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

Public Types | |
| enum | { kDefaultIID = IID_ITEXTATTRINT32 } |
| typedef int32 | ValueType |
| typedef int32 | value_type |
Public Member Functions | |
| virtual void | Set (value_type)=0 |
| virtual value_type | Get () const =0 |
| virtual bool16 | HasLimits (value_type &lLim, value_type &uLim) const =0 |
| value_type | GetInt32 () const |
| void | SetInt32 (value_type flag) |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Interface for a text attribute whose value is represented by a 32 bit integer.
| pure virtual |
Report whether or not this attribute has upper and/or lower limits and what they are. The limits are the same units as the value.
| lLim | IN If the return value is kTrue, is the lower limit of valid values. (value will always be >= the returned value) |
| uLim | IN If the return value is kTrue, is the upper limit of valid values. (value will always be <= the returned value) |
| pure virtual |
A well-behaved implementation will enforce the limits, if any, returned by HasLimits(). If the value exceeds either limit, it should be set to that limit.