![]() | InDesign SDK 20.5 |

Public Types | |
| enum | { kDefaultIID = IID_ITEXTCONTROLDATA } |
| enum | TextControlDataState { kDirty = 1 } |
Public Member Functions | |
| virtual void | SetString (const PMString &newString, bool16 invalidate=kTrue, bool16 notifyOfChange=kTrue, bool16 isGoodString=kTrue)=0 |
| virtual const PMString & | GetString () const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Used after setting the string data
| pure virtual |
Get the value of the string
| pure virtual |
Method to set the string on interface.
| newString | string to set |
| invalidate | specifies whether the control should be redrawn |
| notifyOfChange | specifies whether observers on the control data should be notified of the change. |
| isGoodString | specifies whether newString is a valid string. Currently it is only used in EditboxTextControlData. If true, the last good text will be set automatically. |