idml 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (917) hide show
  1. checksums.yaml +7 -0
  2. data/.github/workflows/rake.yml +18 -0
  3. data/.github/workflows/release.yml +27 -0
  4. data/.gitignore +27 -0
  5. data/.rspec +3 -0
  6. data/.rubocop.yml +21 -0
  7. data/.rubocop_todo.yml +113 -0
  8. data/.yardopts +4 -0
  9. data/CLAUDE.md +305 -0
  10. data/Gemfile +17 -0
  11. data/Gemfile.lock +253 -0
  12. data/README.adoc +4 -0
  13. data/Rakefile +22 -0
  14. data/TODO.complete/01-bootstrap.md +52 -0
  15. data/TODO.complete/02-package-layer.md +48 -0
  16. data/TODO.complete/03-parts-registry-and-designmap.md +64 -0
  17. data/TODO.complete/04-spread-and-master-spread.md +57 -0
  18. data/TODO.complete/05-story-and-backing-story.md +56 -0
  19. data/TODO.complete/06-resources.md +53 -0
  20. data/TODO.complete/07-xml-structure.md +32 -0
  21. data/TODO.complete/08-round-trip-suite.md +44 -0
  22. data/TODO.complete/09-validation.md +51 -0
  23. data/TODO.complete/10-composition.md +62 -0
  24. data/TODO.complete/11-package-accessors.md +41 -0
  25. data/TODO.complete/12-document-layer.md +44 -0
  26. data/TODO.complete/13-insert-idml.md +31 -0
  27. data/TODO.complete/14-geometry.md +33 -0
  28. data/TODO.complete/15-cli.md +44 -0
  29. data/TODO.complete/16-cross-version-tolerance.md +40 -0
  30. data/TODO.complete/17-yard-documentation.md +38 -0
  31. data/TODO.complete/18-remove-nokogiri.md +38 -0
  32. data/TODO.complete/19-vendor-fixtures.md +44 -0
  33. data/TODO.complete/20-round-trip-all-fixtures.md +39 -0
  34. data/TODO.complete/21-anti-pattern-forbid-nokogiri.md +31 -0
  35. data/TODO.complete/22-claude-md-no-nokogiri.md +29 -0
  36. data/TODO.complete/23-lutaml-only-no-rexml.md +60 -0
  37. data/TODO.complete/24-anti-pattern-forbid-rexml.md +29 -0
  38. data/TODO.complete/25-claude-md-lutaml-only.md +29 -0
  39. data/TODO.complete/26-rnc-faithful-models.md +66 -0
  40. data/TODO.complete/27-geometry-scale-rotate.md +28 -0
  41. data/TODO.complete/28-designmap-migration.md +33 -0
  42. data/TODO.complete/29-add-page-from-idml.md +35 -0
  43. data/TODO.complete/30-import-xml.md +37 -0
  44. data/TODO.complete/31-export-xml.md +32 -0
  45. data/TODO.complete/33-element-spec-coverage.md +30 -0
  46. data/TODO.pdf/01-font-metrics.md +43 -0
  47. data/TODO.pdf/02-font-resolver.md +42 -0
  48. data/TODO.pdf/03-text-shaper.md +40 -0
  49. data/TODO.pdf/04-line-breaker-justifier.md +51 -0
  50. data/TODO.pdf/05-vertical-layout.md +42 -0
  51. data/TODO.pdf/06-pdf-color-operators.md +25 -0
  52. data/TODO.pdf/07-pdf-path-operators.md +29 -0
  53. data/TODO.pdf/08-pdf-text-operators.md +29 -0
  54. data/TODO.pdf/09-image-embedding.md +34 -0
  55. data/TODO.pdf/10-spread-renderer.md +33 -0
  56. data/TODO.pdf/11-font-embedding.md +38 -0
  57. data/TODO.pdf/12-idml-to-pdf-pipeline.md +41 -0
  58. data/TODO.pdf/13-cjk-text-layout.md +40 -0
  59. data/TODO.pdf/14-page-item-element-models.md +61 -0
  60. data/TODO.pdf/15-wire-spread-children.md +46 -0
  61. data/TODO.pdf/16-typed-model-pipeline.md +48 -0
  62. data/TODO.pdf/17-shape-rendering.md +46 -0
  63. data/TODO.pdf/18-text-rendering.md +48 -0
  64. data/TODO.pdf/19-page-dimensions.md +40 -0
  65. data/TODO.pdf/20-png-image-support.md +43 -0
  66. data/TODO.pdf/21-coordinate-transform.md +41 -0
  67. data/TODO.pdf/22-color-resolution.md +41 -0
  68. data/TODO.pdf/23-fontmetrics-ps-name-fix.md +43 -0
  69. data/TODO.pdf/24-antipattern-coverage.md +35 -0
  70. data/TODO.pdf/25-cli-render.md +38 -0
  71. data/TODO.pdf/26-renderer-registry.md +45 -0
  72. data/TODO.pdf/27-text-engine-integration.md +41 -0
  73. data/TODO.pdf/28-path-geometry-models.md +47 -0
  74. data/TODO.pdf/29-character-style-extraction.md +36 -0
  75. data/TODO.pdf/30-shape-geometry-rendering.md +40 -0
  76. data/TODO.pdf/31-stroke-rendering.md +35 -0
  77. data/TODO.pdf/32-master-spread-rendering.md +36 -0
  78. data/TODO.pdf/33-font-resolution-from-idml.md +38 -0
  79. data/TODO.pdf/34-story-threading.md +32 -0
  80. data/TODO.pdf/35-pdf-metadata.md +34 -0
  81. data/TODO.pdf/36-performance-caching.md +33 -0
  82. data/TODO.pdf/37-round-trip-specs.md +33 -0
  83. data/TODO.pdf/38-pdf-output-validation.md +34 -0
  84. data/TODO.pdf/39-geometry-coordinate-helpers.md +26 -0
  85. data/TODO.pdf/40-font-ps-name-resolution.md +30 -0
  86. data/TODO.pdf/41-graphic-line-rendering.md +20 -0
  87. data/TODO.pdf/42-group-transform-application.md +17 -0
  88. data/TODO.pdf/43-text-frame-insets.md +17 -0
  89. data/TODO.pdf/44-layer-support.md +20 -0
  90. data/TODO.pdf/45-image-clipping.md +17 -0
  91. data/TODO.pdf/46-spread-to-page-separation.md +19 -0
  92. data/TODO.pdf/47-pdf-bookmarks.md +17 -0
  93. data/TODO.pdf/48-table-rendering.md +20 -0
  94. data/TODO.pdf/49-gradient-fill-rendering.md +20 -0
  95. data/TODO.pdf/50-pdf-a-compliance.md +21 -0
  96. data/TODO.pdf/51-remove-dead-code.md +41 -0
  97. data/TODO.pdf/52-font-subsetting.md +22 -0
  98. data/TODO.pdf/53-tagged-pdf-accessibility.md +24 -0
  99. data/TODO.pdf/54-pdfrb-pipeline-specs.md +27 -0
  100. data/TODO.pdf/55-dead-code-deprecation.md +30 -0
  101. data/TODO.pdf/56-text-engine-pdfrb-integration.md +33 -0
  102. data/TODO.pdf/57-image-clipping-pdfrb.md +26 -0
  103. data/TODO.pdf/58-bookmarks-pdfrb.md +23 -0
  104. data/TODO.pdf/59-dry-placement-rect.md +15 -0
  105. data/TODO.pdf/60-cli-pdf-a-flag.md +16 -0
  106. data/TODO.pdf/README.md +21 -0
  107. data/exe/idml +5 -0
  108. data/idml.gemspec +39 -0
  109. data/lib/idml/cli.rb +105 -0
  110. data/lib/idml/composition/add_page_from_idml.rb +67 -0
  111. data/lib/idml/composition/export_xml.rb +70 -0
  112. data/lib/idml/composition/import_xml.rb +73 -0
  113. data/lib/idml/composition/insert_idml.rb +93 -0
  114. data/lib/idml/composition/prefix.rb +78 -0
  115. data/lib/idml/composition.rb +16 -0
  116. data/lib/idml/document.rb +87 -0
  117. data/lib/idml/elements/anchored_object_setting.rb +40 -0
  118. data/lib/idml/elements/baseline_frame_grid_option.rb +24 -0
  119. data/lib/idml/elements/bevel_and_emboss_setting.rb +48 -0
  120. data/lib/idml/elements/blending_setting.rb +24 -0
  121. data/lib/idml/elements/cell_style.rb +166 -0
  122. data/lib/idml/elements/cell_style_group.rb +18 -0
  123. data/lib/idml/elements/character_style.rb +302 -0
  124. data/lib/idml/elements/character_style_group.rb +18 -0
  125. data/lib/idml/elements/character_style_range.rb +670 -0
  126. data/lib/idml/elements/color.rb +48 -0
  127. data/lib/idml/elements/content.rb +16 -0
  128. data/lib/idml/elements/content_transparency_setting.rb +15 -0
  129. data/lib/idml/elements/contour_option.rb +30 -0
  130. data/lib/idml/elements/dashed_stroke_style.rb +26 -0
  131. data/lib/idml/elements/directional_feather_setting.rb +34 -0
  132. data/lib/idml/elements/document_object.rb +82 -0
  133. data/lib/idml/elements/dotted_stroke_style.rb +24 -0
  134. data/lib/idml/elements/drop_shadow_setting.rb +44 -0
  135. data/lib/idml/elements/feather_setting.rb +26 -0
  136. data/lib/idml/elements/fill_transparency_setting.rb +15 -0
  137. data/lib/idml/elements/flex_layout_attribute_option.rb +42 -0
  138. data/lib/idml/elements/font.rb +50 -0
  139. data/lib/idml/elements/font_family.rb +23 -0
  140. data/lib/idml/elements/frame_fitting_option.rb +30 -0
  141. data/lib/idml/elements/geometry_path_type.rb +24 -0
  142. data/lib/idml/elements/gradient.rb +34 -0
  143. data/lib/idml/elements/gradient_feather_setting.rb +30 -0
  144. data/lib/idml/elements/gradient_stop.rb +24 -0
  145. data/lib/idml/elements/graphic_line.rb +34 -0
  146. data/lib/idml/elements/group.rb +41 -0
  147. data/lib/idml/elements/image.rb +33 -0
  148. data/lib/idml/elements/ink.rb +36 -0
  149. data/lib/idml/elements/inner_glow_setting.rb +34 -0
  150. data/lib/idml/elements/inner_shadow_setting.rb +40 -0
  151. data/lib/idml/elements/layer.rb +35 -0
  152. data/lib/idml/elements/link.rb +25 -0
  153. data/lib/idml/elements/master_spread_object.rb +55 -0
  154. data/lib/idml/elements/mixed_ink.rb +46 -0
  155. data/lib/idml/elements/mixed_ink_group.rb +40 -0
  156. data/lib/idml/elements/object_export_option.rb +100 -0
  157. data/lib/idml/elements/object_style.rb +148 -0
  158. data/lib/idml/elements/object_style_content_effects_category_settings.rb +36 -0
  159. data/lib/idml/elements/object_style_export_tag_map.rb +28 -0
  160. data/lib/idml/elements/object_style_fill_effects_category_settings.rb +36 -0
  161. data/lib/idml/elements/object_style_group.rb +18 -0
  162. data/lib/idml/elements/object_style_object_effects_category_settings.rb +36 -0
  163. data/lib/idml/elements/object_style_stroke_effects_category_settings.rb +36 -0
  164. data/lib/idml/elements/opacity_gradient_stop.rb +24 -0
  165. data/lib/idml/elements/outer_glow_setting.rb +32 -0
  166. data/lib/idml/elements/page.rb +43 -0
  167. data/lib/idml/elements/paragraph_style.rb +600 -0
  168. data/lib/idml/elements/paragraph_style_group.rb +18 -0
  169. data/lib/idml/elements/paragraph_style_range.rb +673 -0
  170. data/lib/idml/elements/pasted_smooth_shade.rb +40 -0
  171. data/lib/idml/elements/path_geometry.rb +36 -0
  172. data/lib/idml/elements/path_point_array.rb +21 -0
  173. data/lib/idml/elements/path_point_type.rb +38 -0
  174. data/lib/idml/elements/polygon.rb +40 -0
  175. data/lib/idml/elements/pref_anchored_object_default.rb +26 -0
  176. data/lib/idml/elements/pref_button_preference.rb +18 -0
  177. data/lib/idml/elements/pref_chapter_number_preference.rb +20 -0
  178. data/lib/idml/elements/pref_cjk_grid_preference.rb +34 -0
  179. data/lib/idml/elements/pref_data_merge.rb +20 -0
  180. data/lib/idml/elements/pref_data_merge_field.rb +20 -0
  181. data/lib/idml/elements/pref_data_merge_option.rb +28 -0
  182. data/lib/idml/elements/pref_dictionary_preference.rb +22 -0
  183. data/lib/idml/elements/pref_document_preference.rb +66 -0
  184. data/lib/idml/elements/pref_e_pub_export_preference.rb +152 -0
  185. data/lib/idml/elements/pref_e_pub_fixed_layout_export_preference.rb +82 -0
  186. data/lib/idml/elements/pref_export_for_web_preference.rb +32 -0
  187. data/lib/idml/elements/pref_footnote_option.rb +78 -0
  188. data/lib/idml/elements/pref_grid_preference.rb +40 -0
  189. data/lib/idml/elements/pref_guide_preference.rb +26 -0
  190. data/lib/idml/elements/pref_html_export_preference.rb +94 -0
  191. data/lib/idml/elements/pref_index_header_setting.rb +26 -0
  192. data/lib/idml/elements/pref_index_options.rb +60 -0
  193. data/lib/idml/elements/pref_layout_adjustment_preference.rb +28 -0
  194. data/lib/idml/elements/pref_layout_grid_data_information.rb +28 -0
  195. data/lib/idml/elements/pref_margin_preference.rb +32 -0
  196. data/lib/idml/elements/pref_mojikumi_ui_preference.rb +18 -0
  197. data/lib/idml/elements/pref_page_item_default.rb +88 -0
  198. data/lib/idml/elements/pref_pasteboard_preference.rb +22 -0
  199. data/lib/idml/elements/pref_print_booklet_option.rb +40 -0
  200. data/lib/idml/elements/pref_print_booklet_print_preference.rb +188 -0
  201. data/lib/idml/elements/pref_print_preference.rb +198 -0
  202. data/lib/idml/elements/pref_story_grid_data_information.rb +40 -0
  203. data/lib/idml/elements/pref_text_default.rb +578 -0
  204. data/lib/idml/elements/pref_text_preference.rb +84 -0
  205. data/lib/idml/elements/pref_tin_document_data_object.rb +15 -0
  206. data/lib/idml/elements/pref_transparency_default_container_object.rb +15 -0
  207. data/lib/idml/elements/pref_transparency_preference.rb +22 -0
  208. data/lib/idml/elements/pref_view_preference.rb +50 -0
  209. data/lib/idml/elements/pref_xml_export_preference.rb +48 -0
  210. data/lib/idml/elements/pref_xml_import_preference.rb +36 -0
  211. data/lib/idml/elements/pref_xml_preference.rb +26 -0
  212. data/lib/idml/elements/properties.rb +24 -0
  213. data/lib/idml/elements/rectangle.rb +56 -0
  214. data/lib/idml/elements/root_cell_style_group.rb +21 -0
  215. data/lib/idml/elements/root_character_style_group.rb +21 -0
  216. data/lib/idml/elements/root_object_style_group.rb +21 -0
  217. data/lib/idml/elements/root_paragraph_style_group.rb +21 -0
  218. data/lib/idml/elements/root_table_style_group.rb +21 -0
  219. data/lib/idml/elements/satin_setting.rb +32 -0
  220. data/lib/idml/elements/spread_object.rb +64 -0
  221. data/lib/idml/elements/story_inner.rb +697 -0
  222. data/lib/idml/elements/story_preference.rb +26 -0
  223. data/lib/idml/elements/striped_stroke_style.rb +22 -0
  224. data/lib/idml/elements/stroke_style.rb +20 -0
  225. data/lib/idml/elements/stroke_transparency_setting.rb +15 -0
  226. data/lib/idml/elements/style_export_tag_map.rb +30 -0
  227. data/lib/idml/elements/swatch.rb +30 -0
  228. data/lib/idml/elements/table.rb +40 -0
  229. data/lib/idml/elements/table_cell.rb +24 -0
  230. data/lib/idml/elements/table_row.rb +28 -0
  231. data/lib/idml/elements/table_style.rb +260 -0
  232. data/lib/idml/elements/table_style_group.rb +18 -0
  233. data/lib/idml/elements/text_frame.rb +54 -0
  234. data/lib/idml/elements/text_frame_footnote_options_object.rb +24 -0
  235. data/lib/idml/elements/text_frame_preference.rb +90 -0
  236. data/lib/idml/elements/text_wrap_preference.rb +24 -0
  237. data/lib/idml/elements/tint.rb +44 -0
  238. data/lib/idml/elements/toc_style.rb +40 -0
  239. data/lib/idml/elements/toc_style_entry.rb +28 -0
  240. data/lib/idml/elements/transform_attribute_option.rb +30 -0
  241. data/lib/idml/elements/transparency_setting.rb +15 -0
  242. data/lib/idml/elements/trap_preset.rb +48 -0
  243. data/lib/idml/elements/xml_element.rb +41 -0
  244. data/lib/idml/elements/xml_export_map.rb +28 -0
  245. data/lib/idml/elements/xml_import_map.rb +22 -0
  246. data/lib/idml/elements/xml_story.rb +609 -0
  247. data/lib/idml/elements/xml_tag.rb +20 -0
  248. data/lib/idml/elements.rb +167 -0
  249. data/lib/idml/errors.rb +10 -0
  250. data/lib/idml/geometry.rb +110 -0
  251. data/lib/idml/namespace.rb +13 -0
  252. data/lib/idml/package.rb +213 -0
  253. data/lib/idml/part.rb +20 -0
  254. data/lib/idml/parts/backing_story.rb +27 -0
  255. data/lib/idml/parts/designmap.rb +91 -0
  256. data/lib/idml/parts/fonts.rb +26 -0
  257. data/lib/idml/parts/graphic.rb +48 -0
  258. data/lib/idml/parts/mapping.rb +25 -0
  259. data/lib/idml/parts/master_spread.rb +27 -0
  260. data/lib/idml/parts/preferences.rb +201 -0
  261. data/lib/idml/parts/raw.rb +27 -0
  262. data/lib/idml/parts/spread.rb +38 -0
  263. data/lib/idml/parts/story.rb +39 -0
  264. data/lib/idml/parts/style.rb +122 -0
  265. data/lib/idml/parts/style_mapping.rb +21 -0
  266. data/lib/idml/parts/tags.rb +25 -0
  267. data/lib/idml/parts.rb +47 -0
  268. data/lib/idml/render/color.rb +69 -0
  269. data/lib/idml/render/color_helper.rb +23 -0
  270. data/lib/idml/render/color_resolver.rb +72 -0
  271. data/lib/idml/render/font_embedder.rb +79 -0
  272. data/lib/idml/render/font_reference_resolver.rb +51 -0
  273. data/lib/idml/render/gradient_resolver.rb +111 -0
  274. data/lib/idml/render/image.rb +302 -0
  275. data/lib/idml/render/layer_filter.rb +60 -0
  276. data/lib/idml/render/page_item_renderer.rb +34 -0
  277. data/lib/idml/render/path.rb +80 -0
  278. data/lib/idml/render/pdf_writer.rb +426 -0
  279. data/lib/idml/render/pdfrb_ext/clip.rb +31 -0
  280. data/lib/idml/render/pdfrb_ext/invoke_xobject.rb +24 -0
  281. data/lib/idml/render/pdfrb_ext.rb +13 -0
  282. data/lib/idml/render/pdfrb_writer.rb +97 -0
  283. data/lib/idml/render/pipeline.rb +196 -0
  284. data/lib/idml/render/render_context.rb +22 -0
  285. data/lib/idml/render/renderers/graphic_line_renderer.rb +28 -0
  286. data/lib/idml/render/renderers/group_renderer.rb +42 -0
  287. data/lib/idml/render/renderers/polygon_renderer.rb +47 -0
  288. data/lib/idml/render/renderers/rectangle_renderer.rb +62 -0
  289. data/lib/idml/render/renderers/table_renderer.rb +41 -0
  290. data/lib/idml/render/renderers/text_frame_renderer.rb +113 -0
  291. data/lib/idml/render/renderers.rb +11 -0
  292. data/lib/idml/render/spread_renderer.rb +111 -0
  293. data/lib/idml/render/story_threader.rb +56 -0
  294. data/lib/idml/render/style_resolver.rb +48 -0
  295. data/lib/idml/render/text.rb +91 -0
  296. data/lib/idml/render.rb +63 -0
  297. data/lib/idml/text_engine/cjk_layout.rb +114 -0
  298. data/lib/idml/text_engine/font_metrics.rb +226 -0
  299. data/lib/idml/text_engine/font_resolver.rb +105 -0
  300. data/lib/idml/text_engine/justifier.rb +46 -0
  301. data/lib/idml/text_engine/line_breaker.rb +55 -0
  302. data/lib/idml/text_engine/shaper.rb +35 -0
  303. data/lib/idml/text_engine/vertical_layout.rb +64 -0
  304. data/lib/idml/text_engine.rb +19 -0
  305. data/lib/idml/validation/result.rb +14 -0
  306. data/lib/idml/validation/validator.rb +121 -0
  307. data/lib/idml/validation.rb +14 -0
  308. data/lib/idml/version.rb +5 -0
  309. data/lib/idml.rb +33 -0
  310. data/reference-docs/idml-specification.pdf +0 -0
  311. data/reference-docs/schemas/README.md +79 -0
  312. data/reference-docs/schemas/fix-adobe-schema-bug.rb +69 -0
  313. data/reference-docs/schemas/package/MasterSpreads/MasterSpread.rnc +4415 -0
  314. data/reference-docs/schemas/package/Resources/Fonts.rnc +93 -0
  315. data/reference-docs/schemas/package/Resources/Graphic.rnc +226 -0
  316. data/reference-docs/schemas/package/Resources/Preferences.rnc +1827 -0
  317. data/reference-docs/schemas/package/Resources/Styles.rnc +1770 -0
  318. data/reference-docs/schemas/package/Spreads/Spread.rnc +4431 -0
  319. data/reference-docs/schemas/package/Stories/Story.rnc +6547 -0
  320. data/reference-docs/schemas/package/XML/BackingStory.rnc +6527 -0
  321. data/reference-docs/schemas/package/XML/Mapping.rnc +35 -0
  322. data/reference-docs/schemas/package/XML/Tags.rnc +30 -0
  323. data/reference-docs/schemas/package/datatype.rnc +563 -0
  324. data/reference-docs/schemas/package/designmap.rnc +974 -0
  325. data/reference-docs/schemas/single/IDMarkupLanguage.rnc +11486 -0
  326. data/reference-docs/schemas/single/datatype.rnc +563 -0
  327. data/reference-docs/spec/00_index.md +16 -0
  328. data/reference-docs/spec/00_title/00_index.md +480 -0
  329. data/reference-docs/spec/01_abstract/00_index.md +3 -0
  330. data/reference-docs/spec/02_introduction/00_index.md +11 -0
  331. data/reference-docs/spec/03_terminology/00_index.md +7 -0
  332. data/reference-docs/spec/04_inx_idml_and_in_design_scripting/00_index.md +48 -0
  333. data/reference-docs/spec/05_uses_for_idml/00_index.md +13 -0
  334. data/reference-docs/spec/06_idml_design_goals/00_index.md +18 -0
  335. data/reference-docs/spec/07_idml_design_approaches/00_index.md +59 -0
  336. data/reference-docs/spec/08_idml_document_structure/00_index.md +120 -0
  337. data/reference-docs/spec/09_idml_syntax/00_index.md +367 -0
  338. data/reference-docs/spec/09_idml_syntax/examples/01_example_properties_expressed_as_attributes_or_elements_depending_on_their_value.md +6 -0
  339. data/reference-docs/spec/09_idml_syntax/examples/02_example_object_serialization.md +10 -0
  340. data/reference-docs/spec/09_idml_syntax/examples/03_example_record_type_serialization.md +6 -0
  341. data/reference-docs/spec/09_idml_syntax/examples/04_example_geometry_serialization.md +6 -0
  342. data/reference-docs/spec/09_idml_syntax/examples/index.md +10 -0
  343. data/reference-docs/spec/09_idml_syntax/images/image_01.md +1 -0
  344. data/reference-docs/spec/09_idml_syntax/images/image_01.png +0 -0
  345. data/reference-docs/spec/09_idml_syntax/images/image_02.md +1 -0
  346. data/reference-docs/spec/09_idml_syntax/images/image_02.png +0 -0
  347. data/reference-docs/spec/09_idml_syntax/images/image_03.md +1 -0
  348. data/reference-docs/spec/09_idml_syntax/images/image_03.png +0 -0
  349. data/reference-docs/spec/09_idml_syntax/images/image_04.md +1 -0
  350. data/reference-docs/spec/09_idml_syntax/images/image_04.png +0 -0
  351. data/reference-docs/spec/09_idml_syntax/images/image_05.md +1 -0
  352. data/reference-docs/spec/09_idml_syntax/images/image_05.png +0 -0
  353. data/reference-docs/spec/09_idml_syntax/images/image_06.md +1 -0
  354. data/reference-docs/spec/09_idml_syntax/images/image_06.png +0 -0
  355. data/reference-docs/spec/09_idml_syntax/images/index.md +12 -0
  356. data/reference-docs/spec/09_idml_syntax/schemas/00_schema_example_1_column_guide_color_and_margin_guide_color_elements.rnc +3 -0
  357. data/reference-docs/spec/09_idml_syntax/schemas/01_datatype.rnc +4 -0
  358. data/reference-docs/spec/09_idml_syntax/schemas/02_designmap.rnc +4 -0
  359. data/reference-docs/spec/09_idml_syntax/schemas/03_Master_Spreads.rnc +4 -0
  360. data/reference-docs/spec/09_idml_syntax/schemas/04_Fonts.rnc +4 -0
  361. data/reference-docs/spec/09_idml_syntax/schemas/05_Graphic.rnc +4 -0
  362. data/reference-docs/spec/09_idml_syntax/schemas/06_Preferences.rnc +4 -0
  363. data/reference-docs/spec/09_idml_syntax/schemas/07_Styles.rnc +4 -0
  364. data/reference-docs/spec/09_idml_syntax/schemas/08_Spread.rnc +4 -0
  365. data/reference-docs/spec/09_idml_syntax/schemas/09_Story.rnc +4 -0
  366. data/reference-docs/spec/09_idml_syntax/schemas/10_BackingStory.rnc +4 -0
  367. data/reference-docs/spec/09_idml_syntax/schemas/11_Mapping.rnc +4 -0
  368. data/reference-docs/spec/09_idml_syntax/schemas/12_Tags.rnc +4 -0
  369. data/reference-docs/spec/09_idml_syntax/schemas/index.md +19 -0
  370. data/reference-docs/spec/09_idml_syntax/tables/01_idml_basic_data_types.md +20 -0
  371. data/reference-docs/spec/09_idml_syntax/tables/02_property_elements.md +6 -0
  372. data/reference-docs/spec/09_idml_syntax/tables/index.md +8 -0
  373. data/reference-docs/spec/10_idml_file_reference/00_index.md +16 -0
  374. data/reference-docs/spec/10_idml_file_reference/10_10_mapping/examples/98_xml_export_map.md +1 -0
  375. data/reference-docs/spec/10_idml_file_reference/10_10_mapping/examples/99_xml_import_map.md +1 -0
  376. data/reference-docs/spec/10_idml_file_reference/10_10_mapping/index.md +44 -0
  377. data/reference-docs/spec/10_idml_file_reference/10_10_mapping/schemas/175_xml_export_map.rnc +1 -0
  378. data/reference-docs/spec/10_idml_file_reference/10_10_mapping/schemas/176_xml_import_map.rnc +1 -0
  379. data/reference-docs/spec/10_idml_file_reference/10_10_mapping/tables/191_xml_export_map_properties.md +7 -0
  380. data/reference-docs/spec/10_idml_file_reference/10_10_mapping/tables/192_xml_import_map_properties.md +4 -0
  381. data/reference-docs/spec/10_idml_file_reference/10_11_xmltags/examples/100_example_xmltag.md +7 -0
  382. data/reference-docs/spec/10_idml_file_reference/10_11_xmltags/imdex.md +42 -0
  383. data/reference-docs/spec/10_idml_file_reference/10_11_xmltags/schemas/177_xmltag.rnc +10 -0
  384. data/reference-docs/spec/10_idml_file_reference/10_11_xmltags/tables/193_xmltag_properties_attributes.md +3 -0
  385. data/reference-docs/spec/10_idml_file_reference/10_11_xmltags/tables/194_xmltag_properties_elements.md +3 -0
  386. data/reference-docs/spec/10_idml_file_reference/10_1_common_attributes_and_elements/examples/05_example_self.md +1 -0
  387. data/reference-docs/spec/10_idml_file_reference/10_1_common_attributes_and_elements/examples/06_example_label.md +6 -0
  388. data/reference-docs/spec/10_idml_file_reference/10_1_common_attributes_and_elements/index.md +96 -0
  389. data/reference-docs/spec/10_idml_file_reference/10_1_common_attributes_and_elements/schemas/02_self.rnc +3 -0
  390. data/reference-docs/spec/10_idml_file_reference/10_1_common_attributes_and_elements/schemas/03_label.rnc +7 -0
  391. data/reference-docs/spec/10_idml_file_reference/10_1_common_attributes_and_elements/tables/label_attributes.md +8 -0
  392. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/examples/07_example_document_element_references.md +26 -0
  393. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/examples/08_example_document_element_designmap.md +25 -0
  394. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/examples/09_example_color_management_attributes.md +10 -0
  395. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/examples/10_example_tagged_pdf_preference_structure_order.md +1 -0
  396. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/examples/11_example_text_variable.md +3 -0
  397. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/examples/12_example_layer.md +5 -0
  398. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/examples/13_example_building_block.md +1 -0
  399. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/examples/14_example_hyperlink.md +7 -0
  400. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/examples/15_example_article.md +4 -0
  401. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/index.md +1349 -0
  402. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/004_document.rnc +108 -0
  403. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/005_language.rnc +16 -0
  404. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/006_kinsokutable.rnc +13 -0
  405. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/007_numberinglist.rnc +11 -0
  406. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/007b_mojikumitable.rnc +14 -0
  407. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/008_namedgrid.rnc +10 -0
  408. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/009_griddatainformation.rnc +22 -0
  409. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/010_motionpreset.rnc +14 -0
  410. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/011_condition.rnc +14 -0
  411. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/012_conditionset.rnc +13 -0
  412. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/013_linkedstoryoption.rnc +5 -0
  413. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/014_taggedpdfpreference.rnc +1 -0
  414. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/015_metadatapacketpreference.rnc +1 -0
  415. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/016_watermarkpreference.rnc +18 -0
  416. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/016b_conditionaltextpreference.rnc +4 -0
  417. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/017_textvariable.rnc +22 -0
  418. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/018_customtextvariablepreference.rnc +14 -0
  419. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/019_filenamevariablepreference.rnc +6 -0
  420. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/020_pagenumbervariablepreference.rnc +6 -0
  421. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/021_chapternumbervariablepreference.rnc +5 -0
  422. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/022_datevariablepreference.rnc +5 -0
  423. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/023_matchcharacterstylepreference.rnc +8 -0
  424. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/024_matchparagraphstylepreference.rnc +8 -0
  425. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/025_captionmetadatavariablepreference.rnc +5 -0
  426. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/026_layer.rnc +19 -0
  427. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/027_section.rnc +25 -0
  428. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/028_documentuser.rnc +7 -0
  429. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/029_crossreferenceformat.rnc +11 -0
  430. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/030_buildingblock.rnc +8 -0
  431. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/031_index.rnc +9 -0
  432. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/032_topic.rnc +7 -0
  433. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/033_crossreference.rnc +11 -0
  434. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/034_hyperlink.rnc +34 -0
  435. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/035_hyperlinkpagedestination.rnc +17 -0
  436. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/036_hyperlinkurldestination.rnc +12 -0
  437. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/037_hyperlinkexternalpagedestination.rnc +17 -0
  438. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/038_hyperlinkpageitemsource.rnc +11 -0
  439. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/039_bookmark.rnc +11 -0
  440. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/040_preflightprofile.rnc +12 -0
  441. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/041_preflightprofilerule.rnc +13 -0
  442. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/042_ruledataobject.rnc +51 -0
  443. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/043_preflightruleinstance.rnc +13 -0
  444. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/044_datamergeimageplaceholder.rnc +5 -0
  445. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/045_hyphenationexception.rnc +6 -0
  446. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/046_indexingsortoption.rnc +8 -0
  447. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/047_abullet.rnc +28 -0
  448. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/048_assignment.rnc +21 -0
  449. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/049_assignedstory.rnc +11 -0
  450. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/051_article.rnc +11 -0
  451. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/052_articlemember.rnc +4 -0
  452. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/03_document_properties_attributes.md +28 -0
  453. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/04_document_properties_elements.md +2 -0
  454. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/05_language_properties_attributes.md +10 -0
  455. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/06_kinsokutable_properties_attributes.md +6 -0
  456. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/07_mojikumitable_properties_attributes.md +3 -0
  457. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/08_mojikumitable_properties_elements.md +4 -0
  458. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/09_numberinglist_properties_attributes.md +4 -0
  459. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/10_namedgrid_properties_attributes.md +3 -0
  460. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/11_griddatainformation_properties_attributes.md +14 -0
  461. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/12_griddatainformation_properties_elements.md +3 -0
  462. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/13_motionpreset_properties_attributes.md +6 -0
  463. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/14_motionpreset_properties_elements.md +3 -0
  464. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/15_condition_properties_attributes.md +6 -0
  465. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/16_condition_properties_elements.md +3 -0
  466. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/17_conditionset_properties_elements.md +3 -0
  467. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/18_linkedstoryoption_properties_attributes.md +5 -0
  468. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/19_taggedpdfpreference_structureorder_elements.md +3 -0
  469. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/20_metadatapacketpreference_properties_elements.md +3 -0
  470. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/21_watermarkpreference_properties_attributes.md +15 -0
  471. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/22_watermarkpreference_properties_elements.md +3 -0
  472. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/23_conditionaltextpreference_properties_attributes.md +4 -0
  473. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/24_textvariable_properties_attributes.md +4 -0
  474. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/25_common_text_variable_properties_attributes.md +4 -0
  475. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/26_custom_textvariable_preference_properties_elements.md +3 -0
  476. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/27_filename_variable_preference_properties_attributes.md +4 -0
  477. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/28_pagenumber_variable_preference_properties_attributes.md +4 -0
  478. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/29_chapternumber_variable_preference_properties_attributes.md +3 -0
  479. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/30_date_variable_preference_properties_attributes.md +3 -0
  480. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/31_matchcharacterstylepreference_properties_attributes.md +6 -0
  481. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/32_matchparagraphstylepreference_properties_attributes.md +6 -0
  482. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/33_captionmetadatavariablepreference_properties_attributes.md +3 -0
  483. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/34_metadata_provider_names.md +63 -0
  484. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/35_layer_properties_attributes.md +10 -0
  485. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/36_layer_properties_elements.md +3 -0
  486. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/37_section_properties_attributes.md +15 -0
  487. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/38_documentuser_properties_attributes.md +3 -0
  488. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/39_documentuser_properties_elements.md +3 -0
  489. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/40_crossreferenceformat_properties_attributes.md +4 -0
  490. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/41_buildingblock_properties_attributes.md +10 -0
  491. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/42_topic_properties_attributes.md +4 -0
  492. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/43_crossreference_properties_attributes.md +5 -0
  493. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/44_hyperlink_properties_attributes.md +10 -0
  494. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/45_hyperlinkpagedestination_properties_attributes.md +9 -0
  495. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/46_hyperlinkpagedestination_properties_elements.md +3 -0
  496. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/47_hyperlinkurldestination_properties_attributes.md +6 -0
  497. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/48_hyperlinkexternalpagedestination_properties_attributes.md +8 -0
  498. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/49_hyperlinkexternalpagedestination_properties_elements.md +3 -0
  499. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/50_hyperlinkpageitemsource_properties_attributes.md +8 -0
  500. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/51_bookmark_properties_attributes.md +4 -0
  501. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/52_preflightprofile_properties_attributes.md +3 -0
  502. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/53_preflightprofilerule_properties_attributes.md +5 -0
  503. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/54_ruledataobject_properties_attributes.md +4 -0
  504. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/55_ruledataobject_properties_elements.md +3 -0
  505. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/56_preflightruleinstance_properties_attributes.md +5 -0
  506. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/57_datamergeplaceholder_properties_attributes.md +4 -0
  507. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/58_hyphenationexception_properties_attributes.md +4 -0
  508. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/59_indexingsortoption_properties_attributes.md +5 -0
  509. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/60_abullet_properties_attributes.md +4 -0
  510. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/61_abullet_properties_elements.md +4 -0
  511. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/62_assignment_properties_attributes.md +9 -0
  512. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/62_assignment_properties_elements.md +3 -0
  513. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/63_article_properties_attributes.md +3 -0
  514. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/64_article_properties_elements.md +2 -0
  515. data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/65_articlemember_properties_attributes.md +3 -0
  516. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/16_example_minimal_spread.md +4 -0
  517. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/17_example_untransformed_rectangle.md +14 -0
  518. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/18_example_rotation_changes_the_itemtransform_attribute_in_idml.md +1 -0
  519. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/19_the_rectangle_transformed_by_itemtransform_attribute_of_both_the_rectangle_and_the_group.md +1 -0
  520. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/20_example_animation_setting.md +33 -0
  521. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/21_example_timing_setting.md +10 -0
  522. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/22_example_rectangle.md +14 -0
  523. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/23_example_nested_page_item.md +28 -0
  524. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/24_example_rotated_page_item.md +14 -0
  525. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/25_example_page_item_imported_graphic.md +28 -0
  526. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/26_example_movie.md +1 -0
  527. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/27_example_navigation_point.md +1 -0
  528. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/28_example_sound.md +1 -0
  529. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/29_example_text_frame.md +29 -0
  530. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/30_example_threaded_linked_textframes.md +1 -0
  531. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/31_example_text_frame_preference_single_inset.md +5 -0
  532. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/32_example_text_frame_preference_multiple_inset.md +10 -0
  533. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/33_example_multi_column_text_frame.md +24 -0
  534. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/34_example_baseline_frame_grid.md +5 -0
  535. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/35_example_transparency.md +5 -0
  536. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/36_example_group.md +1 -0
  537. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/37_example_button.md +43 -0
  538. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/38_example_multi_state_object.md +26 -0
  539. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/39_example_associating_frame_xml_element.md +5 -0
  540. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/40_example_associating_text_frame_xml_element.md +6 -0
  541. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/41_example_pages_within_spread.md +19 -0
  542. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/42_example_margin_preferences.md +1 -0
  543. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/43_example_guide.md +5 -0
  544. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/44_example_flattener_preference.md +7 -0
  545. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/images/10_3_spreads_and_master_spreads_img001.png +0 -0
  546. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/images/10_3_spreads_and_master_spreads_img002.png +0 -0
  547. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/images/10_3_spreads_and_master_spreads_img003.png +0 -0
  548. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/images/10_3_spreads_and_master_spreads_img004.png +0 -0
  549. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/images/10_3_spreads_and_master_spreads_img005.png +0 -0
  550. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/images/10_3_spreads_and_master_spreads_img006.png +0 -0
  551. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/images/10_3_spreads_and_master_spreads_img007.png +0 -0
  552. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/images/10_3_spreads_and_master_spreads_img008.png +0 -0
  553. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/images/10_3_spreads_and_master_spreads_img009.png +0 -0
  554. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/images/10_3_spreads_and_master_spreads_img010.png +0 -0
  555. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/images/10_3_spreads_and_master_spreads_img011.png +0 -0
  556. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/images/10_3_spreads_and_master_spreads_img012.png +0 -0
  557. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/images/10_3_spreads_and_master_spreads_img013.png +0 -0
  558. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/images/10_3_spreads_and_master_spreads_img014.png +0 -0
  559. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/images/10_3_spreads_and_master_spreads_img015.png +0 -0
  560. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/images/10_3_spreads_and_master_spreads_img016.png +0 -0
  561. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/images/10_3_spreads_and_master_spreads_img017.png +0 -0
  562. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/images/10_3_spreads_and_master_spreads_img018.png +0 -0
  563. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/images/10_3_spreads_and_master_spreads_img019.png +0 -0
  564. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/images/10_3_spreads_and_master_spreads_img020.png +0 -0
  565. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/images/10_3_spreads_and_master_spreads_img021.png +0 -0
  566. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/images/10_3_spreads_and_master_spreads_img022.png +0 -0
  567. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/index.md +1421 -0
  568. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/53_spread.rnc +30 -0
  569. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/54_master_spread.rnc +24 -0
  570. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/55_page_item.rnc +104 -0
  571. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/56_animation_setting.rnc +22 -0
  572. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/57_timing_setting.rnc +1 -0
  573. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/58_timing_list.rnc +2 -0
  574. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/60_timing_group.rnc +4 -0
  575. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/61_timing_target.rnc +7 -0
  576. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/62_graphic.rnc +41 -0
  577. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/63_pdf_attribute.rnc +3 -0
  578. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/64_navigation_point.rnc +4 -0
  579. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/65_text_frame.rnc +43 -0
  580. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/66_text_frame_preference.rnc +30 -0
  581. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/67_baseline_frame_grid.rnc +5 -0
  582. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/68_transparency_setting.rnc +1 -0
  583. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/69_blending_setting.rnc +3 -0
  584. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/70_button.rnc +96 -0
  585. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/71_state.rnc +20 -0
  586. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/72_behavior.rnc +5 -0
  587. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/73_multi_state_object.rnc +72 -0
  588. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/74_page.rnc +34 -0
  589. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/75_margin_preference.rnc +7 -0
  590. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/76_guide.rnc +12 -0
  591. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/77_flattener_preference.rnc +9 -0
  592. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/066_spread_masterspread_properties_as_attributes.md +15 -0
  593. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/067_masterspread_properties_as_elements.md +3 -0
  594. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/068_common_pageitem_properties_as_attributes.md +46 -0
  595. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/069_common_pageitem_properties_as_elements.md +3 -0
  596. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/070_animationsetting_properties_as_attributes.md +11 -0
  597. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/071_animationsetting_properties_as_elements.md +9 -0
  598. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/072_timinglist_properties_as_attributes.md +3 -0
  599. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/073_timinggroup_properties_as_attributes.md +4 -0
  600. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/074_timingtarget_properties_as_attributes.md +8 -0
  601. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/075_graphic_properties_as_attributes.md +3 -0
  602. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/076_graphic_properties_as_elements.md +6 -0
  603. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/077_image_properties_as_attributes.md +6 -0
  604. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/078_image_properties_as_elements.md +3 -0
  605. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/079_pdf_eps_properties_as_attributes.md +7 -0
  606. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/080_pdfattribute_properties_as_attributes.md +5 -0
  607. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/081_importedpage_properties_as_attributes.md +4 -0
  608. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/082_movie_properties_as_attributes.md +19 -0
  609. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/083_sound_properties_as_attributes.md +8 -0
  610. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/084_textframe_properties_as_attributes.md +5 -0
  611. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/085_textframe_preference_properties_as_attributes.md +22 -0
  612. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/086_textframe_preference_properties_as_elements.md +3 -0
  613. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/087_baselineframegrid_properties_expressed_as_attributes.md +6 -0
  614. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/088_baselineframegrid_properties_as_elements.md +3 -0
  615. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/089_button_properties_expressed_as_attributes.md +5 -0
  616. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/090_button_properties_expressed_as_properties.md +3 -0
  617. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/091_state_properties_as_attributes.md +6 -0
  618. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/092_common_behavior_properties_as_attributes.md +9 -0
  619. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/093_gotonextstatebehavior_properties_as_attributes.md +4 -0
  620. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/094_gotopreviousstatebehavior_properties_as_elements.md +3 -0
  621. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/095_gotostatebehavior_properties_as_attributes.md +4 -0
  622. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/096_gotostatebehavior_properties_as_attributes_2.md +4 -0
  623. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/097_animationbehavior_properties_as_attributes.md +8 -0
  624. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/097a_sound_showhide_openfile_viewzoom_gotopage_behavior_properties.md +9 -0
  625. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/098_multistateobject_properties_as_attributes.md +5 -0
  626. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/099_multistateobject_properties_as_elements.md +3 -0
  627. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/100_page_properties_as_attributes.md +17 -0
  628. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/101_page_properties_as_elements.md +3 -0
  629. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/102_guide_properties_as_attributes.md +11 -0
  630. data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/103_guide_properties_as_elements.md +3 -0
  631. data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/45_example_story_file_in_idml_package.md +10 -0
  632. data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/46_example_local_formatting_vs_styles.md +11 -0
  633. data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/47_example_paragraph_style_range_character_style_range.md +14 -0
  634. data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/48_example_paragraph_breaks_in_character_style_range.md +9 -0
  635. data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/49_example_paragraph_style_range_elements_column_breaks.md +15 -0
  636. data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/50_example_multiple_paragraph_style_range_elements.md +14 -0
  637. data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/51_example_multi_column_straddle_paragraphs.md +25 -0
  638. data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/52_example_xml_element.md +141 -0
  639. data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/53_example_table.md +31 -0
  640. data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/54_example_footnote.md +14 -0
  641. data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/55_example_note.md +14 -0
  642. data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/56_example_anchored_text_frame.md +31 -0
  643. data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/57_example_anchored_graphic.md +39 -0
  644. data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/58_example_hyperlink_text_source.md +11 -0
  645. data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/59_example_hyperlink_text_destination.md +13 -0
  646. data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/60_example_cross_reference_source.md +11 -0
  647. data/reference-docs/spec/10_idml_file_reference/10_4_stories/images/10_4_stories_img001.png +0 -0
  648. data/reference-docs/spec/10_idml_file_reference/10_4_stories/images/10_4_stories_img002.png +0 -0
  649. data/reference-docs/spec/10_idml_file_reference/10_4_stories/images/10_4_stories_img003.png +0 -0
  650. data/reference-docs/spec/10_idml_file_reference/10_4_stories/images/10_4_stories_img004.png +0 -0
  651. data/reference-docs/spec/10_idml_file_reference/10_4_stories/images/10_4_stories_img005.png +0 -0
  652. data/reference-docs/spec/10_idml_file_reference/10_4_stories/images/10_4_stories_img006.png +0 -0
  653. data/reference-docs/spec/10_idml_file_reference/10_4_stories/images/10_4_stories_img007.png +0 -0
  654. data/reference-docs/spec/10_idml_file_reference/10_4_stories/images/10_4_stories_img008.png +0 -0
  655. data/reference-docs/spec/10_idml_file_reference/10_4_stories/images/10_4_stories_img009.png +0 -0
  656. data/reference-docs/spec/10_idml_file_reference/10_4_stories/images/10_4_stories_img010.png +0 -0
  657. data/reference-docs/spec/10_idml_file_reference/10_4_stories/images/10_4_stories_img011.png +0 -0
  658. data/reference-docs/spec/10_idml_file_reference/10_4_stories/images/10_4_stories_img012.png +0 -0
  659. data/reference-docs/spec/10_idml_file_reference/10_4_stories/index.md +1299 -0
  660. data/reference-docs/spec/10_idml_file_reference/10_4_stories/schemas/78_story.rnc +92 -0
  661. data/reference-docs/spec/10_idml_file_reference/10_4_stories/schemas/79_paragraph_style_range.rnc +381 -0
  662. data/reference-docs/spec/10_idml_file_reference/10_4_stories/schemas/80_character_style_range.rnc +431 -0
  663. data/reference-docs/spec/10_idml_file_reference/10_4_stories/schemas/81_table.rnc +53 -0
  664. data/reference-docs/spec/10_idml_file_reference/10_4_stories/schemas/82_cell.rnc +66 -0
  665. data/reference-docs/spec/10_idml_file_reference/10_4_stories/schemas/83_column.rnc +28 -0
  666. data/reference-docs/spec/10_idml_file_reference/10_4_stories/schemas/84_row.rnc +33 -0
  667. data/reference-docs/spec/10_idml_file_reference/10_4_stories/schemas/85_footnote.rnc +7 -0
  668. data/reference-docs/spec/10_idml_file_reference/10_4_stories/schemas/86_note.rnc +13 -0
  669. data/reference-docs/spec/10_idml_file_reference/10_4_stories/schemas/87_anchored_object_settings.rnc +12 -0
  670. data/reference-docs/spec/10_idml_file_reference/10_4_stories/schemas/88_hyperlink_text_source.rnc +20 -0
  671. data/reference-docs/spec/10_idml_file_reference/10_4_stories/schemas/89_hyperlink_text_destination.rnc +5 -0
  672. data/reference-docs/spec/10_idml_file_reference/10_4_stories/schemas/90_cross_reference_source.rnc +16 -0
  673. data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/104_common_text_properties_attributes.md +230 -0
  674. data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/105_common_text_properties_elements.md +41 -0
  675. data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/106_story_properties_attributes.md +6 -0
  676. data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/107_story_properties_elements.md +6 -0
  677. data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/108_character_style_range_elements.md +3 -0
  678. data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/109_table_properties_attributes.md +133 -0
  679. data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/110_cell_properties_attributes.md +83 -0
  680. data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/111_cell_properties_elements.md +3 -0
  681. data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/112_column_properties_attributes.md +29 -0
  682. data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/113_row_properties_attributes.md +34 -0
  683. data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/114_anchored_object_setting_properties_attributes.md +14 -0
  684. data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/115_hyperlink_text_source_properties_attributes.md +5 -0
  685. data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/116_hyperlink_text_destination_properties_attributes.md +5 -0
  686. data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/117_cross_reference_source_properties_attributes.md +6 -0
  687. data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/118_applied_format_tags.md +11 -0
  688. data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/119_metacharacters.md +15 -0
  689. data/reference-docs/spec/10_idml_file_reference/10_5_fonts/examples/61_example_font.md +3 -0
  690. data/reference-docs/spec/10_idml_file_reference/10_5_fonts/examples/62_example_referring_to_font.md +6 -0
  691. data/reference-docs/spec/10_idml_file_reference/10_5_fonts/index.md +86 -0
  692. data/reference-docs/spec/10_idml_file_reference/10_5_fonts/schemas/091_font_family.rnc +1 -0
  693. data/reference-docs/spec/10_idml_file_reference/10_5_fonts/schemas/092_font.rnc +1 -0
  694. data/reference-docs/spec/10_idml_file_reference/10_5_fonts/schemas/093_composite_font.rnc +1 -0
  695. data/reference-docs/spec/10_idml_file_reference/10_5_fonts/schemas/094_composite_font_entry.rnc +2 -0
  696. data/reference-docs/spec/10_idml_file_reference/10_5_fonts/tables/120_font_properties_represented_as_attributes.md +14 -0
  697. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/63_example_none_swatch.md +1 -0
  698. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/64_example_process_color.md +1 -0
  699. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/65_example_spot_color.md +1 -0
  700. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/66_example_lab_color.md +1 -0
  701. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/67_example_gradient.md +4 -0
  702. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/68_example_tint.md +1 -0
  703. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/69_example_mixed_ink.md +1 -0
  704. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/70_example_mixed_ink_group.md +1 -0
  705. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/71_example_process_magenta_ink.md +1 -0
  706. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/72_example_pantone_274_c_spot_ink.md +1 -0
  707. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/73_example_default_stroke_styles.md +18 -0
  708. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/74_example_dashed_stroke_style.md +1 -0
  709. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/75_example_dotted_stroke_style.md +1 -0
  710. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/76_example_striped_stroke_style.md +1 -0
  711. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/images/10_6_graphics_img001.png +0 -0
  712. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/images/10_6_graphics_img002.png +0 -0
  713. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/images/10_6_graphics_img003.png +0 -0
  714. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/images/10_6_graphics_img004.png +0 -0
  715. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/images/10_6_graphics_img005.png +0 -0
  716. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/images/10_6_graphics_img006.png +0 -0
  717. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/images/10_6_graphics_img007.png +0 -0
  718. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/images/10_6_graphics_img008.png +0 -0
  719. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/images/10_6_graphics_img009.png +0 -0
  720. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/images/10_6_graphics_img010.png +0 -0
  721. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/images/10_6_graphics_img011.png +0 -0
  722. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/images/10_6_graphics_img012.png +0 -0
  723. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/index.md +406 -0
  724. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/schemas/095_swatch.rnc +1 -0
  725. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/schemas/096_color.rnc +1 -0
  726. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/schemas/097_gradient.rnc +1 -0
  727. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/schemas/098_gradient_stop.rnc +1 -0
  728. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/schemas/099_tint.rnc +1 -0
  729. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/schemas/100_mixed_ink.rnc +1 -0
  730. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/schemas/101_mixed_ink_group.rnc +1 -0
  731. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/schemas/102_ink.rnc +1 -0
  732. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/schemas/103_stroke_style.rnc +1 -0
  733. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/schemas/104_dashed_stroke_style.rnc +1 -0
  734. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/schemas/105_dotted_stroke_style.rnc +1 -0
  735. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/schemas/106_striped_stroke_style.rnc +1 -0
  736. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/tables/121_swatch_properties.md +7 -0
  737. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/tables/122_color_properties.md +10 -0
  738. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/tables/123_gradient_properties.md +3 -0
  739. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/tables/124_gradient_stop_properties.md +5 -0
  740. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/tables/125_tint_properties.md +6 -0
  741. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/tables/126_mixed_ink_properties.md +10 -0
  742. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/tables/127_mixed_ink_group_properties.md +7 -0
  743. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/tables/128_ink_properties.md +11 -0
  744. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/tables/129_stroke_style_properties.md +3 -0
  745. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/tables/130_dashed_stroke_style_properties.md +6 -0
  746. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/tables/131_dotted_stroke_style_properties.md +5 -0
  747. data/reference-docs/spec/10_idml_file_reference/10_6_graphics/tables/132_striped_stroke_style_properties.md +4 -0
  748. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/examples/77_epub_export_preference.md +1 -0
  749. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/examples/78_html_export_preference.md +1 -0
  750. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/examples/79_transparency_preference.md +1 -0
  751. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/examples/80_story_preference.md +1 -0
  752. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/examples/81_anchored_object_default.md +1 -0
  753. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/examples/82_anchored_object_setting.md +1 -0
  754. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/examples/83_baseline_frame_grid_option.md +5 -0
  755. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/examples/84_footnote_options.md +1 -0
  756. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/examples/85_text_wrap_preference.md +1 -0
  757. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/examples/86_document_preference.md +1 -0
  758. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/examples/87_grid_preference.md +2 -0
  759. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/examples/88_guide_preference.md +5 -0
  760. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/index.md +1153 -0
  761. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/107_Preferences_File.rnc +2 -0
  762. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/108_DataMerge.rnc +1 -0
  763. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/109_DataMergeField.rnc +1 -0
  764. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/110_DataMergeOption.rnc +1 -0
  765. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/111_LayoutAdjustmentPreference.rnc +1 -0
  766. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/112_EPubExportPreference.rnc +1 -0
  767. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/113_HTMLExportPreference.rnc +1 -0
  768. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/114_XMLImportPreference.rnc +1 -0
  769. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/115_XMLExport_Preference.rnc +1 -0
  770. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/116_XMLPreference.rnc +1 -0
  771. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/117_Export_For_Web_Preference.rnc +1 -0
  772. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/118_Transparency_Preference.rnc +1 -0
  773. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/119_Transparency_Default_Container_Object.rnc +1 -0
  774. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/120_StoryPreference.rnc +8 -0
  775. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/121_Text_Preference.rnc +1 -0
  776. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/122_Text_Default.rnc +1 -0
  777. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/123_DictionaryPreference.rnc +1 -0
  778. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/124_AnchoredObjectDefault.rnc +1 -0
  779. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/125_AnchoredObjectSetting.rnc +1 -0
  780. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/126_BaselineFrameGridOption.rnc +1 -0
  781. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/127_FootnoteOption.rnc +1 -0
  782. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/128_TextWrapPreference.rnc +3 -0
  783. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/129_Contour_Option.rnc +1 -0
  784. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/130_Document_Preference.rnc +1 -0
  785. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/131_Grid_Preference.rnc +1 -0
  786. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/132_GuidePreference.rnc +1 -0
  787. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/133_MarginPreference.rnc +1 -0
  788. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/134_Pasteboard_Preference.rnc +1 -0
  789. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/135_View_Preference.rnc +1 -0
  790. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/136_Print_Preference.rnc +1 -0
  791. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/137_Print_Booklet_Option.rnc +1 -0
  792. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/138_Print_Booklet_Print_Preference.rnc +1 -0
  793. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/139_Index_Options.rnc +1 -0
  794. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/140_Index_Header_Setting.rnc +1 -0
  795. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/141_Page_Item_Default.rnc +1 -0
  796. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/142_Frame_Fitting_Option.rnc +1 -0
  797. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/143_Button_Preference.rnc +1 -0
  798. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/144_Tin_Document_Data_Object.rnc +1 -0
  799. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/145_Layout_Grid_Data_Information.rnc +1 -0
  800. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/146_Story_Grid_Data_Information.rnc +1 -0
  801. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/147_Cjk_Grid_Preference.rnc +1 -0
  802. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/148_Mojikumi_Ui_Preference.rnc +1 -0
  803. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/149_Chapter_Number_Preference.rnc +1 -0
  804. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/133_DataMerge_Properties_Represented_as_Attributes.md +4 -0
  805. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/134_DataMergeField_Properties_Represented_as_Attributes.md +3 -0
  806. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/135_DataMergeOption_Properties_Represented_as_Attributes.md +8 -0
  807. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/136_LayoutAdjustmentPreference_Properties_Represented_as_Attributes.md +8 -0
  808. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/137_EPubExportPreference_Properties_Represented_as_Attributes.md +44 -0
  809. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/138_HTMLExportPreference_Properties_Represented_as_Attributes.md +39 -0
  810. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/139_XMLImportPreference_Properties_Represented_as_Attributes.md +12 -0
  811. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/140_XMLImportPreference_Properties_Represented_as_Elements.md +4 -0
  812. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/141_XMLExportPreference_Properties_Represented_as_Attributes.md +21 -0
  813. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/142_XMLExport_Preference_Properties_Represented_as_Elements.md +4 -0
  814. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/143_XMLPreference_Properties_Represented_as_Attributes.md +9 -0
  815. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/144_XMLPreference_Properties_Represented_as_Elements.md +6 -0
  816. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/145_ExportForWebPreference_Properties_Represented_as_Attributes.md +10 -0
  817. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/146_TransparencyPreference_Properties_Represented_as_Attributes.md +5 -0
  818. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/147_StoryPreference_Properties_Represented_as_Attributes.md +7 -0
  819. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/148_TextPreference_Properties_Represented_as_Attributes.md +33 -0
  820. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/149_AnchoredObjectDefault_Properties_Represented_as_Attributes.md +7 -0
  821. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/150_AnchoredObjectSetting_Properties_Represented_as_Attributes.md +14 -0
  822. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/151_BaselineFrameGridOption_Properties_Represented_as_Attributes.md +6 -0
  823. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/152_BaselineFrameGridOption_Properties_Represented_as_Elements.md +3 -0
  824. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/153_FootnoteOption_Properties_Represented_as_Attributes.md +33 -0
  825. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/154_FootnoteOption_Properties_Represented_as_Elements.md +12 -0
  826. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/155_Contour_Option_Properties_Represented_as_Attributes.md +5 -0
  827. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/156_DocumentPreference_Properties_Represented_as_Attributes.md +26 -0
  828. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/157_DocumentPreference_Properties_Represented_as_Elements.md +4 -0
  829. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/158_Grid_Preference_Properties_Represented_as_Attributes.md +14 -0
  830. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/159_GridPreference_Properties_Represented_as_Elements.md +4 -0
  831. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/160_GuidePreference_Properties_Represented_as_Attributes.md +7 -0
  832. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/161_GuidePreference_Properties_Represented_as_Elements.md +3 -0
  833. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/162_PasteboardPreference_Properties_Represented_as_Attributes.md +3 -0
  834. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/163_PasteboardPreference_Properties_Represented_as_Elements.md +5 -0
  835. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/164_ViewPreference_Properties_Represented_as_Attributes.md +20 -0
  836. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/165_Print_Preference_Properties_Represented_as_Attributes.md +104 -0
  837. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/166_Print_Preference_Properties_Represented_as_Elements.md +15 -0
  838. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/167_Cjk_Grid_Preference_Properties_Represented_as_Attributes.md +11 -0
  839. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/168_Cjk_Grid_Preference_Properties_Represented_as_Elements.md +3 -0
  840. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/169_Mojikumi_Ui_Preference_Properties_Represented_as_Attributes.md +3 -0
  841. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/170_Chapter_Number_Preference_Properties_Represented_as_Attributes.md +4 -0
  842. data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/171_Chapter_Number_Preference_Properties_Represented_as_Elements.md +3 -0
  843. data/reference-docs/spec/10_idml_file_reference/10_8_styles/examples/001_paragraph_style_self_attribute.md +3 -0
  844. data/reference-docs/spec/10_idml_file_reference/10_8_styles/examples/002_paragraph_style_group_nested.md +3 -0
  845. data/reference-docs/spec/10_idml_file_reference/10_8_styles/examples/089_paragraph_style_group.md +14 -0
  846. data/reference-docs/spec/10_idml_file_reference/10_8_styles/examples/090_based_on_no_paragraph_style.md +3 -0
  847. data/reference-docs/spec/10_idml_file_reference/10_8_styles/examples/091_based_on_another_style.md +4 -0
  848. data/reference-docs/spec/10_idml_file_reference/10_8_styles/examples/092_nested_style.md +3 -0
  849. data/reference-docs/spec/10_idml_file_reference/10_8_styles/examples/093_character_style_group.md +4 -0
  850. data/reference-docs/spec/10_idml_file_reference/10_8_styles/examples/094_object_style.md +3 -0
  851. data/reference-docs/spec/10_idml_file_reference/10_8_styles/examples/095_toc_style.md +10 -0
  852. data/reference-docs/spec/10_idml_file_reference/10_8_styles/examples/096_trap_preset.md +3 -0
  853. data/reference-docs/spec/10_idml_file_reference/10_8_styles/images/10_8_styles_img001.png +0 -0
  854. data/reference-docs/spec/10_idml_file_reference/10_8_styles/images/10_8_styles_img002.png +0 -0
  855. data/reference-docs/spec/10_idml_file_reference/10_8_styles/images/10_8_styles_img003.png +0 -0
  856. data/reference-docs/spec/10_idml_file_reference/10_8_styles/images/10_8_styles_img004.png +0 -0
  857. data/reference-docs/spec/10_idml_file_reference/10_8_styles/images/10_8_styles_img005.png +0 -0
  858. data/reference-docs/spec/10_idml_file_reference/10_8_styles/images/10_8_styles_img006.png +0 -0
  859. data/reference-docs/spec/10_idml_file_reference/10_8_styles/index.md +1154 -0
  860. data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/150_paragraphstylegroup.rnc +9 -0
  861. data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/151_paragraphstyle.rnc +510 -0
  862. data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/152_nestedstyle.rnc +19 -0
  863. data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/153_characterstylegroup.rnc +7 -0
  864. data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/154_characterstyle.rnc +255 -0
  865. data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/155_styleexporttagmap.rnc +7 -0
  866. data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/156_tablestylegroup.rnc +9 -0
  867. data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/157_tablestyle.rnc +118 -0
  868. data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/158_cellstylegroup.rnc +7 -0
  869. data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/159_cellstyle.rnc +135 -0
  870. data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/160_objectstylegroup.rnc +9 -0
  871. data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/161_objectstyle.rnc +79 -0
  872. data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/162_objectstyleobjecteffectscategorysettings.rnc +12 -0
  873. data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/163_objectstyle_effects_category_settings.rnc +12 -0
  874. data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/164_objectstyle_effects_category_settings.rnc +12 -0
  875. data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/165_objectstyle_effects_category_settings.rnc +12 -0
  876. data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/166_tocstyle_tocstyleentry.rnc +16 -0
  877. data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/167_tocstyle_tocstyleentry.rnc +22 -0
  878. data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/168_trappreset.rnc +21 -0
  879. data/reference-docs/spec/10_idml_file_reference/10_8_styles/tables/172_paragraph_style_properties_represented_as_attributes.md +5 -0
  880. data/reference-docs/spec/10_idml_file_reference/10_8_styles/tables/173_paragraph_style_properties_represented_as_elements.md +3 -0
  881. data/reference-docs/spec/10_idml_file_reference/10_8_styles/tables/174_nestedstyle_properties_represented_as_elements.md +6 -0
  882. data/reference-docs/spec/10_idml_file_reference/10_8_styles/tables/175_characterstyle_properties_represented_as_attributes.md +7 -0
  883. data/reference-docs/spec/10_idml_file_reference/10_8_styles/tables/176_characterstyle_properties_represented_as_elements.md +3 -0
  884. data/reference-docs/spec/10_idml_file_reference/10_8_styles/tables/177_styleexporttagmap_properties_represented_as_attributes.md +6 -0
  885. data/reference-docs/spec/10_idml_file_reference/10_8_styles/tables/178_tablestyle_properties_represented_as_attributes.md +109 -0
  886. data/reference-docs/spec/10_idml_file_reference/10_8_styles/tables/179_tablestyle_properties_represented_as_elements.md +3 -0
  887. data/reference-docs/spec/10_idml_file_reference/10_8_styles/tables/180_cellstyle_properties_represented_as_elements.md +3 -0
  888. data/reference-docs/spec/10_idml_file_reference/10_8_styles/tables/181_tocstyle_properties_represented_as_attributes.md +11 -0
  889. data/reference-docs/spec/10_idml_file_reference/10_8_styles/tables/182_tocstyle_entry_properties_represented_as_attributes.md +8 -0
  890. data/reference-docs/spec/10_idml_file_reference/10_8_styles/tables/183_tocstyleentry_properties_represented_as_elements.md +7 -0
  891. data/reference-docs/spec/10_idml_file_reference/10_8_styles/tables/184_trappreset_properties_represented_as_attributes.md +17 -0
  892. data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/examples/97_example_backingstory.md +1 -0
  893. data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/index.md +101 -0
  894. data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/schemas/169_BackingStory.rnc +4 -0
  895. data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/schemas/170_XMLElement.rnc +37 -0
  896. data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/schemas/171_XMLAttribute.rnc +5 -0
  897. data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/schemas/172_XMLInstruction.rnc +5 -0
  898. data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/schemas/173_XMLComment.rnc +4 -0
  899. data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/schemas/174_DTD.rnc +13 -0
  900. data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/tables/185_XMLElement_Properties_Represented_as_Attributes.md +7 -0
  901. data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/tables/186_XMLAttribute_Properties_Represented_as_Attributes.md +6 -0
  902. data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/tables/187_XMLInstruction_Properties_Represented_as_Attributes.md +7 -0
  903. data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/tables/188_XMLComment_Properties_Represented_as_Attributes.md +6 -0
  904. data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/tables/189_DTD_Properties_Represented_as_Attributes.md +5 -0
  905. data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/tables/190_DTD_Properties_Represented_as_Elements.md +5 -0
  906. data/reference-docs/spec/appendix/00_index.md +7 -0
  907. data/reference-docs/spec/appendix/a_appendix.md +467 -0
  908. data/reference-docs/spec/appendix/b_appendix.md +81 -0
  909. data/reference-docs/spec/appendix/c_appendix.md +3192 -0
  910. data/reference-docs/spec/appendix/d_appendix.md +7 -0
  911. data/reference-docs/spec/appendix/e_appendix.md +224 -0
  912. data/scripts/assemble_element.rb +90 -0
  913. data/scripts/assemble_part.rb +57 -0
  914. data/scripts/build_elements_autoloads.rb +46 -0
  915. data/scripts/generate_all_objects.rb +38 -0
  916. data/scripts/rnc_to_lutaml.rb +114 -0
  917. metadata +1043 -0
