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

Public Types | |
| enum | { kDefaultIID = IID_ITEXTSTATINFO } |
Public Member Functions | |
| virtual void | Update (bool16 forceUpdate=kFalse, bool16 fitExchanging=kFalse)=0 |
| virtual uint32 | GetLines ()=0 |
| virtual uint32 | GetWords ()=0 |
| virtual uint32 | GetCharacters ()=0 |
| virtual void | Current (bool16 isCurrent)=0 |
| virtual bool16 | IsCurrent ()=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Some methods for calculating statistics on text stories. Related used by the InCopy text statistics ui.
| pure virtual |
Internal use only; Sets whether the numbers are up to date.
| isCurrent | - kTrue is current false otherwise. |
| pure virtual |
Get the current character count displayed in the ui
| pure virtual |
Get the current number of lines displayed in the ui
| pure virtual |
Get the current word count displayed in the ui
| pure virtual |
Get whether the numbers stats are up to date, appears to be not used anymore may be removed
| pure virtual |
Call this to Update the text stats ui
| forceUpdate | - normally calling this function won't necessarily recalculate the text statistics unless something is changed. Passing true will force a recaclulation |
| fitExchanging | - internal use pass false (default) |