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

Public Types | |
| enum | { kDefaultIID = IID_ITEXTATTRREALNUMBER } |
| typedef PMReal | ValueType |
| typedef PMReal | value_type |
Public Member Functions | |
| virtual const value_type & | Get () const =0 |
| virtual void | Set (const value_type &val)=0 |
| virtual bool16 | HasLimits (value_type &lLim, value_type &uLim) const =0 |
| const value_type & | GetRealNumber () const |
| void | SetRealNumber (const value_type &val) |
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 real number.
| 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.