@@ -0,0 +1,1153 @@
1
+ ## 10.7 Preferences
2
+
3
+ IDML files can contain a number of preferences elements that control both document preferences and various default values. In an IDML package, preferences elements are found in the `Preferences.xml` file in the Resources folder.
4
+
5
+ Many of these elements no effect on the interpretation of the IDML file, but do have an effect on the user interface settings in the In Design document that results when a user opens the IDML file. <DataMerge> , <LayoutAdjustmentPreference> , <XMLImportPreference> , and <ExportForWebPreference> , are examples of preferences that do not affect the reconstruction of elements (page items or text, for example) in an IDML file. By contrast, some of the preferences, such as <TextDefault> and <AnchoredObjectDefault> can have a very large effect on the formatting of objects specified in the IDML package.
6
+
7
+ In general, when you construct a page item (in a <Spread> element) or text (in a <Story> element), you can choose to omit many of the formatting options that can be applied to the element. When you do this, In Design will apply default values to the object as it opens the IDML package. Most of these default values are stored in preferences elements.
8
+
9
+ This means that you can choose an approach that works best for you. You can achieve complete control by fully-specifying every attribute and element of every element you add to an IDML document, or you can rely on defaults and preferences for common values and specify only a minimum-this can make your IDML file smaller and easier to read. Or you can mix and match these approaches in an IDML file.
10
+
11
+ When you specify a preference in the IDML file, it will override the corresponding application preference for this document. If you do not specify a preference, InDesign will apply the default value from the IDML defaults file.
12
+
13
+ **Schema Example 107. Preferences\_File**
14
+
15
+ ```rnc
16
+ Preferences_File = element idPkg:Preferences { attribute DOMVersion { "7.0" }, ( DataMerge_Object?& DataMergeOption_Object?& LayoutAdjustmentPreference_Object?& EPubExportPreference_Object?& HTMLExportPreference_Object?& XMLPreference_Object?& XMLImportPreference_Object?& XMLExportPreference_Object?& ExportForWebPreference_Object?& TransparencyPreference_Object?& TransparencyDefaultContainerObject_Object?& TextFramePreference_Object?& TextPreference_Object?& TextDefault_Object?& DictionaryPreference_Object?& StoryPreference_Object?& AnchoredObjectDefault_Object?& AnchoredObjectSetting_Object?& BaselineFrameGridOption_Object?& FootnoteOption_Object?&
17
+ TextWrapPreference_Object?& DocumentPreference_Object?& GridPreference_Object?& GuidePreference_Object?& MarginPreference_Object?& PasteboardPreference_Object?& ViewPreference_Object?& PrintPreference_Object?& PrintBookletOption_Object?& PrintBookletPrintPreference_Object?& IndexOptions_Object?& IndexHeaderSetting_Object?& PageItemDefault_Object?& FrameFittingOption_Object?& ButtonPreference_Object?& TinDocumentDataObject_Object?& LayoutGridDataInformation_Object?& StoryGridDataInformation_Object?& CjkGridPreference_Object?& MojikumiUiPreference_Object?& ChapterNumberPreference_Object? ) }
18
+ ```
19
+
20
+ ## 10.7.1 DataMerge
21
+
22
+ The <DataMerge> element stores the settings that are be used by the DataMerge feature of InDesign. This preference object does not have any effect on the interpretation of layout elements (page items or stories, for example) in the IDML file.
23
+
24
+ **Schema Example 108. DataMerge**
25
+
26
+ ```rnc
27
+ DataMerge_Object = element DataMerge { attribute DataSourceFileType { DataSourceType_EnumValue }?, attribute DataSourceFile { xsd:string }?, ( DataMergeField_Object* ) }
28
+ ```
29
+
30
+ **Table 133**: DataMerge Properties Represented as Attributes
31
+
32
+ | Name | Type | Req | Description |
33
+ | ---------------------- | --------------------------- | ------- | -------------------------------------------------------------------------------- |
34
+ | DataSourceFile | string | no | The file path to the data file. |
35
+ | DataSourceFileType | DataSourceType_EnumValue | no | The separator type used in the data file. Use CommaSeparated or TabDelimited. |
36
+
37
+ **Schema Example 109. DataMergeField**
38
+
39
+ ```rnc
40
+ DataMergeField_Object = element DataMergeField { attribute Self { xsd:string }, attribute FieldName { xsd:string }? }
41
+ ```
42
+
43
+ **Table 134**: DataMergeField Properties Represented as Attributes
44
+
45
+ | Name | Type | Req | Description |
46
+ | ----------- | -------- | ------- | ------------------------ |
47
+ | FieldName | string | yes | The name of the field. |
48
+
49
+ ## 10.7.2 DataMergeOption
50
+
51
+ The <DataMergeOption> element stores the preferences for the Data Merge feature of In Design.
52
+
53
+ **Schema Example 110. DataMergeOption**
54
+
55
+ ```
56
+ DataMergeOption_Object = element DataMergeOption { attribute FittingOption { Fitting_EnumValue }?, attribute CenterImage { xsd:boolean }?, attribute LinkImages { xsd:boolean }?, attribute RemoveBlankLines { xsd:boolean }?, attribute CreateNewDocument { xsd:boolean }?, attribute DocumentSize { xsd:int }? }
57
+ ```
58
+
59
+ **Table 135**: DataMergeOption Properties Represented as Attributes
60
+
61
+ | Name | Type | Req | Description |
62
+ | ------------------- | ------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
63
+ | CenterImage | boolean | no | If true, centers the image in the frame; preserves the frame size as well as content size and pro- portions. Note: If the content is larger than the frame, content around the edges is obscured by the bounding box of the frame. |
64
+ | CreateNewDocument | boolean | no | If true, creates a new document when records are merged. |
65
+ | DocumentSize | int | no | The maximum number of pages per document. |
66
+ | FittingOption | Fitting_EnumValue | no | Instructions for fitting content in a frame. Use None , ContentToFrame , Proportionally , or FillProportionally. |
67
+ | LinkImages | boolean | no | If true, links images to the target document. If false, embeds images in the target document. |
68
+ | RemoveBlankLines | boolean | no | If true, removes blank lines caused by empty fields. |
69
+
70
+ ## 10.7.3 LayoutAdjustmentPreference
71
+
72
+ The <LayoutAdjustmentPreference> element stores the settings that are be used by the Layout Adjustment feature of In Design. This preference object does not have any effect on the interpretation of layout elements (page items or stories, for example) in the IDML file.
73
+
74
+ **Schema Example 111. LayoutAdjustmentPreference**
75
+
76
+ ```
77
+ LayoutAdjustmentPreference_Object = element LayoutAdjustmentPreference { attribute EnableLayoutAdjustment { xsd:boolean }?, attribute SnapZone { xsd:double {minInclusive="0" maxInclusive="12"} }?, attribute AllowGraphicsToResize { xsd:boolean }?, attribute AllowRulerGuidesToMove { xsd:boolean }?, attribute IgnoreRulerGuideAlignments { xsd:boolean }?, attribute IgnoreObjectOrLayerLocks { xsd:boolean }? }
78
+ ```
79
+
80
+ **Table 136**: LayoutAdjustmentPreference Properties Represented as Attributes
81
+
82
+ | Name | Type | Req | Description |
83
+ | ------------------------------ | --------- | ------- | ------------------------------------------------------------------- |
84
+ | AllowGraphicsToResize | boolean | no | If true, allows graphics to be resized. |
85
+ | AllowRulerGuidesToMove | boolean | no | If true, allows ruler guides to move. |
86
+ | EnableLayoutAdjustment | boolean | no | If true, layout adjustment is enabled. |
87
+ | IgnoreObjectOrLayerLocks | boolean | no | If true, ignores object or layer locks. |
88
+ | IgnoreRulerGuideAlignments | boolean | no | If true, ignores ruler guide alignments. |
89
+ | SnapZone | double | no | The range within which an object snaps to guides. Range: 0 to 12. |
90
+
91
+ ## 10.7.4 EPubExportPreference
92
+
93
+ **Schema Example 112. EPubExportPreference**
94
+
95
+ ```
96
+ EPubExportPreference_Object = element EPubExportPreference { attribute IncludeDocumentMetadata { xsd:boolean }?, attribute EpubPublisher { xsd:string }?, attribute Id { xsd:string }?, attribute ExportOrder { ExportOrder_EnumValue }?, attribute EpubCover { EpubCover_EnumValue }?, attribute CoverImageFile { xsd:string }?, attribute BulletExportOption { BulletListExportOption_EnumValue }?, attribute NumberedListExportOption { NumberedListExportOption_EnumValue }?, attribute LeftMargin { xsd:double }?, attribute RightMargin { xsd:double }?, attribute TopMargin { xsd:double }?, attribute BottomMargin { xsd:double }?, attribute MarginUnit { SpaceUnitType_EnumValue }?, attribute ViewDocumentAfterExport { xsd:boolean }?, attribute ImageExportResolution { ImageResolution_EnumValue }?, attribute CustomImageSizeOption { ImageSizeOption_EnumValue }?, attribute PreserveLayoutAppearence { xsd:boolean }?, attribute ImageAlignment { ImageAlignmentType_EnumValue }?, attribute ImageSpaceBefore { xsd:double {minInclusive="0" maxInclusive="8640"} }?, attribute ImageSpaceAfter { xsd:double {minInclusive="0" maxInclusive="8640"} }?, attribute SpaceUnit { SpaceUnitType_EnumValue }?, attribute ApplyImageAlignmentToAnchoredObjectSettings { xsd:boolean }?, attribute UseImagePageBreak { xsd:boolean }?, attribute ImagePageBreak { ImagePageBreakType_EnumValue }?, attribute ImageConversion { ImageConversion_EnumValue }?, attribute GIFOptionsPalette { GIFOptionsPalette_EnumValue }?, attribute GIFOptionsInterlaced { xsd:boolean }?, attribute JPEGOptionsQuality { JPEGOptionsQuality_EnumValue }?, attribute JPEGOptionsFormat { JPEGOptionsFormat_EnumValue }?, attribute Level { xsd:int }?, attribute IgnoreObjectConversionSettings { xsd:boolean }?, attribute Format { xsd:boolean }?, attribute UseTocStyle { xsd:boolean }?, attribute TocStyleName { xsd:string }?, attribute BreakDocument { xsd:boolean }?, attribute ParagraphStyleName { xsd:string }?, attribute FootnoteFollowParagraph { xsd:boolean }?, attribute StripSoftReturn { xsd:boolean }?, attribute CSSExportOption { StyleSheetExportOption_EnumValue }?, attribute IncludeCSSDefinition { xsd:boolean }?, attribute PreserveLocalOverride { xsd:boolean }?, attribute EmbedFont { xsd:boolean }?, attribute ExternalCSSPath { xsd:string }? }
97
+ ```
98
+
99
+ **Table 137**: EPubExportPreference Properties Represented as Attributes
100
+
101
+ | Name | Type | Req | Description |
102
+ | ---------------------------- | --------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
103
+ | IncludeDocumentMetadata | boolean | no | If true, output document metadata into the exported ePub. |
104
+ | EpubPublisher | string | no | The name of the ePub publisher. |
105
+ | ExportOrder | ExportOrder_EnumValue | no | The order in which to export the ePub. Can be ArticlePanelOrder , LayoutOrder , or XmlStructureOrder. |
106
+ | EpubCover | EpubCover_EnumValue | no | The ePub cover option. Can be ExternalImage , FirstPage , or None. |
107
+ | CoverImageFile | string | no | The file path to the external image (if EpubCover is ExternalImage ). |
108
+ | BulletExportOption | BulletListExportOption_EnumValue | no | Defines the method used to export bullets to the ePub. Can be AsText (convert the bullets to text characters) or UnorderedList (convert the bul- lets to an HTMLunordered list). |
109
+ | NumberedListExportOption | NumberedListExportOption_EnumValue | no | Defines the method used to export numbered lists to the ePub. Can be AsText (convert the numbers to text characters), OrderedList (convert the list to an HTMLordered list), or StaticOrderedList (convert the list to an HTML static ordered list). |
110
+ | LeftMargin | double | no | Left margin of the ePub (in units defined by the MarginUnit attribute). |
111
+ | RightMargin | double | no | Right margin of the ePub (in units defined by the MarginUnit attribute). |
112
+ | TopMargin | double | no | Top margin of the ePub (in units defined by the MarginUnit attribute). |
113
+ | BottomMargin | double | no | Bottom margin of the ePub (in units defined by the MarginUnit attribute). |
114
+ | MarginUnit | SpaceUnitType_EnumValue | no | The measurement units to use for the margins of the exported ePub. Can be CssEm or CssPixel. |
115
+ | ViewDocumentAfterExport | boolean | no | If true, display the exported ePub after the export process is complete. |
116
+ | ImageExportResolution | ImageResolution_EnumValue | no | Sets the resolution of images in the exported ePub. Can be Ppi150 , Ppi300 , Ppi72 , or Ppi96. |
117
+ | CustomImageSizeOption | ImageSizeOption_EnumValue | no | Sets the custom image size. Can be SizeFixed or SizeRelativeToPageWidth. |
118
+ | PreserveLayoutAppearence | boolean | no | If true, format image based on layout appearance. |
119
+ | ImageAlignment | ImageAlignmentType_EnumValue | no | Alignment applied to images. Can be AlignCenter , AlignRight , or AlignLeft. |
120
+ | ImageSpaceBefore | double (0 to 8640) | no | Space before applied to images (in units defined by the SpaceUnit attribute). |
121
+ | ImageSpaceAfter | double (0 to 8640) | no | Space after applied to images (in units defined by the SpaceUnit attribute). |
122
+ | SpaceUnit | SpaceUnitType_EnumValue | no | The measurement units to use in the exported ePub. Can be CssEm or CssPixel. |
123
+ | ApplyImageAlignmentToAnchoredObjectSettings | boolean | no | If true, apply image alignment to anchored object settings. |
124
+ | UseImagePageBreak | boolean | no | If true, image page break settings will be used in objects. |
125
+ | ImagePageBreak | ImagePageBreakType_EnumValue | no | Image page break settings to be used with objects (when UseImagePageBreak is true). Can be PageBreakBefore , PageBreakAfter , or PageBreakBeforeAndAfter. |
126
+ | ImageConversion | ImageConversion_EnumValue | no | The file format to use for converted images. Note: Valid only when copy optimized images and/or copy formatted images is true. Can be Automatic , Gif , Jpeg , or Png. |
127
+ | GIFOptionsPalette | GIFOptionsPalette_EnumValue | no | The color palette for GIF conversion. Note: Not valid when ImageConversion is Jpeg. Can be AdaptivePalette , MacintoshPalette , WebPalette , or WindowsPalette. |
128
+ | GIFOptionsInterlaced | boolean | no | If true, use interlaced GIF (valid when ImageConversion is Gif ). |
129
+ | JPEGOptionsQuality | JPEGOptionsQuality_EnumValue | no | The quality of converted JPEG images. Note: Not valid when image conversion is Gif. Can be High , Low , Maximum , or Minimum. |
130
+ | JPEGOptionsFormat | JPEGOptionsFormat_EnumValue | no | The formatting method for converted JPEG images. Note: Not valid when image conver- sion is Gif. Can be BaselineEncoding or ProgressiveEncoding. |
131
+ | Level | int | no | The PNG compression level (when ImageConversion is Png ). |
132
+ | IgnoreObjectConversionSettings | boolean | no | If true, ignore object level image conversion settings. |
133
+ | Format | boolean | no | If true, export ePub in XHTMLformat. Other- wise, export using the DTBook format. |
134
+ | UseTocStyle | boolean | no | If true, use InDesign TOC style to generate the ePub TOC. |
135
+ | TocStyleName | string | no | The name of TOC style to use to generate the ePub TOC (when UseTocStyle is true). |
136
+ | BreakDocument | boolean | no | If true, break the InDesign document into smaller pieces when generating the ePub. |
137
+ | ParagraphStyleName | string | no | The name of paragraph style to use in break- ing the InDesign document into smaller pieces (when BreakDocument is true). |
138
+ | FootnoteFollowParagraph | boolean | no | If true, output footnotes immediately after the paragraph containing the footnote reference. |
139
+ | StripSoftReturn | boolean | no | If true, strip soft returns on export. |
140
+ | CSSExportOption | StyleSheetExportOption_EnumValue | no | The cascading style sheet export option. Can be EmbeddedCss , ExternalCss , none , or StyleNameOnly. |
141
+ | IncludeCSSDefinition | boolean | no | If true, include the CSS definitions in the exported ePub (used when CSSExportOption is EmbeddedCss ). |
142
+ | PreserveLocalOverride | boolean | no | If true, export the local style overrides. |
143
+ | EmbedFont | boolean | no | If true, embed fonts in the exported ePub. |
144
+ | ExternalCSSPath | string | no | The path to the external CSS stylesheet (when CSSExportOption is ExternalCss ). |
145
+
146
+ **IDML Example 77. EPubExportPreference**
147
+
148
+ ```xml
149
+ <EPubExportPreference IncludeDocumentMetadata="true" EpubPublisher="" Id="" ExportOrder="LayoutOrder" EpubCover="FirstPage" CoverImageFile="" BulletExportOption="UnorderedList" NumberedListExportOption="OrderedList" LeftMargin="0.5" RightMargin="0.5" TopMargin="0.5" BottomMargin="0.5" MarginUnit="CssEm" ViewDocumentAfterExport="true" ImageExportResolution="Ppi150" CustomImageSizeOption="SizeFixed" PreserveLayoutAppearence="true" ImageAlignment="AlignCenter" ImageSpaceBefore="0" ImageSpaceAfter="0" SpaceUnit="CssEm" ApplyImageAlignmentToAnchoredObjectSettings="false" UseImagePageBreak="false" ImagePageBreak="PageBreakBefore" ImageConversion="Automatic" GIFOptionsPalette="AdaptivePalette" GIFOptionsInterlaced="false" JPEGOptionsQuality="High" JPEGOptionsFormat="ProgressiveEncoding" Level="5" IgnoreObjectConversionSettings="false" Format="true" UseTocStyle="false" TocStyleName="$ID/DefaultTOCStyleName" BreakDocument="false" ParagraphStyleName="$ID/NormalParagraphStyle" FootnoteFollowParagraph="false" StripSoftReturn="false" CSSExportOption="EmbeddedCSS" IncludeCSSDefinition="true" PreserveLocalOverride="true" EmbedFont="true" ExternalCSSPath="template.css"/>
150
+ ```
151
+
152
+ ## 10.7.5 HTMLExportPreference
153
+
154
+ **Schema Example 113. HTMLExportPreference**
155
+
156
+ ```rnc
157
+ HTMLExportPreference_Object = element HTMLExportPreference { attribute ExportSelection { xsd:boolean }?, attribute ExportOrder { ExportOrder_EnumValue }?, attribute BulletExportOption { BulletListExportOption_EnumValue }?, attribute NumberedListExportOption { NumberedListExportOption_EnumValue }?, attribute LeftMargin { xsd:double }?, attribute RightMargin { xsd:double }?, attribute TopMargin { xsd:double }?, attribute BottomMargin { xsd:double }?, attribute MarginUnit { SpaceUnitType_EnumValue }?, attribute ViewDocumentAfterExport { xsd:boolean }?, attribute ImageExportOption { ImageExportOption_EnumValue }?, attribute ImageExportResolution { ImageResolution_EnumValue }?, attribute CustomImageSizeOption { ImageSizeOption_EnumValue }?, attribute PreserveLayoutAppearence { xsd:boolean }?, attribute ImageAlignment { ImageAlignmentType_EnumValue }?, attribute ImageSpaceBefore { xsd:double {minInclusive="0" maxInclusive="8640"} }?, attribute ImageSpaceAfter { xsd:double {minInclusive="0" maxInclusive="8640"} }?, attribute SpaceUnit { SpaceUnitType_EnumValue }?, attribute ApplyImageAlignmentToAnchoredObjectSettings { xsd:boolean }?, attribute ImageConversion { ImageConversion_EnumValue }?, attribute GIFOptionsPalette { GIFOptionsPalette_EnumValue }?, attribute GIFOptionsInterlaced { xsd:boolean }?, attribute JPEGOptionsQuality { JPEGOptionsQuality_EnumValue }?, attribute JPEGOptionsFormat { JPEGOptionsFormat_EnumValue }?, attribute Level { xsd:int }?, attribute IgnoreObjectConversionSettings { xsd:boolean }?, attribute ServerPath { xsd:string }?, attribute ImageExtension { xsd:string }?, attribute CSSExportOption { StyleSheetExportOption_EnumValue }?, attribute IncludeCSSDefinition { xsd:boolean }?, attribute PreserveLocalOverride { xsd:boolean }?, attribute ExternalCSSPath { xsd:string }?, attribute LinkToJavascript { xsd:boolean }?, attribute JavascriptURL { xsd:string }? }
158
+ ```
159
+
160
+ **Table 138**: HTMLExportPreference Properties Represented as Attributes
161
+
162
+ | Name | Type | Req | Description |
163
+ | ----------------- | --------- | ------- | -------------------------------- |
164
+ | ExportSelection | boolean | no | If true, export the selection. |
165
+
166
+ | Name | Type | Req | Description |
167
+ | ---------------------------- | --------------------------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
168
+ | ExportOrder | ExportOrder_EnumValue | no | The order in which to export HTML. Can be ArticlePanelOrder , LayoutOrder , or XmlStructureOrder. |
169
+ | BulletExportOption | BulletListExportOption_EnumValue | no | Defines the method used to export bullets to the HTML. Can be AsText (convert the bullets to text characters) or UnorderedList (convert the bullets to an HTMLunordered list). |
170
+ | NumberedListExportOption | NumberedListExportOption_EnumValue | no | Defines the method used to export numbered lists to HTML. Can be AsText (convert the numbers to text characters), OrderedList (convert the list to an HTMLordered list), or StaticOrderedList (convert the list to an HTML static ordered list). |
171
+ | LeftMargin | double | no | Left margin of the HTML(in units defined by the MarginUnit attribute). |
172
+ | RightMargin | double | no | Right margin of the HTML(in units defined by the MarginUnit attribute). |
173
+ | TopMargin | double | no | Top margin of the HTML(in units defined by the MarginUnit attribute). |
174
+ | BottomMargin | double | no | Bottom margin of the HTML(in units defined by the MarginUnit attribute). |
175
+ | MarginUnit | SpaceUnitType_EnumValue | no | The measurement units to use for the mar- gins of the exported HTML. Can be CssEm or CssPixel. |
176
+ | ViewDocumentAfterExport | boolean | no | If true, display the exported HTMLafter the export process is complete. |
177
+ | ImageExportOption | ImageExportOption_EnumValue | no | Controls the method used to export images. Can be LinkToServer , OptimizedImage , or OriginalImage. |
178
+ | ImageExportResolution | ImageResolution_EnumValue | no | Sets the resolution of images in the exported HTML. Can be Ppi150 , Ppi300 , Ppi72 , or Ppi96. |
179
+ | CustomImageSizeOption | ImageSizeOption_EnumValue | no | Sets the custom image size. Can be SizeFixed or SizeRelativeToPageWidth. |
180
+ | PreserveLayoutAppearence | boolean | no | If true, format image based on layout appearance. |
181
+ | ImageAlignment | ImageAlignmentType_EnumValue | no | Alignment applied to images. Can be AlignCenter , AlignRight , or AlignLeft. |
182
+ | ImageSpaceBefore | double (0 to 8640) | no | Space before applied to images (in units defined by the SpaceUnit attribute). |
183
+ | ImageSpaceAfter | double (0 to 8640) | no | Space after applied to images (in units defined by the SpaceUnit attribute). |
184
+ | SpaceUnit | SpaceUnitType_EnumValue | no | The measurement units to use in the exported HTML. Can be CssEm or CssPixel. |
185
+ | ApplyImageAlignmentToAnchoredObjectSettings | boolean | no | If true, apply image alignment to anchored object settings. |
186
+ | ImageConversion | ImageConversion_EnumValue | no | The file format to use for converted images. Note: Valid only when copy optimized images and/or copy formatted images is true. Can be Automatic , Gif , Jpeg , or Png. |
187
+ | GIFOptionsPalette | GIFOptionsPalette_EnumValue | no | The color palette for GIF conversion. Note: Not valid when ImageConversion is Jpeg. Can be AdaptivePalette , MacintoshPalette , WebPalette , or WindowsPalette. |
188
+ | GIFOptionsInterlaced | boolean | no | If true, use interlaced GIF (valid when ImageConversion is Gif ). |
189
+ | JPEGOptionsQuality | JPEGOptionsQuality_EnumValue | no | The quality of converted JPEG images. Note: Not valid when image conversion is Gif. Can be High , Low , Maximum , or Minimum. |
190
+ | JPEGOptionsFormat | JPEGOptionsFormat_EnumValue | no | The formatting method for converted JPEG images. Note: Not valid when image conver- sion is Gif. Can be BaselineEncoding or ProgressiveEncoding. |
191
+ | Level | int | no | The PNG compression level (when ImageConversion is Png ). |
192
+ | IgnoreObjectConversionSettings | boolean | no | If true, ignore object level image conversion settings. |
193
+ | ServerPath | string | no | The server path for exported images (when ImageExportOption is LinkToServer ). |
194
+ | ImageExtension | string | no | The extension for exported images (when ImageExportOption is LinkToServer ). |
195
+ | CSSExportOption | StyleSheetExportOption_EnumValue | no | The cascading style sheet export option. Can be EmbeddedCss , ExternalCss , none , or StyleNameOnly. |
196
+ | IncludeCSSDefinition | boolean | no | If true, include the CSS definitions in the export- ed HTML(used when CSSExportOption is EmbeddedCss ). |
197
+ | PreserveLocalOverride | boolean | no | If true, export the local style overrides. |
198
+ | ExternalCSSPath | string | no | The path to the external CSS stylesheet (when CSSExportOption is ExternalCss ). |
199
+ | LinkToJavascript | boolean | no | If true, link to JavaScript on the server. |
200
+ | JavascriptURL | string | no | The path to the server containing the JavaScript associated with the exported HTML(when LinkToJavaScript is true ). |
201
+
202
+ **IDML Example 78. HTMLExportPreference**
203
+
204
+ ```xml
205
+ <HTMLExportPreference ExportSelection="true" ExportOrder="LayoutOrder" BulletExportOption="UnorderedList" NumberedListExportOption="OrderedList" LeftMargin="0" RightMargin="0" TopMargin="0" BottomMargin="0" MarginUnit="CssPixel" ViewDocumentAfterExport="true" ImageExportOption="OptimizedImage" ImageExportResolution="Ppi150" CustomImageSizeOption="SizeFixed" PreserveLayoutAppearence="false" ImageAlignment="AlignCenter" ImageSpaceBefore="0" ImageSpaceAfter="0" SpaceUnit="CssEm" ApplyImageAlignmentToAnchoredObjectSettings="false" ImageConversion="Automatic" GIFOptionsPalette="AdaptivePalette" GIFOptionsInterlaced="false" JPEGOptionsQuality="High" JPEGOptionsFormat="ProgressiveEncoding" Level="5" IgnoreObjectConversionSettings="false" ServerPath="" ImageExtension=".jpg" CSSExportOption="EmbeddedCSS" IncludeCSSDefinition="true" PreserveLocalOverride="true" ExternalCSSPath="" LinkToJavascript="false" JavascriptURL=""/>
206
+ ```
207
+
208
+ ## 10.7.6 XMLImportPreference
209
+
210
+ The <XMLImportPreference> element stores the settings that are be used by when importing XML into an In Design document. This preference object does not have any effect on the interpretation of XML elements in the IDML file.
211
+
212
+ **Schema Example 114. XMLImportPreference**
213
+
214
+ ```
215
+ XMLImportPreference_Object = element XMLImportPreferenc{attributeCreateLinkToXML { xsd:boolean }?, attribute RepeatTextElements { xsd:boolean }?, attribute IgnoreUnmatchedIncoming { xsd:boolean }?, attribute ImportTextIntoTables { xsdboolean }?, attribute IgnoreWhitespac{xsd:boolean }?, attribute RemoveUnmatchedExisting { xsd:boolean }?, attribute ImportToSelected { xsd:boolean }?, attribute ImportStyle { XMLImportStyles_EnumValue }?, attribute AllowTransform { xsd:boolean }?, attribute ImportCALSTables { xsd:boolean }?, element Properties { element TransformFilename { (file_type, xsd:string ) | (enum_type, XMLTransformFile_EnumValue ) }?& element TransformParameters { element NameValuePair { NameValuePair_TypeDef }* }? } ? }
216
+ ```
217
+
218
+ **Table 139**: XMLImportPreference Properties Represented as Attributes
219
+
220
+ Name |Type | Req |Description |
221
+ | --------------------------|--------- | ------- | ------------------------------------------------------------------------------------------------------------------ |
222
+ | AllowTransform | boolean | no | If true, transforms the XMLusing an XSLT file. |
223
+ | CreateLinkToXML | boolean | no | If true, creates a link to the imported XMLfile. If false, embeds the file. |
224
+ | IgnoreUnmatchedIncoming | boolean | no | If true, ignores elements that do not match the existing structure. Note: Valid only when import style is merge. |
225
+ | IgnoreWhitespace | boolean | no | If true, leaves existing content in place if the matching XMLContent contains only whitespace characters such as a carriage return or a tab character. Note: Valid only when import style is merge. |
226
+ | ImportCALSTables | boolean | no | If true, imports CALS tables as InDesign tables. |
227
+ | ImportStyle | XMLImportStyles_EnumValue | no | The style of incorporating imported XMLcon- tent into the document. Can be AppendImport or MergeImport. |
228
+ | ImportTextIntoTables | boolean | no | If true, imports text into tables if tags match placeholder tables and their cells. Note: Valid only when import style is MergeImport. |
229
+ | ImportToSelected | boolean | no | If true, imports into the selected XMLelement. If false, imports at the root element. |
230
+ | RemoveUnmatchedExisting | boolean | no | If true, deletes existing elements or placeholders in the document that do not have matches in the XMLfile. Note: Valid only when import style is MergeImport. |
231
+ | RepeatTextElements | boolean | no | If true, repeating text elements inherit the for- matting applied to placeholder text. Note: Valid only when import style is MergeImport. |
232
+
233
+ **Table 140**: XMLImportPreference Properties Represented as Elements
234
+
235
+ Name |Type | Req |Description |
236
+ | ----------------------|---------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
237
+ | TransformFilename | string | no | If true, allow The name of the XSLT file or StylesheetInXML (when the XSLT file is referred to in the XMLdocument). Note: Valid when allow transform is true. |
238
+ | TransformParameters | ListItem | no | Stylesheet parameters as a series of ListItem elements containing name/value pairs. |
239
+
240
+ ## 10.7.7 XMLExport Preference
241
+
242
+ The <XMLExportPreference> element stores the settings that are be used by when exporting XML into an In Design document. This preference object does not have any effect on the interpretation of XML elements in the IDML file.
243
+
244
+ **Schema Example 115. XMLExport Preference**
245
+
246
+ ```
247
+ XMLExportPreference_Object = element XMLExportPreference { attribute ViewAfterExport { xsd:boolean }?, attribute ExportFromSelected { xsd:boolean }?, attribute FileEncoding { XMLFileEncoding_EnumValue }?, attribute Ruby { xsd:boolean }?, attribute ExcludeDtd { xsd:boolean }?, attribute CopyOriginalImages { xsd:boolean }?, attribute CopyOptimizedImages { xsd:boolean }?, attribute CopyFormattedImages { xsd:boolean }?, attribute ImageConversion { ImageConversion_EnumValue }?, attribute GIFOptionsPalette { GIFOptionsPalette_EnumValue }?, attribute GIFOptionsInterlaced { xsd:boolean }?, attribute JPEGOptionsQuality { JPEGOptionsQuality_EnumValue }?, attribute JPEGOptionsFormat { JPEGOptionsFormat_EnumValue }?, attribute AllowTransform { xsd:boolean }?, attribute CharacterReferences { xsd:boolean }?, attribute ExportUntaggedTablesFormat { XMLExportUntaggedTablesFormat_EnumValue }?, element Properties { element PreferredBrowser { (file_type, xsd:string ) | (enum_type, NothingEnum_EnumValue ) }?& element TransformFilename { (file_type, xsd:string ) | (enum_type, XMLTransformFile_EnumValue ) }? } ? }
248
+ ```
249
+
250
+ **Table 141**: XMLExportPreference Properties Represented as Attributes
251
+
252
+ | Name | Type | Req | Description |
253
+ | ------------------------------ | --------------------------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
254
+ | AllowTransform | boolean | no | If true, transforms the XMLusing an XSLT file. |
255
+ | CharacterReferences | boolean | no | If true, replaces special characters with charac- ter references. |
256
+ | CopyFormattedImages | boolean | no | If true, copies formatted images to the images subfolder. |
257
+ | CopyOptimizedImages | boolean | no | If true, copies optimized images to the images subfolder. |
258
+ | CopyOriginalImages | boolean | no | If true, copies original images to the images subfolder. |
259
+ | ExcludeDtd | boolean | no | If true, excludes the DTDfrom the exported XMLContent. |
260
+ | ExportFromSelected | boolean | no | If true, exports XMLContent from the selected XMLelement. If false, exports the entire docu- ment. |
261
+ | ExportUntaggedTablesFormat | XMLExportUntaggedTablesFormat_EnumValue | no | The export format for untagged tables in tagged stories. Can be None or CALS. |
262
+ | FileEncoding | XMLFileEncoding_EnumValue | no | The file encoding type for exporting XMLcon- tent. Can be UTF8 , UTF16 , or ShiftJIS. |
263
+ | GIFOptionsInterlaced | boolean | no | If true, generates interlaced GIFs. Note: Not valid when image conversion is JPEG. |
264
+ | GIFOptionsPalette | GIFOptionsPalette_EnumValue | no | The color palette for GIF conversion. Note: Not valid when image conversion is JPEG. Can be AdaptivePalette , MacintoshPalette , WebPalette , or WindowsPalette. |
265
+
266
+ | Name | Type | Req | Description |
267
+ | ---------------------- | -------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
268
+ | ImageConversion | ImageConversion_EnumValue | no | The file format to use for converted images. Note: Valid only when copy optimized images and/or copy formatted images is true. Can be Automatic , JPEG , or GIF. |
269
+ | JPEGOptionsFormat | JPEGOptionsFormat_EnumValue | no | The formatting method for converted JPEG images. Note: Not valid when image conver- sion is GIF. Can be BaselineEncoding or ProgressiveEncoding. |
270
+ | JPEGOptionsQuality | JPEGOptionsQuality_EnumValue | no | The quality of converted JPEG images. Note: Not valid when image conversion is GIF. Can be Low , Medium , High , or Maximum. |
271
+ | Ruby | boolean | no | If true, includes Ruby text in the exportedXML content. |
272
+ | ViewAfterExport | boolean | no | If true, displays exported XMLContent in a specified viewer. |
273
+
274
+ **Table 142**: XMLExport Preference Properties Represented as Elements
275
+
276
+ | Name | Description |
277
+ | ------------------- | ---------------------------------------------------------------------- |
278
+ | PreferredBrowser | The preferred browser for viewing XML. |
279
+ | TransformFilename | The name of the XSLT file. Note: Valid when allow transform is true. |
280
+
281
+ ## 10.7.8 XMLPreference
282
+
283
+ The <XMLPreference> element stores general XML preferences for an In Design document. This preference object does not have any effect on the interpretation of XML elements in the IDML file.
284
+
285
+ **Schema Example 116. XMLPreference**
286
+
287
+ ```
288
+ XMLPreference_Object = element XMLPreference { attribute DefaultStoryTagName { xsd:string }?, attribute DefaultTableTagName { xsd:string }?, attribute DefaultCellTagName { xsd:string }?, attribute DefaultImageTagName { xsd:string }?, element Properties { element DefaultStoryTagColor { InDesignUIColorType_TypeDef }?& element DefaultTableTagColor { InDesignUIColorType_TypeDef }?& element DefaultCellTagColor { InDesignUIColorType_TypeDef }?& element DefaultImageTagColor { InDesignUIColorType_TypeDef }? } ? }
289
+ ```
290
+
291
+ **Table 143**: XMLPreference Properties Represented as Attributes
292
+
293
+ | Name | Type | Req | Description |
294
+ | ---------------------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------ |
295
+ | DefaultCellTagName | string | no | The name of the default tag to use for new table cell elements. Note: Either specifies an existing tag or creates a new tag. |
296
+
297
+ | Name | Type | Req | Description |
298
+ | ----------------------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------- |
299
+ | DefaultImageTagName | string | no | The default name for new image elements cre- ated automatically. |
300
+ | DefaultStoryTagName | string | no | The name of the default tag to use for new story elements. Note: Either specifies an existing tag or creates a new tag. |
301
+ | DefaultTableTagName | string | no | The name of the default tag to use for new table elements. Note: Either specifies an existing tag or creates a new tag. |
302
+
303
+ **Table 144**: XMLPreference Properties Represented as Elements
304
+
305
+ | Name | Type | Req | Description |
306
+ | ------------------------ | ----------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
307
+ | DefaultCellTagColor | InDesignUIColorType | no | The color of the default cell tag, specified either as an array of ListItem elements, each in the range 0 to 255 and representing R, G, and B val- ues, or as a UIColor enumeration. Note: Valid only when default cell tag name value creates a new tag. Does not update the color of an existing tag.. |
308
+ | DefaultImageTagColor | InDesignUIColorType | no | The color to give a new image tag, specified either as an array of ListItem elements, each in the range 0 to 255 and representing R, G, and B values, or as a UIColor enumeration. Note: Used only when the tag needs to be created. |
309
+ | DefaultStoryTagColor | InDesignUIColorType | no | The color of the default story tag, specified either as an array of ListItem elements, each in the range 0 to 255 and representing R, G, and B val- ues, or as a UIColor enumeration. Note: Valid only when default story tag name value creates a new tag. Does not update the color of an exist- ing tag. |
310
+ | DefaultTableTagColor | InDesignUIColorType | no | The color of the default table tag, specified either as an array of ListItem elements, each in the range 0 to 255 and representing R, G, and B val- ues, or as a UIColor enumeration. Note: Valid only when default table tag name value creates a new tag. Does not update the color of an exist- ing tag. |
311
+
312
+ ## 10.7.9 Export For Web Preference
313
+
314
+ The <ExportForWebPreference> element stores the settings that are be used by the Export for Web feature of In Design. This preference object does not have any effect on the interpretation of layout elements (page items or stories, for example) in the IDML file.
315
+
316
+ **Schema Example 117. Export For Web Preference**
317
+
318
+ ```
319
+ ExportForWebPreference_Object = element ExportForWebPreference { attribute CopyFormattedImages { xsd:boolean }?, attribute CopyOptimizedImages { xsd:boolean }?, attribute CopyOriginalImages { xsd:boolean }?, attribute ImageConversion { ImageConversion_EnumValue }?, attribute GIFOptionsPalette { GIFOptionsPalette_EnumValue }?, attribute GIFOptionsInterlaced { xsd:boolean }?, attribute JPEGOptionsQuality { JPEGOptionsQuality_EnumValue }?, attribute JPEGOptionsFormat { JPEGOptionsFormat_EnumValue }? }
320
+ ```
321
+
322
+ **Table 145**: ExportForWebPreference Properties Represented as Attributes
323
+
324
+ | Name | Type | Req | Description |
325
+ | ------------------------ | -------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
326
+ | CopyFormattedImages | boolean | no | If true, copies formatted images to the images subfolder. |
327
+ | CopyOptimizedImages | boolean | no | If true, copies optimized images to the images subfolder. |
328
+ | CopyOriginalImages | boolean | no | If true, copies original images to the images subfolder. |
329
+ | GIFOptionsInterlaced | boolean | no | If true, generates interlaced GIFs. Note: Not valid when image conversion is JPEG. |
330
+ | GIFOptionsPalette | GIFOptionsPalette_EnumValue | no | The color palette for GIF conversion. Note: Not valid when image conversion is JPEG. Can be AdaptivePalette , MacintoshPalette, WebPalette, or WindowsPalette. |
331
+ | ImageConversion | ImageConversion_EnumValue | no | The file format to use for converted images. Note: Valid only when copy optimized images and/or copy formatted images is true. Can be Automatic , JPEG , or GIF. |
332
+ | JPEGOptionsFormat | JPEGOptionsFormat_EnumValue | no | The formatting method for converted JPEG images. Note: Not valid when image conver- sion is GIF. Can be BaselineEncoding or ProgressiveEncoding. |
333
+ | JPEGOptionsQuality | JPEGOptionsQuality_EnumValue | no | The quality of converted JPEG images. Note: Not valid when image conversion is GIF. Can be Low , Medium , High , or Maximum. |
334
+
335
+ ## 10.7.10 Transparency Preference
336
+
337
+ The <TransparencyPreference> element stores the default TransparencySettings for the document. Values that you specify here will apply to all transparent objects in the document that do not explicitly define these attributes.
338
+
339
+ **Schema Example 118. Transparency Preference**
340
+
341
+ ```
342
+ TransparencyPreference_Object = element TransparencyPreference { attribute BlendingSpace { BlendingSpace_EnumValue }?, attribute GlobalLightAngle { xsd:double {minInclusive="180" maxInclusive="180"} }?, attribute GlobalLightAltitude { xsd:double {minInclusive="0" maxInclusive="100"} }? }
343
+ ```
344
+
345
+ **Table 146**: TransparencyPreference Properties Represented as Attributes
346
+
347
+ | Name | Type | Req | Description |
348
+ | ----------------------- | -------------------------- | ------- | ------------------------------------------------------------------------- |
349
+ | BlendingSpace | BlendingSpace_EnumValue | no | The transparency blending space. Can be Low , Default , CMYK , or RGB. |
350
+ | GlobalLightAltitude | double | no | The global light altitude. Range: 0 to 100. |
351
+ | GlobalLightAngle | double | no | The global light angle. Range: -180 to 180. |
352
+
353
+ **IDML Example 79**: TransparencyPreference
354
+
355
+ ```xml
356
+ <TransparencyPreference Self="u71" BlendingSpace="CMYK" GlobalLightAngle="120" GlobalLightAltitude="30"/>
357
+ ```
358
+
359
+ ## 10.7.11 Transparency Default Container Object
360
+
361
+ The default TransparencySetting for page items.
362
+
363
+ **Schema Example 119. Transparency Default Container Object**
364
+
365
+ ```
366
+ TransparencyDefaultContainerObject_Object = element TransparencyDefaultContainerObject { ( TransparencySetting_Object?& StrokeTransparencySetting_Object?& FillTransparencySetting_Object?& ContentTransparencySetting_Object? ) }
367
+ ```
368
+
369
+ ## 10.7.12 StoryPreference
370
+
371
+ The <StoryPreference> element controls the default StoryPreferences for stories in an In Design document. Values that you specify here will apply to the StoryPreferences of all stories that do not explicitly define these attributes.
372
+
373
+ **Schema Example 120. StoryPreference**
374
+
375
+ ```rnc
376
+ StoryPreference_Object = element StoryPreference {
377
+ attribute OpticalMarginAlignment { xsd:boolean }?,
378
+ attribute OpticalMarginSize { xsd:double {minInclusive="0.1"
379
+ maxInclusive="1296"} }?,
380
+ attribute FrameType { FrameTypes_EnumValue }?,
381
+ attribute StoryOrientation { StoryHorizontalOrVertical_EnumValue }?,
382
+ attribute StoryDirection { StoryDirectionOptions_EnumValue }?
383
+ }
384
+ ```
385
+
386
+ **IDML Example 80**: StoryPreference
387
+
388
+ ```xml
389
+ <StoryPreference Self="dStoryPreference1" OpticalMarginAlignment="false" OpticalMarginSize="12" FrameType="TextFrameType" StoryOrientation="Horizontal" StoryDirection="LeftToRightDirection"/>
390
+ ```
391
+
392
+ **Table 147**: StoryPreference Properties Represented as Attributes
393
+
394
+ | Name | Type | Req | Description |
395
+ | -------------------------- | ----------------------------------------- | ------- | -------------------------------------------------------------------------------------------------------- |
396
+ | FrameType | FrameTypes_EnumValue | no | The type of TextFrame. Can be TextFrameType or FrameGridType. |
397
+ | OpticalMarginAlignment | boolean | no | If true, adjust the position of characters at the edges of the frame to provide a better appearance. |
398
+ | OpticalMarginSize | double | no | The PointSize used as a base for calculating optical margin alginment. (Range: 0.1 to 1296) |
399
+ | StoryDirection | StoryDirectionOptions_EnumValue | no | The direction of the story. Can be LeftToRightDirection or RightToLeftDirection. |
400
+ | StoryOrientation | StoryHorizontalOrVertical_EnumValue | no | The direction of the text in the story. Can be Horizontal or Vertical. |
401
+
402
+ ## 10.7.13 Text Preference
403
+
404
+ The <TextPreference> element stores general text preferences for a document.
405
+
406
+ **Schema Example 121. Text Preference**
407
+
408
+ ```rnc
409
+ TextPreference_Object = element TextPreference { attribute TypographersQuotes { xsd:boolean }?, attribute HighlightHjViolations { xsd:boolean }?, attribute HighlightKeeps { xsd:boolean }?, attribute HighlightSubstitutedGlyphs { xsd:boolean }?, attribute HighlightCustomSpacing { xsd:boolean }?, attribute HighlightSubstitutedFonts { xsd:boolean }?, attribute UseOpticalSize { xsd:boolean }?, attribute UseParagraphLeading { xsd:boolean }?, attribute SuperscriptSize { xsd:double {minInclusive="1" maxInclusive="200"} }?, attribute SuperscriptPosition { xsd:double {minInclusive="500" maxInclusive="500"} }?, attribute SubscriptSize { xsd:double {minInclusive="1" maxInclusive="200"} }?, attribute SubscriptPosition { xsd:double {minInclusive="500" maxInclusive="500"} }?, attribute SmallCap { xsd:double {minInclusive="1" maxInclusive="200"} }?, attribute LeadingKeyIncrement { xsd:double {minInclusive="0.001" maxInclusive="200"} }?, attribute BaselineShiftKeyIncrement { xsd:double {minInclusive="0.001" maxInclusive="200"} }?, attribute KerningKeyIncrement { xsd:double {minInclusive="1" maxInclusive="100"} }?, attribute ShowInvisibles { xsd:boolean }?, attribute JustifyTextWraps { xsd:boolean }?, attribute AbutTextToTextWrap { xsd:boolean }?, attribute ZOrderTextWrap { xsd:boolean }?, attribute LinkTextFilesWhenImporting { xsd:boolean }?, attribute HighlightKinsoku { xsd:boolean }?, attribute QuoteCharactersRotatedInVertical { xsd:boolean }?, attribute UseNewVerticalScaling { xsd:boolean }?, attribute UseCidMojikumi { xsd:boolean }?, attribute EnableStylePreviewMode { xsd:boolean }?, attribute SmartTextReflow { xsd:boolean }?, attribute AddPages { AddPageOptions_EnumValue }?, attribute LimitToMasterTextFrames { xsd:boolean }?, attribute PreserveFacingPageSpreads { xsd:boolean }?, attribute DeleteEmptyPages { xsd:boolean }? }
410
+ ```
411
+
412
+ **Table 148**: TextPreference Properties Represented as Attributes
413
+
414
+ | Name | Type | Req | Description |
415
+ | ---------------------- | --------- | ------- | -------------------------------------------------------------------------------------------------- |
416
+ | AbutTextToTextWrap | boolean | no | If true, moves wrapped text to the next available leading increment below the text wrap objects. |
417
+ | AutoPageDeletion | boolean | no | If true, deletes pages when changing content results in empty pages. |
418
+ | AutoPageInsertion | AutoPageInsertion_EnumValue | no | Controls the addition of pages as content chang- es. Can be AtEndOfStory , AtEndOfSection , or AtEndOfDocument. |
419
+ | BaselineShiftKeyIncrement | double | no | The amount that the baseline shift increases each time the user presses the option/alt-shift- up arrow keys or decreases each time the user presses the option/alt-shift-down arrow keys. (Range:.001 to 100) |
420
+ | EnableDynamicAutoflow | boolean | no | If true, enable dynamic autoflow. |
421
+ | EnableStylePreviewMode | boolean | no | If true, highlights character and paragraph styles with colored backgrounds. |
422
+ | HighlightCustomSpacing | boolean | no | If true, highlights custom kerned or tracked characters. |
423
+ | HighlightHjViolations | boolean | no | If true, highlights hyphenation and justification rule violations in the text. |
424
+ | HighlightKeeps | boolean | no | If true, highlights paragraphs that violate keep options. |
425
+ | HighlightKinsoku | boolean | no | If true, uses on-screen highlighting to identify kinsoku. |
426
+ | HighlightSubstitutedFonts | boolean | no | If true, highlights missing fonts. |
427
+ | HighlightSubstitutedGlyphs | boolean | no | If true, highlights substituted glyphs. |
428
+ | JustifyTextWraps | boolean | no | If true, justifies text around text wrap objects. |
429
+ | KerningKeyIncrement | double | no | The amount the kerning value per 1000 ems increases each time the user presses of the option/alt-right arrow keys or decreases each time the user presses the option/alt-left arrow keys. (Range: 1 to 100) |
430
+ | LeadingKeyIncrement | double | no | The amount that leading increases each time the user presses the option/alt-up arrow keys or decreases each time the user presses the option/ alt-down arrow keys. (Range:.001 to 200) |
431
+ | LinkTextFilesWhenImporting | boolean | no | If true, links placed text files and spreadsheet files. If false, embeds the files. |
432
+ | PreserveRectoVerso | boolean | no | If true, preserve right/left page orientation. |
433
+ | QuoteCharactersRotatedInVertical | boolean | no | If true, Japanese composer treats quotes as half width and rotates them in vertical. |
434
+ | RestrictToMasterTextFrames | boolean | no | |
435
+ | ShowInvisibles | boolean | no | If true, shows hidden characters. |
436
+ | SmallCap | double | no | The size of text formatted as small caps, specified as a percentage of the font size. (Range: 1 to 200) |
437
+ | SubscriptPosition | double | no | The position of subscript characters, specified as a percentage of the regular leading. (Range: -500 to 500) |
438
+ | SubscriptSize | double | no | The size of subscript characters, specified as a percentage of the font size. (Range: 0 to 200) |
439
+ | SuperscriptPosition | double | no | The position of superscript characters, speci- fied as a percentageage of the regular leading. (Range: -500 to 500) |
440
+ | SuperscriptSize | double | no | The size of superscript characters, specified as a percentageage of the font size. (Range: 0 to 200) |
441
+ | TypographersQuotes | boolean | no | If true, converts straight quotes to typographic quotes. |
442
+ | UseCidMojikumi | boolean | no | If true, uses the glyph CID to get the mojikumi class of the character. |
443
+ | UseNewVerticalScaling | boolean | no | If true, reverses X and Y scaling on Roman char- acters in vertical text. |
444
+ | UseOpticalSize | boolean | no | If true, automatically selects the correct optical size. |
445
+ | UseParagraphLeading | boolean | no | If true, applies the leading changes made to a text range to the entire paragraph. If false, applies leading changes only to the text range. |
446
+ | ZOrderTextWrap | boolean | no | If true, text wrap does not affect text on lay- ers above the layer that contains the text wrap object. If false, text wrap affects text on all vis- ible layers. |
447
+
448
+ ## 10.7.14 Text Default
449
+
450
+ The <TextDefault> element controls the default text formatting for an In Design document. For all text that has been styled with the default '[Basic Paragraph]' style, this formatting is applied as local overrides. Values that you specify here will apply to all text formatted using the '[Basic Paragraph]' style that does not explicitly define these attributes and elements. If you do not define these values, the corresponding values from the IDML defaults file will be used.
451
+
452
+ **Schema Example 122. Text Default**
453
+
454
+ ```
455
+ TextDefault_Object = element TextDefault { attribute FontStyle { xsd:string }?, attribute PointSize { xsd:double }?, attribute KerningMethod { xsd:string }?, attribute Tracking { xsd:double }?, attribute Capitalization { Capitalization_EnumValue }?, attribute Position { Position_EnumValue }?, attribute Underline { xsd:boolean }?, attribute StrikeThru { xsd:boolean }?, attribute Ligatures { xsd:boolean }?, attribute NoBreak { xsd:boolean }?, attribute HorizontalScale { xsd:double }?, attribute VerticalScale { xsd:double }?, attribute BaselineShift { xsd:double }?, attribute Skew { xsd:double }?, attribute FillTint { xsd:double }?, attribute StrokeTint { xsd:double }?, attribute StrokeWeight { xsd:double }?, attribute OverprintStroke { xsd:boolean }?, attribute OverprintFill { xsd:boolean }?, attribute OTFFigureStyle { OTFFigureStyle_EnumValue }?, attribute OTFOrdinal { xsd:boolean }?, attribute OTFFraction { xsd:boolean }?, attribute OTFDiscretionaryLigature { xsd:boolean }?, attribute OTFTitling { xsd:boolean }?, attribute OTFContextualAlternate { xsd:boolean }?, attribute OTFSwash { xsd:boolean }?, attribute UnderlineTint { xsd:double }?, attribute UnderlineGapTint { xsd:double }?, attribute UnderlineOverprint { xsd:boolean }?, attribute UnderlineGapOverprint { xsd:boolean }?, attribute UnderlineOffset { xsd:double }?, attribute UnderlineWeight { xsd:double }?, attribute StrikeThroughTint { xsd:double }?, attribute StrikeThroughGapTint { xsd:double }?, attribute StrikeThroughOverprint { xsd:boolean }?, attribute StrikeThroughGapOverprint { xsd:boolean }?, attribute StrikeThroughOffset { xsd:double }?, attribute StrikeThroughWeight { xsd:double }?, attribute FillColor { xsd:string }?, attribute StrokeColor { xsd:string }?, attribute AppliedLanguage { xsd:string }?, attribute ParagraphKashidaWidth { xsd:double }?, attribute FirstLineIndent { xsd:double }?, attribute LeftIndent { xsd:double }?, attribute RightIndent { xsd:double }?, attribute SpaceBefore { xsd:double }?, attribute SpaceAfter { xsd:double }?, attribute Justification { Justification_EnumValue }?, attribute SingleWordJustification { SingleWordJustification_EnumValue }?, attribute AutoLeading { xsd:double }?, attribute DropCapLines { xsd:short {minInclusive="0" maxInclusive="25"} }?, attribute DropCapCharacters { xsd:short {minInclusive="0" maxInclusive="150"} }?, attribute KeepLinesTogether { xsd:boolean }?, attribute KeepAllLinesTogether { xsd:boolean }?, attribute KeepWithNext { xsd:short {minInclusive="0" maxInclusive="5"} }?, attribute KeepFirstLines { xsd:short {minInclusive="1" maxInclusive="50"} }?, attribute KeepLastLines { xsd:short {minInclusive="1" maxInclusive="50"} }?, attribute StartParagraph { StartParagraph_EnumValue }?, attribute Composer { xsd:string }?, attribute MinimumWordSpacing { xsd:double }?, attribute MaximumWordSpacing { xsd:double }?, attribute DesiredWordSpacing { xsd:double }?, attribute MinimumLetterSpacing { xsd:double }?, attribute MaximumLetterSpacing { xsd:double }?, attribute DesiredLetterSpacing { xsd:double }?, attribute MinimumGlyphScaling { xsd:double }?, attribute MaximumGlyphScaling { xsd:double }?, attribute DesiredGlyphScaling { xsd:double }?, attribute RuleAbove { xsd:boolean }?, attribute RuleAboveOverprint { xsd:boolean }?, attribute RuleAboveLineWeight { xsd:double }?, attribute RuleAboveTint { xsd:double }?, attribute RuleAboveOffset { xsd:double }?, attribute RuleAboveLeftIndent { xsd:double }?, attribute RuleAboveRightIndent { xsd:double }?, attribute RuleAboveWidth { RuleWidth_EnumValue }?, attribute RuleAboveGapTint { xsd:double }?, attribute RuleAboveGapOverprint { xsd:boolean }?, attribute RuleBelow { xsd:boolean }?, attribute RuleBelowLineWeight { xsd:double }?, attribute RuleBelowTint { xsd:double }?, attribute RuleBelowOffset { xsd:double }?, attribute RuleBelowLeftIndent { xsd:double }?, attribute RuleBelowRightIndent { xsd:double }?, attribute RuleBelowWidth { RuleWidth_EnumValue }?, attribute RuleBelowGapTint { xsd:double }?, attribute HyphenateCapitalizedWords { xsd:boolean }?, attribute Hyphenation { xsd:boolean }?, attribute HyphenateBeforeLast { xsd:short {minInclusive="1" maxInclusive="15"} }?, attribute HyphenateAfterFirst { xsd:short {minInclusive="1" maxInclusive="15"} }?, attribute HyphenateWordsLongerThan { xsd:short {minInclusive="3" maxInclusive="25"} }?, attribute HyphenateLadderLimit { xsd:short {minInclusive="0" maxInclusive="25"} }?, attribute HyphenationZone { xsd:double }?, attribute HyphenWeight { xsd:short {minInclusive="0" maxInclusive="10"} }?, attribute AppliedParagraphStyle { xsd:string }?, attribute AppliedCharacterStyle { xsd:string }?, attribute LastLineIndent { xsd:double }?, attribute HyphenateLastWord { xsd:boolean }?, attribute OTFSlashedZero { xsd:boolean }?, attribute OTFHistorical { xsd:boolean }?, attribute OTFStylisticSets { xsd:int }?, attribute GradientFillLength { xsd:double }?, attribute GradientFillAngle { xsd:double }?, attribute GradientStrokeLength { xsd:double }?, attribute GradientStrokeAngle { xsd:double }?, attribute GradientFillStart { UnitPointType_TypeDef }?, attribute GradientStrokeStart { UnitPointType_TypeDef }?, attribute KeepWithPrevious { xsd:boolean }?, attribute SpanColumnType { SpanColumnTypeOptions_EnumValue }?, attribute SplitColumnInsideGutter { xsd:double }?, attribute SplitColumnOutsideGutter { xsd:double }?, attribute SpanColumnMinSpaceBefore { xsd:double }?, attribute SpanColumnMinSpaceAfter { xsd:double }?, attribute RuleBelowOverprint { xsd:boolean }?, attribute RuleBelowGapOverprint { xsd:boolean }?, attribute DropcapDetail { xsd:int }?, attribute HyphenateAcrossColumns { xsd:boolean }?, attribute KeepRuleAboveInFrame { xsd:boolean }?, attribute IgnoreEdgeAlignment { xsd:boolean }?, attribute OTFMark { xsd:boolean }?, attribute OTFLocale { xsd:boolean }?, attribute PositionalForm { PositionalForms_EnumValue }?, attribute ParagraphDirection { ParagraphDirectionOptions_EnumValue }?, attribute ParagraphJustification { ParagraphJustificationOptions_EnumValue }?, attribute MiterLimit { xsd:double {minInclusive="0" maxInclusive="1000"} }?, attribute StrokeAlignment { TextStrokeAlign_EnumValue }?, attribute EndJoin { OutlineJoin_EnumValue }?, attribute OTFOverlapSwash { xsd:boolean }?, attribute OTFStylisticAlternate { xsd:boolean }?, attribute OTFJustificationAlternate { xsd:boolean }?, attribute OTFStretchedAlternate { xsd:boolean }?, attribute CharacterDirection { CharacterDirectionOptions_EnumValue }?, attribute KeyboardDirection { CharacterDirectionOptions_EnumValue }?, attribute DigitsType { DigitsTypeOptions_EnumValue }?, attribute Kashidas { KashidasOptions_EnumValue }?, attribute DiacriticPosition { DiacriticPositionOptions_EnumValue }?, attribute XOffsetDiacritic { xsd:double }?, attribute YOffsetDiacritic { xsd:double }?, attribute ParagraphBreakType { ParagraphBreakTypes_EnumValue }?, attribute PageNumberType { PageNumberTypes_EnumValue }?, attribute AppliedNamedGrid { xsd:string }?, attribute GridAlignFirstLineOnly { xsd:boolean }?, attribute GridAlignment { GridAlignment_EnumValue }?, attribute GridGyoudori { xsd:short }?, attribute AutoTcy { xsd:short }?, attribute AutoTcyIncludeRoman { xsd:boolean }?, attribute KinsokuType { KinsokuType_EnumValue }?, attribute KinsokuHangType { KinsokuHangTypes_EnumValue }?, attribute BunriKinshi { xsd:boolean }?, attribute Rensuuji { xsd:boolean }?, attribute RotateSingleByteCharacters { xsd:boolean }?, attribute LeadingModel { LeadingModel_EnumValue }?, attribute CharacterAlignment { CharacterAlignment_EnumValue }?, attribute Tsume { xsd:double }?, attribute LeadingAki { xsd:double }?, attribute TrailingAki { xsd:double }?, attribute CharacterRotation { xsd:double }?, attribute Jidori { xsd:short }?, attribute ShataiMagnification { xsd:double }?, attribute ShataiDegreeAngle { xsd:double }?, attribute ShataiAdjustRotation { xsd:boolean }?, attribute ShataiAdjustTsume { xsd:boolean }?, attribute Tatechuyoko { xsd:boolean }?, attribute TatechuyokoXOffset { xsd:double }?, attribute TatechuyokoYOffset { xsd:double }?, attribute KentenTint { xsd:double }?, attribute KentenStrokeTint { xsd:double }?, attribute KentenWeight { xsd:double }?, attribute KentenOverprintFill { AdornmentOverprint_EnumValue }?, attribute KentenOverprintStroke { AdornmentOverprint_EnumValue }?, attribute KentenKind { KentenCharacter_EnumValue }?, attribute KentenPlacement { xsd:double }?, attribute KentenAlignment { KentenAlignment_EnumValue }?, attribute KentenPosition { RubyKentenPosition_EnumValue }?, attribute KentenFontSize { xsd:double }?, attribute KentenXScale { xsd:double }?, attribute KentenYScale { xsd:double }?, attribute KentenCustomCharacter { xsd:string }?, attribute KentenCharacterSet { KentenCharacterSet_EnumValue }?, attribute RubyTint { xsd:double }?, attribute RubyWeight { xsd:double }?, attribute RubyOverprintFill { AdornmentOverprint_EnumValue }?, attribute RubyOverprintStroke { AdornmentOverprint_EnumValue }?, attribute RubyStrokeTint { xsd:double }?, attribute RubyFontSize { xsd:double }?, attribute RubyOpenTypePro { xsd:boolean }?, attribute RubyXScale { xsd:double }?, attribute RubyYScale { xsd:double }?, attribute RubyType { RubyTypes_EnumValue }?, attribute RubyAlignment { RubyAlignments_EnumValue }?, attribute RubyPosition { RubyKentenPosition_EnumValue }?, attribute RubyXOffset { xsd:double }?, attribute RubyYOffset { xsd:double }?, attribute RubyParentSpacing { RubyParentSpacing_EnumValue }?, attribute RubyAutoAlign { xsd:boolean }?, attribute RubyOverhang { xsd:boolean }?, attribute RubyAutoScaling { xsd:boolean }?, attribute RubyParentScalingPercent { xsd:double }?, attribute RubyParentOverhangAmount { RubyOverhang_EnumValue }?, attribute Warichu { xsd:boolean }?, attribute WarichuSize { xsd:double }?, attribute WarichuLines { xsd:short }?, attribute WarichuLineSpacing { xsd:double }?, attribute WarichuAlignment { WarichuAlignment_EnumValue }?, attribute WarichuCharsAfterBreak { xsd:short }?, attribute WarichuCharsBeforeBreak { xsd:short }?, attribute OTFProportionalMetrics { xsd:boolean }?, attribute OTFHVKana { xsd:boolean }?, attribute OTFRomanItalics { xsd:boolean }?, attribute ScaleAffectsLineHeight { xsd:boolean }?, attribute CjkGridTracking { xsd:boolean }?, attribute GlyphForm { AlternateGlyphForms_EnumValue }?, attribute ParagraphGyoudori { xsd:boolean }?, attribute RubyAutoTcyDigits { xsd:short }?, attribute RubyAutoTcyIncludeRoman { xsd:boolean }?, attribute RubyAutoTcyAutoScale { xsd:boolean }?, attribute TreatIdeographicSpaceAsSpace { xsd:boolean }?, attribute AllowArbitraryHyphenation { xsd:boolean }?, attribute BulletsAndNumberingListType { ListType_EnumValue }?, attribute NumberingExpression { xsd:string }?, attribute BulletsTextAfter { xsd:string }?, attribute NumberingLevel { xsd:int }?, attribute NumberingContinue { xsd:boolean }?, attribute NumberingStartAt { xsd:int }?, attribute NumberingApplyRestartPolicy { xsd:boolean }?, attribute BulletsAlignment { ListAlignment_EnumValue }?, attribute NumberingAlignment { ListAlignment_EnumValue }?, element Properties { element AppliedFont { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element Leading { (unit_type, xsd:double ) | (enum_type, Leading_EnumValue ) }?& element UnderlineColor { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element UnderlineGapColor { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element UnderlineType { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element StrikeThroughColor { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element StrikeThroughGapColor { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element StrikeThroughType { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element BalanceRaggedLines { (bool_type, xsd:boolean ) | (enum_type, BalanceLinesStyle_EnumValue ) }?& element RuleAboveColor { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element RuleAboveGapColor { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element RuleAboveType { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element RuleBelowColor { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element RuleBelowGapColor { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element RuleBelowType { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element SpanSplitColumnCount { (short_type, xsd:short {minInclusive="1" maxInclusive="40"} ) | (enum_type, SpanColumnCountOptions_EnumValue ) }?& element AllLineStyles { list_type, element ListItem { record_type, ( element AppliedCharacterStyle { object_type, xsd:string }& element LineCount { long_type, xsd:int }& element RepeatLast { long_type, xsd:int }) }* }?& element AllGREPStyles { list_type, element ListItem { record_type, ( element AppliedCharacterStyle { object_type, xsd:string }& element GrepExpression { string_type, xsd:string }) }* }?& element AllNestedStyles { list_type, element ListItem { record_type, ( element AppliedCharacterStyle { object_type, xsd:string }& element Delimiter { (string_type, xsd:string ) | (enum_type, NestedStyleDelimiters_EnumValue ) }& element Repetition { long_type, xsd:int }& element Inclusive { bool_type, xsd:boolean }) }* }?& element TabList { list_type, element ListItem { record_type, ( element Alignment { enum_type, TabStopAlignment_EnumValue }& element AlignmentCharacter { string_type, xsd:string }& element Leader { string_type, xsd:string }& element Position { unit_type, xsd:double }) }* }?& element KinsokuSet { (object_type, xsd:string ) | (enum_type, KinsokuSet_EnumValue ) | (string_type, xsd:string ) }?& element Mojikumi { (object_type, xsd:string ) | (string_type, xsd:string ) | (enum_type, MojikumiTableDefaults_EnumValue ) }?& element KentenFillColor { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element KentenStrokeColor { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element KentenFont { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element KentenFontStyle { (string_type, xsd:string ) | (enum_type, NothingEnum_EnumValue ) }?& element RubyFill { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element RubyStroke { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element RubyFont { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element RubyFontStyle { (string_type, xsd:string ) | (enum_type, NothingEnum_EnumValue ) }?& element BulletChar { attribute BulletCharacterType { BulletCharacterType_EnumValue }, attribute BulletCharacterValue { xsd:int } }?& element BulletsFont { (object_type, xsd:string ) | (string_type, xsd:string ) | (enum_type, AutoEnum_EnumValue ) }?& element BulletsFontStyle { (string_type, xsd:string ) | (enum_type, NothingEnum_EnumValue ) | (enum_type, AutoEnum_EnumValue ) }?& element BulletsCharacterStyle { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element NumberingCharacterStyle { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element AppliedNumberingList { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element NumberingFormat { (enum_type, NumberingStyle_EnumValue ) | (string_type, xsd:string ) }?& element NumberingRestartPolicies { attribute RestartPolicy { RestartPolicy_EnumValue }, attribute LowerLevel { xsd:int }, attribute UpperLevel { xsd:int } }? } ? }
456
+ ```
457
+
458
+ The <TextDefaults> element shares all of its attributes and elements with other text objects. Refer to 'Common Text Elements.'
459
+
460
+ ## 10.7.15 DictionaryPreference
461
+
462
+ The <DictionaryPreference> element defines the language dictionaries used for spelling and hyphenation in a document.
463
+
464
+ **Schema Example 123. DictionaryPreference**
465
+
466
+ ```
467
+ DictionaryPreference_Object = element DictionaryPreference { attribute Composition { ComposeUsing_EnumValue }?, attribute MergeUserDictionary { xsd:boolean }?, attribute RecomposeWhenChanged { xsd:boolean }? }
468
+ ```
469
+
470
+ ## 10.7.16 AnchoredObjectDefault
471
+
472
+ The <AnchoredObjectDefault> element controls the default formatting applied to anchored objects in an In Design document. Values that you specify here will apply to all anchored objects that do not explicitly define these attributes.
473
+
474
+ **Schema Example 124. AnchoredObjectDefault**
475
+
476
+ ```
477
+ AnchoredObjectDefault_Object = element AnchoredObjectDefault { attribute AnchorContent { ContentType_EnumValue }?, attribute InitialAnchorHeight { xsd:double }?, attribute InitialAnchorWidth { xsd:double }?, attribute AnchoredParagraphStyle { xsd:string }?, attribute AnchoredObjectStyle { xsd:string }? }
478
+ ```
479
+
480
+ **IDML Example 81**: AnchoredObjectDefault
481
+
482
+ <AnchoredObjectDefault Self="dAnchoredObjectDefault1" AnchorContent="Unassigned" InitialAnchorHeight="72" InitialAnchorWidth="72" AnchoredParagraphStyle="ParagraphStyle\k[No paragraph style]" AnchoredObjectStyle="ObjectStyle\k[None]"/>
483
+
484
+ **Table 149**: AnchoredObjectDefault Properties Represented as Attributes
485
+
486
+ | Name | Type | Req | Description |
487
+ | -------------------------- | ------------------------- | ------- | ----------------------------------------------------------------------------------------------------- |
488
+ | AnchorContent | ContentType_EnumValue | no | The initial FrameType of a new anchored object. Can be Unassigned , GraphicType , or TextType. |
489
+ | AnchoredObjectStyle | string | no | The initial object style of a new anchored object. |
490
+ | AnchoredParagraphStyle | string | no | The initial paragraph style of a new anchored object. Note: Valid when anchor content is TextType. |
491
+ | InitialAnchorHeight | double | no | The initial height of a new anchored object. |
492
+ | InitialAnchorWidth | double | no | The initial width of a new anchored object. |
493
+
494
+ ## 10.7.17 AnchoredObjectSetting
495
+
496
+ The <AnchoredObjectSetting> element controls the default positioning for anchored objects in an In Design document. Values that you specify here will apply to all anchored objects that do not explicitly define these attributes.
497
+
498
+ **Schema Example 125. AnchoredObjectSetting**
499
+
500
+ ```rnc
501
+ AnchoredObjectSetting_Object = element AnchoredObjectSetting { attribute AnchoredPosition { AnchorPosition_EnumValue }?, attribute SpineRelative { xsd:boolean }?, attribute LockPosition { xsd:boolean }?, attribute PinPosition { xsd:boolean }?, attribute AnchorPoint { AnchorPoint_EnumValue }?, attribute HorizontalAlignment { HorizontalAlignment_EnumValue }?, attribute HorizontalReferencePoint { AnchoredRelativeTo_EnumValue }?, attribute VerticalAlignment { VerticalAlignment_EnumValue }?, attribute VerticalReferencePoint { VerticallyRelativeTo_EnumValue }?, attribute AnchorXoffset { xsd:double }?, attribute AnchorYoffset { xsd:double }?, attribute AnchorSpaceAbove { xsd:double }? }
502
+ ```
503
+
504
+ **IDML Example 82**: AnchoredObjectSetting
505
+
506
+ ```xml
507
+ <AnchoredObjectSetting Self="dAnchoredObjectSetting1" AnchoredPosition="Inline Position" SpineRelative="false" LockPosition="false" PinPosition="true" AnchorPoint="BottomRightAnchor" HorizontalAlignment="Left Align" HorizontalReferencePoint="TextFrame" VerticalAlignment="TopAlign" VerticalReferencePoint="Line Baseline" AnchorXoffset="0" AnchorYoffset="0" AnchorSpaceAbove="0"/>
508
+ ```
509
+
510
+ **Table 150**: AnchoredObjectSetting Properties Represented as Attributes
511
+
512
+ | Name | Type | Req | Description |
513
+ | ---------------------------- | ------------------------------------ | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
514
+ | AnchorPoint | AnchorPoint_EnumValue | no | The point in the anchored object to position. Can be TopLeftAnchor , TopCenterAnchor , TopRightAnchor , LeftCenterAnchor, CenterAnchor, RightCenterAnchor, BottomLeftAnchor, BottomCenterAnchor, or BottomRightAnchor. |
515
+ | AnchorSpaceAbove | double | no | The space above an above-line anchored object. |
516
+ | AnchorXoffset | double | no | The horizontal (x) offset of the anchored object. |
517
+ | AnchorYoffset | double | no | The vertical (y) offset of the anchored object. |
518
+ | AnchoredPosition | AnchorPosition_EnumValue | no | The position of the anchored object relative to the anchor. Can be InlinePosition , AboveLine , Anchored. |
519
+ | HorizontalAlignment | HorizontalAlignment_EnumValue | no | When anchored position is above line, the posi- tion of the anchored object is relative to the text area. When anchored position is custom, the horizontal alignment of the anchored object is set by the horizontal reference point. Note: Not valid when anchored position is InlinePosition. Can be RightAlign , LeftAlign, CenterAlign, TextAlign |
520
+ | HorizontalReferencePoint | AnchoredRelativeTo_EnumValue | no | The horizontal reference point on the page. Can be ColumnEdge, TextFrame, PageMargins, PageEdge, AnchorLocation |
521
+ | LockPosition | boolean | no | If true, prevents manual positioning of the anchored object. |
522
+ | PinPosition | boolean | no | If true, pins the position of the anchored object within the TextFrame top and bottom. |
523
+ | SpineRelative |boolean | no | If true, the position of the anchored object is relative to the binding spine of the page or spread. |
524
+ | VerticalAlignment | VerticalAlignment_EnumValue | no | The vertical alignment of the anchored object reference point with the vertical reference point on the page. Can be TopAlign, BottomAlign, or CenterAlign. |
525
+ | VerticalReferencePoint | VerticallyRelativeTo_EnumValue | no | The vertical reference point on the page. Can be ColumnEdge , TextFrame , PageMargins , PageEdge , LineBaseline , LineXheight , LineAscent , Capheight , TopOfLeading. |
526
+
527
+ ## 10.7.18 BaselineFrameGridOption
528
+
529
+ The <BaselineFrameGridOption> element controls the default formatting of BaselineFrameGrids in an In Design document. Values that you specify here will apply to all BaselineFrameGrids that do not explicitly define these attributes.
530
+
531
+ **Schema Example 126. BaselineFrameGridOption**
532
+
533
+ ```rnc
534
+ BaselineFrameGridOption\_Object = element BaselineFrameGridOption { attribute UseCustomBaselineFrameGrid { xsd:boolean }?,attribute StartingOffsetForBaselineFrameGrid { xsd:double {minInclusive="0" maxInclusive="8640"} }?, attribute BaselineFrameGridRelativeOption { BaselineFrameGridRelativeOption_EnumValue }?, attribute BaselineFrameGridIncrement { xsd:double {minInclusive="1" maxInclusive="8640"} }?, element Properties { element BaselineFrameGridColor { InDesignUIColorType_TypeDef }? } ? }
535
+ ```
536
+
537
+ **IDML Example 83. BaselineFrameGridOption**
538
+
539
+ ```xml
540
+ <BaselineFrameGridOption Self="u83" UseCustomBaselineFrameGrid="false" StartingOffsetForBaselineFrameGrid="0" BaselineFrameGridRelativeOption="TopOfInset" BaselineFrameGridIncrement="12">
541
+ <Properties>
542
+ <BaselineFrameGridColor type="enumeration">LightBlue</BaselineFrameGridColor>
543
+ </Properties>
544
+ </BaselineFrameGridOption>
545
+ ```
546
+
547
+ **Table 151**: BaselineFrameGridOption Properties Represented as Attributes
548
+
549
+ | Name | Type | Req | Description |
550
+ | ---------------------------------------- | ----------------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------- |
551
+ | BaselineFrameGridIncrement | double | no | The distance between grid lines. Range 1 to 8640. |
552
+ | BaselineFrameGridRelativeOption | BaselineFrameGridRelativeOption_EnumValue | no | The object from which to offset the custom base- line grid. Can be TopOfPage , TopOfMargin , TopOfFrame, or TopOfInset. |
553
+ | StartingOffsetForBaselineFrameGrid | double | no | The amount to offset the baseline grid. Range 1 to 8640. |
554
+ | UseCustomBaselineFrameGrid | boolean | no | If true, uses a custom BaselineFrameGrid. |
555
+
556
+ **Table 152**: BaselineFrameGridOption Properties Represented as Elements
557
+
558
+ | Name | Type | Req | Description |
559
+ | -------------------------- | ----------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------- |
560
+ | BaselineFrameGridColor | InDesignUIColorType | no | The color of the BaselineFrameGrid, as a UIColors enumeration or an RGB color as a list of three <ListItem> elements. |
561
+
562
+ ## 10.7.19 FootnoteOption
563
+
564
+ The <FootnoteOption> element controls the default formatting of footnotes in an In Design document. Values that you specify here will apply to all footnotes that do not explicitly define these attributes and properties.
565
+
566
+ **Schema Example 127. FootnoteOption**
567
+
568
+ ```
569
+ FootnoteOption_Object = element FootnoteOption { attribute StartAt { xsd:int {minInclusive="1" maxInclusive="100000"} }?, attribute Prefix { xsd:string }?, attribute Suffix { xsd:string }?, attribute FootnoteTextStyle { xsd:string }?, attribute FootnoteMarkerStyle { xsd:string }?, attribute SeparatorText { xsd:string }?, attribute SpaceBetween { xsd:double {minInclusive="0" maxInclusive="864"} }?, attribute Spacer { xsd:double {minInclusive="0" maxInclusive="864"} }?, attribute FootnoteFirstBaselineOffset { FootnoteFirstBaseline_EnumValue }?, attribute FootnoteMinimumFirstBaselineOffset { xsd:double {minInclusive="0" maxInclusive="103680"} }?, attribute EosPlacement { xsd:boolean }?, attribute NoSplitting { xsd:boolean }?, attribute RuleOn { xsd:boolean }?, attribute RuleLineWeight { xsd:double {minInclusive="0" maxInclusive="1000"} }?, attribute RuleTint { xsd:double {minInclusive="0" maxInclusive="100"} }?, attribute RuleGapTint { xsd:double {minInclusive="0" maxInclusive="100"} }?, attribute RuleGapOverprint { xsd:boolean }?, attribute RuleOverprint { xsd:boolean }?, attribute RuleLeftIndent { xsd:double {minInclusive="103680" maxInclusive="103680"} }?, attribute RuleWidth { xsd:double {minInclusive="0" maxInclusive="103680"} }?, attribute RuleOffset { xsd:double {minInclusive="15552" maxInclusive="15552"} }?, attribute ContinuingRuleOn { xsd:boolean }?, attribute ContinuingRuleLineWeight { xsd:double {minInclusive="0" maxInclusive="1000"} }?, attribute ContinuingRuleTint { xsd:double {minInclusive="0" maxInclusive="100"} }?, attribute ContinuingRuleGapTint { xsd:double {minInclusive="0" maxInclusive="100"} }?, attribute ContinuingRuleOverprint { xsd:boolean }?, attribute ContinuingRuleGapOverprint { xsd:boolean }?, attribute ContinuingRuleLeftIndent { xsd:double {minInclusive="103680" maxInclusive="103680"} }?, attribute ContinuingRuleWidth { xsd:double {minInclusive="0" maxInclusive="103680"} }?, attribute ContinuingRuleOffset { xsd:double {minInclusive="15552" maxInclusive="15552"} }?, element Properties { element FootnoteNumberingStyle { (enum_type, FootnoteNumberingStyle_EnumValue ) | (string_type, xsd:string ) }?& element RestartNumbering { (enum_type, FootnoteRestarting_EnumValue ) | (string_type, xsd:string ) }?& element ShowPrefixSuffix { (enum_type, FootnotePrefixSuffix_EnumValue ) | (string_type, xsd:string ) }?& element MarkerPositioning { (enum_type, FootnoteMarkerPositioning_EnumValue ) | (string_type, xsd:string ) }?& element RuleType { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element RuleColor { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element RuleGapColor { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element ContinuingRuleType { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element ContinuingRuleColor { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element ContinuingRuleGapColor { (object_type, xsd:string ) | (string_type, xsd:string ) }? } ? }
570
+ ```
571
+
572
+ **Table 153**: FootnoteOption Properties Represented as Attributes
573
+
574
+ | Name | Type | Req | Description |
575
+ | ------------------------------ | --------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
576
+ | ContinuingRuleGapOverprint | boolean | no | If true, overprints the gap color of the rule above continued footnote text. Note: Valid when con- tinuing rule type is not solid. |
577
+ | ContinuingRuleGapTint | double | no | The tint (as a percentage) of the gap color of the rule above continued footnote text. (Range: 0 to 100) Note: Valid when continuing rule type is not solid. |
578
+ | ContinuingRuleLeftIndent | double | no | The amount to left indent the rule above contin- ued footnote text. Note: Valid when continuing rule on is true. Range: -103680 to 103680. |
579
+ | ContinuingRuleLineWeight | double | no | The stroke weight of the rule above continued footnote text. (Range: 0 to 1000) Note: Valid when continuing rule on is true. |
580
+ | ContinuingRuleOffset | double | no | The vertical offset of the rule above continued footnote text. Note: Valid when continuing rule on is true. Range: -15552 to 15552. |
581
+ | ContinuingRuleOn | boolean | no | If true, draws a rule above footnote text that continues from a previous column. Note: Valid when no splitting is false or undefined. |
582
+ | ContinuingRuleOverprint | boolean | no | If true, overprints the rule above continued footnote text. Note: Valid when continuing rule on is true. |
583
+ | ContinuingRuleTint | double | no | The tint (as a percentage) of the rule above con- tinued footnote text. (Range: 0 to 100) Note: Valid when continuing rule type is not solid. |
584
+ | ContinuingRuleWidth | double | no | The length of the rule above continued footnote text. Note: Valid when continuing rule on is true. Range: 0 to 103680. |
585
+ | EosPlacement | boolean | no | If true, footnotes at the end of the story are placed just below the text. If false, footnotes at the end of the story are placed at the bottom of the column. |
586
+ | FootnoteFirstBaselineOffset | FootnoteFirstBaseline_EnumValue | no | The distance between the top of the foot- note container and the footnote text. Can be AscentOffset , CapHeight , LeadingOffset , EmboxHeight , XHeight , or FixedHeight. |
587
+ | FootnoteMarkerStyle | string | no | The CharacterStyle to apply to footnote reference numbers in the main text. |
588
+ | FootnoteMinimumFirstBaselineOffset | double | no | The minimum distance between the baseline of the text and the top of the footnote container. Range: 0 to 103680. |
589
+ | FootnoteTextStyle | string | no | The paragraph style to apply to footnotes. Note: The space before and after the paragraph defined in the paragraph style is ignored for footnotes. To define space above and between footnotes, see spacer and space between. |
590
+ | NoSplitting | boolean | no | If true, footnotes cannot split across columns. If false, footnotes flow into succeeding columns when the footnote text causes the footnote area to expand upward to reach the footnote refer- ence number in the main text. |
591
+ | Prefix | string | no | The prefix text of the footnote. (Limit: 0 to 100 characters) |
592
+ | RuleGapOverprint | boolean | no | If true, overprints the gap color of the rule above the first footnote in the column. Note: Valid when rule type is not solid. |
593
+ | RuleGapTint | double | no | The tint (as a percentage) of the gap color of the rule above the first footnote in the column. (Range: 0 to 100) Note: Valid when rule type is not solid. |
594
+ | RuleLeftIndent | double | no | The amount to left indent the rule above the first footnote in the column. Note: Valid when rule on is true. Range: -103860 to 103860. |
595
+ | RuleLineWeight | double | no | The stroke weight of the rule above the first footnote in the column. (Range: 0 to 1000) Note: Valid when rule on is true. |
596
+ | RuleOffset | double | no | The vertical offset of the rule above the first foot- note in the column. Note: Valid when rule on is true. Range -15552 to 15552. |
597
+ | RuleOn | boolean | no | If true, draws a rule between the text and the first footnote in the column. |
598
+ | RuleOverprint | boolean | no | If true, overprints the rule above the first foot- note in the column. Note: Valid when rule on is true. |
599
+ | RuleTint | double | no | The tint (as a percentage) of the rule above the first footnote in the column. (Range: 0 to 100) Note: Valid when rule on is true. |
600
+ | RuleWidth | double | no | The length of the rule above the first footnote in the column. Note: Valid when rule on is true. Range: 0 to 103680. |
601
+ | Self | string | yes | The unique ID of the object. |
602
+ | SeparatorText | string | no | The text to insert between the footnote marker number and the footnote text. (Range: 0 to 100 characters) |
603
+ | SpaceBetween | double | no | The amount of vertical space between footnotes. Note: The space before and SpaceAfter defined for the paragraph style applied to the footnote is ignored. For information on the applied para- graph style, see footnote text style. Range: 0 to 864. |
604
+ | Spacer | double | no | The minimum amount of vertical space between the bottom of the text column and the first foot- note. Note: The space before amount defined in the paragraph style applied to the footnote is ignored for the first footnote. For information on the AppliedParagraphStyle, see footnote text style. Range: 0 to 864. |
605
+ | StartAt | int | no | The number at which to start footnote number- ing. Range: 1 to 100000. |
606
+ | Suffix | string | no | The suffix text of the footnote. (Limit: 0 to 100 characters) |
607
+
608
+ **Table 154**: FootnoteOption Properties Represented as Elements
609
+
610
+ | Name | Type | Req | Description |
611
+ | -------------------------- | --------------------------------------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
612
+ | ContinuingRuleColor | string | no | A reference to the swatch (color, gradient, tint, or mixed ink) applied to the stroke of the foot- note continuing rule above. The string can con- tain either an element reference (the value of the Self attribute of the swatch), or the name of the color (for example: Color/Black ). Note: Valid when continuing rule on is true. |
613
+ | ContinuingRuleGapColor | string | no | The swatch (color, gradient, tint, or mixed ink) applied to the stroke gap of the footnote con- tinuing rule above. The string can contain either an element reference (the value of the Self attribute of the swatch), or the name of the color (for example: Color/Black ). Note: Valid when continuing rule on is true. |
614
+ | ContinuingRuleType | string | no | The stroke type of the rule above continued footnote text. Note: Valid when continuing rule on is true. |
615
+ | FootnoteNumberingStyle | FootnoteNumberingStyle_EnumValue or string | no | The footnote numbering style. |
616
+ | MarkerPositioning | FootnoteMarkerPositioning_EnumValue or string | no | The position of footnote reference numbers in the main text. |
617
+ | RestartNumbering | FootnoteRestarting_EnumValue or string | no | The point at which to restart footnote numbering. |
618
+ | RuleColor | string | no | The swatch (color, gradient, tint, or mixed ink) applied to the stroke of the rule above the first footnote in the column. The string can contain either an element reference (the value of the Self attribute of the swatch), or the name of the color (for example: Color/Black ). Note: Valid when rule on is true. |
619
+ | RuleGapColor | string | no | The swatch (color, gradient, tint, or mixed ink) applied to the stroke gap of the rule above the first footnote in the column. The string can con- tain either an element reference (the value of the Self attribute of the swatch), or the name of the color (for example: Color/Black ). Note: Valid when rule type is not solid. |
620
+ | RuleType | string | no | The stroke type of the rule above the first foot- note in a column. Note: Valid when rule on is true. |
621
+ | ShowPrefixSuffix | FootnotePrefixSuffix_EnumValue or string | no | The position of the footnote prefix and/or suffix. |
622
+
623
+ **IDML Example 84**: FootnoteOptions
624
+
625
+ ```xml
626
+ <FootnoteOption Self="d FootnoteOption1" Start At="1" Prefix="" Suffix="" Footnote Text Style="Paragraph Style\k Normal Paragraph Style" Footnote Marker Style="CharacterStyle\k[No CharacterStyle]" Separator Text="&#x9;" Space Between="0" Spacer="0" Footnote First Baseline Offset="Leading Offset" Footnote Minimum First Baseline Offset="0" Eos Placement="false" No Splitting="false" Rule On="true" Rule Line Weight="1" Rule Tint="100" Rule Gap Tint="100" Rule Gap Overprint="false" Rule Overprint="false" Rule Left Indent="0" Rule Width="72" Rule Offset="0" Continuing Rule On="true" Continuing Rule Line Weight="1" Continuing Rule Tint="100" Continuing Rule Gap Tint="100" Continuing Rule Overprint="false" Continuing Rule Gap Overprint="false" Continuing Rule Left Indent="0" Continuing Rule Width="288" Continuing Rule Offset="0"> <Properties> <FootnoteNumberingStyle type="enumeration">Arabic</FootnoteNumberingStyle> <RestartNumbering type="enumeration">Dont Restart</RestartNumbering> <ShowPrefixSuffix type="enumeration">No Prefix Suffix</ShowPrefixSuffix> <MarkerPositioning type="enumeration">Superscript Marker</MarkerPositioning> <RuleType type="object">Stroke Style\k Solid</RuleType> <RuleColor type="object">Color\c Black</RuleColor> <RuleGapColor type="object">Swatch\c None</RuleGapColor> <ContinuingRuleType type="object">Stroke Style\k Solid</ContinuingRuleType> <ContinuingRuleColor type="object">Color\c Black</ContinuingRuleColor> <ContinuingRuleGapColor type="object">Swatch\c None</ContinuingRuleGapColor> </Properties> </FootnoteOption>
627
+ ```
628
+
629
+ ## 10.7.20 TextWrapPreference
630
+
631
+ The <TextWrapPreference> element controls the default text wrap applied to page items in an InDesign document. Values that you specify here will apply to all text wraps that do not explicitly define these attributes and elements.
632
+
633
+ **Schema Example 128. TextWrapPreference**
634
+
635
+ ```rnc
636
+ TextWrapPreference_Object = element TextWrapPreference { attribute Inverse { xsd:boolean }?, attribute ApplyToMasterPageOnly { xsd:boolean }?, attribute TextWrapSide { TextWrapSideOptions_EnumValue }?, attribute TextWrapMode { TextWrapModes_EnumValue }?, element Properties { element TextWrapOffset { UnitRectangleBoundsType_TypeDef }?& element PathGeometry { element GeometryPathType { GeometryPathType_TypeDef }* }? } ? , ( ContourOption_Object? ) } Schema Example 129. Contour Option Contour Option_Object = element Contour Option { attribute Contour Type { Contour Options Types_Enum Value }?, attribute Include Inside Edges { xsd:boolean }?, attribute Contour Path Name { xsd:string }? }
637
+ ```
638
+
639
+ **IDML Example 85**: TextWrapPreference
640
+
641
+ ```xml
642
+ <TextWrapPreference Self="d TextWrapPreference1" Text Wrap Type="None" Inverse="false" Apply To Master Page Only="false" Text Wrap Side="Both Sides"> <Properties> <TextWrapOffset Top="0" Left="0" Bottom="0" Right="0"/> </Properties> <ContourOption Self="d TextWrapPreference1Contour Option1" Contour Type="Same As Clipping" Include Inside Edges="false" Contour Path Name="$ID/"/> </TextWrapPreference>
643
+ ```
644
+
645
+ **Table 155**: Contour Option Properties Represented as Attributes
646
+
647
+ | Name | Type | Req | Description |
648
+ | ---------------------- | --------------------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
649
+ | ContourPathName | string | no | The name of the alpha channel or Photoshop path to use for the contour option. Valid only when the contour options is photoshop path or alpha channel. |
650
+ | ContourType | ContourOptionsTypes_EnumValue | no | The contour type. Can be BoundingBox , PhotoshopPath , DetectEdges , AlphaChannel, GraphicFrame, or SameAsClipping. |
651
+ | IncludeInsideEdges | boolean | no | If true, creates interior clipping paths within the surrounding clipping path. Note: Valid only when clipping type is AlphaChannel or DetectEdges. |
652
+
653
+ ## 10.7.21 Document Preference
654
+
655
+ The <DocumentPreference> element contains various preferences for the document. Document preferences define the basic layout of the document. If you omit some or all of the properties set in the <DocumentPreferences> element, In Design will apply its application default value to the missing property as it opens the IDML file.
656
+
657
+ **Schema Example 130. Document Preference**
658
+
659
+ ```
660
+ DocumentPreference_Object = element DocumentPreference { attribute PageHeight { xsd:double }?, attribute PageWidth { xsd:double }?, attribute CreatePrimaryTextFrame { xsd:boolean }?, attribute PagesPerDocument { xsd:int }?, attribute FacingPages { xsd:boolean }?, attribute DocumentBleedTopOffset { xsd:double }?, attribute DocumentBleedBottomOffset { xsd:double }?, attribute DocumentBleedInsideOrLeftOffset { xsd:double }?, attribute DocumentBleedOutsideOrRightOffset { xsd:double }?, attribute DocumentBleedUniformSize { xsd:boolean }?, attribute SlugTopOffset { xsd:double }?, attribute SlugBottomOffset { xsd:double }?, attribute SlugInsideOrLeftOffset { xsd:double }?, attribute SlugRightOrOutsideOffset { xsd:double }?, attribute DocumentSlugUniformSize { xsd:boolean }?, attribute PreserveLayoutWhenShuffling { xsd:boolean }?, attribute AllowPageShuffle { xsd:boolean }?, attribute OverprintBlack { xsd:boolean }?, attribute ColumnGuideLocked { xsd:boolean }?, attribute Intent { DocumentIntentOptions_EnumValue }?, attribute PageBinding { PageBindingOptions_EnumValue }?, attribute ColumnDirection { HorizontalOrVertical_EnumValue }?, attribute MasterTextFrame { xsd:boolean }?, attribute SnippetImportUsesOriginalLocation { xsd:boolean }?, element Properties { element ColumnGuideColor { InDesignUIColorType_TypeDef }?& element MarginGuideColor { InDesignUIColorType_TypeDef }? } ? }
661
+ ```
662
+
663
+ **IDML Example 86. Document Preferences**
664
+
665
+ ```xml
666
+ <DocumentPreference Self="d Document Preference1" Page Height="792" Page Width="612" Pages Per Document="1" Facing Pages="true" Document Bleed Top Offset="0" Document Bleed Bottom Offset="0" Document Bleed Inside Or Left Offset="0" Document Bleed Outside Or Right Offset="0" Document Bleed Uniform Size="true" Slug Top Offset="0" Slug Bottom Offset="0" Slug Inside Or Left Offset="0" Slug Right Or Outside Offset="0" Document Slug Uniform Size="false" Preserve Layout When Shuffling="true" Allow Page Shuffle="true" Overprint Black="true" Page Binding="Left To Right" Column Direction="Horizontal" Column Guide Locked="true" Master TextFrame="false" Snippet Import Uses Original Location="false"> <Properties> <Column Guide Color type="enumeration">Violet</Column Guide Color> <Margin Guide Color type="enumeration">Magenta</Margin Guide Color> </Properties> </DocumentPreference>
667
+ ```
668
+
669
+ **Table 156**: DocumentPreference Properties Represented as Attributes
670
+
671
+ | Name | Type | Req | Description |
672
+ | --------------------------------------- | ------------------------------------ | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
673
+ | AllowPageShuffle | boolean | no | If true, guarantees that all new spreads added to the document contain a maximum of two pages. If false, allows pages to be added or moved into existing spreads. For override information, see preserve layout when shuffling. |
674
+ | ColumnDirection | HorizontalOrVertical_EnumValue | yes | The direction of text in the column |
675
+ | ColumnGuideLocked | boolean | no | If true, locks column guides. |
676
+ | DocumentBleedBottomOffset | double | no | The amount to offset the bottom document bleed. Note: To set the bleed bottom offset, doc- ument bleed uniform size must be false. |
677
+ | DocumentBleedInsideOrLeftOffset | double | no | The amount to offset the inside or left document bleed. Note: To set the bleed inside or left offset, document bleed uniform size must be false. |
678
+ | DocumentBleedOutsideOrRightOffset | double | no | The amount to offset the outside or right docu- ment bleed. Note: To set the bleed outside or right offset, document bleed uniform size must be false. |
679
+ | DocumentBleedTopOffset | double | no | The amount to offset the top document bleed. |
680
+ | DocumentBleedUniformSize | boolean | no | If true, uses the document bleed top offset value for bleed offset measurements on all sides of the document. The default setting is true. |
681
+ | DocumentSlugUniformSize | boolean | no | If true, uses the slug top offset value for slug measurements on all sides of the doucment. The default value is false. |
682
+ | FacingPages | boolean | no | If true, the document has facing pages. |
683
+ | Intent | DocumentIntentOptions_EnumValue | no | Can be PrintIntent or WebIntent. |
684
+ | MasterTextFrame | boolean | no | If true, the document A-master has auto text- frames. |
685
+ | OverprintBlack | boolean | no | If true, overprints black when saving the docu- ment. |
686
+ | PageBinding | PageBindingOptions_EnumValue | yes | The page binding. Use Default , RightToLeft, or LeftToRight. |
687
+ | PageHeight | double | no | The height of the page. |
688
+ | PageWidth | double | no | The width of the page. |
689
+ | PagesPerDocument | int | no | The number of pages in the document. (Range: 1 to 9999) |
690
+ | PreserveLayoutWhenShuffling | boolean | no | If true, preserves the layout of spreads that con- tained more than two pages when allow page shuffle was turned on. If false, changes multi- page spreads to two-page spreads if the spreads were created or changed since allow page shuffle was turned on. |
691
+ | SlugBottomOffset | double | no | The amount to offset the bottom slug. Note: To set the slug bottom offset, document slug uni- form size must be false. |
692
+ | SlugInsideOrLeftOffset | double | no | The amount to offset the inside or left slug. Note: To set the slug inside or left offset, document slug uniform size must be false. |
693
+ | SlugRightOrOutsideOffset | double | no | The amount to offset the outside or right slug. Note: To set the slug right or outside offset, doc- ument slug uniform size must be false. |
694
+ | SlugTopOffset | double | no | The amount to offset the top slug. |
695
+ | SnippetImportUsesOriginalLocation | boolean | no | If true, causes UI-based snippet import to use original location for page items. |
696
+ | CreatePrimaryTextFrame | boolean | no | If true, the document A-master has primary TextFrames when a new document is created. |
697
+
698
+ **Table 157**: DocumentPreference Properties Represented as Elements
699
+
700
+ | Name | Type | Req | Description |
701
+ | ----------------------------- | ----------------------- | ------- | ------------------------------------------------------------------------------------------------------------------- |
702
+ | ColumnGuideColor | InDesignUIColorType | no | The color of the column guides, as a UIColors enumeration or an RGB color as a list of three <ListItem> elements. |
703
+ | MarginGuideColor | InDesignUIColorType | no | The color of the margin guides, as a UIColors enumeration or an RGB color as a list of three <ListItem> elements. |
704
+
705
+ ## 10.7.22 Grid Preference
706
+
707
+ The <GridPreference> element stores the grid preferences for the document. Document grid preferences for the baseline grid can have an effect on all TextFrames that do not specifically define a BaselineFrameGrid (depending on the state of the Align to Baseline setting of the paragraphs in the TextFrames). For more on this topic, refer to the In Design online help.
708
+
709
+ **Schema Example 131. Grid Preference**
710
+
711
+ ```
712
+ GridPreference_Object = element GridPreference { attribute DocumentGridShown { xsd:boolean }?, attribute DocumentGridSnapto { xsd:boolean }?, attribute HorizontalGridlineDivision { xsd:double {minInclusive="0.01" maxInclusive="1000"} }?, attribute VerticalGridlineDivision { xsd:double {minInclusive="0.01" maxInclusive="1000"} }?, attribute HorizontalGridSubdivision { xsd:int {minInclusive="1" maxInclusive="1000"} }?, attribute VerticalGridSubdivision { xsd:int {minInclusive="1" maxInclusive="1000"} }?, attribute GridsInBack { xsd:boolean }?, attribute BaselineGridShown { xsd:boolean }?, attribute BaselineStart { xsd:double {minInclusive="0" maxInclusive="1000"} }?, attribute BaselineDivision { xsd:double {minInclusive="1" maxInclusive="8640"} }?, attribute BaselineViewThreshold { xsd:double {minInclusive="5" maxInclusive="4000"} }?, attribute BaselineGridRelativeOption { BaselineGridRelativeOption_EnumValue }?, element Properties { element GridColor { InDesignUIColorType_TypeDef }?& element BaselineColor { InDesignUIColorType_TypeDef }? } ? }
713
+ ```
714
+
715
+ **IDML Example 87**: Grid Preference
716
+
717
+ ```xml
718
+ <GridPreference Self="d Grid Preference1" Document Grid Shown="false" Document Grid Snapto="false" Horizontal Gridline Division="72" Vertical Gridline Division="72" Horizontal Grid Subdivision="8" Vertical Grid Subdivision="8" Grids In Back="true" Baseline Grid Shown="false" Baseline Start="36" Baseline Division="12" Baseline View Threshold="75" Baseline Grid Relative Option="Top Of Page Of Baseline Grid Relative Option"> <Properties> <GridColor type="enumeration">Light Gray</GridColor>> <BaselineColor type="enumeration">Light Blue</BaselineColor>>
719
+ </Properties> </GridPreference>
720
+ ```
721
+
722
+ **Table 158**: Grid Preference Properties Represented as Attributes
723
+
724
+ | Name | Type | Req | Description |
725
+ | ------------------------------ | ----------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------- |
726
+ | BaselineDivision | double | no | The amount of space between baseline grid lines. Range: 1 to 8640. |
727
+ | BaselineGridRelativeOption | BaselineGridRelativeOption_EnumValue | no | The zero point for the baseline grid offset. |
728
+ | BaselineGridShown | boolean | no | If true, displays the baseline grid. |
729
+ | BaselineStart | double | no | The amount to offset the baseline grid from the zero point. Range: 0 to 1000. |
730
+ | BaselineViewThreshold | double | no | The magnification (as a percentage) less than which ruler guides do not appear. (Range: 5 to 4000) |
731
+ | DocumentGridShown | boolean | no | If true, displays the document grid. |
732
+ | DocumentGridSnapto | boolean | no | If true, an object snaps to the nearest grid line when the object is created, moved, or resized. |
733
+ | GridsInBack | boolean | no | If true, places grids behind all other objects on the spread. |
734
+ | HorizontalGridSubdivision | int | no | The number of rows into which to subdivide the space between horizontal document grid lines. Range: 1 to 1000. |
735
+ | HorizontalGridlineDivision | double | no | The amount of space between major horizontal lines in the document grid. Range: 0.01 to 1000. |
736
+ | VerticalGridSubdivision | int | no | The number of columns into which to subdivide the space between vertical document grid lines. Range: 0.01 to 1000. |
737
+ | VerticalGridlineDivision | double | no | The amount of space between major vertical lines in the document grid. Range: 0.01 to 1000. |
738
+
739
+ **Table 159**: GridPreference Properties Represented as Elements
740
+
741
+ | Name | Type | Req | Description |
742
+ | --------------- | ----------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
743
+ | BaselineColor | InDesignUIColorType | no | The color of the baseline grid, as a UIColors enumeration or an RGB color as a list of three <ListItem> elements (in the order R, G, B). |
744
+ | GridColor | InDesignUIColorType | no | The color of the document grid, as a UIColors enumeration or an RGB color as a list of three <ListItem> elements (in the order R, G, B). |
745
+
746
+ ## 10.7.23 GuidePreference
747
+
748
+ The <GuidePreference> element stores the guide preferences for the document.
749
+
750
+ **Schema Example 132. GuidePreference**
751
+
752
+ ```rnc
753
+ GuidePreference_Object = element GuidePreference { attribute GuidesInBack { xsd:boolean }?, attribute GuidesShown { xsd:boolean }?, attribute GuidesLocked { xsd:boolean }?, attribute GuidesSnapto { xsd:boolean }?, attribute RulerGuidesViewThreshold { xsd:double }?, element Properties { } ? element RulerGuidesColor { InDesignUIColorType_TypeDef }? }
754
+ ```
755
+
756
+ **IDML Example 88. GuidePreference**
757
+
758
+ ```xml
759
+ <GuidePreference Self="u88" GuidesInBack="false" GuidesShown="true" GuidesLocked="false" GuidesSnapto="true" RulerGuidesViewThreshold="5">
760
+ <Properties>
761
+ <RulerGuidesColor type="enumeration">Cyan</RulerGuidesColor>
762
+ </Properties>
763
+ </GuidePreference>
764
+ ```
765
+
766
+ **Table 160**: GuidePreference Properties Represented as Attributes
767
+
768
+ | Name | Type | Req | Description |
769
+ | ---------------------------- | --------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
770
+ | GuidesInBack | boolean | no | If true, places guides behind all other objects on the spread. |
771
+ | GuidesLocked | boolean | no | If true, guides cannot be moved, added, or deleted. |
772
+ | GuidesShown | boolean | no | If true, displays the guides. |
773
+ | GuidesSnapto | boolean | no | If true, an object within the specified range snaps to the nearest guide when the object is cre- ated, moved, or resized. For range information, see guide snapto zone. |
774
+ | RulerGuidesViewThreshold | double | no | The magnification (as a percentage) less than which ruler guides do not appear. (Range: 5 to 4000) |
775
+
776
+ **Table 161**: GuidePreference Properties Represented as Elements
777
+
778
+ | Name | Type | Req | Description |
779
+ | ------------------ | ----------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
780
+ | RulerGuidesColor | InDesignUIColorType | no | The color of the ruler guides, as a UIColors enumeration or an RGB color as a list of three <ListItem> elements (in the order R, G, B). |
781
+
782
+ ## 10.7.24 MarginPreference
783
+
784
+ The <MarginPreference> element controls the default margin and column settings for the pages in a spread. Values that you specify here will apply to the MarginPreferences of all pages where you have not explicitly defined these attributes and elements.
785
+
786
+ **Schema Example 133. MarginPreference**
787
+
788
+ ```
789
+ MarginPreference_Object = element MarginPreference { attribute ColumnCount { xsd:int {minInclusive="1" maxInclusive="216"} }?, attribute ColumnGutter { xsd:double {minInclusive="0" maxInclusive="1440"} }?, attribute Top { xsd:double }?, attribute Bottom { xsd:double }?, attribute Left { xsd:double }?, attribute Right { xsd:double }?, attribute ColumnDirection { HorizontalOrVertical_EnumValue }?, attribute ColumnsPositions { list { xsd:double * } }? }
790
+ ```
791
+
792
+ ## 10.7.25 Pasteboard Preference
793
+
794
+ The <PasteboardPreference> element controls the height of the pasteboard (through the Minimum Space Above And Below attribute) and colors used to display the pasteboard and pasteboard guides.
795
+
796
+ **Schema Example 134. Pasteboard Preference**
797
+
798
+ ```
799
+ PasteboardPreference_Object = element PasteboardPreference { attribute PasteboardMargins { list { xsd:double ,xsd:double } }?, attribute MinimumSpaceAboveAndBelow { xsd:double }?, element Properties { element PreviewBackgroundColor { InDesignUIColorType_TypeDef }?& element BleedGuideColor { InDesignUIColorType_TypeDef }?& element SlugGuideColor { InDesignUIColorType_TypeDef }? } ? }
800
+ ```
801
+
802
+ **Table 162**: PasteboardPreference Properties Represented as Attributes
803
+
804
+ | Name | Type | Req | Description |
805
+ | ----------------------------- | -------- | ------- | ------------------------------------------- |
806
+ | MinimumSpaceAboveAndBelow | double | no | The minimum space above and below a page. |
807
+
808
+ **Table 163**: PasteboardPreference Properties Represented as Elements
809
+
810
+ | Name | Type | Req | Description |
811
+ | -------------------------- | ----------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
812
+ | BleedGuideColor | InDesignUIColorType | no | The color of the bleed guides, as a UIColors enumeration or an RGB color as a list of three <ListItem> elements (in the order R, G, B). |
813
+ | PreviewBackgroundColor | InDesignUIColorType | no | The color of the pasteboard background, as a UIColors enumeration or an RGB color as a list of three <ListItem> elements (in the order R, G, B). |
814
+ | SlugGuideColor | InDesignUIColorType | no | The color of the slug guides, as a UIColors enumeration or an RGB color as a list of three <ListItem> elements (in the order R, G, B). |
815
+
816
+ ## 10.7.26 View Preference
817
+
818
+ The <ViewPreference> element controls the measurement units, ruler origin, and other user interface properties of the document.
819
+
820
+ Note: Changing the measurement units in the <ViewPreference> element only changes the units displayed and used in the In Design user interface after you have opened the IDML document. Measurement units inside the XML files in an IDML package are always points.
821
+
822
+ **Schema Example 135. View Preference**
823
+
824
+ ```
825
+ ViewPreference_Object = element ViewPreference { attribute PointsPerInch { xsd:double {minInclusive="60" maxInclusive="80"} }?, attribute HorizontalCustomPoints { xsd:double {minInclusive="4" maxInclusive="256"} }?, attribute VerticalCustomPoints { xsd:double {minInclusive="4" maxInclusive="256"} }?, attribute StrokeMeasurementUnits { MeasurementUnits_EnumValue }?, attribute GuideSnaptoZone { xsd:int {minInclusive="1" maxInclusive="36"} }?, attribute CursorKeyIncrement { xsd:double {minInclusive="0.001" maxInclusive="100"} }?, attribute HorizontalMeasurementUnits { MeasurementUnits_EnumValue }?, attribute VerticalMeasurementUnits { MeasurementUnits_EnumValue }?, attribute RulerOrigin { RulerOrigin_EnumValue }?, attribute ShowRulers { xsd:boolean }?, attribute ShowFrameEdges { xsd:boolean }?, attribute LineMeasurementUnits { MeasurementUnits_EnumValue }?, attribute TypographicMeasurementUnits { MeasurementUnits_EnumValue }?, attribute TextSizeMeasurementUnits { MeasurementUnits_EnumValue }?, attribute PrintDialogMeasurementUnits { MeasurementUnits_EnumValue }?, attribute ShowNotes { xsd:boolean }? }
826
+ ```
827
+
828
+ **Table 164**: ViewPreference Properties Represented as Attributes
829
+
830
+ | Name | Type | Req | Description |
831
+ | ------------------------------ | ----------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
832
+ | CursorKeyIncrement | double | no | The distance to move a specified object when an arrow key is pressed. (Range: 0.001 to 100.) |
833
+ | GuideSnaptoZone | int | no | The range (in pixels) within which an object snaps to guides. (Range: 1 to 36) Note: Snapping occurs only when guides are shown. |
834
+ | HorizontalCustomPoints | double | no | The distance (in points) between major tick marks on the horizontal ruler. (Range: 4 to 256) Valid only when horizontal measurement units is custom. |
835
+ | HorizontalMeasurementUnits | MeasurementUnits_EnumValue | no | The measurement unit for the horizontal ruler and other horizontally-measured spaces such as grid columns, horizontal offsets, column gut- ters, or others. Can be Points , Picas , Inches , InchesDecimal , Millimeters , Centimeters , Ciceros , Q , Ha , AmericanPoints , Custom , Agates , U , Bai , or Mil. |
836
+
837
+ | Name | Type | Req | Description |
838
+ | ------------------------------- | ----------------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
839
+ | LineMeasurementUnits | MeasurementUnits_EnumValue | no | Can be Points , Picas , Inches , InchesDecimal , Millimeters , Centimeters , Ciceros , Q , Ha , AmericanPoints , Custom , Agates , U , Bai , or Mil. |
840
+ | PointsPerInch | double | no | The number of points per inch, typically 72. (Range: 60 to 80) |
841
+ | PrintDialogMeasurementUnits | MeasurementUnits_EnumValue | no | The measurement units used in the Print dialog box. Can be Points , Picas , Inches , InchesDecimal , Millimeters , Centimeters , Ciceros , Q , Ha , AmericanPoints , Custom , Agates , U , Bai , or Mil. |
842
+ | RulerOrigin | RulerOrigin_EnumValue | no | The default zero point at the intersection of the vertical and horizontal rulers and the scope of the horizontal ruler. Can be SpreadOrigin , PageOrigin , SpineOrigin. |
843
+ | ShowFrameEdges | boolean | no | If true, displays borders of unselected frames and the diagonal lines in empty unselected frames. |
844
+ | ShowNotes | boolean | no | If true, notes are displayed. |
845
+ | ShowRulers | boolean | no | If true, displays the horizontal and vertical rulers. |
846
+ | TextSizeMeasurementUnits | MeasurementUnits_EnumValue | no | The measurement units used for text size. Can be Points , Picas , Inches , InchesDecimal , Millimeters , Centimeters , Ciceros , Q , Ha , AmericanPoints , Custom , Agates , U , Bai , or Mil. |
847
+ | TypographicMeasurementUnits | MeasurementUnits_EnumValue | no | The measurement units used for type format- ting properties (other than text size). Can be Points , Picas , Inches , InchesDecimal , Millimeters , Centimeters , Ciceros , Q , Ha , AmericanPoints , Custom , Agates , U , Bai , or Mil. |
848
+ | VerticalCustomPoints | double | no | The distance (in points) between major tick marks on the vertical ruler. (Range: 4 to 256) Valid only when VerticalMeasurementUnits is custom. |
849
+ | VerticalMeasurementUnits | MeasurementUnits_EnumValue | no | The measurement unit for the vertical ruler and other vertically-measured spaces such as grid rows, vertical offsets, row heights, or others. Can be Points , Picas , Inches , InchesDecimal , Millimeters , Centimeters , Ciceros , Q , Ha , AmericanPoints , Custom , Agates , U , Bai , or Mil. |
850
+
851
+ ## 10.7.27 Print Preference
852
+
853
+ The <PrintPreference> element stores the printing preferences for the document.
854
+
855
+ **Schema Example 136. Print Preference**
856
+
857
+ PrintPreference\_Object = element PrintPreference {
858
+
859
+ ```
860
+ attribute PrintFile { xsd:string }?, attribute Copies { xsd:int }?, attribute Collating { xsd:boolean }?, attribute ReverseOrder { xsd:boolean }?, attribute Sequence { Sequences_EnumValue }?, attribute PrintSpreads { xsd:boolean }?, attribute PrintMasterPages { xsd:boolean }?, attribute PrintNonprinting { xsd:boolean }?, attribute PrintBlankPages { xsd:boolean }?, attribute PrintGuidesGrids { xsd:boolean }?, attribute PaperOffset { xsd:double }?, attribute PaperGap { xsd:double }?, attribute PaperTransverse { xsd:boolean }?, attribute PrintPageOrientation { PrintPageOrientation_EnumValue }?, attribute PagePosition { PagePositions_EnumValue }?, attribute ScaleMode { ScaleModes_EnumValue }?, attribute ScaleWidth { xsd:double }?, attribute ScaleHeight { xsd:double }?, attribute ScaleProportional { xsd:boolean }?, attribute Thumbnails { xsd:boolean }?, attribute ThumbnailsPerPage { ThumbsPerPage_EnumValue }?, attribute Tile { xsd:boolean }?, attribute TilingType { TilingTypes_EnumValue }?, attribute TilingOverlap { xsd:double }?, attribute AllPrinterMarks { xsd:boolean }?, attribute CropMarks { xsd:boolean }?, attribute BleedMarks { xsd:boolean }?, attribute RegistrationMarks { xsd:boolean }?, attribute ColorBars { xsd:boolean }?, attribute PageInformationMarks { xsd:boolean }?, attribute MarkLineWeight { MarkLineWeight_EnumValue }?, attribute MarkOffset { xsd:double }?, attribute UseDocumentBleedToPrint { xsd:boolean }?, attribute BleedTop { xsd:double {minInclusive="0" maxInclusive="432"} }?, attribute BleedBottom { xsd:double {minInclusive="0" maxInclusive="432"} }?, attribute BleedInside { xsd:double {minInclusive="0" maxInclusive="432"} }?, attribute BleedOutside { xsd:double {minInclusive="0" maxInclusive="432"} }?, attribute IncludeSlugToPrint { xsd:boolean }?, attribute ColorOutput { ColorOutputModes_EnumValue }?, attribute TextAsBlack { xsd:boolean }?, attribute Trapping { Trapping_EnumValue }?, attribute Flip { Flip_EnumValue }?, attribute Negative { xsd:boolean }?, attribute CompositeAngle { xsd:double }?, attribute CompositeFrequency { xsd:double }?, attribute SimulateOverprint { xsd:boolean }?, attribute PrintCyan { xsd:boolean }?, attribute CyanAngle { xsd:double }?, attribute CyanFrequency { xsd:double }?, attribute PrintMagenta { xsd:boolean }?, attribute MagentaAngle { xsd:double }?, attribute MagentaFrequency { xsd:double }?, attribute PrintYellow { xsd:boolean }?, attribute YellowAngle { xsd:double }?, attribute YellowFrequency { xsd:double }?, attribute PrintBlack { xsd:boolean }?, attribute BlackAngle { xsd:double }?, attribute BlackFrequency { xsd:double }?, attribute SendImageData { ImageDataTypes_EnumValue }?, attribute FontDownloading { FontDownloading_EnumValue }?, attribute DownloadPPDFonts { xsd:boolean }?, attribute PostScriptLevel { PostScriptLevels_EnumValue }?, attribute DataFormat { DataFormat_EnumValue }?, attribute SourceSpace { SourceSpaces_EnumValue }?, attribute Intent { RenderingIntent_EnumValue }?, attribute OPIImageReplacement { xsd:boolean }?, attribute OmitEPS { xsd:boolean }?, attribute OmitPDF { xsd:boolean }?, attribute OmitBitmaps { xsd:boolean }?, attribute FlattenerPresetName { xsd:string }?, attribute IgnoreSpreadOverrides { xsd:boolean }?, attribute BleedChain { xsd:boolean }?, attribute PreserveColorNumbers { xsd:boolean }?, attribute BitmapPrinting { xsd:boolean }?, attribute BitmapResolution { xsd:int {minInclusive="72" maxInclusive="1200"} }?, attribute PrintLayers { PrintLayerOptions_EnumValue }?, attribute DeviceType { xsd:int }?, attribute PrintTo { xsd:int }?, attribute PPDFile { xsd:string }?, attribute PrintToDisk { xsd:boolean }?, attribute PrintRecord { xsd:string }?, attribute PrintResolution { xsd:double }?, attribute PaperSizeSelector { xsd:string }?, attribute PaperHeightRange { list { xsd:double ,xsd:double } }?, attribute PaperWidthRange { list { xsd:double ,xsd:double } }?, attribute PaperOffsetRange { list { xsd:double ,xsd:double } }?, attribute SeparationScreening { xsd:string }?, attribute CompositeScreening { xsd:string }?, attribute SpotAngle { xsd:double }?, attribute SpotFrequency { xsd:double }?, element Properties { element ActivePrinterPreset { (enum_type, PrinterPresetTypes_EnumValue ) | (string_type, xsd:string ) }?& element Printer { (enum_type, Printer_EnumValue ) | (string_type, xsd:string ) }?& element PPD { (enum_type, PPDValues_EnumValue ) | (string_type, xsd:string ) }?& element PaperSize { (enum_type, PaperSizes_EnumValue ) | (string_type, xsd:string ) }?& element PaperHeight { (enum_type, PaperSize_EnumValue ) | (unit_type, xsd:double ) }?& element PaperWidth { (enum_type, PaperSize_EnumValue ) | (unit_type, xsd:double ) }?& element MarkType { (enum_type, MarkTypes_EnumValue ) | (string_type, xsd:string ) }?& element Screening { (enum_type, Screeening_EnumValue ) | (string_type, xsd:string ) }?& element Profile { (enum_type, Profile_EnumValue ) | (string_type, xsd:string ) }?& element CRD { (enum_type, ColorRenderingDictionary_EnumValue ) | (string_type, xsd:string ) }?& element PageRange { (enum_type, PageRange_EnumValue ) | (string_type, xsd:string ) }?& element PaperSizeRect { RectangleBoundsType_TypeDef }?& element ImageablePaperSizeRect { RectangleBoundsType_TypeDef }? } ? }
861
+ ```
862
+
863
+ **Table 165**: Print Preference Properties Represented as Attributes
864
+
865
+ | Name | Type | Req | Description |
866
+ | ------------------ | --------- | ------- | -------------------------------------------------------------------------------------------------------------------- |
867
+ | AllPrinterMarks | boolean | no | If true, prints all printer marks. If false, prints specified printer marks. |
868
+ | BitmapPrinting | boolean | no | If true, uses bitmap printing. |
869
+ | BitmapResolution | int | no | The resolution for bitmap printing. (Range: 72 to 1200) Note: Valid when bitmap printing is true. |
870
+ | BlackAngle | double | no | The angle override for black ink. (Range: 0 to 360) |
871
+ | BlackFrequency | double | no | The frequency override for black ink. (Range: 1 to 500) |
872
+ | BleedBottom | double | no | The height of the bleed area at the bottom of the page. Note: Valid only when use document bleed to print is true. |
873
+
874
+ | Name | Type | Req | Description |
875
+ | ----------------------- | ----------------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
876
+ | BleedChain | boolean | no | If true, forces all bleed area settings to be the same, using the most recent bleed measurement setting. If false, allows bleed top, bleed bottom, bleed inside, and bleed outside to have different measurements. |
877
+ | BleedInside | double | no | The width of the bleed area at the inside of the page. Note: Valid only when use document bleed to print is true. (Range: 0 to 432) |
878
+ | BleedMarks | boolean | no | If true, print bleed marks. |
879
+ | BleedOutside | double | no | The width of the bleed area at the outside of the page. Note: Valid only when use document bleed to print is true. (Range: 0 to 432) |
880
+ | BleedTop | double | no | The height of the bleed area at the top of the page. Note: Valid only when use document bleed to print is true. (Range: 0 to 432) |
881
+ | Collating | boolean | no | If true, collate printed copies. |
882
+ | ColorBars | boolean | no | If true, add small squares of color representing the CMYKinks and tints of gray in 10% incre- ments. |
883
+ | ColorOutput | ColorOutputModes_EnumValue | no | The color output mode for composites. Note: Not valid when a device-independent PPD is specified. |
884
+ | CompositeAngle | double | no | The screen angle to use when printing compos- ites. (Range: 0 to 360) Note: Valid only for Post- Script or PDF files that use custom screening. |
885
+ | Composite Frequency | double | no | The screen frequency to use when printing com- posites. (Range: 1 to 500) Note: Valid only for PostScript or PDF files that use custom screen- ing. |
886
+ | Composite Screening | string | no | The screening applied to composite printing. |
887
+ | Copies | int | no | The number of copies to print. Note: Not valid when printer is PostScript File. |
888
+ | CropMarks | boolean | no | Prints crop marks that define where the page should be trimmed. |
889
+ | CyanAngle | double | no | The angle override for cyan ink. (Range: 0 to 360) |
890
+ | CyanFrequency | double | no | The frequency override for cyan ink. (Range: 1 to 500) |
891
+ | DataFormat | DataFormat_Enum Value | no | The format in which to send image data to the printer. |
892
+ | DeviceType | int | no | The type of the selected device. |
893
+ | DownloadPPDFonts | boolean | no | If true, downloads all fonts listed in the selected PPD. Valid only when font downloading is com- plete or subset. |
894
+ | FlattenerPreset Name | string | no | The name of the transparency flattener preset. |
895
+
896
+ | Name | Type | Req | Description |
897
+ | ------------------------- | ----------------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
898
+ | Flip | Flip_EnumValue | no | The direction in which to flip the printed image. |
899
+ | FontDownloading | FontDownloading_EnumValue | no | Controls how fonts are downloaded to the printer. |
900
+ | IgnoreSpread Overrides | boolean | no | If true, ignores flattener spread overrides. |
901
+ | IncludeSlugTo Print | boolean | no | If true, includes the slug area in the printed document. |
902
+ | Intent | RenderingIntent_EnumValue | no | The rendering intent. Note: Valid only when use color management is true. |
903
+ | MagentaAngle | double | no | The angle override for magenta ink. (Range: 0 to 360) |
904
+ | MagentaFrequency | double | no | The frequency override for magenta ink. (Range: 1 to 500) |
905
+ | MarkLineWeight | MarkLineWeight_EnumValue | no | The stroke weight (in points) for printer marks. |
906
+ | MarkOffset | double | no | The distance to offset the page marks from the edge of the page. |
907
+ | Negative | boolean | no | If true, prints the document as a negative. |
908
+ | OPIImage Replacement | boolean | no | If true, prints graphics that are either OPI com- ments stored in imported EPS files or linked using OPI comments. For information on link- ing files using OPI comments, see omit EPS, omit PDF, or omit bitmaps. |
909
+ | OmitBitmaps | boolean | no | If true, replaces bitmap images with OPI links. |
910
+ | OmitEPS | boolean | no | If true, replaces EPS images with OPI links. |
911
+ | OmitPDF | boolean | no | If true, replaces PDF images with OPI links. |
912
+ | PPDFile | string | no | The name of the PDF file. |
913
+ | PageInformation Marks | boolean | no | If true, prints the filename, page number, cur- rent date and time, and color separation name. |
914
+ | PagePosition | PagePositions_EnumValue | no | The position of the page on the printing medi- um. Note: Valid only when tile is false. |
915
+ | PaperGap | double | no | The space between document pages on the print- ing medium. |
916
+ | PaperHeightRange | list { double ,xsd:double } | no | Alist of the available paper heights. |
917
+ | PaperOffset | double | no | The amount of space to offset the page from the left edge of the imageable area. |
918
+ | PaperOffsetRange | list { double ,xsd:double } | no | Alist of the paper offset ranges. |
919
+ | PaperSizeSelector | string | no | The paper size selector. |
920
+ | PaperTransverse | boolean | no | If true, uses transverse orientation. |
921
+ | PaperWidthRange | list { double ,xsd:double } | no | Alist of the available paper widths. |
922
+
923
+ | Name | Type | Req | Description |
924
+ | ------------------------ | ------------------------------------ | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
925
+ | PostScriptLevel | PostScriptLevels_EnumValue | no | The PostScript level of the printer. |
926
+ | PreserveColor Numbers | boolean | no | If true, preserves uncalibrated color numbers. |
927
+ | PrintBlack | boolean | no | If true, prints the black ink. Note: Valid only when trapping is off. |
928
+ | PrintBlankPages | boolean | no | If true, prints blank pages. Note: Valid only when trapping is off. |
929
+ | PrintCyan | boolean | no | If true, prints the cyan ink. Note: Valid only when trapping is off. |
930
+ | PrintFile | string | no | The PostScript file to print to. Note: Valid only when the current printer is defined as postscript file. |
931
+ | PrintGuidesGrids | boolean | no | If true, prints visible guides and baseline grids. Note: Valid only when trapping is off. |
932
+ | PrintLayers | PrintLayer Options_EnumValue | no | The layers to print. |
933
+ | PrintMagenta | boolean | no | If true, prints the magenta ink. Note: Valid only when trapping is off. |
934
+ | PrintMasterPages | boolean | no | If true, prints master pages. |
935
+ | PrintNonprinting | boolean | no | If true, prints non-printing objects. Note: Valid only when trapping is off. |
936
+ | PrintPage Orientation | PrintPage Orientation_Enum Value | no | The orientation of the printed page. |
937
+ | PrintRecord | string | no | Cached data preserving the last print job (main- tained for file round trip). |
938
+ | PrintResolution | double | no | The resolution of the print job. |
939
+ | PrintSpreads | boolean | no | If true, prints each spread with all spread pages on a single sheet. If false, prints spread pages as separate pages. |
940
+ | PrintTo | int | no | The index of the selected printer in the list of available printers. |
941
+ | PrintToDisk | boolean | no | If true, print the file to disk as PostScript. |
942
+ | PrintYellow | boolean | no | If true, prints the yellow ink. Note: Valid only when trapping is off. |
943
+ | RegistrationMarks | boolean | no | If true, prints small targets outside the page area for aligning color separations. |
944
+ | ReverseOrder | boolean | no | If true, prints pages in reverse order. |
945
+ | ScaleHeight | double | no | The amount (as a percentage) that the page height is scaled during printing. (Range: 0 to 1000) Note: Valid only when scale mode is scale width height. |
946
+ | ScaleMode | ScaleModes_Enum Value | no | The policy for scaling the page. Note: Valid only when printing from Layout view. |
947
+
948
+ | Name | Type | Req | Description |
949
+ | --------------------------- | --------------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
950
+ | ScaleProportional | boolean | no | If true, constrains the proportions of the scaling; uses the most recent value for either scale width or scale height to define both values. Note: Valid only when scale mode is scale width height. |
951
+ | ScaleWidth | double | no | The amount (as a percentage) that the page width is scaled during printing. (Range: 0 to 1000) Note: Valid only when scale mode is scale width height. |
952
+ | SendImageData | ImageDataTypes_EnumValue | no | The image data sent to the printer or file. |
953
+ | Separation Screening | string | no | The screening to use when printing separations. |
954
+ | Sequence | Sequences_Enum Value | no | The sequence of pages to print. |
955
+ | SimulateOverprint | boolean | no | If true, simulates the effects of overprinting spot inks with different neutral density values by converting spot colors to process colors for printing. Note: Not valid when the color output mode is defined to leave color profiles unchanged. |
956
+ | SourceSpace | SourceSpaces_EnumValue | no | The source of the color management system. Note: Valid only when use color management is true. |
957
+ | SpotAngle | double | no | The angle of a spot ink. |
958
+ | SpotFrequency | double | no | The screen frequency of a spot ink. |
959
+ | TextAsBlack | boolean | no | If true, prints all text as black unless text has the color None or Paper or a color value that equals white. If false, prints colored text, such as blue hyperlinks, in halftone patterns. Note: Valid only when trapping is off. |
960
+ | Thumbnails | boolean | no | If true, prints thumbnails. Note: Valid only when trapping is off and tile is false. |
961
+ | ThumbnailsPerPage | ThumbsPerPage_EnumValue | no | The number of thumbnails per page. |
962
+ | Tile | boolean | no | If true, tiles pages. |
963
+ | TilingOverlap | double | no | The amount of tiling overlap. Note: Valid only when tiling is true and tiling type is not manual. |
964
+ | TilingType | TilingTypes_Enum Value | no | The tiling type. Note: Valid only when tiling is true. |
965
+ | Trapping | Trapping_Enum Value | no | The type of trapping. |
966
+ | UseDocumentBleed ToPrint | boolean | no | If true, uses the bleed area set for the document. |
967
+ | YellowAngle | double | no | The angle override for yellow ink. (Range: 0 to 360) |
968
+ | YellowFrequency | double | no | The frequency override for yellow ink. (Range: 1 to 500) |
969
+
970
+ **Table 166**: Print Preference Properties Represented as Elements
971
+
972
+ | Name | Type | Req | Description |
973
+ | -------------------------- | -------------------------------------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
974
+ | ActivePrinter Preset | PrinterPreset Types_EnumValue or string | no | The current printer preset, as a Printer PresetTypes enumeration or a reference to the Self attribute of a printer preset. |
975
+ | CRD | ColorRendering Dictionary_Enum Value or string | no | The current CRD, as a ColorRendering Dictionary enumeration or a string containing the name of the CRD. |
976
+ | ImageablePaper SizeRect | RectangleBounds Type_TypeDef | no | Arectangle defining the imageable area of the paper, as a space-separated list of four values (in the order left, top, right, bottom). |
977
+ | MarkType | MarkTypes_Enum Value or string | no | The type of printer marks, either a MarkTypes enumeration or the name of a custom marks file. |
978
+ | PPD | PPDValues_Enum Value or string | no | The PPD, specified as a PPDValues enumeration or as the name of the PPD. |
979
+ | PageRange | PageRange_Enum Value or string | no | The pages to print, specified either as a Page Range enumeration or a string. To specify a range, separate page numbers in the string with a hyphen (-). To specify separate pages, separate page numbers in the string with a comma (,). |
980
+ | PaperHeight | PaperSize_Enum Value or double | no | The paper height, as a PaperSize enumeration or double. Note: Valid only when paper size is custom or scale mode is scale width height. |
981
+ | PaperSize | PaperSizes_Enum Value or string | no | The paper height, as a PaperSize enumeration or string (the name of the paper size). |
982
+ | PaperSizeRect | RectangleBounds Type_TypeDef | no | Arectangle defining the size of the paper, as a space-separated list of four values (in the order left, top, right, bottom). |
983
+ | PaperWidth | PaperSize_Enum Value or double | no | The paper width, as a PaperSize enumeration or double. Note: Valid only when paper size is custom or scale mode is scale width height. |
984
+ | Printer | Printer_EnumValue or string | no | The current printer, as a Printer enumeration or string (name of the printer). |
985
+ | Profile | Profile_EnumValue or string | no | The color profile, as a Profile enumeration or string (the name of the profile). |
986
+ | Screening | Screening_Enum Value or string | | The ink screening settings for composite gray output in PostScript or PDF format. |
987
+
988
+ ## 10.7.28 Print Booklet Option
989
+
990
+ The <PrintBookletOption> defines the layout options for the booklet created when you use the Print Booklet feature. The printing options for the booklet are defined by the <PrintBookletPrintPreference> element.
991
+
992
+ **Schema Example 137. Print Booklet Option**
993
+
994
+ ```
995
+ PrintBookletOption_Object = element PrintBookletOption { attribute BookletType { BookletTypeOptions_EnumValue }?, attribute SpaceBetweenPages { xsd:double {minInclusive="0" maxInclusive="288"} }?, attribute BleedBetweenPages { xsd:double {minInclusive="0" maxInclusive="144"} }?, attribute Creep { xsd:double {minInclusive="144" maxInclusive="144"} }?, attribute SignatureSize { SignatureSizeOptions_EnumValue }?, attribute TopMargin { xsd:double {minInclusive="0" maxInclusive="288"} }?, attribute BottomMargin { xsd:double {minInclusive="0" maxInclusive="288"} }?, attribute LeftMargin { xsd:double {minInclusive="0" maxInclusive="288"} }?, attribute RightMargin { xsd:double {minInclusive="0" maxInclusive="288"} }?, attribute AutoAdjustMargins { xsd:boolean }?, attribute MarginsUniformSize { xsd:boolean }?, attribute PrintBlankPrinterSpreads { xsd:boolean }?, element Properties { element PageRange { (enum_type, PageRange_EnumValue ) | (string_type, xsd:string ) }? } ? }
996
+ ```
997
+
998
+ ## 10.7.29 Print Booklet Print Preference
999
+
1000
+ The printing options for the Print Booklet are defined by the <PrintBookletPrintPreference> element. The <PrintBookletOption> defines the layout options for the booklet.
1001
+
1002
+ **Schema Example 138. Print Booklet Print Preference**
1003
+
1004
+ ```
1005
+ PrintBookletPrintPreference_Object = element PrintBookletPrintPreference { attribute PrinterList { list { xsd:string * } }?, attribute PPDList { list { xsd:string * } }?, attribute PaperSizeList { list { xsd:string * } }?, attribute ScreeningList { list { xsd:string * } }?, attribute PrintFile { xsd:string }?, attribute Copies { xsd:int }?, attribute Collating { xsd:boolean }?, attribute ReverseOrder { xsd:boolean }?, attribute PrintNonprinting { xsd:boolean }?, attribute PrintBlankPages { xsd:boolean }?, attribute PrintGuidesGrids { xsd:boolean }?, attribute PaperOffset { xsd:double }?, attribute PaperGap { xsd:double }?, attribute PaperTransverse { xsd:boolean }?, attribute PrintPageOrientation { PrintPageOrientation_EnumValue }?, attribute PagePosition { PagePositions_EnumValue }?, attribute ScaleMode { ScaleModes_EnumValue }?, attribute ScaleWidth { xsd:double }?, attribute ScaleHeight { xsd:double }?, attribute ScaleProportional { xsd:boolean }?, attribute PrintLayers { PrintLayerOptions_EnumValue }?, attribute AllPrinterMarks { xsd:boolean }?, attribute CropMarks { xsd:boolean }?, attribute BleedMarks { xsd:boolean }?, attribute RegistrationMarks { xsd:boolean }?, attribute ColorBars { xsd:boolean }?, attribute PageInformationMarks { xsd:boolean }?, attribute MarkLineWeight { MarkLineWeight_EnumValue }?, attribute MarkOffset { xsd:double }?, attribute UseDocumentBleedToPrint { xsd:boolean }?, attribute BleedTop { xsd:double {minInclusive="0" maxInclusive="432"} }?, attribute BleedBottom { xsd:double {minInclusive="0" maxInclusive="432"} }?, attribute BleedInside { xsd:double {minInclusive="0" maxInclusive="432"} }?, attribute BleedOutside { xsd:double {minInclusive="0" maxInclusive="432"} }?, attribute BleedChain { xsd:boolean }?, attribute ColorOutput { ColorOutputModes_EnumValue }?, attribute TextAsBlack { xsd:boolean }?, attribute Trapping { Trapping_EnumValue }?, attribute Flip { Flip_EnumValue }?, attribute Negative { xsd:boolean }?, attribute CompositeAngle { xsd:double }?, attribute CompositeFrequency { xsd:double }?, attribute SimulateOverprint { xsd:boolean }?, attribute PrintCyan { xsd:boolean }?, attribute CyanAngle { xsd:double }?, attribute CyanFrequency { xsd:double }?, attribute PrintMagenta { xsd:boolean }?, attribute MagentaAngle { xsd:double }?, attribute MagentaFrequency { xsd:double }?, attribute PrintYellow { xsd:boolean }?, attribute YellowAngle { xsd:double }?, attribute YellowFrequency { xsd:double }?, attribute PrintBlack { xsd:boolean }?, attribute BlackAngle { xsd:double }?, attribute BlackFrequency { xsd:double }?, attribute SendImageData { ImageDataTypes_EnumValue }?, attribute FontDownloading { FontDownloading_EnumValue }?, attribute DownloadPPDFonts { xsd:boolean }?, attribute PostScriptLevel { PostScriptLevels_EnumValue }?, attribute DataFormat { DataFormat_EnumValue }?, attribute SourceSpace { SourceSpaces_EnumValue }?, attribute Intent { RenderingIntent_EnumValue }?, attribute PreserveColorNumbers { xsd:boolean }?, attribute OPIImageReplacement { xsd:boolean }?, attribute OmitEPS { xsd:boolean }?, attribute OmitPDF { xsd:boolean }?, attribute OmitBitmaps { xsd:boolean }?, attribute FlattenerPresetName { xsd:string }?, attribute IgnoreSpreadOverrides { xsd:boolean }?, attribute BitmapPrinting { xsd:boolean }?, attribute BitmapResolution { xsd:int {minInclusive="72" maxInclusive="1200"} }?, attribute DeviceType { xsd:int }?, attribute PrintTo { xsd:int }?, attribute PPDFile { xsd:string }?, attribute PrintToDisk { xsd:boolean }?, attribute PrintRecord { xsd:string }?, attribute PrintResolution { xsd:double }?, attribute PaperSizeSelector { xsd:string }?, attribute PaperHeightRange { list { xsd:double ,xsd:double } }?, attribute PaperWidthRange { list { xsd:double ,xsd:double } }?, attribute PaperOffsetRange { list { xsd:double ,xsd:double } }?, attribute SeparationScreening { xsd:string }?, attribute CompositeScreening { xsd:string }?, attribute SpotAngle { xsd:double }?, attribute SpotFrequency { xsd:double }?, element Properties { element Printer { (enum_type, Printer_EnumValue ) | (string_type, xsd:string ) }?& element PPD { (enum_type, PPDValues_EnumValue ) | (string_type, xsd:string ) }?& element PaperSize { (enum_type, PaperSizes_EnumValue ) | (string_type, xsd:string ) }?& element PaperHeight { (enum_type, PaperSize_EnumValue ) | (unit_type, xsd:double ) }?& element PaperWidth { (enum_type, PaperSize_EnumValue ) | (unit_type, xsd:double ) }?& element MarkType { (enum_type, MarkTypes_EnumValue ) | (string_type, xsd:string ) }?& element Screening { (enum_type, Screeening_EnumValue ) | (string_type, xsd:string ) }?& element Profile { (enum_type, Profile_EnumValue ) | (string_type, xsd:string ) }?& element CRD { (enum_type, ColorRenderingDictionary_EnumValue ) | (string_type, xsd:string ) }?& element ActivePrinterPreset { (enum_type, PrinterPresetTypes_EnumValue ) | (string_type, xsd:string ) }?& element PaperSizeRect { RectangleBoundsType_TypeDef }?& element ImageablePaperSizeRect { RectangleBoundsType_TypeDef }? } ?
1006
+ ```
1007
+
1008
+ }
1009
+
1010
+ ## 10.7.30 Index Options
1011
+
1012
+ The <IndexOptions> element stores settings for index creation. These options have no effect on indices already included in the IDML document.
1013
+
1014
+ **Schema Example 139. Index Options**
1015
+
1016
+ ```
1017
+ IndexOptions_Object = element IndexOptions { attribute Title { xsd:string }?, attribute TitleStyle { xsd:string }?, attribute ReplaceExistingIndex { xsd:boolean }?, attribute IncludeBookDocuments { xsd:boolean }?, attribute IncludeHiddenEntries { xsd:boolean }?, attribute IndexFormat { IndexFormat_EnumValue }?, attribute IncludeSectionHeadings { xsd:boolean }?, attribute IncludeEmptyIndexSections { xsd:boolean }?, attribute Level1Style { xsd:string }?, attribute Level2Style { xsd:string }?, attribute Level3Style { xsd:string }?, attribute Level4Style { xsd:string }?, attribute SectionHeadingStyle { xsd:string }?, attribute PageNumberStyle { xsd:string }?, attribute CrossReferenceStyle { xsd:string }?, attribute CrossReferenceTopicStyle { xsd:string }?, attribute FollowingTopicSeparator { xsd:string }?, attribute BetweenEntriesSeparator { xsd:string }?, attribute PageRangeSeparator { xsd:string }?, attribute BetweenPageNumbersSeparator { xsd:string }?, attribute BeforeCrossReferenceSeparator { xsd:string }?, attribute EntryEndSeparator { xsd:string }? }
1018
+ ```
1019
+
1020
+ ## 10.7.31 Index Header Setting
1021
+
1022
+ The <IndexHeaderSetting> element stores the strings used by the headers added to the index during index generation. These options have no effect on indices already included in the IDML document.
1023
+
1024
+ **Schema Example 140. Index Header Setting**
1025
+
1026
+ ```
1027
+ IndexHeaderSetting_Object = element IndexHeaderSetting { attribute HeaderSetName { xsd:string }?, attribute HeaderSetLanguage { xsd:int }?, attribute IndexHeaderSetHandler { xsd:int }?, attribute IndexHeaderSetGroupValue { xsd:int }?, attribute IndexHeaderSetGroupOptionValue { xsd:int }?, element Properties { element ListOfIndexHeaderGroup { element IndexHeaderGroupType { IndexHeaderGroupType_TypeDef }* }? } ? }
1028
+ ```
1029
+
1030
+ ## 10.7.32 Page Item Default
1031
+
1032
+ The <PageItemDefault> element controls the default page item formatting for an In Design document. Values that you specify here will apply to all page items that do not explicitly define these attributes and elements. All of the properties of the <PageItemDefault> element can be found in the 'Common Page Item Properites' section.
1033
+
1034
+ **Schema Example 141. Page Item Default**
1035
+
1036
+ ```
1037
+ PageItemDefault_Object = element PageItemDefault { attribute TopLeftCornerOption { CornerOptions_EnumValue }?, attribute TopRightCornerOption { CornerOptions_EnumValue }?, attribute BottomLeftCornerOption { CornerOptions_EnumValue }?, attribute BottomRightCornerOption { CornerOptions_EnumValue }?, attribute TopLeftCornerRadius { xsd:double }?, attribute TopRightCornerRadius { xsd:double }?, attribute BottomLeftCornerRadius { xsd:double }?, attribute BottomRightCornerRadius { xsd:double }?, attribute AppliedGraphicObjectStyle { xsd:string }?, attribute AppliedTextObjectStyle { xsd:string }?, attribute AppliedGridObjectStyle { xsd:string }?, attribute CornerOption { CornerOptions_EnumValue }?, attribute CornerRadius { xsd:double }?, attribute FillColor { xsd:string }?, attribute FillTint { xsd:double }?, attribute StrokeWeight { xsd:double }?, attribute MiterLimit { xsd:double {minInclusive="1" maxInclusive="500"} }?, attribute EndCap { EndCap_EnumValue }?, attribute EndJoin { EndJoin_EnumValue }?, attribute StrokeType { xsd:string }?, attribute LeftLineEnd { ArrowHead_EnumValue }?, attribute RightLineEnd { ArrowHead_EnumValue }?, attribute StrokeColor { xsd:string }?, attribute StrokeTint { xsd:double }?, attribute GradientFillAngle { xsd:double }?, attribute GradientStrokeAngle { xsd:double }?, attribute OverprintStroke { xsd:boolean }?, attribute OverprintFill { xsd:boolean }?, attribute GapColor { xsd:string }?, attribute GapTint { xsd:double }?, attribute OverprintGap { xsd:boolean }?, attribute StrokeAlignment { StrokeAlignment_EnumValue }?, attribute Nonprinting { xsd:boolean }?, ( TransparencySetting_Object?& StrokeTransparencySetting_Object?& FillTransparencySetting_Object?& ContentTransparencySetting_Object? ) }
1038
+ ```
1039
+
1040
+ ## 10.7.33 Frame Fitting Option
1041
+
1042
+ The <FrameFittingOption> element controls the default fitting behavior for all page items in a document. Values that you specify here will apply to all page items that do not explicitly define these attributes and elements. For more on frame fitting options, refer to the In Design documentation.
1043
+
1044
+ **Schema Example 142. Frame Fitting Option**
1045
+
1046
+ ```
1047
+ FrameFittingOption_Object = element FrameFittingOption { attribute AutoFit { xsd:boolean }?, attribute LeftCrop { xsd:double }?, attribute TopCrop { xsd:double }?, attribute RightCrop { xsd:double }?, attribute BottomCrop { xsd:double }?, attribute FittingOnEmptyFrame { EmptyFrameFittingOptions_EnumValue }?, attribute FittingAlignment { AnchorPoint_EnumValue }? }
1048
+ ```
1049
+
1050
+ ## 10.7.34 Button Preference
1051
+
1052
+ The <ButtonPreference> element controls the default fitting behavior for all buttons in a document. Values that you specify here will apply to all buttons that do not explicitly define these attributes and elements.
1053
+
1054
+ **Schema Example 143. Button Preference**
1055
+
1056
+ ```
1057
+ Button Preference_Object = element Button Preference { attribute Name { xsd:string }? }
1058
+ ```
1059
+
1060
+ ## 10.7.35 Tin Document DData Object
1061
+
1062
+ **Schema Example 144. Tin Document Data Object**
1063
+
1064
+ ```
1065
+ Tin Document Data Object_Object = element Tin Document Data Object { element Properties { element Gaiji Ref Maps { text }? } ? }
1066
+ ```
1067
+
1068
+ ## 10.7.36 Layout Grid Data Information
1069
+
1070
+ The <LayoutGridDataInformation> element controls the default layout grid for a document.
1071
+
1072
+ **Schema Example 145. Layout Grid Data Information**
1073
+
1074
+ ```
1075
+ LayoutGridDataInformation_Object = element LayoutGridDataInformation { attribute FontStyle { xsd:string }?, attribute PointSize { xsd:double }?, attribute CharacterAki { xsd:double }?, attribute LineAki { xsd:double }?, attribute HorizontalScale { xsd:double }?, attribute VerticalScale { xsd:double }?, element Properties { element AppliedFont { (object_type, xsd:string ) | (string_type, xsd:string ) }? } ? }
1076
+ ```
1077
+
1078
+ ## 10.7.37 Story Grid Data Information
1079
+
1080
+ The <StoryGridDataInformation> element controls the default story grid for a document.
1081
+
1082
+ **Schema Example 146. Story Grid Data Information**
1083
+
1084
+ ```
1085
+ StoryGridDataInformation_Object = element StoryGridDataInformation { attribute FontStyle { xsd:string }?, attribute PointSize { xsd:double }?, attribute CharacterAki { xsd:double }?, attribute LineAki { xsd:double }?, attribute HorizontalScale { xsd:double }?, attribute VerticalScale { xsd:double }?, attribute LineAlignment { LineAlignment_EnumValue }?, attribute GridAlignment { GridAlignment_EnumValue }?, attribute CharacterAlignment { CharacterAlignment_EnumValue }?, attribute GridView { GridViewSettings_EnumValue }?, attribute CharacterCountLocation { CharacterCountLocation_EnumValue }?, attribute CharacterCountSize { xsd:double }?, element Properties { element AppliedFont { (object_type, xsd:string ) | (string_type, xsd:string ) }? } ? }
1086
+ ```
1087
+
1088
+ ## 10.7.38 Cjk Grid Preference
1089
+
1090
+ **Schema Example 147. Cjk Grid Preference**
1091
+
1092
+ ```
1093
+ CjkGridPreference_Object = element CjkGridPreference { attribute ShowAllLayoutGrids { xsd:boolean }?, attribute ShowAllFrameGrids { xsd:boolean }?, attribute MinimumScale { xsd:double }?, attribute SnapToLayoutGrid { xsd:boolean }?, attribute ColorEveryNthCell { xsd:short }?, attribute SingleLineColorMode { xsd:boolean }?, attribute ICFMode { xsd:boolean }?, attribute UseCircularCells { xsd:boolean }?, attribute ShowCharacterCount { xsd:boolean }?, element Properties { element LayoutGridColorIndex { InDesignUIColorType_TypeDef }? } ? }
1094
+ ```
1095
+
1096
+ **Table 167**: Cjk Grid Preference Properties Represented as Attributes
1097
+
1098
+ | Name | Type | Req | Description |
1099
+ | ----------------------- | --------- | ------- | ------------------------------------------------------------------------------------------------------------------------------- |
1100
+ | ColorEveryNthCell | short | no | Applies the grid color to every nth cell, where n is the value of this property. |
1101
+ | ICFMode | boolean | no | If true, uses ICF mode for grid cells. If false, uses virtual body mode. |
1102
+ | MinimumScale | double | no | The view magnification (as a percentage) less than which grids do not appear. (Range: 5 to 4000) |
1103
+ | ShowAllFrameGrids | boolean | no | If true, displays the frame (story) grids. |
1104
+ | ShowAllLayout Grids | boolean | no | If true, displays the layout grids. |
1105
+ | ShowCharacter Count | boolean | no | If true, displays the character count for the frame. |
1106
+ | SingleLineColor Mode | boolean | no | If true, applies the grid color from the the edge of the line. If false, applies the grid color from the corner of the frame. |
1107
+ | SnapToLayoutGrid | boolean | no | If true, objects snap to the layout grid. |
1108
+ | UseCircularCells | boolean | no | If true, cell shape is circular. If false, cell shape is rectangular. |
1109
+
1110
+ ## **Table 168**: Cjk Grid Preference Properties Represented as Elements
1111
+
1112
+ | Name | Type | Req | Description |
1113
+ | ------------------------ | ----------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
1114
+ | LayoutGridColor Index | InDesignUIColor Type | no | The color of the layout grid as a UIColor enumeration or an RGB color as a list of three <ListItem> elements (in the order R, G, B). |
1115
+
1116
+ ## 10.7.39 Mojikumi Ui Preference
1117
+
1118
+ The <MojikumiUiPreference> element controls the user interface for Mojikumi.
1119
+
1120
+ **Schema Example 148. Mojikumi Ui Preference**
1121
+
1122
+ ```
1123
+ Mojikumi Ui Preference_Object = element Mojikumi Ui Preference { attribute Mojikumi Ui Settings { xsd:short }? }
1124
+ ```
1125
+
1126
+ **Table 169**: Mojikumi Ui Preference Properties Represented as Attributes
1127
+
1128
+ | Name | Type | Req | Description |
1129
+ | ---------------------- | -------- | ------- | ------------------------------------------------ |
1130
+ | MojikumiUi Settings | short | no | User interface settings for Mojikumi features. |
1131
+
1132
+ ## 10.7.40 Chapter Number Preference
1133
+
1134
+ The <ChapterNumberPreference> element stores information used by chapter numbering text variables in the document.
1135
+
1136
+ **Schema Example 149. Chapter Number Preference**
1137
+
1138
+ ```
1139
+ Chapter Number Preference_Object = element Chapter Number Preference { attribute Chapter Number { xsd:int }?, attribute Chapter Number Source { Chapter Number Sources_Enum Value }?, element Properties { element Chapter Number Format { (enum_type, Numbering Style_Enum Value ) | (string_type, xsd:string ) }? } ? }
1140
+ ```
1141
+
1142
+ **Table 170**: Chapter Number Preference Properties Represented as Attributes
1143
+
1144
+ | Name | Type | Req | Description |
1145
+ | ----------------------- | ---------------------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------- |
1146
+ | ChapterNumber | int | no | Chapter number. |
1147
+ | ChapterNumber Source | ChapterNumber Sources_EnumValue | no | Source for generating the chapter number. Can be UserDefined , ContinueFromPrevious Document , or SameAsPreviousDocument. |
1148
+
1149
+ **Table 171**: Chapter Number Preference Properties Represented as Elements
1150
+
1151
+ | Name | Type | Req | Description |
1152
+ | ----------------------- | -------------------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1153
+ | ChapterNumber Format | NumberingStyle_EnumValue or string. | no | The chapter numbering type, as a NumberingStyle enumeration or as a string. The string corresponds to the options found on the Style pop-up menu in the Document Chapter Numbering section of the Num- bering &Section Options dialog box in InDesign's user interface. Can be UpperRoman , LowerRoman , UpperLetters , LowerLetters , Arabic , Kanji , KatakanaModern , KatakanaTraditional , FormatNone , SingleLeadingZeros , ArabicAlifBaTah , ArabicAbjad , HebrewBiblical , HebrewNonStandard , DoubleLeadingZeros , or TripleLeadingZeros. |