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

Public Types | |
| enum | { kDefaultIID = IID_ITEXTONPATHSELECTIONSUITE } |
Public Member Functions | |
| virtual void | SetOptionValues (EffectType typeEffect, TextAlignType textAlign, PathAlignType pathAlign, int16 overlapOffset, int16 flip)=0 |
| virtual void | GetOptionValues (EffectType &typeEffect, TextAlignType &textAlign, PathAlignType &pathAlign, int16 &overlapOffset, int16 &flip, int16 &verticality)=0 |
| virtual bool16 | CanModifyTextOnPathOptions () const =0 |
| virtual bool16 | CanDeleteTextOnPath () const =0 |
| virtual ErrorCode | DeleteTextOnPath ()=0 |
| virtual void | FreezeSelectionForModalDialog ()=0 |
| virtual void | ThawSelectionForModalDialog ()=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Provides access through a selection to the Text on a Path settings
| pure virtual |
Identifies whether all Text on Path can be removed from all objects in the selection
| pure virtual |
Identifies whether the Text on Path can be configured
| pure virtual |
Remove Text on Path from all objects in the selection
| pure virtual |
FreezeSelectionForModalDialog is used to freeze the selection when a modal dialog is about to be invoked.
This allows the modal dialog to operate on the same items regardless of how the changes affect the selection over time. (For example, if you have a caret and increase the columns, such that the caret moves to the next frame, the dialog will still operate on the original text frame). THIS CALL MUST BE PAIRED WITH A CALL TO ThawSelectionForModalDialog()
| pure virtual |
Retrieves the configured Text on Path parameters for the object(s) in a given selection
| typeEffect | IN the algorithm used to place glyphs on a spline, from TOPOptionsType.h |
| textAlign | IN the line on the glyph to which the characters are aligned |
| pathAlign | IN the top, center, or bottom edge of the spline to which to align the characters |
| overlapOffset | IN the distance, in points, by which a ghost spline is projected from the actual spline for the purpose of changing the spacing |
| flip | IN whether the characters are placed upside-down and backwards along the spline: constants in TOPOptionsData.h |
| verticality | -1 for a mixed selection, 1 for vertical, 0 for horizontal only |
| pure virtual |
ThawSelectionForModalDialog is used to thaw the selection when a modal dialog has been closed.
see FreezeSelectionForModalDialog for more details. THIS CALL MUST BE PAIRED WITH A CALL TO FreezeSelectionForModalDialog()