
610
ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Last updated 9/26/2011
GetText2
Description
Gets the text from all the objects available to
GetText()
, as well as an extended set of document objects that includes
the rubi object.
TextItems.dataType
can be one of the following constants (in addition to the constants returned by
GetText ()
):
See
GetText
under the Cell class for more information.
Returns
TextItems
Syntax
GetText2(flags, flags2)
Parameters
GetProps
Description
Retrieves the properties of the rubi object.
See
GetProps
under the AFrame class for more information.
Returns
PropVals
Value
Representation
Data
Constants.FTI2_RubiTextBegin
(0x80000001)
The beginning of rubi text.
The FO_Rubi object for the rubi composite that
contains the rubi text.
Constants.FTI2_RubiTextEnd (0x80000002)
The end of rubi text.
The FO_Rubi object for the rubi composite that
contains the rubi text.
Constants.FTI2_RubiCompositeBegin
(0x80000004)
The beginning of a rubi composite.
FO_Rubi object.
Constants.FTI2_RubiCompositeEnd
(0x80000008)
The end of a rubi composite.
FO_Rubi object.
Parameter name
Data Type
Optional
Description
flags
int
No
Denotes the various bit flags that specify the items to be
retrieved.
flags2
int
No
Bit flags for the extended set of text item types that specify the
type of text items to retrieve. To get specific types of text items
from the extended set, OR the constants that represent them
(for example, use a bitwise OR to combine
Constants.FTI2_RubiTextBegin (0x80000001)
and
Constants. FTI2_RubiTextEnd (0x80000002))
into
flags2. To get all types of the extended set of text items, specify
-1.