
473
ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Last updated 9/26/2011
Returns
Void
Syntax
DemoteElement()
GetTextForRange
Description
Gets the text for a specified text range.
Call the method on the document as follows:
document.GetTextForRange()
You can OR the following constants into the flags parameter, to retrieve various text items:
Constants.FE_BadDocId (-2)
Invalid document.
Constants.FE_BadSelectionForOperation (-59)
Current text selection is invalid for this operation.
Text Item Type
Text Item Represents
Text Item Data
Constants.FTI_CharPropsChange
(0x00200000)
A change in the text properties
Flags indicating which properties have changed (see the
following table).
Constants.FTI_ElementBegin
(0x00080000)
The beginning of a container structural
element
FO_Element
Constants.FTI_ElementEnd
(0x00100000)
The end of a container structural element FO_Element
Constants.FTI_ElemPrefixBegin
(0x08000000)
The beginning of an element’s prefix
FO_Element
Constants.FTI_ElemPrefixEnd
(0x10000000)
The end of an element’s prefix
FO_Element
Constants.FTI_ElemSuffixBegin
(0x20000000)
The beginning of an element’s suffix
FO_Element
Constants.FTI_ElemSuffixEnd
(0x40000000)
The end of an element’s suffix
FO_Element
Constants.FTI_FlowBegin
(0x00000020)
The beginning of a flow
FO_Flow
Constants.FTI_FlowEnd
(0x00000040)
The end of a flow
FO_Flow
Constants.FTI_FnAnchor
(0x00001000)
A footnote
FO_Fn
Constants.FTI_FrameAnchor
(0x00000800)
An anchored frame
FO_AFrame
Constants.FTI_LineBegin
(0x00000002)
The beginning of a line
-
Error
Reason
Содержание 65030365 - FrameMaker - PC
Страница 1: ...Scripting Guide ADOBE FRAMEMAKER 10...