![]() | InDesign SDK 20.5 |

Public Types | |
| enum | { kDefaultIID = IID_ICALCULATEDTEXT } |
Public Member Functions | |
| virtual ICalculatedTextResult * | NewCalculatedText (const IDrawingStyle *baseStyle, void *data=nil) const =0 |
| virtual ICalculatedTextResult * | NewApproxCalculatedText (const IDrawingStyle *baseStyle, void *data=nil) const =0 |
| virtual void | GetCalculatedTextStringForStoryEditor (WideString &ws, void *data=nil) const =0 |
| virtual bool16 | ResetCalculatedText (void *data, bool16 damageIfChanged=kTrue) const =0 |
| virtual bool16 | Recalculate () 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 |
| pure virtual |
Get a string representing the calculated text as it should appear in the story editor.
| data | - private data, if any, for the specific type of calculated text |
| ws | - will be filled out with the string. |
| pure virtual |
Fill out the string with the approximate calculated text. This is called by the composer (or anyone else) that is only interested in an approximation of the calculated text. It is a way to improve efficiency at the expense of accuracy.
| baseStyle | - the style applied to the character marking this as calculated text. |
| data | - private data, if any, for the specific type of calculated text |
| pure virtual |
Fill out the string with the calculated text result. Called by anyone that wants the true result of the calculation.
| baseStyle | - the style applied to the character marking this as calculated text. |
| data | - private data, if any, for the specific type of calculated text |
| pure virtual |
Tells the object to recalculate.
| pure virtual |
ResetCalculatedText tells the object to invalidate its data.
| any | data associated with the reset (well-known between this object and its manager). |
| damageIfChanged | tells the object to whether to damage its Wax or not when the data changes. |