Adobe 65009333 Scripting Guide - Page 34
Text objects
UPC - 883919155852
View all Adobe 65009333 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 34 highlights
Text and Type Text objects 34 //Close the text file. myTextFile.close(); } } } } function myFindTag (myStyleName, myStyleToTagMapping){ var myTag = ""; var myDone = false; var myCounter = 0; do{ if(myStyleToTagMapping[myCounter][0] == myStyleName){ myTag = myStyleToTagMapping[myCounter][1]; break; } myCounter ++; } while((myDone == false)||(myCounter < myStyleToTagMapping.length)) return myTag; } Text objects The following diagram shows a view of InCopy's text-object model. There are two main types of text object: layout objects (text frames) and text-stream objects (stories, insertion points, characters, and words, for example). The diagram uses the natural-language terms for the objects; when you write scripts, you will use the corresponding terms from your scripting language: document story spread, page, layer insertion points characters words lines paragraphs text columns text style ranges texts notes text containers text frame insertion points characters words lines paragraphs text columns text style ranges texts notes