![]() | InDesign SDK 20.5 |
Public Member Functions | |
| ErrorCode | AddANote (ISnpRunnableContext *runnableContext) |
| ErrorCode | InsertText (ISnpRunnableContext *runnableContext, UIDRef targetStory, TextIndex indexStart, TextIndex indexEnd) |
| ErrorCode | OpenCloseNote (ISnpRunnableContext *runnableContext) |
| ErrorCode | ShowHideNote () |
| ErrorCode | NavigateNote (ISnpRunnableContext *runnableContext, INoteSuite::NavigateType navType) |
| ErrorCode | ConvertTextToNote (ISnpRunnableContext *runnableContext) |
| ErrorCode | ConvertNoteToText (ISnpRunnableContext *runnableContext, UIDRef targetStory, TextIndex indexStart, TextIndex indexEnd) |
| ErrorCode | DeleteNote (ISnpRunnableContext *runnableContext) |
| ErrorCode | RemoveAllNote (ISnpRunnableContext *runnableContext) |
| ErrorCode | SplitNote (ISnpRunnableContext *runnableContext) |
| ErrorCode SnpPerformNoteFunction::AddANote | ( | ISnpRunnableContext * | runnableContext | ) |
Add a note at the current text cursor position.
| ErrorCode SnpPerformNoteFunction::ConvertNoteToText | ( | ISnpRunnableContext * | runnableContext, |
| UIDRef | targetStory, | ||
| TextIndex | indexStart, | ||
| TextIndex | indexEnd | ||
| ) |
Convert the selected note into text.
| ErrorCode SnpPerformNoteFunction::ConvertTextToNote | ( | ISnpRunnableContext * | runnableContext | ) |
Convert the selected text into note.
| ErrorCode SnpPerformNoteFunction::DeleteNote | ( | ISnpRunnableContext * | runnableContext | ) |
Delete the selected note.
| ErrorCode SnpPerformNoteFunction::InsertText | ( | ISnpRunnableContext * | runnableContext, |
| UIDRef | targetStory, | ||
| TextIndex | indexStart, | ||
| TextIndex | indexEnd | ||
| ) |
Insert text into the current position, if the cursor is inside the note, the text will go into the note.
| ErrorCode SnpPerformNoteFunction::NavigateNote | ( | ISnpRunnableContext * | runnableContext, |
| INoteSuite::NavigateType | navType | ||
| ) |
Given the current text cursor, go to the next/previous note and open the note if it is collpased.
| ErrorCode SnpPerformNoteFunction::OpenCloseNote | ( | ISnpRunnableContext * | runnableContext | ) |
Open a note if the selected note is collapsed, close a note if the selected note is expanded.
| ErrorCode SnpPerformNoteFunction::RemoveAllNote | ( | ISnpRunnableContext * | runnableContext | ) |
Remove all the notes from the document.
| ErrorCode SnpPerformNoteFunction::ShowHideNote | ( | ) |
Toggle all notes' visibility state.
| ErrorCode SnpPerformNoteFunction::SplitNote | ( | ISnpRunnableContext * | runnableContext | ) |
if text cursor is inside a note, split the note into 2 notes at the cursor position.