Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Where is IDML used in the application? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 How can IDML be used outside of InDesign?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 What is IDMLTools? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Where is the IDMLTools sample code? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 What setup is required for IDMLTools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 What is in an IDML file? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Where are the IDML defaults, and how do they work? . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 What is in an IDMS file? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 What is in an ICML file? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 What is in an ICMA file? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Is IDML a closed file format? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Is INX still supported? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 IDML Schema Validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 How do I generate a schema? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 How do I validate an IDML file? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 What external tools does Adobe recommend for working with IDML? . . . . . . . . . . . . . . . 12 What tools are included in the SDK? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 What if my IDML file passes schema validation but does not work as expected? . . . . . . . . . 13 How can I use InDesign to produce a package from a directory? . . . . . . . . . . . . . . . . . . . 14 How do I produce an IDML package outside of InDesign? . . . . . . . . . . . . . . . . . . . . . . . 14 Recipes and Pointers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Spreads and pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Page Items . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 XML. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Programming with Java and XSLT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Programming with ActionScript/Air . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Workflow customizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Contents
What is IDMLTools?
IDMLTools is a collection of sample code, tools, and reusable classes written in Java. It contains standalone tools for schema validation, as well as package inspection, compression, and decompression. The IDMLTools sample code demonstrates several operations, including
building IDML files from scratch, extracting data, altering content, and adding to existing documents. Most of these samples use XSLT and are built on a more generic set of Java classes.
Change the contents above to match the absolute path to your idmltools folder. You also will need to start a new shell before these changes take effect.