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

Public Types | |
| enum | { kDefaultIID = IID_INOTESUITEUTILS } |
Public Member Functions | |
| virtual void | NavigateNote (ISelectionManager *selMgr, IControlView *docView, TextIndex fromThisTextIndex, UIDRef storyRef, INoteSuite::NavigateType type)=0 |
| virtual bool16 | IsLayerEditable (IControlView *layoutView)=0 |
| virtual bool16 | IsNoteHidden ()=0 |
| virtual bool16 | CheckNotesState (UIDRef storyRef, bool16 collapsed)=0 |
| virtual bool16 | CanRemoveAllNotes (IDocument *document, UIDRef &storyRef, IControlView *galleyView=nil)=0 |
| virtual bool16 | UnlockLayers (UIDList &layerList)=0 |
| virtual bool16 | CheckStoryCollapsed (IControlView *view, ITextModel *textModel=nil)=0 |
| virtual bool16 | CheckExpandedNoteAnchor (IControlView *view, IDocument *doc)=0 |
| virtual IControlView * | GetDocControlView ()=0 |
| virtual bool16 | CheckRemoveXML (UIDRef &storyRef, TextIndex start, TextIndex end)=0 |
| virtual bool16 | RemoveAllNotesOnCollapsedStory (IControlView *galleyView, IDocument *doc)=0 |
| virtual bool16 | CheckRemoveRuby (UIDRef &storyRef, TextIndex start, TextIndex end=kInvalidTextIndex)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
This utility interface for INoteSuit
| pure virtual |
Check if there are other Notes in any editable story excepted param storyRef
| document | The document |
| storyRef | The story |
| galleyView | The galley control view, default to nil,(this param was not used, can always be nil) |
| pure virtual |
Check if at least one story has notes and is expanded
| view | The galley control view |
| doc | The document |
| pure virtual |
Check if there is at least one Note with the desired state
| storyRef | The story |
| collapsed | kTrue means to check the collapsed state kFalse means to check the expanded state |
| pure virtual |
Utility used for "Convert To Note" and "Create Note" action, check if there is Ruby in the range (start, end), then display message to ask if it is ok to remove the Ruby
| storyRef | The story |
| start | The start text index |
| end | The end text idnex |
| pure virtual |
Utility used for "Convert To Note" action, check if there is XML structure in the range(start,end), then display message to ask if it is ok to remove the XML
| storyRef | The current story |
| start | The start text index |
| end | The end text idnex |
| pure virtual |
Check if story(param textModel) is collapsed
| view | Galley control view |
| textModel | The story's ITextModel interface pointer |
| pure virtual |
Get the active document's current control view (galley control view or layout control view)
| none |
| pure virtual |
Check if layer is editable
| layoutView | The layout control view |
| pure virtual |
Check if Notes are hidden
| none |
| pure virtual |
Navigate to next Note (when type = kNextNote) or previous Note (when type = kPreviousNote) from fromThisTextIndex, display Note content into Note palette
| selMgr | Currect active selection manager |
| docView | Current document view |
| fromThisTextIndex | Current text index |
| storyRef | Current story ref |
| type | INoteSuite::kNextNote or INoteSuite::kPreviousNote |
| pure virtual |
Warming message when remove all Notes and there is Note in collapsed story (in galley view)
| galleyView | Galley control view |
| doc | The document |
| pure virtual |
Process UnlockLayerCmd and ShowLayerCmd based on layerList
| layerList | The layer list |