TextWrapPreference
Text wrap preferences.
Go to Property Listing | Method Listing
Methods:
addEventListener, getElements, removeEventListener, toSource, toSpecifier
Objects:
Boolean, ContourOption, EventListeners, Events, NothingEnum, Object, Paths, Preferences, TextWrapModes, TextWrapSideOptions,
Preferences:
Hierarchy:
Superclass: Preference
Class: TextWrapPreference
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
read/write |
If true, text wraps on the master spread apply to that spread only, and not to any pages the master spread has been applied to. |
||
readonly |
The contour of the text wrap. Valid only when when text wrap type is contour. |
||
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
read/write |
If true, inverts the text wrap. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
readonly |
The parent of the TextWrapPreference (a PageItem, HtmlItem, FormField, SignatureField, TextBox, RadioButton, ListBox, ComboBox, CheckBox, MultiStateObject, Button, MediaItem, Sound, Movie, EPSText, SplineItem, Polygon, GraphicLine, Rectangle, Oval, Graphic, SVG, ImportedPage, PICT, WMF, PDF, EPS, Image, Group, TextFrame, EndnoteTextFrame, Application, Document or ObjectStyle). |
||
readonly |
A collection of paths. |
||
readonly |
A collection of preferences objects. |
||
read/write |
A property that allows setting of several properties at the same time. |
||
read/write |
The text wrap mode. |
||
Array of Units Unit |
read/write |
The minimum space between text and the edges of the wrapped object. The format for defining text wrap offset values depends on the text wrap type. If text wrap type is jump object text wrap, specify 2 values in the format [top, bottom]. If text wrap type is next column text wrap or contour, specify a single value. For bounding box text wrap, specify 4 values in the format in the format [top, left, bottom, right]. . Can return: Unit, Array of Units or NothingEnum enumerator. |
|
read/write |
Text wrap side options. |
||
readonly |
If true, the text wrap path has been explicitly modified by the user. |
Method Listing
EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Adds an event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The event type. |
|
handler |
JavaScriptFunction |
The event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
TextWrapPreference getElements ()
Resolves the object specifier, creating an array of object references.
Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Removes the event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The registered event type. |
|
handler |
JavaScriptFunction |
The registered event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
String toSource ()
Generates a string which, if executed, will return the TextWrapPreference.
String toSpecifier ()
Retrieves the object specifier.
Object of
ContourOption.parent
Event.parent
EventListener.parent
MutationEvent.parent
Path.parent
Preference.parent
Application.textWrapPreferences
Document.textWrapPreferences
FormField.textWrapPreferences
Button.textWrapPreferences
MultiStateObject.textWrapPreferences
CheckBox.textWrapPreferences
ComboBox.textWrapPreferences
ListBox.textWrapPreferences
RadioButton.textWrapPreferences
TextBox.textWrapPreferences
SignatureField.textWrapPreferences
Movie.textWrapPreferences
Sound.textWrapPreferences
PageItem.textWrapPreferences
Oval.textWrapPreferences
Rectangle.textWrapPreferences
GraphicLine.textWrapPreferences
Polygon.textWrapPreferences
Group.textWrapPreferences
Image.textWrapPreferences
EPS.textWrapPreferences
PDF.textWrapPreferences
WMF.textWrapPreferences
PICT.textWrapPreferences
Graphic.textWrapPreferences
SplineItem.textWrapPreferences
EPSText.textWrapPreferences
ImportedPage.textWrapPreferences
SVG.textWrapPreferences
MediaItem.textWrapPreferences
HtmlItem.textWrapPreferences
ObjectStyle.textWrapPreferences
TextFrame.textWrapPreferences
EndnoteTextFrame.textWrapPreferences