General application preferences.
Go to Property Listing | Method Listing
toSource, getElements, toSpecifier, addEventListener, removeEventListener
Application, Boolean, EventListeners, Events, File, Number, Object, PageNumberingOptions, PreviewPagesOptions, PreviewSizeOptions, ToolTipOptions, ToolsPanelOptions,
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
applicationBarShown |
readonly |
If true, application bar is shown. |
|
|
autoCollapseIconPanels |
read/write |
If true, panel drawers close automatically. |
|
|
autoShowHiddenPanels |
read/write |
If true, vertical reveal strips appear when palette UI is hidden. |
|
|
completeFontDownloadGlyphLimit |
read/write |
The threshold at which to trigger font subsetting based on the number of glyphs the font contains. |
|
|
createLinksOnContentPlace |
read/write |
Enable the creation of links on content place |
|
|
customMonitorPpi |
read/write |
When using a custom monitor resolution, what is the value of that resolution in pixels per inch |
|
|
enableFloatingWindowDocking |
read/write |
If true, floating windows can be docked by user as tabs. |
|
|
enableMultiTouchGestures |
read/write |
Controls whether or not multi-touch gestures are enabled. |
|
|
eventListeners |
readonly |
A collection of event listeners. |
|
|
events |
readonly |
A collection of events. |
|
|
greekVectorGraphicsOnDrag |
read/write |
Controls whether or not to greek vector graphics when dragging at high quality. |
|
|
highlightObjectUnderSelectionTool |
read/write |
Controls whether or not to highlight object under selection tool. |
|
|
includePreview |
read/write |
If true, includes a preview in saved documents. |
|
|
isValid |
readonly |
Returns true if the object specifier resolves to valid objects. |
|
|
mainMonitorPpi |
readonly |
The value of the system reported main monitor resolution |
|
|
mapStylesOnContentPlace |
read/write |
Enable the mapping of styles on content place |
|
|
objectsMoveWithPage |
read/write |
Controls whether page items move when a page is repositioned from the UI. The option/alt key temporarily reverses this property |
|
|
openDocumentsAsTabs |
read/write |
If true, documents open as tabs. |
|
|
openRecentLength |
Number (range 0 - 30) |
read/write |
Number of items to show in the Open Recent menu list. Range: 0 to 30 |
|
pageNumbering |
PageNumberingOptions.SECTION PageNumberingOptions.ABSOLUTE |
read/write |
The page numbering method. |
|
parent |
readonly |
The parent of the GeneralPreference (a Application). |
|
|
placeCursorUsesThumbnails |
read/write |
Controls whether or not to show thumbnails of imported files in the Place icon. |
|
|
preventSelectingLockedItems |
read/write |
Controls whether or not you can select and interact with a locked item. When this is off, only position is locked. |
|
|
previewPages |
PreviewPagesOptions.FIRST_PAGE PreviewPagesOptions.FIRST_2_PAGES PreviewPagesOptions.FIRST_5_PAGES PreviewPagesOptions.FIRST_10_PAGES PreviewPagesOptions.ALL_PAGES |
read/write |
The pages to create preview images for. Note: Valid when include preview is true. |
|
previewSize |
PreviewSizeOptions.SMALL PreviewSizeOptions.MEDIUM PreviewSizeOptions.LARGE PreviewSizeOptions.EXTRA_LARGE |
read/write |
The preview size. Note: Valid when include preview is true. |
|
properties |
read/write |
A property that allows setting of several properties at the same time. |
|
|
showAnchorObjectAdornment |
read/write |
Controls whether or not the anchor object adornment is shown. |
|
|
showContentGrabber |
read/write |
Controls whether or not the content grabber adornment is shown. |
|
|
showConveyor |
read/write |
Show the conveyor on content collector or content placer tool activation |
|
|
showLiveCorners |
read/write |
Controls whether or not the live corners grabber adornment is shown. |
|
|
showMasterPageOverlay |
read/write |
Controls whether or not to show the master page overlay when a page is selected using the Page Tool. |
|
|
showTransformationValues |
read/write |
Controls whether or not to dynamically display transformation information as part of the cursor while manipulating page items. |
|
|
temporaryFolder |
read/write |
The location in which to store temporary files. |
|
|
toolTips |
ToolTipOptions.NORMAL ToolTipOptions.NONE ToolTipOptions.FAST |
read/write |
Tool tip behavior. |
|
toolsPanel |
ToolsPanelOptions.SINGLE_COLUMN ToolsPanelOptions.DOUBLE_COLUMN ToolsPanelOptions.SINGLE_ROW |
read/write |
Controls the appearance of the Tools panel. |
|
useApplicationFrame |
readonly |
If true, application lives in a frame. |
|
|
useCustomMonitorResolution |
read/write |
Enable the use of a custom monitor resolution in pixels per inch as opposed to querying the system settings |
EventListener addEventListener (eventType:String, handler:Varies, [captures:Boolean=Boolean])
Adds an event listener.
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
The event type. |
|
|
handler |
Varies |
The event handler. Can accept: File or JavaScript Function. |
|
captures |
This parameter is obsolete. (Optional) (default: false) |
GeneralPreference getElements ()
Resolves the object specifier, creating an array of object references.
Boolean removeEventListener (eventType:String, handler:Varies, [captures:Boolean=Boolean])
Removes the event listener.
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
The registered event type. |
|
|
handler |
Varies |
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 GeneralPreference.
String toSpecifier ()
Retrieves the object specifier.