Wednesday, October 19, 2011

Where's the text?

Having delved into paragraphs and paragraph formats, text might seem like the next logical topic. I am going to defer the discussion of text for a while for a number of reasons.

First, in FrameMaker documents, text can appear in paragraphs or in text lines.  Text lines are actually a type of graphic object. So graphics need to come before text.

Text also contains anchored objects such as markers, tables, anchored frames. A basic understanding of these is helpful when working with text. 

Finally, in the FDK at least, text is managed quite differently from everything else. The F_ApiGetText() function works with text items rather than text objects. These text items contains the actually text characters but also information on changes in text formatting. This makes working with text a bit harder than working with other document objects. I suspect the same will hold true with scripting.

So, if you are hoping to hear about text in detail, hang onto your hats, it is coming!



No comments:

Post a Comment