Professional Documents
Culture Documents
Solutions 46
Solutions 46
Getting started
This chapter presents text-related use cases. To learn about how text layout is organized, do the following:
Run through the activities in “Exploring text with SnippetRunner”, to learn how to explore text and
familiarize yourself with fundamental text-Sample Code.
Look in this document for a use case that matches your problem.
As references, see the API reference documentation and the “Text Fundamentals” chapter mentioned
above.
Solution
1. Run InDesign with the SnippetRunner plug-in present. For instructions on using the plug-in, see the
API documentation page for SnippetRunner.
2. Browse the sample code in the snippets you have been running.
Sample code
SingleLineComposer
SnpApplyTextStyleAttributes
SnpApplyTextStyleAttributes::ApplyFontVariant
SnpCreateFrame
46