Adobe 65030365 Scripting Guide - Page 460
GetText
UPC - 883919170923
View all Adobe 65030365 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 460 highlights
ADOBE FRAMEMAKER SCRIPTING GUIDE 452 Function Summary Parameters Parameter name heightInRows widthInCols Data Type int int Optional No No Description The number of cells to unstraddle vertically. The number of cells to unstraddle horizontally. GetText Description The GetText() method gets the text from the following types of objects: • Cell • Element • Flow • Fn • Pgf • SubCol • TextFrame • TextLine • TiApiClient • TiFlow • TiText • TiTextTable • XRef Call this method on the document as follows: document.GetText(flags) GetText() returns an object containing an array of text items. Each text item contains either a string of text, an object that appears within the text (such as a table or an anchored frame), an indicator that the text properties have changed, or the object that organizes the text (such as a paragraph or a text column). Note: Use the DeallocateTextItems() method to deallocate the memory used by the TextItems structure returned by GetText() when you have finished using it. To get specific types of text items, OR the constants that represent them (for example, use a bitwise OR to combine FTI_FlowBegin and FTI_String) into flags. To get all types of text items, specify -1. The method returns a TextItems object containing the array of text items of the requested text types. TextItem.dataType can be one of the following constants: Text Item Type FTI_CharPropsChange FTI_ElementBegin Text Item Represents A change in the text properties The beginning of a container structural element Text Item Data Flags indicating which properties have changed (see the following table). FO_Element Last updated 9/26/2011