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

Public Types | |
| enum | { kDefaultIID = IID_INOTESUITE } |
| enum | NavigateType { kNextNote =0, kPreviousNote } |
| enum | CopyToNoteType { kWordToNote =0, kLineToNote, kParaToNote, kStoryToNote } |
Public Member Functions | |
| virtual bool16 | CanAddNote (IControlView *view) const =0 |
| virtual void | DoAddNote (IControlView *view)=0 |
| virtual bool16 | CanConvertToNote (IControlView *view) const =0 |
| virtual void | DoConvertToNote (IControlView *view, ClassID commandBossID)=0 |
| virtual bool16 | CanOpenNote (IControlView *view, IControlView *docView, PMString &menuString) const =0 |
| virtual void | DoOpenNote (IControlView *view, IControlView *docView)=0 |
| virtual bool16 | CanDeleteNote (IControlView *view, IControlView *docView) const =0 |
| virtual void | DoDeleteNote (IControlView *view, IControlView *docView)=0 |
| virtual bool16 | CanConvertToText (IControlView *view, IControlView *docView) const =0 |
| virtual void | DoConvertToText (IControlView *view, IControlView *docView)=0 |
| virtual bool16 | CanScrollToNote (IControlView *view, IControlView *docView) const =0 |
| virtual void | DoScrollToNote (IControlView *view, IControlView *docView)=0 |
| virtual bool16 | CanNavigateNote (IControlView *view, IControlView *docView, bool16 *inPalette=nil) const =0 |
| virtual void | DoNavigateNote (IControlView *view, IControlView *docView, ISelectionManager *selMgr, NavigateType type)=0 |
| virtual bool16 | CanRemoveAllNotes (IControlView *view, IControlView *docView, IDocument *doc) const =0 |
| virtual void | DoRemoveAllNotes (IControlView *view, IControlView *docView, IDocument *doc)=0 |
| virtual bool16 | CanRemoveStoryNotes (IControlView *view, IControlView *docView) const =0 |
| virtual void | DoRemoveStoryNotes (IControlView *view, IControlView *docView)=0 |
| virtual bool16 | CanSplitNote (IControlView *view, IControlView *docView, bool16 bNotesMode=kFalse) const =0 |
| virtual void | DoSplitNote (IControlView *view, IControlView *docView)=0 |
| virtual bool16 | CanShowHideNote (IControlView *view, IControlView *docView) const =0 |
| virtual void | DoShowHideNote (IControlView *view, IControlView *docView)=0 |
| virtual bool16 | CanExpandAllNotes (IControlView *view, IControlView *docView) const =0 |
| virtual void | DoExpandAllNotes (IControlView *view, IControlView *docView)=0 |
| virtual bool16 | CanCollapseAllNotes (IControlView *view, IControlView *docView) const =0 |
| virtual void | DoCollapseAllNotes (IControlView *view, IControlView *docView)=0 |
| virtual void | SetSelection (IControlView *view, ITextSelectionSuite::Units selectType)=0 |
| virtual void | DoSetNoteToPalette (IControlView *view, IControlView *docView)=0 |
| virtual bool16 | IsInNote () 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 |
A selection related text suite interface to perform the Notes actions
The type of text content copied to convert to a Note
The navigation type
| pure virtual |
Can add a Note
| view | The active context control view |
| pure virtual |
Can collapse all Notes in the document
| view | The active context control view |
| docView | The current view in the document |
| pure virtual |
Can convert the selected text into a Note
| view | The active context control view |
| pure virtual |
Can convert the selected text to a Note
| view | The active context control view |
| docView | The current view in the document |
| pure virtual |
Can delete the selected Note
| view | The active context control view |
| docView | The current view in the document |
| pure virtual |
Can expand all Notes in the document
| view | The active context control view |
| docView | The current view in the document |
| pure virtual |
Can navigate to previous/next Note
| view | The active context control view |
| docView | The current view in the document |
| inPalette | kTrue means the active context is in Note Palette |
| pure virtual |
Can open the Note
| view | The active context control view |
| docView | The current view in the document |
| menuString | "Open Note" if the active context is layout view, "Collapse Note" or "Expand Note" if the active context is galley/story view or Note palette view |
| pure virtual |
Can remove all Notes in the document
| view | The active context control view |
| docView | The current view in the document |
| doc | The document |
| pure virtual |
Can remove Notes from the story has insertion point
| view | The active context control view |
| docView | The current view in the document |
| pure virtual |
Can scroll to Note anchor
| view | The active context control view |
| docView | The current view in the document |
| pure virtual |
Can show or hide Notes
| view | The active context control view |
| docView | The current view in the document |
| pure virtual |
Can split a Note
| view | The active context control view |
| docView | The current view in the document |
| bNotesMode | kTrue means to check if can split a Note from NotesMode action |
| pure virtual |
Process Add a Note
| view | The active context control view |
| pure virtual |
Collapse all Notes in the document
| view | The active context control view |
| docView | The current view in the document |
| pure virtual |
Process the convertion of the selected text into a Note
| view | The active context control view |
| commandBossID | kConvertToNoteCmdBoss means convert the selected text into a Note( selected text was deleted). kCopyToNoteCmdBoss means copy the selected text and make a Note with the selected content (selected text was not deleted) |
| pure virtual |
Convert the selected text to a Note
| view | The active context control view |
| docView | The current view in the document |
| pure virtual |
Process the deletion of Note
| view | The active context control view |
| docView | The current view in the document |
| pure virtual |
Process expand all Notes in the document
| view | The active context control view |
| docView | The current view in the document |
| pure virtual |
Navigate the Note forward (kNextNote) or backward (kPreviousNote) from current insertion point
| view | The active context control view |
| docView | The current view in the document |
| selMgr | The selection manager for the view |
| type | kNextNote, kPreviousNote |
| pure virtual |
Process display the selected Note to Note Palette if active context is layout view Process collapsed/expanded the Note if active context is galley/story view or Note Palette view
| view | The active context control view |
| docView | The current view in the document |
| pure virtual |
Remove the Notes in all unlocked stories in the document
| view | The active context control view |
| docView | The current view in the document |
| doc | The document |
| pure virtual |
Remove all Notes from the unlocked story which has insertion point
| view | The active context control view |
| docView | The current view in the document |
| pure virtual |
Scroll to Note anchor
| view | The active context control view |
| docView | The current view in the document |
| pure virtual |
Display the Note content to palette if clicks inside the inline Note, or selects the Note void action when the text focus is in Note palette
| view | The active context control view |
| docView | The current view in the document |
| pure virtual |
Toggle displaying Notes
| view | The active context control view |
| docView | The current view in the document |
| pure virtual |
Split a Note into two Notes, place insertion point between two Notes in story
| view | The active context control view |
| docView | The current view in the document |
| pure virtual |
Check if the insertion point is in a Note.
| none |
| pure virtual |
Process set selection
| view | The active context control view |
| selectType | The selection type |