#include <ITextAreaPrefsData.h>
|
| enum | { kDefaultIID = IID_ITEXTAREAPREFSDATA } |
| |
This interface is used to cache data for creating document or document styles related commands including kInCopyNewDocCmdBoss, kDocEditPresetCmdBoss, kSaveDocumentPresetDataCmdBoss, kSetTextAreaPrefsCmdBoss
| virtual UIDRef ITextAreaPrefsData::GetDocument | ( | | ) | const |
| pure virtual |
| virtual PMReal ITextAreaPrefsData::GetTextAreaDepth | ( | | ) | const |
| pure virtual |
Get the depth of text area.
- Returns
- const the depth of the text area
Get the unit idnex of depth of text area.
- Returns
- const the unit index of depth of the text area
| virtual PMReal ITextAreaPrefsData::GetTextAreaWidth | ( | | ) | const |
| pure virtual |
Get the width of text area.
- Returns
- const the width of the text area
| virtual void ITextAreaPrefsData::SetDocument | ( | UIDRef | docref | ) | |
| pure virtual |
SetDocument indicating the document to set the ITextAreaPrefs. not setting the document means to set the ITextAreaPrefs in session workspace
- Parameters
- Returns
- void.
| virtual void ITextAreaPrefsData::SetTextAreaDepth | ( | const PMReal | depth | ) | |
| pure virtual |
Set the depth of text area.
- Parameters
| depth | the depth of the text area |
- Returns
- void.
Set the unit index for the depth of text area.
- Parameters
| unitIndex | the index of unit for the depth of the text area |
- Returns
- void.
| virtual void ITextAreaPrefsData::SetTextAreaWidth | ( | const PMReal | width | ) | |
| pure virtual |
Set the width of text area.
- Parameters
| width | the width of the text area |
- Returns
- void.