#include <ICreateNoteCmdData.h>
|
| enum | { kDefaultIID = IID_ICREATENOTECMDDATA } |
| |
Command data interface, set/get the Note data for the command kCreateNoteCmdBoss
| virtual const WideString& ICreateNoteCmdData::GetAuthor | ( | | ) | const |
| pure virtual |
Get methose to get the author of the Note
- Parameters
- Returns
- const
| virtual bool16 ICreateNoteCmdData::GetCollapse | ( | | ) | const |
| pure virtual |
Get method to get the collapsed state for the Note
- Parameters
- Returns
- bool16 kTrue = Note will be collapsed
| virtual void ICreateNoteCmdData::GetNoteContentRange | ( | TextIndex & | start, | | | TextIndex & | end | | ) | | |
| pure virtual |
Get method to get the range of text going into the Note
- Parameters
| virtual bool16 ICreateNoteCmdData::GetShouldUseExistingCharacter | ( | | ) | const |
| pure virtual |
Get method to get whether or not to add the note character to the model or use the existing character
- Parameters
- Returns
- bool16 kTrue = the create command should use the existing character (caller guarantees it is a valid "note" character)
| virtual void ICreateNoteCmdData::Set | ( | const WideString & | author, | | | bool16 | collapsedState | | ) | | |
| pure virtual |
Set the author and collapsed state for the Note
- Parameters
| author | |
| collapsedState | kTrue = Note will be collapsed |
| virtual void ICreateNoteCmdData::SetCollapse | ( | const bool16 | collapse | ) | |
| pure virtual |
Set method to set the collapsed state for the Note
- Parameters
| virtual void ICreateNoteCmdData::SetNoteContentRange | ( | TextIndex | start, | | | TextIndex | end | | ) | | |
| pure virtual |
Set method to set the range of text going into the Note
- Parameters
| virtual void ICreateNoteCmdData::SetShouldUseExistingCharacter | ( | const bool16 | shouldUse | ) | |
| pure virtual |
Set method to set whether or not to add the note character to the model or use the existing character. The caller who sets this to kTrue guarantees that the special "note" character exists in the text model at the location where the note is being anchored.
- Parameters