InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IAppTextOptions Class Referenceabstract
Inheritance diagram for IAppTextOptions:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IAPPTEXTOPTIONS }
 

Public Member Functions

virtual bool16 GetPreferStyledTextWhenPasting () const =0
 
virtual void SetPreferStyledTextWhenPasting (bool16 preferStyledText)=0
 
virtual bool16 GetDragDropTextInLayout () const =0
 
virtual void SetDragDropTextInLayout (bool16 bDragDropText)=0
 
virtual bool16 GetDragDropTextInStory () const =0
 
virtual void SetDragDropTextInStory (bool16 bDragDropText)=0
 
virtual bool16 GetTextToolConvertsFrames () const =0
 
virtual void SetTextToolConvertsFrames (bool16 bDoesConvert)=0
 
virtual bool16 GetPostPasteNudge () const =0
 
virtual void SetPostPasteNudge (bool16 showPostPasteNudge)=0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Member Function Documentation

virtual bool16 IAppTextOptions::GetDragDropTextInLayout () const
pure virtual

GetDragDropTextInLayout returns whether or not selected text can be dragged and dropped in layout view.

Returns
kTrue if selected text can be dragged, kFalse otherwise.
virtual bool16 IAppTextOptions::GetDragDropTextInStory () const
pure virtual

GetDragDropTextInStory returns whether or not selected text can be dragged and dropped in layout view.

Returns
kTrue if selected text can be dragged, kFalse otherwise.
virtual bool16 IAppTextOptions::GetPostPasteNudge () const
pure virtual

GetPostPasteNudge returns whether or not nudge be shown after paste of text from other applications.

Returns
kTrue if nudge to be shown on after paste action.
virtual bool16 IAppTextOptions::GetPreferStyledTextWhenPasting () const
pure virtual

GetPreferStyledTextWhenPasting returns whether or not styled text should be pasted from the external clipboard if available.

Returns
kTrue if styled text should be pasted when available.
virtual bool16 IAppTextOptions::GetTextToolConvertsFrames () const
pure virtual

GetTextToolConvertsFrames() returns kTrue if the text tool can be used to convert an empty graphic frame or "Unknown" frame to a text frame, kFalse otherwise. Default is kTrue.

virtual void IAppTextOptions::SetDragDropTextInLayout (bool16 bDragDropText)
pure virtual

SetDragDropTextInLayout is used to set whether or not selected text can be dragged and dropped in layout view.

Parameters
bDragDropTextIN kTrue to allow drag and drop of selected text, kFalse to disallow.
virtual void IAppTextOptions::SetDragDropTextInStory (bool16 bDragDropText)
pure virtual

SetDragDropTextInStory is used to set whether or not selected text can be dragged and dropped in story/galley view.

Parameters
bool16bDragDropText IN kTrue to allow drag and drop of selected text, kFalse to disallow.
virtual void IAppTextOptions::SetPostPasteNudge (bool16 showPostPasteNudge)
pure virtual

SetPostPasteNudge is used to set whether or not nudge be shown after paste of text from other applications.

Parameters
showPostPasteNudgeIN kTrue if nudge to be shown on after paste action.
virtual void IAppTextOptions::SetPreferStyledTextWhenPasting (bool16 preferStyledText)
pure virtual

SetPreferStyledTextWhenPasting is used to set whether or not styled text should be pasted from the external clipboard if available.

Parameters
preferStyledTextIN kTrue if pasting styled text from the external clipboard is preferred.
virtual void IAppTextOptions::SetTextToolConvertsFrames (bool16 bDoesConvert)
pure virtual

SetTextToolConvertsFrames is used to set whether or not the text tool can convert an empty frame to a text frame.

Parameters
bool16bDoesConvert IN kTrue to allow the text tool to convert frames to text frames, kFalse to disallow.