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,1154 @@
1
+ ## 10.8 Styles
2
+
3
+ An In Design document contains a number of style objects: notably paragraph styles, character styles, and object styles, but also including table styles, cell styles, and anchored object settings. In an IDML package, the Styles.xml file in the Resources folder contains the styles used in the document.
4
+
5
+ ### 10.8.1 Style Paths and the Self Attribute
6
+
7
+ When you create a reference to a style in an IDML package, you specify the location of the style element using a path-like syntax. For example, when you want to refer to a paragraph style named 'Heading1' in the <RootParagraphStyle> element of a document, you use the value of its Self attribute:
8
+
9
+ `\ParagraphStyles\Heading1`
10
+
11
+ When a style appears within a style group other than the root style group, InDesign does not use a backslash as a path separator; instead, a colon is used. The colon apppears in the Name attribute of the style, but is encoded as `%3a` when it appears in the `Self` attribute, as shown in the example below:
12
+
13
+ ```xml
14
+ <ParagraphStyle Self="ParagraphStyle\Headings%3aHeading1" Name="Headings:Heading1">
15
+ ```
16
+
17
+ In the following example, a paragraph style group named 'TableHeadings' has been created inside the 'Headings' paragraph style group.
18
+
19
+ ```xml
20
+ <ParagraphStyle Self="ParagraphStyle\Headings%3a Table Headings%3a Table Heading1" Name="Headings:TableHeadings:TableHeading1">
21
+ ```
22
+
23
+ ### 10.8.2 ParagraphStyles
24
+
25
+ A paragraph style includes both character and paragraph formatting attributes, and can be applied to a paragraph or range of paragraphs. Paragraph styles can define every formatting attribute that can be applied to a range of paragraphs, including character formatting. Paragraph styles in an In Design document can be stored in paragraph styles groups for organizational purposes. In IDML, it is not necessary to define every formatting attribute of a paragraph style, but you should be aware that values that you do not include will be defined using the application's defaults.
26
+
27
+ Each IDML package document contains a <RootParagraphStyleGroup> element, which, in turn, contains all of the <ParagraphStyle> and <ParagraphStyleGroup> elements in the IDML package. A <ParagraphStyleGroup> element can contain other <ParagraphStyleGroup> elements. The following figure shows the relationship between the elements in an example InDesign document.
28
+
29
+ **Figure 56**: Example RootParagraphStyleGroup, ParagraphStyle, and ParagraphStyleGroup Elements (Self attribute values shown)
30
+
31
+ ![Image](images/10_8_styles_img006.png)
32
+
33
+ The <RootParagraphStyleGroup> and <ParagraphStyleGroup> elements have the same structure.
34
+
35
+ **Schema Example 150. ParagraphStyleGroup**
36
+
37
+ ```rnc
38
+ ParagraphStyleGroup_Object = element ParagraphStyleGroup { attribute Self { xsd:string }, attribute Name { xsd:string }, element Properties { element Label { element KeyValuePair { KeyValuePair_TypeDef }* }? } ?, ( ParagraphStyle_Object*& ParagraphStyleGroup_Object* )}
39
+ ```
40
+
41
+ In Design documents always include two default paragraph styles, 'Normal Paragraph Style' and '[No Paragraph Style].' The former style can be edited by the user (it appears as 'Basic Paragraph Style' in the user interface); the latter contains default formatting and cannot be edited.
42
+
43
+ Many document designs feature hierarchies of styles sharing certain attributes. The headings and subheads, for example, often use the same font. You can easily create links between similar styles by creating a base, or parent, style. When you edit the parent style, the child styles will change as well. You can then edit the child styles to distinguish it from the parent style. The Based On attribute of a paragraph style refers to the parent style of a <ParagraphStyle> element.
44
+
45
+ The Next Style attribute only affects the user interface, and automatically applies styles as the user types text. If, for example, your document's design calls for the style 'body text' to follow a heading style named 'heading 1,' you can set the Next Style option for 'heading 1' to 'body text.' After you've typed a paragraph styled with 'heading 1,' pressing Enter or Return starts a new paragraph styled with 'body text.'
46
+
47
+ The following example shows an example <ParagraphStyleGroup> element inside the <RootParagraphStyleGroup> element. We have omitted the formatting specified in the individual <ParagraphStyle> elements for clarity.
48
+
49
+ **IDML Example 89. ParagraphStyleGroup**
50
+
51
+ ```xml
52
+ <idPkg:Styles xmlns:idPkg="http://ns.adobe.com/AdobeInDesign/idml/1.0/packaging">
53
+ <RootParagraphStyleGroup Self="u69">
54
+ <ParagraphStyleGroup Self="ParagraphStyleGroup\Headings" Name="Headings">
55
+ <ParagraphStyle Self="ParagraphStyle\Headings%3aHeading1" Name="Headings:Heading1">
56
+ </ParagraphStyle>
57
+ <ParagraphStyle Self="ParagraphStyle\Headings%3aHeading2" Name="Headings:Heading2">
58
+ </ParagraphStyle>
59
+ <ParagraphStyle Self="ParagraphStyle\Headings%3aHeading3" Name="Headings:Heading3">
60
+ </ParagraphStyle>
61
+ </ParagraphStyleGroup>
62
+ </RootParagraphStyleGroup>
63
+ </idPkg:Styles>
64
+ ```
65
+
66
+ **Schema Example 151. ParagraphStyle**
67
+
68
+ ```rnc
69
+ ParagraphStyle_Object = element ParagraphStyle {
70
+ attribute Self { xsd:string },
71
+ attribute Name { xsd:string },
72
+ attribute Imported { xsd:boolean }?,
73
+ attribute NextStyle { xsd:string }?,
74
+ attribute FontStyle { xsd:string }?,
75
+ attribute PointSize { xsd:double }?,
76
+ attribute KerningMethod { xsd:string }?,
77
+ attribute Tracking { xsd:double }?,
78
+ attribute Capitalization { Capitalization_EnumValue }?,
79
+ attribute Position { Position_EnumValue }?,
80
+ attribute Underline { xsd:boolean }?,
81
+ attribute StrikeThru { xsd:boolean }?,
82
+ attribute Ligatures { xsd:boolean }?,
83
+ attribute NoBreak { xsd:boolean }?,
84
+ attribute HorizontalScale { xsd:double }?,
85
+ attribute VerticalScale { xsd:double }?,
86
+ attribute BaselineShift { xsd:double }?,
87
+ attribute Skew { xsd:double }?,
88
+ attribute FillTint { xsd:double }?,
89
+ attribute StrokeTint { xsd:double }?,
90
+ attribute StrokeWeight { xsd:double }?,
91
+ attribute OverprintStroke { xsd:boolean }?,
92
+ attribute OverprintFill { xsd:boolean }?,
93
+ attribute OTFFigureStyle { OTFFigureStyle_EnumValue }?,
94
+ attribute OTFOrdinal { xsd:boolean }?,
95
+ attribute OTFFraction { xsd:boolean }?,
96
+ attribute OTFDiscretionaryLigature { xsd:boolean }?,
97
+ attribute OTFTitling { xsd:boolean }?,
98
+ attribute OTFContextualAlternate { xsd:boolean }?,
99
+ attribute OTFSwash { xsd:boolean }?,
100
+ attribute UnderlineTint { xsd:double }?,
101
+ attribute UnderlineGapTint { xsd:double }?,
102
+ attribute UnderlineOverprint { xsd:boolean }?,
103
+ attribute UnderlineGapOverprint { xsd:boolean }?,
104
+ attribute UnderlineOffset { xsd:double }?,
105
+ attribute UnderlineWeight { xsd:double }?,
106
+ attribute StrikeThroughTint { xsd:double }?,
107
+ attribute StrikeThroughGapTint { xsd:double }?,
108
+ attribute StrikeThroughOverprint { xsd:boolean }?,
109
+ attribute StrikeThroughGapOverprint { xsd:boolean }?,
110
+ attribute StrikeThroughOffset { xsd:double }?,
111
+ attribute StrikeThroughWeight { xsd:double }?,
112
+ attribute FillColor { xsd:string }?,
113
+ attribute StrokeColor { xsd:string }?,
114
+ attribute AppliedLanguage { xsd:string }?,
115
+ attribute ParagraphKashidaWidth { xsd:double }?,
116
+ attribute FirstLineIndent { xsd:double }?,
117
+ attribute LeftIndent { xsd:double }?,
118
+ attribute RightIndent { xsd:double }?,
119
+ attribute SpaceBefore { xsd:double }?,
120
+ attribute SpaceAfter { xsd:double }?,
121
+ attribute Justification { Justification_EnumValue }?,
122
+ attribute SingleWordJustification { SingleWordJustification_EnumValue }?,
123
+ attribute AutoLeading { xsd:double }?,
124
+ attribute DropCapLines { xsd:short {minInclusive="0" maxInclusive="25"} }?,
125
+ attribute DropCapCharacters { xsd:short {minInclusive="0" maxInclusive="150"}
126
+ }?,
127
+ attribute KeepLinesTogether { xsd:boolean }?,
128
+ attribute KeepAllLinesTogether { xsd:boolean }?,
129
+ attribute KeepWithNext { xsd:short {minInclusive="0" maxInclusive="5"} }?,
130
+ attribute KeepFirstLines { xsd:short {minInclusive="1" maxInclusive="50"} }?,
131
+ attribute KeepLastLines { xsd:short {minInclusive="1" maxInclusive="50"} }?,
132
+ attribute StartParagraph { StartParagraph_EnumValue }?,
133
+ attribute Composer { xsd:string }?,
134
+ attribute MinimumWordSpacing { xsd:double }?,
135
+ attribute MaximumWordSpacing { xsd:double }?,
136
+ attribute DesiredWordSpacing { xsd:double }?,
137
+ attribute MinimumLetterSpacing { xsd:double }?,
138
+ attribute MaximumLetterSpacing { xsd:double }?,
139
+ attribute DesiredLetterSpacing { xsd:double }?,
140
+ attribute MinimumGlyphScaling { xsd:double }?,
141
+ attribute MaximumGlyphScaling { xsd:double }?,
142
+ attribute DesiredGlyphScaling { xsd:double }?,
143
+ attribute RuleAbove { xsd:boolean }?,
144
+ attribute RuleAboveOverprint { xsd:boolean }?,
145
+ attribute RuleAboveLineWeight { xsd:double }?,
146
+ attribute RuleAboveTint { xsd:double }?,
147
+ attribute RuleAboveOffset { xsd:double }?,
148
+ attribute RuleAboveLeftIndent { xsd:double }?,
149
+ attribute RuleAboveRightIndent { xsd:double }?,
150
+ attribute RuleAboveWidth { RuleWidth_EnumValue }?,
151
+ attribute RuleAboveGapTint { xsd:double }?,
152
+ attribute RuleAboveGapOverprint { xsd:boolean }?,
153
+ attribute RuleBelow { xsd:boolean }?,
154
+ attribute RuleBelowLineWeight { xsd:double }?,
155
+ attribute RuleBelowTint { xsd:double }?,
156
+ attribute RuleBelowOffset { xsd:double }?,
157
+ attribute RuleBelowLeftIndent { xsd:double }?,
158
+ attribute RuleBelowRightIndent { xsd:double }?,
159
+ attribute RuleBelowWidth { RuleWidth_EnumValue }?,
160
+ attribute RuleBelowGapTint { xsd:double }?,
161
+ attribute HyphenateCapitalizedWords { xsd:boolean }?,
162
+ attribute Hyphenation { xsd:boolean }?,
163
+ attribute HyphenateBeforeLast { xsd:short {minInclusive="1" maxInclusive="15"}
164
+ }?,
165
+ attribute HyphenateAfterFirst { xsd:short {minInclusive="1" maxInclusive="15"}
166
+ }?,
167
+ attribute HyphenateWordsLongerThan { xsd:short {minInclusive="3"
168
+ maxInclusive="25"} }?,
169
+ attribute HyphenateLadderLimit { xsd:short {minInclusive="0" maxInclusive="25"}
170
+ }?,
171
+ attribute HyphenationZone { xsd:double }?,
172
+ attribute HyphenWeight { xsd:short {minInclusive="0" maxInclusive="10"} }?,
173
+ attribute KeyboardShortcut { list { xsd:short ,xsd:short } }?,
174
+ attribute LastLineIndent { xsd:double }?,
175
+ attribute HyphenateLastWord { xsd:boolean }?,
176
+ attribute OTFSlashedZero { xsd:boolean }?,
177
+ attribute OTFHistorical { xsd:boolean }?,
178
+ attribute OTFStylisticSets { xsd:int }?,
179
+ attribute GradientFillLength { xsd:double }?,
180
+ attribute GradientFillAngle { xsd:double }?,
181
+ attribute GradientStrokeLength { xsd:double }?,
182
+ attribute GradientStrokeAngle { xsd:double }?,
183
+ attribute GradientFillStart { UnitPointType_TypeDef }?,
184
+ attribute GradientStrokeStart { UnitPointType_TypeDef }?,
185
+ attribute KeepWithPrevious { xsd:boolean }?,
186
+ attribute SpanColumnType { SpanColumnTypeOptions_EnumValue }?,
187
+ attribute SplitColumnInsideGutter { xsd:double }?,
188
+ attribute SplitColumnOutsideGutter { xsd:double }?,
189
+ attribute SpanColumnMinSpaceBefore { xsd:double }?,
190
+ attribute SpanColumnMinSpaceAfter { xsd:double }?,
191
+ attribute RuleBelowOverprint { xsd:boolean }?,
192
+ attribute RuleBelowGapOverprint { xsd:boolean }?,
193
+ attribute DropcapDetail { xsd:int }?,
194
+ attribute HyphenateAcrossColumns { xsd:boolean }?,
195
+ attribute KeepRuleAboveInFrame { xsd:boolean }?,
196
+ attribute IgnoreEdgeAlignment { xsd:boolean }?,
197
+ attribute OTFMark { xsd:boolean }?,
198
+ attribute OTFLocale { xsd:boolean }?,
199
+ attribute PositionalForm { PositionalForms_EnumValue }?,
200
+ attribute ParagraphDirection { ParagraphDirectionOptions_EnumValue }?,
201
+ attribute ParagraphJustification { ParagraphJustificationOptions_EnumValue }?,
202
+ attribute MiterLimit { xsd:double {minInclusive="0" maxInclusive="1000"} }?,
203
+ attribute StrokeAlignment { TextStrokeAlign_EnumValue }?,
204
+ attribute EndJoin { OutlineJoin_EnumValue }?,
205
+ attribute OTFOverlapSwash { xsd:boolean }?,
206
+ attribute OTFStylisticAlternate { xsd:boolean }?,
207
+ attribute OTFJustificationAlternate { xsd:boolean }?,
208
+ attribute OTFStretchedAlternate { xsd:boolean }?,
209
+ attribute CharacterDirection { CharacterDirectionOptions_EnumValue }?,
210
+ attribute KeyboardDirection { CharacterDirectionOptions_EnumValue }?,
211
+ attribute DigitsType { DigitsTypeOptions_EnumValue }?,
212
+ attribute Kashidas { KashidasOptions_EnumValue }?,
213
+ attribute DiacriticPosition { DiacriticPositionOptions_EnumValue }?,
214
+ attribute XOffsetDiacritic { xsd:double }?,
215
+ attribute YOffsetDiacritic { xsd:double }?,
216
+ attribute ParagraphBreakType { ParagraphBreakTypes_EnumValue }?,
217
+ attribute PageNumberType { PageNumberTypes_EnumValue }?,
218
+ attribute GridAlignFirstLineOnly { xsd:boolean }?,
219
+ attribute GridAlignment { GridAlignment_EnumValue }?,
220
+ attribute GridGyoudori { xsd:short }?,
221
+ attribute AutoTcy { xsd:short }?,
222
+ attribute AutoTcyIncludeRoman { xsd:boolean }?,
223
+ attribute KinsokuType { KinsokuType_EnumValue }?,
224
+ attribute KinsokuHangType { KinsokuHangTypes_EnumValue }?,
225
+ attribute BunriKinshi { xsd:boolean }?,
226
+ attribute Rensuuji { xsd:boolean }?,
227
+ attribute RotateSingleByteCharacters { xsd:boolean }?,
228
+ attribute LeadingModel { LeadingModel_EnumValue }?,
229
+ attribute CharacterAlignment { CharacterAlignment_EnumValue }?,
230
+ attribute Tsume { xsd:double }?,
231
+ attribute LeadingAki { xsd:double }?,
232
+ attribute TrailingAki { xsd:double }?,
233
+ attribute CharacterRotation { xsd:double }?,
234
+ attribute Jidori { xsd:short }?,
235
+ attribute ShataiMagnification { xsd:double }?,
236
+ attribute ShataiDegreeAngle { xsd:double }?,
237
+ attribute ShataiAdjustRotation { xsd:boolean }?,
238
+ attribute ShataiAdjustTsume { xsd:boolean }?,
239
+ attribute Tatechuyoko { xsd:boolean }?,
240
+ attribute TatechuyokoXOffset { xsd:double }?,
241
+ attribute TatechuyokoYOffset { xsd:double }?,
242
+ attribute KentenTint { xsd:double }?,
243
+ attribute KentenStrokeTint { xsd:double }?,
244
+ attribute KentenWeight { xsd:double }?,
245
+ attribute KentenOverprintFill { AdornmentOverprint_EnumValue }?,
246
+ attribute KentenOverprintStroke { AdornmentOverprint_EnumValue }?,
247
+ attribute KentenKind { KentenCharacter_EnumValue }?,
248
+ attribute KentenPlacement { xsd:double }?,
249
+ attribute KentenAlignment { KentenAlignment_EnumValue }?,
250
+ attribute KentenPosition { RubyKentenPosition_EnumValue }?,
251
+ attribute KentenFontSize { xsd:double }?,
252
+ attribute KentenXScale { xsd:double }?,
253
+ attribute KentenYScale { xsd:double }?,
254
+ attribute KentenCustomCharacter { xsd:string }?,
255
+ attribute KentenCharacterSet { KentenCharacterSet_EnumValue }?,
256
+ attribute RubyTint { xsd:double }?,
257
+ attribute RubyWeight { xsd:double }?,
258
+ attribute RubyOverprintFill { AdornmentOverprint_EnumValue }?,
259
+ attribute RubyOverprintStroke { AdornmentOverprint_EnumValue }?,
260
+ attribute RubyStrokeTint { xsd:double }?,
261
+ attribute RubyFontSize { xsd:double }?,
262
+ attribute RubyOpenTypePro { xsd:boolean }?,
263
+ attribute RubyXScale { xsd:double }?,
264
+ attribute RubyYScale { xsd:double }?,
265
+ attribute RubyType { RubyTypes_EnumValue }?,
266
+ attribute RubyAlignment { RubyAlignments_EnumValue }?,
267
+ attribute RubyPosition { RubyKentenPosition_EnumValue }?,
268
+ attribute RubyXOffset { xsd:double }?,
269
+ attribute RubyYOffset { xsd:double }?,
270
+ attribute RubyParentSpacing { RubyParentSpacing_EnumValue }?,
271
+ attribute RubyAutoAlign { xsd:boolean }?,
272
+ attribute RubyOverhang { xsd:boolean }?,
273
+ attribute RubyAutoScaling { xsd:boolean }?,
274
+ attribute RubyParentScalingPercent { xsd:double }?,
275
+ attribute RubyParentOverhangAmount { RubyOverhang_EnumValue }?,
276
+ attribute Warichu { xsd:boolean }?,
277
+ attribute WarichuSize { xsd:double }?,
278
+ attribute WarichuLines { xsd:short }?,
279
+ attribute WarichuLineSpacing { xsd:double }?,
280
+ attribute WarichuAlignment { WarichuAlignment_EnumValue }?,
281
+ attribute WarichuCharsAfterBreak { xsd:short }?,
282
+ attribute WarichuCharsBeforeBreak { xsd:short }?,
283
+ attribute OTFProportionalMetrics { xsd:boolean }?,
284
+ attribute OTFHVKana { xsd:boolean }?,
285
+ attribute OTFRomanItalics { xsd:boolean }?,
286
+ attribute ScaleAffectsLineHeight { xsd:boolean }?,
287
+ attribute CjkGridTracking { xsd:boolean }?,
288
+ attribute GlyphForm { AlternateGlyphForms_EnumValue }?,
289
+ attribute ParagraphGyoudori { xsd:boolean }?,
290
+ attribute RubyAutoTcyDigits { xsd:short }?,
291
+ attribute RubyAutoTcyIncludeRoman { xsd:boolean }?,
292
+ attribute RubyAutoTcyAutoScale { xsd:boolean }?,
293
+ attribute TreatIdeographicSpaceAsSpace { xsd:boolean }?,
294
+ attribute AllowArbitraryHyphenation { xsd:boolean }?,
295
+ attribute BulletsAndNumberingListType { ListType_EnumValue }?,
296
+ attribute NumberingExpression { xsd:string }?,
297
+ attribute BulletsTextAfter { xsd:string }?,
298
+ attribute NumberingLevel { xsd:int }?,
299
+ attribute NumberingContinue { xsd:boolean }?,
300
+ attribute NumberingStartAt { xsd:int }?,
301
+ attribute NumberingApplyRestartPolicy { xsd:boolean }?,
302
+ attribute BulletsAlignment { ListAlignment_EnumValue }?,
303
+ attribute NumberingAlignment { ListAlignment_EnumValue }?,
304
+ element Properties {
305
+ element BasedOn {
306
+ (object_type, xsd:string ) |
307
+ (string_type, xsd:string )
308
+ }?&
309
+ element AppliedFont {
310
+ (object_type, xsd:string ) |
311
+ (string_type, xsd:string )
312
+ }?&
313
+ element Leading {
314
+ (unit_type, xsd:double ) |
315
+ (enum_type, Leading_EnumValue )
316
+ }?&
317
+ element UnderlineColor {
318
+ (object_type, xsd:string ) |
319
+ (string_type, xsd:string )
320
+ }?&
321
+ element UnderlineGapColor {
322
+ (object_type, xsd:string ) |
323
+ (string_type, xsd:string )
324
+ }?&
325
+ element UnderlineType {
326
+ (object_type, xsd:string ) |
327
+ (string_type, xsd:string )
328
+ }?&
329
+ element StrikeThroughColor {
330
+ (object_type, xsd:string ) |
331
+ (string_type, xsd:string )
332
+ }?&
333
+ element StrikeThroughGapColor {
334
+ (object_type, xsd:string ) |
335
+ (string_type, xsd:string )
336
+ }?&
337
+ element StrikeThroughType {
338
+ (object_type, xsd:string ) |
339
+ (string_type, xsd:string )
340
+ }?&
341
+ element BalanceRaggedLines {
342
+ (bool_type, xsd:boolean ) |
343
+ (enum_type, BalanceLinesStyle_EnumValue )
344
+ }?&
345
+ element RuleAboveColor {
346
+ (object_type, xsd:string ) |
347
+ (string_type, xsd:string )
348
+ }?&
349
+ element RuleAboveGapColor {
350
+ (object_type, xsd:string ) |
351
+ (string_type, xsd:string )
352
+ }?&
353
+ element RuleAboveType {
354
+ (object_type, xsd:string ) |
355
+ (string_type, xsd:string )
356
+ }?&
357
+ element RuleBelowColor {
358
+ (object_type, xsd:string ) |
359
+ (string_type, xsd:string )
360
+ }?&
361
+ element RuleBelowGapColor {
362
+ (object_type, xsd:string ) |
363
+ (string_type, xsd:string )
364
+ }?&
365
+ element RuleBelowType {
366
+ (object_type, xsd:string ) |
367
+ (string_type, xsd:string )
368
+ }?&
369
+ element SpanSplitColumnCount {
370
+ (short_type, xsd:short {minInclusive="1" maxInclusive="40"} ) |
371
+ (enum_type, SpanColumnCountOptions_EnumValue )
372
+ }?&
373
+ element PreviewColor {
374
+ (InDesignUIColorType_TypeDef ) |
375
+ (enum_type, NothingEnum_EnumValue )
376
+ }?&
377
+ element AllLineStyles { list_type, element ListItem {
378
+ record_type,
379
+ (
380
+ element AppliedCharacterStyle { object_type, xsd:string }&
381
+ element LineCount { long_type, xsd:int }&
382
+ element RepeatLast { long_type, xsd:int })
383
+ }*
384
+ }?&
385
+ element AllGREPStyles { list_type, element ListItem {
386
+ record_type,
387
+ (
388
+ element AppliedCharacterStyle { object_type, xsd:string }&
389
+ element GrepExpression { string_type, xsd:string })
390
+ }*
391
+ }?&
392
+ element AllNestedStyles { list_type, element ListItem {
393
+ record_type,
394
+ (
395
+ element AppliedCharacterStyle { object_type, xsd:string }&
396
+ element Delimiter {
397
+ (string_type, xsd:string ) |
398
+ (enum_type, NestedStyleDelimiters_EnumValue )
399
+ }&
400
+ element Repetition { long_type, xsd:int }&
401
+ element Inclusive { bool_type, xsd:boolean })
402
+ }*
403
+ }?&
404
+ element TabList { list_type, element ListItem {
405
+ record_type,
406
+ (
407
+ element Alignment { enum_type, TabStopAlignment_EnumValue }&
408
+ element AlignmentCharacter { string_type, xsd:string }&
409
+ element Leader { string_type, xsd:string }&
410
+ element Position { unit_type, xsd:double })
411
+ }*
412
+ }?&
413
+ element KinsokuSet {
414
+ (object_type, xsd:string ) |
415
+ (enum_type, KinsokuSet_EnumValue ) |
416
+ (string_type, xsd:string )
417
+ }?&
418
+ element Mojikumi {
419
+ (object_type, xsd:string ) |
420
+ (string_type, xsd:string ) |
421
+ (enum_type, MojikumiTableDefaults_EnumValue )
422
+ }?&
423
+ element KentenFillColor {
424
+ (object_type, xsd:string ) |
425
+ (string_type, xsd:string )
426
+ }?&
427
+ element KentenStrokeColor {
428
+ (object_type, xsd:string ) |
429
+ (string_type, xsd:string )
430
+ }?&
431
+ element KentenFont {
432
+ (object_type, xsd:string ) |
433
+ (string_type, xsd:string )
434
+ }?&
435
+ element KentenFontStyle {
436
+ (string_type, xsd:string ) |
437
+ (enum_type, NothingEnum_EnumValue )
438
+ }?&
439
+ element RubyFill {
440
+ (object_type, xsd:string ) |
441
+ (string_type, xsd:string )
442
+ }?&
443
+ element RubyStroke {
444
+ (object_type, xsd:string ) |
445
+ (string_type, xsd:string )
446
+ }?&
447
+ element RubyFont {
448
+ (object_type, xsd:string ) |
449
+ (string_type, xsd:string )
450
+ }?&
451
+ element RubyFontStyle {
452
+ (string_type, xsd:string ) |
453
+ (enum_type, NothingEnum_EnumValue )
454
+ }?&
455
+ element BulletChar {
456
+ attribute BulletCharacterType { BulletCharacterType_EnumValue },
457
+ attribute BulletCharacterValue { xsd:int }
458
+ }?&
459
+ element BulletsFont {
460
+ (object_type, xsd:string ) |
461
+ (string_type, xsd:string ) |
462
+ (enum_type, AutoEnum_EnumValue )
463
+ }?&
464
+ element BulletsFontStyle {
465
+ (string_type, xsd:string ) |
466
+ (enum_type, NothingEnum_EnumValue ) |
467
+ (enum_type, AutoEnum_EnumValue )
468
+ }?&
469
+ element BulletsCharacterStyle {
470
+ (object_type, xsd:string ) |
471
+ (string_type, xsd:string )
472
+ }?&
473
+ element NumberingCharacterStyle {
474
+ (object_type, xsd:string ) |
475
+ (string_type, xsd:string )
476
+ }?&
477
+ element AppliedNumberingList {
478
+ (object_type, xsd:string ) |
479
+ (string_type, xsd:string )
480
+ }?&
481
+ element NumberingFormat {
482
+ (enum_type, NumberingStyle_EnumValue ) |
483
+ (string_type, xsd:string )
484
+ }?&
485
+ element NumberingRestartPolicies {
486
+ attribute RestartPolicy { RestartPolicy_EnumValue },
487
+ attribute LowerLevel { xsd:int },
488
+ attribute UpperLevel { xsd:int }
489
+ }?&
490
+ element Label { element KeyValuePair { KeyValuePair_TypeDef }*
491
+ }?
492
+ }
493
+ ?
494
+ }
495
+ ```
496
+
497
+ Most of the attributes and elements of a <ParagraphStyle> element are shared with all other text elements. Refer to 'Common Text Properties.' The following tables describe the attributes and elements of a <ParagraphStyle> element that are not shared with all text objects.
498
+
499
+ Table 172. Paragraph Style Properties Represented as Attributes
500
+
501
+ | Name | Type | Req | Description |
502
+ | ------------------ | --------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
503
+ | Imported | Boolean | no | If true, the paragraph style was imported from another file. |
504
+ | KeyboardShortcut | string | no | The keyboard shortcut for the style. |
505
+ | NextStyle | string | no | Areference to the next paragraph style for the paragraph style, as a unique ID (as the value of the Self attribute of the <ParagraphStyle> element). The next paragraph style determines the style that is applied to the next paragraph when you enter a return at the end of a para- graph of this style. |
506
+
507
+ Table 173. Paragraph Style Properties Represented as Elements
508
+
509
+ | Name | Type | Req | Description |
510
+ | --------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
511
+ | BasedOn | string | no | Areference to the paragraph style that this para- graph style is based on, as a unique ID (the value of the Self attribute of the <ParagraphStyle> element), or as a reference to the default '[No paragraph style]' element, in the form: $ID/[No paragraph style] . This is the default. |
512
+
513
+ **IDML Example 90. BasedOn '[No paragraph style]'**
514
+
515
+ ```xml
516
+ <ParagraphStyle Self="ParagraphStyle\Code" Name="Code" Imported="false" NextStyle="ParagraphStyle\Code"> <Properties> <BasedOn type="string">$ID/[No paragraph style]</BasedOn> </Properties> </ParagraphStyle>
517
+ ```
518
+
519
+ **IDML Example 91. BasedOn Another Style**
520
+
521
+ ```xml
522
+ <ParagraphStyle Self="ParagraphStyle\ListStyles%3aList First" Name="ListFirst" Imported="false" NextStyle="ParagraphStyle\ListStyles%3aList"> <Properties> <BasedOn type="object">ParagraphStyle\ListStyles%3aList</BasedOn> </Properties>
523
+ </ParagraphStyle>
524
+ ```
525
+
526
+ ### 10.8.3 Nested Styles
527
+
528
+ Nested styles are a feature of In Design's paragraph formatting, and can be applied as local formatting or as part of a paragraph style. Using nested styles, you can specify character-level formatting for one or more ranges of text within a paragraph. Nested styles have two parts: a delimiter that sets the end of the text range affected, and a CharacterStyle to apply to the range of text defined by the delimiter.
529
+
530
+ Nested styles are especially useful for run-in headings. For example, you can apply one CharacterStyle to the first letter in a paragraph and another CharacterStyle that takes effect through the first colon (:). For each nested style, you can define a character that ends the style, such as a tab character or the end of a word.
531
+
532
+ The nested style schema is included in a number of text objects (most notably the <ParagraphStyle> and <ParagraphStyleRange> elements).
533
+
534
+ **Schema Example 152. NestedStyle**
535
+
536
+ ```rnc
537
+ 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 })}* }
538
+ ```
539
+
540
+ Table 174. NestedStyle Properties Represented as Elements
541
+
542
+ | Name | Type | Req | Description |
543
+ | ------------------------- | ---------------------------------------------- | ------- | --------------------------------------------------------------------------------------------------------------- |
544
+ | AppliedCharacterStyle | string | yes | The CharacterStyle applied to the nested style, as a reference to the Self attribute of the CharacterStyle. |
545
+ | Delimiter | string or Nested StyleDelimiters_ EnumValue | yes | The delimiter character for the nested style. |
546
+ | Repetition | int | yes | The number of instances of the delimiter required to complete the nested style. |
547
+ | Inclusive | boolean | yes | If true, the formatting of the nested style is applied to the delimiter character. |
548
+
549
+ The following example shows how a CharacterStyle and a paragraph style can work together to format text using a nested style.
550
+
551
+ **IDML Example 92. NestedStyle**
552
+
553
+ ```xml
554
+ <CharacterStyle Self="CharacterStyle/Note" Name="Note" FillColor="Color/C=15 M=100 Y=100 K=0" FontStyle="Bold"> <Properties> <BasedOn type="string">$ID/[No CharacterStyle]</BasedOn> <PreviewColor type="enumeration">Nothing</PreviewColor> <AppliedFont type="string">Myriad Pro</AppliedFont> </Properties> </CharacterStyle> <ParagraphStyle Self="ParagraphStyle/note" Name="note" NextStyle="ParagraphStyle/paragraph"> <Properties> <BasedOn type="object">ParagraphStyle/paragraph</BasedOn> <PreviewColor type="enumeration">Nothing</PreviewColor> <AllNestedStyles type="list"> <ListItem type="record"> <AppliedCharacterStyle type="object">CharacterStyle/Note </AppliedCharacterStyle> <Delimiter type="string">:</Delimiter> <Repetition type="long">1</Repetition> <Inclusive type="boolean">true</Inclusive> </ListItem> </AllNestedStyles> </Properties> </ParagraphStyle>
555
+ ```
556
+
557
+ ### 10.8.4 Character Styles
558
+
559
+ A CharacterStyle is a collection of character formatting attributes that can be applied to text in a single step. Unlike paragraph styles, character styles do not necessarily define every formatting attribute that can be applied to a range of text. Instead, character styles typically contain only formatting which differs from that of the surrounding text.
560
+
561
+ Character styles in IDML are represented the same way as paragraph styles: each document contains a <RootCharacterStyleGroup> element, which, in turn, contains all of the <CharacterStyle> and <CharacterStyleGroup> elements used in the document described by the IDML package. The <RootCharacterStyleGroup> and <CharacterStyleGroup> elements have the same structure.
562
+
563
+ **Schema Example 153. CharacterStyleGroup**
564
+
565
+ ```rnc
566
+ CharacterStyleGroup_Object = element CharacterStyleGroup { attribute Self { xsd:string }, attribute Name { xsd:string }, element Properties { }? } ?, ( CharacterStyle_Object*& CharacterStyleGroup_Object* ) element Label { element KeyValuePair { KeyValuePair_TypeDef }* }
567
+ ```
568
+
569
+ **Figure 57**: Nested Style
570
+
571
+ ![Image](images/10_8_styles_img005.png)
572
+
573
+ **IDML Example 93. CharacterStyleGroup**
574
+
575
+ ```xml
576
+ <RootCharacterStyleGroup Self="u6a"> <CharacterStyle Self="CharacterStyle\[No CharacterStyle]" Imported="false" Name="$ID/[No CharacterStyle]"/> <CharacterStyle Self="CharacterStyle\Emphasis" Imported="false" Name="Emphasis" FontStyle="Italic"> <Properties> <BasedOn type="string">$ID/[No CharacterStyle]</BasedOn> </Properties> </CharacterStyle> <CharacterStyle Self="CharacterStyle\cInlineCode" Imported="false"
577
+ Name="InlineCode" FontStyle="Regular"> <Properties> <BasedOn type="string">$ID/[No CharacterStyle]</BasedOn> <AppliedFont type="string">Droid Sans Mono</AppliedFont> </Properties> </CharacterStyle> <CharacterStyleGroup Self="CharacterStyleGroup\HyperlinkStyles" Name="$ID/HyperlinkStyles"> <CharacterStyle Self="CharacterStyle\HyperlinkStyles%3aEmail" Imported="false" Name="HyperlinkStyles:Email"> <Properties> <BasedOn type="object">CharacterStyle\HyperlinkStyles\Hyperlink</BasedOn> </Properties> </CharacterStyle> <CharacterStyle Self="CharacterStyle\HyperlinkStyles\URL" Imported="false" Name="HyperlinkStyles:URL"> <Properties> <BasedOn type="object">CharacterStyle\HyperlinkStyles\Hyperlink</BasedOn> </Properties> </CharacterStyle> <CharacterStyle Self="CharacterStyle\HyperlinkStyles\Hyperlink" Imported="false" Name="HyperlinkStyles:Hyperlink"> <Properties> <BasedOn type="string">$ID/[No CharacterStyle]</BasedOn> </Properties> </CharacterStyle> </CharacterStyleGroup> </RootCharacterStyleGroup>
578
+ ```
579
+
580
+ **Figure 58**: Character Styles
581
+
582
+ ![Image](images/10_8_styles_img004.png)
583
+
584
+ **Schema Example 154. CharacterStyle**
585
+
586
+ ```rnc
587
+ CharacterStyle_Object = element CharacterStyle {
588
+ attribute Self { xsd:string },
589
+ attribute Imported { xsd:boolean }?,
590
+ attribute FontStyle { xsd:string }?,
591
+ attribute PointSize { xsd:double }?,
592
+ attribute KerningMethod { xsd:string }?,
593
+ attribute Tracking { xsd:double }?,
594
+ attribute Capitalization { Capitalization_EnumValue }?,
595
+ attribute Position { Position_EnumValue }?,
596
+ attribute Underline { xsd:boolean }?,
597
+ attribute StrikeThru { xsd:boolean }?,
598
+ attribute Ligatures { xsd:boolean }?,
599
+ attribute NoBreak { xsd:boolean }?,
600
+ attribute HorizontalScale { xsd:double }?,
601
+ attribute VerticalScale { xsd:double }?,
602
+ attribute BaselineShift { xsd:double }?,
603
+ attribute Skew { xsd:double }?,
604
+ attribute FillTint { xsd:double }?,
605
+ attribute StrokeTint { xsd:double }?,
606
+ attribute StrokeWeight { xsd:double }?,
607
+ attribute OverprintStroke { xsd:boolean }?,
608
+ attribute OverprintFill { xsd:boolean }?,
609
+ attribute OTFFigureStyle { OTFFigureStyle_EnumValue }?,
610
+ attribute OTFOrdinal { xsd:boolean }?,
611
+ attribute OTFFraction { xsd:boolean }?,
612
+ attribute OTFDiscretionaryLigature { xsd:boolean }?,
613
+ attribute OTFTitling { xsd:boolean }?,
614
+ attribute OTFContextualAlternate { xsd:boolean }?,
615
+ attribute OTFSwash { xsd:boolean }?,
616
+ attribute UnderlineTint { xsd:double }?,
617
+ attribute UnderlineGapTint { xsd:double }?,
618
+ attribute UnderlineOverprint { xsd:boolean }?,
619
+ attribute UnderlineGapOverprint { xsd:boolean }?,
620
+ attribute UnderlineOffset { xsd:double }?,
621
+ attribute UnderlineWeight { xsd:double }?,
622
+ attribute StrikeThroughTint { xsd:double }?,
623
+ attribute StrikeThroughGapTint { xsd:double }?,
624
+ attribute StrikeThroughOverprint { xsd:boolean }?,
625
+ attribute StrikeThroughGapOverprint { xsd:boolean }?,
626
+ attribute StrikeThroughOffset { xsd:double }?,
627
+ attribute StrikeThroughWeight { xsd:double }?,
628
+ attribute FillColor { xsd:string }?,
629
+ attribute StrokeColor { xsd:string }?,
630
+ attribute AppliedLanguage { xsd:string }?,
631
+ attribute KeyboardShortcut { list { xsd:short ,xsd:short } }?,
632
+ attribute OTFSlashedZero { xsd:boolean }?,
633
+ attribute OTFHistorical { xsd:boolean }?,
634
+ attribute OTFStylisticSets { xsd:int }?,
635
+ attribute GradientFillLength { xsd:double }?,
636
+ attribute GradientFillAngle { xsd:double }?,
637
+ attribute GradientStrokeLength { xsd:double }?,
638
+ attribute GradientStrokeAngle { xsd:double }?,
639
+ attribute GradientFillStart { UnitPointType_TypeDef }?,
640
+ attribute GradientStrokeStart { UnitPointType_TypeDef }?,
641
+ attribute OTFMark { xsd:boolean }?,
642
+ attribute OTFLocale { xsd:boolean }?,
643
+ attribute PositionalForm { PositionalForms_EnumValue }?,
644
+ attribute KerningValue { xsd:double }?,
645
+ attribute Name { xsd:string },
646
+ attribute MiterLimit { xsd:double {minInclusive="0" maxInclusive="1000"} }?,
647
+ attribute StrokeAlignment { TextStrokeAlign_EnumValue }?,
648
+ attribute EndJoin { OutlineJoin_EnumValue }?,
649
+ attribute OTFOverlapSwash { xsd:boolean }?,
650
+ attribute OTFStylisticAlternate { xsd:boolean }?,
651
+ attribute OTFJustificationAlternate { xsd:boolean }?,
652
+ attribute OTFStretchedAlternate { xsd:boolean }?,
653
+ attribute CharacterDirection { CharacterDirectionOptions_EnumValue }?,
654
+ attribute KeyboardDirection { CharacterDirectionOptions_EnumValue }?,
655
+ attribute DigitsType { DigitsTypeOptions_EnumValue }?,
656
+ attribute Kashidas { KashidasOptions_EnumValue }?,
657
+ attribute DiacriticPosition { DiacriticPositionOptions_EnumValue }?,
658
+ attribute XOffsetDiacritic { xsd:double }?,
659
+ attribute YOffsetDiacritic { xsd:double }?,
660
+ attribute ParagraphBreakType { ParagraphBreakTypes_EnumValue }?,
661
+ attribute PageNumberType { PageNumberTypes_EnumValue }?,
662
+ attribute CharacterAlignment { CharacterAlignment_EnumValue }?,
663
+ attribute Tsume { xsd:double }?,
664
+ attribute LeadingAki { xsd:double }?,
665
+ attribute TrailingAki { xsd:double }?,
666
+ attribute CharacterRotation { xsd:double }?,
667
+ attribute Jidori { xsd:short }?,
668
+ attribute ShataiMagnification { xsd:double }?,
669
+ attribute ShataiDegreeAngle { xsd:double }?,
670
+ attribute ShataiAdjustRotation { xsd:boolean }?,
671
+ attribute ShataiAdjustTsume { xsd:boolean }?,
672
+ attribute Tatechuyoko { xsd:boolean }?,
673
+ attribute TatechuyokoXOffset { xsd:double }?,
674
+ attribute TatechuyokoYOffset { xsd:double }?,
675
+ attribute KentenTint { xsd:double }?,
676
+ attribute KentenStrokeTint { xsd:double }?,
677
+ attribute KentenWeight { xsd:double }?,
678
+ attribute KentenOverprintFill { AdornmentOverprint_EnumValue }?,
679
+ attribute KentenOverprintStroke { AdornmentOverprint_EnumValue }?,
680
+ attribute KentenKind { KentenCharacter_EnumValue }?,
681
+ attribute KentenPlacement { xsd:double }?,
682
+ attribute KentenAlignment { KentenAlignment_EnumValue }?,
683
+ attribute KentenPosition { RubyKentenPosition_EnumValue }?,
684
+ attribute KentenFontSize { xsd:double }?,
685
+ attribute KentenXScale { xsd:double }?,
686
+ attribute KentenYScale { xsd:double }?,
687
+ attribute KentenCustomCharacter { xsd:string }?,
688
+ attribute KentenCharacterSet { KentenCharacterSet_EnumValue }?,
689
+ attribute RubyTint { xsd:double }?,
690
+ attribute RubyWeight { xsd:double }?,
691
+ attribute RubyOverprintFill { AdornmentOverprint_EnumValue }?,
692
+ attribute RubyOverprintStroke { AdornmentOverprint_EnumValue }?,
693
+ attribute RubyStrokeTint { xsd:double }?,
694
+ attribute RubyFontSize { xsd:double }?,
695
+ attribute RubyOpenTypePro { xsd:boolean }?,
696
+ attribute RubyXScale { xsd:double }?,
697
+ attribute RubyYScale { xsd:double }?,
698
+ attribute RubyType { RubyTypes_EnumValue }?,
699
+ attribute RubyAlignment { RubyAlignments_EnumValue }?,
700
+ attribute RubyPosition { RubyKentenPosition_EnumValue }?,
701
+ attribute RubyXOffset { xsd:double }?,
702
+ attribute RubyYOffset { xsd:double }?,
703
+ attribute RubyParentSpacing { RubyParentSpacing_EnumValue }?,
704
+ attribute RubyAutoAlign { xsd:boolean }?,
705
+ attribute RubyOverhang { xsd:boolean }?,
706
+ attribute RubyAutoScaling { xsd:boolean }?,
707
+ attribute RubyParentScalingPercent { xsd:double }?,
708
+ attribute RubyParentOverhangAmount { RubyOverhang_EnumValue }?,
709
+ attribute Warichu { xsd:boolean }?,
710
+ attribute WarichuSize { xsd:double }?,
711
+ attribute WarichuLines { xsd:short }?,
712
+ attribute WarichuLineSpacing { xsd:double }?,
713
+ attribute WarichuAlignment { WarichuAlignment_EnumValue }?,
714
+ attribute WarichuCharsAfterBreak { xsd:short }?,
715
+ attribute WarichuCharsBeforeBreak { xsd:short }?,
716
+ attribute OTFProportionalMetrics { xsd:boolean }?,
717
+ attribute OTFHVKana { xsd:boolean }?,
718
+ attribute OTFRomanItalics { xsd:boolean }?,
719
+ attribute ScaleAffectsLineHeight { xsd:boolean }?,
720
+ attribute CjkGridTracking { xsd:boolean }?,
721
+ attribute GlyphForm { AlternateGlyphForms_EnumValue }?,
722
+ attribute RubyAutoTcyDigits { xsd:short }?,
723
+ attribute RubyAutoTcyIncludeRoman { xsd:boolean }?,
724
+ attribute RubyAutoTcyAutoScale { xsd:boolean }?,
725
+ element Properties {
726
+ element BasedOn {
727
+ (object_type, xsd:string ) |
728
+ (string_type, xsd:string )
729
+ }?&
730
+ element AppliedFont {
731
+ (object_type, xsd:string ) |
732
+ (string_type, xsd:string )
733
+ }?&
734
+ element Leading {
735
+ (unit_type, xsd:double ) |
736
+ (enum_type, Leading_EnumValue )
737
+ }?&
738
+ element UnderlineColor {
739
+ (object_type, xsd:string ) |
740
+ (string_type, xsd:string )
741
+ }?&
742
+ element UnderlineGapColor {
743
+ (object_type, xsd:string ) |
744
+ (string_type, xsd:string )
745
+ }?&
746
+ element UnderlineType {
747
+ (object_type, xsd:string ) |
748
+ (string_type, xsd:string )
749
+ }?&
750
+ element StrikeThroughColor {
751
+ (object_type, xsd:string ) |
752
+ (string_type, xsd:string )
753
+ }?&
754
+ element StrikeThroughGapColor {
755
+ (object_type, xsd:string ) |
756
+ (string_type, xsd:string )
757
+ }?&
758
+ element StrikeThroughType {
759
+ (object_type, xsd:string ) |
760
+ (string_type, xsd:string )
761
+ }?&
762
+ element PreviewColor {
763
+ (InDesignUIColorType_TypeDef ) |
764
+ (enum_type, NothingEnum_EnumValue )
765
+ }?&
766
+ element KentenFillColor {
767
+ (object_type, xsd:string ) |
768
+ (string_type, xsd:string )
769
+ }?&
770
+ element KentenStrokeColor {
771
+ (object_type, xsd:string ) |
772
+ (string_type, xsd:string )
773
+ }?&
774
+ element KentenFont {
775
+ (object_type, xsd:string ) |
776
+ (string_type, xsd:string )
777
+ }?&
778
+ element KentenFontStyle {
779
+ (string_type, xsd:string ) |
780
+ (enum_type, NothingEnum_EnumValue )
781
+ }?&
782
+ element RubyFill {
783
+ (object_type, xsd:string ) |
784
+ (string_type, xsd:string )
785
+ }?&
786
+ element RubyStroke {
787
+ (object_type, xsd:string ) |
788
+ (string_type, xsd:string )
789
+ }?&
790
+ element RubyFont {
791
+ (object_type, xsd:string ) |
792
+ (string_type, xsd:string )
793
+ }?&
794
+ element RubyFontStyle {
795
+ (string_type, xsd:string ) |
796
+ (enum_type, NothingEnum_EnumValue )
797
+ }?&
798
+ element Label { element KeyValuePair { KeyValuePair_TypeDef }*
799
+ }?
800
+ }
801
+ ?
802
+ ,
803
+ (
804
+ StyleExportTagMap_Object*
805
+ )}
806
+ ```
807
+
808
+ Most of the attributes and elements of a <CharacterStyle> element are shared with all other text elements. Refer to 'Common Text Properties.' The following tables describe the attributes and elements of a <CharacterStyle> element that are not shared with all text objects.
809
+
810
+ **Table 175**: CharacterStyle Properties Represented as Attributes
811
+
812
+ | Name | Type | Req | Description |
813
+ | ---------- | --------- | ------- | -------------------------------------------------------------- |
814
+ | Imported | Boolean | no | If true, the paragraph style was imported from another file. |
815
+
816
+ | KeyboardShortcut | string | no | The keyboard shortcut for the style. |
817
+ | -------------------- | ---------- | ------ | ---------------------------------------- |
818
+ | Name | string | yes | The name of the CharacterStyle. |
819
+
820
+ **Table 176**: CharacterStyle Properties Represented as Elements
821
+
822
+ | Name | Type | Req | Description |
823
+ | --------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
824
+ | BasedOn | string | no | Areference to the CharacterStyle that this char- acter style is based on, as a unique ID (the value of the Self attribute of the <CharacterStyle> element), or as a reference to the default '[No CharacterStyle]' element, in the form: $ID/[No CharacterStyle] . This is the default. |
825
+
826
+ #### StyleExportTagMap
827
+
828
+ The <StyleExportTagMap> element maps an export type to an export tag.
829
+
830
+ **Schema Example 155. StyleExportTagMap**
831
+
832
+ ```rnc
833
+ StyleExportTagMap_Object = element StyleExportTagMap { attribute Self { xsd:string }, attribute ExportType { xsd:string }, attribute ExportTag { xsd:string }, attribute ExportClass { xsd:string }, attribute ExportAttributes { xsd:string } }
834
+ ```
835
+
836
+ **Table 177**: StyleExportTagMap Properties Represented as Attributes
837
+
838
+ | Name | Type | Req | Description |
839
+ | ------------------ | -------- | ------- | ------------------------ |
840
+ | ExportType | string | yes | The type of export. |
841
+ | ExportTag | string | yes | The tag to map. |
842
+ | ExportClass | string | yes | The class to map. |
843
+ | ExportAttributes | string | yes | The attributes to map. |
844
+
845
+ ### 10.8.5 TableStyles
846
+
847
+ A table style is a collection of table formatting attributes, such as table borders and row and column strokes, that can be applied in a single step. Table styles can be organized into table style groups. In an IDML package, <TableStyle> elements are saved inside <TableStyleGroup> elements. All <TableStyle> and <TableStyleGroup> elements exist with the <RootTableStyleGroup> element. <TableStyleGroup> elements can contain both <TableStyle> elements and <TableStyleGroup> elements.
848
+
849
+ **Schema Example 156. TableStyleGroup**
850
+
851
+ ```rnc
852
+ TableStyleGroup_Object = element TableStyleGroup { attribute Self { xsd:string }, attribute Name { xsd:string }, element Properties { element Label { element KeyValuePair { KeyValuePair_TypeDef }*
853
+ }? } ?, ( TableStyle_Object*& TableStyleGroup_Object* ) }
854
+ ```
855
+
856
+ **Schema Example 157. TableStyle**
857
+
858
+ ```rnc
859
+ TableStyle_Object = element TableStyle { attribute Self { xsd:string }, attribute Name { xsd:string }, attribute StrokeOrder { StrokeOrderTypes_EnumValue }?, attribute TopBorderStrokeWeight { xsd:double }?, attribute TopBorderStrokeType { xsd:string }?, attribute TopBorderStrokeColor { xsd:string }?, attribute TopBorderStrokeTint { xsd:double }?, attribute TopBorderStrokeOverprint { xsd:boolean }?, attribute TopBorderStrokeGapColor { xsd:string }?, attribute TopBorderStrokeGapTint { xsd:double }?, attribute TopBorderStrokeGapOverprint { xsd:boolean }?, attribute LeftBorderStrokeWeight { xsd:double }?, attribute LeftBorderStrokeType { xsd:string }?, attribute LeftBorderStrokeColor { xsd:string }?, attribute LeftBorderStrokeTint { xsd:double }?, attribute LeftBorderStrokeOverprint { xsd:boolean }?, attribute LeftBorderStrokeGapColor { xsd:string }?, attribute LeftBorderStrokeGapTint { xsd:double }?, attribute LeftBorderStrokeGapOverprint { xsd:boolean }?, attribute BottomBorderStrokeWeight { xsd:double }?, attribute BottomBorderStrokeType { xsd:string }?, attribute BottomBorderStrokeColor { xsd:string }?, attribute BottomBorderStrokeTint { xsd:double }?, attribute BottomBorderStrokeOverprint { xsd:boolean }?, attribute BottomBorderStrokeGapColor { xsd:string }?, attribute BottomBorderStrokeGapTint { xsd:double }?, attribute BottomBorderStrokeGapOverprint { xsd:boolean }?, attribute RightBorderStrokeWeight { xsd:double }?, attribute RightBorderStrokeType { xsd:string }?, attribute RightBorderStrokeColor { xsd:string }?, attribute RightBorderStrokeTint { xsd:double }?, attribute RightBorderStrokeOverprint { xsd:boolean }?, attribute RightBorderStrokeGapColor { xsd:string }?, attribute RightBorderStrokeGapTint { xsd:double }?, attribute RightBorderStrokeGapOverprint { xsd:boolean }?, attribute SpaceBefore { xsd:double }?, attribute SpaceAfter { xsd:double }?, attribute SkipFirstAlternatingStrokeRows { xsd:int }?, attribute SkipLastAlternatingStrokeRows { xsd:int }?, attribute StartRowStrokeCount { xsd:int }?, attribute StartRowStrokeColor { xsd:string }?, attribute StartRowStrokeWeight { xsd:double }?,
860
+ attribute StartRowStrokeType { xsd:string }?, attribute StartRowStrokeTint { xsd:double }?, attribute StartRowStrokeGapOverprint { xsd:boolean }?, attribute StartRowStrokeGapColor { xsd:string }?, attribute StartRowStrokeGapTint { xsd:double }?, attribute StartRowStrokeOverprint { xsd:boolean }?, attribute EndRowStrokeCount { xsd:int }?, attribute EndRowStrokeColor { xsd:string }?, attribute EndRowStrokeWeight { xsd:double }?, attribute EndRowStrokeType { xsd:string }?, attribute EndRowStrokeTint { xsd:double }?, attribute EndRowStrokeOverprint { xsd:boolean }?, attribute EndRowStrokeGapColor { xsd:string }?, attribute EndRowStrokeGapTint { xsd:double }?, attribute EndRowStrokeGapOverprint { xsd:boolean }?, attribute SkipFirstAlternatingStrokeColumns { xsd:int }?, attribute SkipLastAlternatingStrokeColumns { xsd:int }?, attribute StartColumnStrokeCount { xsd:int }?, attribute StartColumnStrokeColor { xsd:string }?, attribute StartColumnStrokeWeight { xsd:double }?, attribute StartColumnStrokeType { xsd:string }?, attribute StartColumnStrokeTint { xsd:double }?, attribute StartColumnStrokeOverprint { xsd:boolean }?, attribute StartColumnStrokeGapColor { xsd:string }?, attribute StartColumnStrokeGapTint { xsd:double }?, attribute StartColumnStrokeGapOverprint { xsd:boolean }?, attribute EndColumnStrokeCount { xsd:int }?, attribute EndColumnStrokeColor { xsd:string }?, attribute EndColumnStrokeWeight { xsd:double }?, attribute EndColumnLineStyle { xsd:string }?, attribute EndColumnStrokeTint { xsd:double }?, attribute EndColumnStrokeOverprint { xsd:boolean }?, attribute EndColumnStrokeGapColor { xsd:string }?, attribute EndColumnStrokeGapTint { xsd:double }?, attribute EndColumnStrokeGapOverprint { xsd:boolean }?, attribute ColumnFillsPriority { xsd:boolean }?, attribute SkipFirstAlternatingFillRows { xsd:int }?, attribute SkipLastAlternatingFillRows { xsd:int }?, attribute StartRowFillColor { xsd:string }?, attribute StartRowFillCount { xsd:int }?, attribute StartRowFillTint { xsd:double }?, attribute StartRowFillOverprint { xsd:boolean }?, attribute EndRowFillCount { xsd:int }?, attribute EndRowFillColor { xsd:string }?, attribute EndRowFillTint { xsd:double }?, attribute EndRowFillOverprint { xsd:boolean }?, attribute SkipFirstAlternatingFillColumns { xsd:int }?, attribute SkipLastAlternatingFillColumns { xsd:int }?, attribute StartColumnFillCount { xsd:int }?, attribute StartColumnFillColor { xsd:string }?, attribute StartColumnFillTint { xsd:double }?, attribute StartColumnFillOverprint { xsd:boolean }?, attribute EndColumnFillCount { xsd:int }?, attribute EndColumnFillColor { xsd:string }?,
861
+ attribute EndColumnFillTint { xsd:double }?, attribute EndColumnFillOverprint { xsd:boolean }?, attribute HeaderRegionSameAsBodyRegion { xsd:boolean }?, attribute FooterRegionSameAsBodyRegion { xsd:boolean }?, attribute LeftColumnRegionSameAsBodyRegion { xsd:boolean }?, attribute RightColumnRegionSameAsBodyRegion { xsd:boolean }?, attribute HeaderRegionCellStyle { xsd:string }?, attribute FooterRegionCellStyle { xsd:string }?, attribute LeftColumnRegionCellStyle { xsd:string }?, attribute RightColumnRegionCellStyle { xsd:string }?, attribute BodyRegionCellStyle { xsd:string }?, attribute KeyboardShortcut { list { xsd:short,xsd:short } }?, element Properties { element BasedOn { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element Label { element KeyValuePair { KeyValuePair_TypeDef }* }? } ? }
862
+ ```
863
+
864
+ **Table 178**: TableStyle Properties Represented as Attributes
865
+
866
+ | Name | Type | Req | Description |
867
+ | ------------------------------------ | --------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
868
+ | BodyRegionCellStyle | string | no | The cell style of the body (i.e., not header or footer) region. |
869
+ | BottomBorderStrokeColor | string | no | The color, specified as a swatch (color, gradient, tint, or mixed ink), of the bottom border stroke. |
870
+ | BottomBorderStrokeGapColor | string | no | The gap color, specified as a swatch (color, gradi- ent, tint, or mixed ink), of the bottom border stroke. Note: Valid only when bottom border stroke type is not solid. |
871
+ | BottomBorderStrokeGapOverprint | boolean | no | If true, the gap of the bottom border stroke will overprint. Note: Valid only when bottom border stroke type is not solid. |
872
+ | BottomBorderStrokeGapTint | double | no | The tint (as a percentage) of the gap color of the bottom border stroke. (Range: 0 to 100) Note: Valid only when bottom border stroke type is not solid. |
873
+ | BottomBorderStrokeOverprint | boolean | no | If true, the bottom border stroke will overprint. |
874
+ | BottomBorderStrokeTint | double | no | The tint (as a percentage) of the bottom border stroke. (Range: 0 to 100) |
875
+ | BottomBorderStrokeType | string | no | The stroke type of the bottom border. |
876
+ | BottomBorderStrokeWeight | double | no | The stroke weight of the bottom border stroke. |
877
+ | ColumnFills Priority | boolean | no | If true, hides alternating row fills. If false, hides alternating column fills. |
878
+ | EndColumnFill Color | string | no | The FillColor, specified as a swatch (color, gra- dient, tint, or mixed ink), of columns in the second alternating fill group. Note: Valid when alternating fills are defined for table columns. |
879
+ | EndColumnFill Count | int | no | The number of columns in the second alternat- ing fills group. Note: Valid when alternating fills are defined for table columns. |
880
+ | EndColumnFill Overprint | boolean | no | If true, the columns in the second alternating fills group will overprint. Note: Valid when alternating fills are defined for table columns. |
881
+ | EndColumnFillTint | double | no | The tint (as a percentage) of the columns in the second alternating fills group. (Range: 0 to 100) Note: Valid when alternating fills are defined for table columns. |
882
+ | EndColumnLine Style | string | no | The stroke type of columns in the second alter- nating strokes group. |
883
+ | EndColumnStroke Color | string | no | The stroke color, specified as a swatch (color, gradient, tint, or mixed ink), of column borders in the second alternating column strokes group. Note: Valid when end column stroke count is 1 or greater. |
884
+ | EndColumnStroke Count | int | no | The number of columns in the second alternat- ing column strokes group. |
885
+ | EndColumnStroke GapColor | string | no | The stroke gap color, specified as a swatch (color, gradient, tint, or mixed ink), of column borders in the second alternating column strokes group. Note: Valid when end column stroke count is 1 or greater. |
886
+ | EndColumnStroke GapOverprint | boolean | no | If true, the gap of the column border stroke in the second alternating column strokes group will overprint. Note: Valid when end column stroke count is 1 or greater. |
887
+ | EndColumnStroke GapTint | double | no | The tint (as a percentage) of the gap color of col- umn borders in the second alternating column strokes group. (Range: 0 to 100) Note: Valid when end column stroke count is 1 or greater. |
888
+ | EndColumnStroke Overprint | boolean | no | If true, the column borders in the second alter- nating column strokes group will overprint. Note: Valid when end column stroke count is 1 or greater. |
889
+ | EndColumnStroke Tint | double | no | The tint (as a percentage) of column borders in the second alternating column strokes group. (Range: 0 to 100) Note: Valid when end column stroke count is 1 or greater. |
890
+ | EndColumnStroke Weight | double | no | The stroke weight of column borders in the second alternating column strokes group. Note: Valid when end column stroke count is 1 or greater. |
891
+ | EndRowFillColor | string | no | The FillColor, specified as a swatch (color, gradi- ent, tint, or mixed ink), of rows in the second alternating fills group. Note: Valid when alter- nating fills are defined for table rows. |
892
+ | EndRowFillCount | int | no | The number of rows in the second alternating fills group. Note: Valid when alternating fills are defined for table rows. |
893
+ | EndRowFill Overprint | boolean | no | If true, the rows in the second alternating fills group will overprint. Note: Valid when alternat- ing fills are defined for table rows. |
894
+ | EndRowFillTint | double | no | The tint (as a percentage) of the rows in the second alternating fills group. (Range: 0 to 100) Note: Valid when alternating fills are defined for table rows. |
895
+ | EndRowStrokeColor | string | no | The stroke color, specified as a swatch (color, gradient, tint, or mixed ink), of row borders in the second alternating row strokes group. Note: Valid when end row stroke count is 1 or greater. |
896
+ | EndRowStrokeCount | int | no | The number of rows in the second alternating row strokes group. |
897
+ | EndRowStrokeGapColor | string | no | The gap color, specified as a swatch (color, gradi- ent, tint, or mixed ink), of row borders in the second alternating rows group. Note: Valid when end row stroke count is 1 or greater. |
898
+ | EndRowStrokeGapOverprint | boolean | no | If true, the gap of the row borders in the second alternating rows group will overprint. Note: Valid when end row stroke count is 1 or greater. |
899
+ | EndRowStrokeGapTint | double | no | The tint (as a percentage) of the gap color of rows in the second alternating strokes group. (Range: 0 to 100) Note: Valid when end row stroke count is 1 or greater and end row stroke type is not solid. |
900
+ | EndRowStrokeOverprint | boolean | no | If true, the rows in the second alternating rows group will overprint. Note: Valid when end row stroke count is 1 or greater. |
901
+ | EndRowStrokeTint | double | no | The tint (as a percentage) of the row borders in the second alternating strokes group. (Range: 0 to 100) Note: Valid when end row stroke count is 1 or greater. |
902
+ | EndRowStrokeType | string | no | The stroke type of rows in the second alternating strokes group. |
903
+ | EndRowStrokeWeight | double | no | The stroke weight of row borders in the second alternating row strokes group. Note: Valid when end row stroke count is 1 or greater. |
904
+ | FooterRegionCell Style | string | no | The cell style of the footer region. |
905
+ | FooterRegionSame AsBodyRegion | boolean | no | If true, uses the cell style of the body region for the footer region. |
906
+ | HeaderRegionCell Style | string | no | The cell style of the header region. |
907
+ | HeaderRegionSame AsBodyRegion | boolean | no | If true, use the cell style of the body region for the header region. |
908
+ | KeyboardShortcut | | no | |
909
+ | LeftBorderStrokeColor | string | no | The color, specified as a swatch (color, gradient, tint, or mixed ink), of the left border stroke. |
910
+ | LeftBorderStrokeGapColor | string | no | The gap color, specified as a swatch (color, gradi- ent, tint, or mixed ink), of the left border stroke. Note: Valid only when left border stroke type is not solid. |
911
+ | LeftBorderStrokeGapOverprint | boolean | no | If true, the gap of the left border stroke will overprint. Note: Valid only when left border stroke type is not solid. |
912
+ | LeftBorderStrokeGapTint | double | no | The tint (as a percentage) of the gap color of the left border stroke. (Range: 0 to 100) Note: Valid only when left border stroke type is not solid. |
913
+ | LeftBorderStrokeOverprint | boolean | no | If true, the left border stroke will overprint. |
914
+ | LeftBorderStrokeTint | double | no | The tint (as a percentage) of the left border stroke. (Range: 0 to 100) |
915
+ | LeftBorderStrokeType | string | no | The stroke type of the left border. |
916
+ | LeftBorderStrokeWeight | double | no | The stroke weight of the left border stroke. |
917
+ | LeftColumnRegion CellStyle | string | no | The cell style of the left column region. |
918
+ | LeftColumnRegion SameAsBodyRegion | boolean | no | If true, uses the cell style of the body region for the left column region. |
919
+ | Name | string | yes | The name of the TableStyle. |
920
+ | RightBorderStrokeColor | string | no | The color, specified as a swatch (color, gradient, tint, or mixed ink), of the right border stroke. |
921
+ | RightBorderStrokeGapColor | string | no | The gap color, specified as a swatch (color, gra- dient, tint, or mixed ink), of the right border stroke. Note: Valid only when right border stroke type is not solid. |
922
+ | RightBorderStrokeGapOverprint | boolean | no | If true, the gap color of the right border stroke will overprint. Note: Valid only when right bor- der stroke type is not solid. |
923
+ | RightBorderStrokeGapTint | double | no | The tint (as a percentage) of the gap color of the right border stroke. (Range: 0 to 100) Note: Valid only when right border stroke type is not solid. |
924
+ | RightBorderStrokeOverprint | boolean | no | If true, the right border stroke will overprint. |
925
+ | RightBorderStrokeTint | double | no | The tint (as a percentage) of the right border stroke. (Range: 0 to 100) |
926
+ | RightBorderStrokeType | string | no | The stroke type of the right border. |
927
+ | RightBorderStrokeWeight | double | no | The stroke weight of the right border stroke. |
928
+ | RightColumn RegionCellStyle | string | no | The cell style of the right column region. |
929
+ | RightColumn RegionSameAsBody Region | boolean | no | If true, uses the cell style of the body region for the right column region. |
930
+ | SkipFirst AlternatingFill Columns | int | no | The number of columns on the left side of the table to skip before applying the column fill col- or. Note: Valid when alternating fills are defined for table columns. |
931
+ | SkipFirst AlternatingFill Rows | int | no | The number of body rows at the beginning of the table to skip before applying the row FillColor. Note: Valid when alternating fills are defined for table rows. For information on body rows, see body row count. |
932
+ | SkipFirst Alternating StrokeColumns | int | no | The number of columns on the left of the table in which to skip border stroke formatting. Note: Valid when start column stroke count is 1 or greater and/or end column stroke count is 1 or greater. |
933
+ | SkipFirst Alternating StrokeRows | int | no | The number of body rows at the beginning of the table in which to skip border stroke format- ting. Note: Valid when start row stroke count is 1 or greater and/or end row stroke count is 1 or greater. For information on body rows, see body row count. |
934
+ | SkipLast AlternatingFill Columns | int | no | The number columns on the right side of the table in which to not apply the column FillColor. Note: Valid when alternating fills are defined for table columns. |
935
+ | SkipLast AlternatingFill Rows | int | no | The number of body rows at the end of the table in which to not apply the row FillColor. Note: Valid when alternating fills are defined for table rows. For information on body rows, see body row count. |
936
+ | SkipLast Alternating StrokeColumns | int | no | The number of columns on the right side of the table in which to skip border stroke formatting. Note: Valid when start column stroke count is 1 or greater and/or end column stroke count is 1 or greater. |
937
+ | SkipLast Alternating StrokeRows | int | no | The number of body rows at the end of the table in which to skip border stroke formatting. Note: Valid when start row stroke count is 1 or greater and/or end row stroke count is 1 or greater. For information on body rows, see body row count. |
938
+ | SpaceAfter | double | no | The space below the table. |
939
+ | SpaceBefore | double | no | The space above the table. |
940
+ | StartColumnFill Color | string | no | The FillColor, specified as a swatch (color, gradi- ent, tint, or mixed ink), of columns in the first alternating fills group. Note: Valid when alter- nating fills are defined for table columns. |
941
+ | StartColumnFill Count | int | no | The number of columns in the first alternating fills group. Note: Valid when alternating fills are defined for table columns. |
942
+ | StartColumnFill Overprint | boolean | no | If true, the columns in the first alternating fills group will overprint. Note: Valid when alternat- ing fills are defined for table columns. |
943
+ | StartColumnFill Tint | double | no | The tint (as a percentage) of the columns in the first alternating fills group. (Range: 0 to 100) Note: Valid when alternating fills are defined for table columns. |
944
+ | StartColumn StrokeColor | string | no | The stroke color, specified as a swatch (color, gradient, tint, or mixed ink), of column borders in the first alternating column strokes group. |
945
+ | StartColumn StrokeCount | int | no | The number of columns in the first alternating column strokes group. |
946
+ | StartColumn StrokeGapColor | string | no | The stroke gap color, specified as a swatch (color, gradient, tint, or mixed ink), of column borders in the first alternating column strokes group. Note: Valid when start column stroke count is 1 or greater. |
947
+ | StartColumn StrokeGap Overprint | boolean | no | If true, the gap of the column borders in the first alternating column strokes group will overprint. Note: Valid when start column stroke count is 1 or greater. |
948
+ | StartColumn StrokeGapTint | double | no | The tint (as a percentage) of the gap color of column borders in the first alternating column strokes group. (Range: 0 to 100) Note: Valid when start column stroke count is 1 or greater. |
949
+ | StartColumn StrokeOverprint | boolean | no | If true, the column borders in the first alternat- ing column strokes group will overprint. Note: Valid when start column stroke count is 1 or greater. |
950
+ | StartColumn StrokeTint | double | no | The tint (as a percentage) of column borders in the first alternating column strokes group. (Range: 0 to 100) Note: Valid when start column stroke count is 1 or greater. |
951
+ | StartColumn StrokeType | string | no | The stroke type of columns in the first alternat- ing strokes group. |
952
+ | StartColumn StrokeWeight | double | no | The stroke weight of column borders in the first alternating column strokes group. Note: Valid when start column stroke count is 1 or greater. |
953
+ | StartRowFillColor | string | no | The FillColor, specified as a swatch (color, gradi- ent, tint, or mixed ink), of rows in the first alter- nating fills group. Note: Valid when alternating fills are defined for table rows. |
954
+ | StartRowFillCount | int | no | The number of rows in the first alternating fills group. Note: Valid when alternating fills are defined for table rows. |
955
+ | StartRowFill Overprint | boolean | no | If true, the rows in the first alternating fills group will overprint. Note: Valid when alternat- ing fills are defined for table rows. |
956
+ | StartRowFillTint | double | no | The tint (as a percentage) of the rows in the first alternating fills group. (Range: 0 to 100) Note: Valid when alternating fills are defined for table rows. |
957
+ | StartRowStrokeColor | string | no | The color, specified as a swatch (color, gradient, tint, or mixed ink), of row borders in the first alternating row strokes group. Note: Valid when start row stroke count is 1 or greater. |
958
+ | StartRowStroke Count | int | no | The number of rows in the first alternating row strokes group. |
959
+ | StartRowStrokeGapColor | string | no | The stroke gap color of row borders in the first alternating row strokes group, specified as a swatch (color, gradient, tint, or mixed ink). Note: Valid when start row stroke count is 1 or greater. |
960
+ | StartRowStroke GapOverprint | boolean | no | If true, the gap color of the row border stroke in the first alternating row strokes group will over- print. Note: Valid when start row stroke count is 1 or greater. |
961
+ | StartRowStrokeGapTint | double | no | The tint (as a percentage) of the gap color of row borders in the first alternating rows group. (Range: 0 to 100) Note: Valid when start row stroke count is 1 or greater. |
962
+ | StartRowStrokeOverprint | boolean | no | If true, the row borders in the first alternating row strokes group will overprint. Note: Valid when start row stroke count is 1 or greater. |
963
+ | StartRowStrokeTint | double | no | The tint (as a percentage) of the borders in the first alternating row strokes group. (Range: 0 to 100) Note: Valid when start row stroke count is 1 or greater. |
964
+ | StartRowStrokeType | string | no | The stroke type of rows in the first alternating strokes group. |
965
+ | StartRowStrokeWeight | double | no | The stroke weight of row borders in the first alternating row strokes group. Note: Valid when start row stroke count is 1 or greater. |
966
+ | StrokeOrder | StrokeOrderTypes_ EnumValue | no | The order in which to display row and column strokes at corners.Can be RowOnTop (Places row strokes in front of column strokes), Column OnTop (Places column strokes in front of row strokes), BestJoins (Places row strokes in front of column strokes when row and col- umn strokes are different colors; joins striped strokes and connects crossing points), or Indesign2Compatibility (Places row strokes in front when row and column strokes are dif- ferent colors; joins striped strokes only at points where strokes cross in a T-shape). |
967
+ | TopBorderStrokeColor | string | no | The color, specified as a swatch (color, gradi- ent, tint, or mixed ink), of the table's top border stroke. |
968
+ | TopBorderStrokeGapColor | string | no | The gap color, specified as a swatch (color, gradi- ent, tint, or mixed ink), of the table's top border stroke. Note: Valid only when top border stroke type is not solid. |
969
+ | TopBorderStrokeGapOverprint | boolean | no | If true, the gap of the top border stroke will overprint. Note: Valid only when top border stroke type is not solid. |
970
+ | TopBorderStrokeGapTint | double | no | The tint (as a percentage) of the gap color of the table's top border stroke. (Range: 0 to 100) Note: Valid only when top border stroke type is not solid. |
971
+ | TopBorderStrokeOverprint | boolean | no | If true, the top border strokes will overprint. |
972
+ | TopBorderStrokeTint | double | no | The tint (as a percentage) of the table's top bor- der stroke. (Range: 0 to 100) |
973
+ | TopBorderStrokeType | string | no | The stroke type of the top border. |
974
+ | TopBorderStrokeWeight | double | no | The stroke weight of the table's top border stroke. |
975
+
976
+ **Table 179**: TableStyle Properties Represented as Elements
977
+
978
+ | Name | Type | Req | Description |
979
+ | --------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
980
+ | BasedOn | string | no | The table style that the table style is based on. Can be either: type = "object" Areference to the table style this table style is based on, as a unique ID (as the value of the Self attribute of the <TableStyle> element). or type = "string" Areference to the default '[No table style]' ele- ment, in the form: $ID/[No table style] . This is the default. |
981
+
982
+ ### 10.8.6 Cell Styles
983
+
984
+ A cell style includes formatting such as cell insets, paragraph styles, and strokes and fills. Cell styles can be organized into cell style groups. In an IDML package, <CellStyle> elements are saved inside <CellStyleGroup> elements. All <CellStyle> and <CellStyleGroup> elements exist with the <RootCellStyleGroup> element. <CellStyleGroup> elements can contain both <CellStyle> elements and <CellStyleGroup> elements.
985
+
986
+ **Schema Example 158. CellStyleGroup**
987
+
988
+ ```rnc
989
+ CellStyleGroup_Object = element CellStyleGroup { attribute Self { xsd:string }, attribute Name { xsd:string }, element Properties { }? } ?, ( CellStyle_Object*& CellStyleGroup_Object* ) element Label { element KeyValuePair { KeyValuePair_TypeDef }* } Schema Example 159. CellStyle CellStyle_Object = element CellStyle { attribute Self { xsd:string }, attribute AppliedParagraphStyle { xsd:string }?, attribute GradientFillLength { xsd:double }?, attribute GradientFillAngle { xsd:double }?, attribute GradientFillStart { UnitPointType_TypeDef }?, attribute TopInset { xsd:double }?, attribute LeftInset { xsd:double }?, attribute BottomInset { xsd:double }?, attribute RightInset { xsd:double }?, attribute FillColor { xsd:string }?, attribute FillTint { xsd:double }?, attribute OverprintFill { xsd:boolean }?, attribute TopLeftDiagonalLine { xsd:boolean }?, attribute TopRightDiagonalLine { xsd:boolean }?, attribute DiagonalLineInFront { xsd:boolean }?, attribute DiagonalLineStrokeWeight { xsd:double }?, attribute DiagonalLineStrokeType { xsd:string }?, attribute DiagonalLineStrokeColor { xsd:string }?, attribute DiagonalLineStrokeTint { xsd:double }?, attribute DiagonalLineStrokeOverprint { xsd:boolean }?, attribute DiagonalLineStrokeGapColor { xsd:string }?, attribute DiagonalLineStrokeGapTint { xsd:double }?, attribute DiagonalLineStrokeGapOverprint { xsd:boolean }?, attribute ClipContentToCell { xsd:boolean }?, attribute FirstBaselineOffset { FirstBaseline_EnumValue }?, attribute VerticalJustification { VerticalJustification_EnumValue }?, attribute ParagraphSpacingLimit { xsd:double }?, attribute MinimumFirstBaselineOffset { xsd:double {minInclusive="0" maxInclusive="8640"} }?, attribute RotationAngle { xsd:double }?, attribute LeftEdgeStrokeWeight { xsd:double }?, attribute LeftEdgeStrokeType { xsd:string }?, attribute LeftEdgeStrokeColor { xsd:string }?, attribute LeftEdgeStrokeTint { xsd:double }?, attribute LeftEdgeStrokeOverprint { xsd:boolean }?, attribute LeftEdgeStrokeGapColor { xsd:string }?, attribute LeftEdgeStrokeGapTint { xsd:double }?, attribute LeftEdgeStrokeGapOverprint { xsd:boolean }?, attribute TopEdgeStrokeWeight { xsd:double }?, attribute TopEdgeStrokeType { xsd:string }?, attribute TopEdgeStrokeColor { xsd:string }?, attribute TopEdgeStrokeTint { xsd:double }?, attribute TopEdgeStrokeOverprint { xsd:boolean }?, attribute TopEdgeStrokeGapColor { xsd:string }?, attribute TopEdgeStrokeGapTint { xsd:double }?, attribute TopEdgeStrokeGapOverprint { xsd:boolean }?, attribute RightEdgeStrokeWeight { xsd:double }?, attribute RightEdgeStrokeType { xsd:string }?, attribute RightEdgeStrokeColor { xsd:string }?, attribute RightEdgeStrokeTint { xsd:double }?, attribute RightEdgeStrokeOverprint { xsd:boolean }?, attribute RightEdgeStrokeGapColor { xsd:string }?, attribute RightEdgeStrokeGapTint { xsd:double }?, attribute RightEdgeStrokeGapOverprint { xsd:boolean }?, attribute BottomEdgeStrokeWeight { xsd:double }?, attribute BottomEdgeStrokeType { xsd:string }?, attribute BottomEdgeStrokeColor { xsd:string }?, attribute BottomEdgeStrokeTint { xsd:double }?, attribute BottomEdgeStrokeOverprint { xsd:boolean }?, attribute BottomEdgeStrokeGapColor { xsd:string }?, attribute BottomEdgeStrokeGapTint { xsd:double }?, attribute BottomEdgeStrokeGapOverprint { xsd:boolean }?, attribute KeyboardShortcut { list { xsd:short,xsd:short } }?, attribute RotationRunsAgainstStory { xsd:boolean }?, attribute Name { xsd:string }, element Properties { element BasedOn { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element Label { element KeyValuePair { KeyValuePair_TypeDef }* }? } ? }
990
+ ```
991
+
992
+ Most of the properties of a cell style are shared with the properties of a cell, see 'Cell Properties Represented as Attributes.'
993
+
994
+ Table 180. CellStyle Properties Represented as Elements
995
+
996
+ | Name | Type | Req | Description |
997
+ | --------- | -------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
998
+ | BasedOn | string | no | Areference to the cell style that this cell style is based on, as a unique ID (the value of the Self attribute of the <CellStyle> element), or as a reference to the default '[No cell style]' element, in the form: $ID/[No cell style] . This is the default. |
999
+
1000
+ ### 10.8.7 Object Styles
1001
+
1002
+ Just as you use paragraph and character styles to quickly format text, you can use object styles to quickly format graphics and frames. Object styles include settings for stroke, color, transparency, drop shadows, paragraph styles, text wrap, and more. You can assign different transparency effects for the object, fill, stroke, and text. Use object styles, rather than applying extensive local formatting, to format page items.
1003
+
1004
+ You can apply object styles to objects, groups, and frames (including TextFrames). A style can either clear and replace all object settings or it can replace only specific settings, leaving other settings unchanged. You control which settings the style affects by including or excluding a category of settings in the definition.
1005
+
1006
+ Object styles in an In Design document can be organized into object style groups.
1007
+
1008
+ All In Design documents contain a set of default object styles: 'None,' '[Normal Graphics Frame],' '[Normal TextFrame],' and '[Normal Grid].' Apart from 'None,' which cannot be edited, all of the default styles can be edited by the user, so you should define these object styles in your IDML if you plan to use them to format objects. The default object style 'None' is an object style that does not apply any formatting. Use this style when you want to apply local formatting to page items.
1009
+
1010
+ For a description of the default objects styles, refer to the In Design documentation.
1011
+
1012
+ In an IDML package, the Styles.xml document contains a <RootObjectStyleGroup> element, which, in turn, contains all <ObjectStyle> and <ObjectStyleGroup> elements. An <ObjectStyleGroup> element can contain other <ObjectStyleGroup> elements.
1013
+
1014
+ **Schema Example 160. ObjectStyleGroup**
1015
+
1016
+ ```
1017
+ ObjectStyleGroup_Object = element ObjectStyleGroup { attribute Self { xsd:string }, attribute Name { xsd:string }, element Properties { element Label { element KeyValuePair { KeyValuePair_TypeDef }* }? } ?, ( ObjectStyle_Object*& ObjectStyleGroup_Object* ) }
1018
+ ```
1019
+
1020
+ **Schema Example 161. ObjectStyle**
1021
+
1022
+ ```
1023
+ ObjectStyle_Object = element ObjectStyle { attribute Self { xsd:string }, attribute EnableTextFrameAutoSizingOptions { xsd:boolean }?, attribute Name { xsd:string }, attribute AppliedParagraphStyle { xsd:string }?, attribute ApplyNextParagraphStyle { xsd:boolean }?, attribute EnableFill { xsd:boolean }?, attribute EnableStroke { xsd:boolean }?, attribute EnableParagraphStyle { xsd:boolean }?, attribute EnableTextFrameGeneralOptions { xsd:boolean }?, attribute EnableTextFrameBaselineOptions { xsd:boolean }?, attribute EnableStoryOptions { xsd:boolean }?, attribute EnableTextWrapAndOthers { xsd:boolean }?, attribute EnableAnchoredObjectOptions { xsd:boolean }?, attribute CornerRadius { xsd:double }?, attribute FillColor { xsd:string }?, attribute FillTint { xsd:double }?, attribute OverprintFill { xsd:boolean }?, 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 OverprintStroke { xsd:boolean }?, attribute GapColor { xsd:string }?, attribute GapTint { xsd:double }?, attribute OverprintGap { xsd:boolean }?, attribute StrokeAlignment { StrokeAlignment_EnumValue }?, attribute Nonprinting { xsd:boolean }?, attribute GradientFillAngle { xsd:double }?, attribute GradientStrokeAngle { xsd:double }?, attribute StrokeCornerAdjustment { StrokeCornerAdjustment_EnumValue }?, attribute StrokeDashAndGap { list { xsd:double * } }?, attribute AppliedNamedGrid { xsd:string }?, attribute KeyboardShortcut { list { xsd:short,xsd:short } }?, 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 EnableFrameFittingOptions { xsd:boolean }?, attribute CornerOption { CornerOptions_EnumValue }?, attribute EnableStrokeAndCornerOptions { xsd:boolean }?, element Properties { element BasedOn { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element Label { element KeyValuePair { KeyValuePair_TypeDef }* }? } ?, ( TextFramePreference_Object?& BaselineFrameGridOption_Object?& AnchoredObjectSetting_Object?& TextWrapPreference_Object?& StoryPreference_Object?& FrameFittingOption_Object?& TransparencySetting_Object?& StrokeTransparencySetting_Object?& FillTransparencySetting_Object?& ContentTransparencySetting_Object?& ObjectStyleObjectEffectsCategorySettings_Object?& ObjectStyleStrokeEffectsCategorySettings_Object?& ObjectStyleFillEffectsCategorySettings_Object?& ObjectStyleContentEffectsCategorySettings_Object? ) }
1024
+ ```
1025
+
1026
+ Most of the attributes and elements of an object style are shared with other elements. For moreon the <TextFramePreference>, <BaselineFrameGridOption>, <TextWrapPreference>, <FrameFittingOption>, <TransparencySetting>, <StrokeTransparencySetting>, and <ContentTransparencySetting> elements, refer to the corresponding sections in the 'Spreads and Master Spreads' section. For more on the <AnchoredObjectSetting> and <StoryPreference> elements, see the corresponding sections in the 'Stories' section.
1027
+
1028
+ The <ObjectStyleObjectEffectsCategorySettings>, <ObjectStyleStrokeEffectsCategorySettings>, <ObjectStyleFillEffectsCategorySettings>, and <ObjectStyleContentEffectsCategorySettings> elements are unique to an <ObjectStyle> element. These elements contain attributes that enable (when set to true) or disable (when false) sections of the <ObjectStyle>. To specify that the drop shadow settings of an object style does not affect the fill of a page item, for example you would set the value of the EnableDropShadow attribute of the <ObjectStyleStrokeEffectsCategorySettings> element to false. When you do this, applying the object style will have no effect on the fill of the page item.
1029
+
1030
+ **Schema Example 162. ObjectStyleObjectEffectsCategorySettings**
1031
+
1032
+ ```rnc
1033
+ ObjectStyleObjectEffectsCategorySettings_Object = element ObjectStyleObjectEffectsCategorySettings { attribute EnableTransparency { xsd:boolean }?, attribute EnableDropShadow { xsd:boolean }?, attribute EnableFeather { xsd:boolean }?, attribute EnableInnerShadow { xsd:boolean }?, attribute EnableOuterGlow { xsd:boolean }?, attribute EnableInnerGlow { xsd:boolean }?, attribute EnableBevelEmboss { xsd:boolean }?, attribute EnableSatin { xsd:boolean }?, attribute EnableDirectionalFeather { xsd:boolean }?, attribute EnableGradientFeather { xsd:boolean }?}
1034
+ ```
1035
+
1036
+ **Schema Example 163. ObjectStyleStrokeEffectsCategorySettings**
1037
+
1038
+ ```rnc
1039
+ ObjectStyleStrokeEffectsCategorySettings_Object = element ObjectStyleStrokeEffectsCategorySettings { attribute EnableTransparency { xsd:boolean }?, attribute EnableDropShadow { xsd:boolean }?, attribute EnableFeather { xsd:boolean }?, attribute EnableInnerShadow { xsd:boolean }?, attribute EnableOuterGlow { xsd:boolean }?, attribute EnableInnerGlow { xsd:boolean }?, attribute EnableBevelEmboss { xsd:boolean }?, attribute EnableSatin { xsd:boolean }?, attribute EnableDirectionalFeather { xsd:boolean }?, attribute EnableGradientFeather { xsd:boolean }? } Schema Example 164. ObjectStyleFillEffectsCategorySettings ObjectStyleFillEffectsCategorySettings_Object = element ObjectStyleFillEffectsCategorySettings { attribute EnableTransparency { xsd:boolean }?, attribute EnableDropShadow { xsd:boolean }?, attribute EnableFeather { xsd:boolean }?, attribute EnableInnerShadow { xsd:boolean }?, attribute EnableOuterGlow { xsd:boolean }?, attribute EnableInnerGlow { xsd:boolean }?, attribute EnableBevelEmboss { xsd:boolean }?, attribute EnableSatin { xsd:boolean }?, attribute EnableDirectionalFeather { xsd:boolean }?, attribute EnableGradientFeather { xsd:boolean }? } Schema Example 165. ObjectStyleContentEffectsCategorySettings ObjectStyleContentEffectsCategorySettings_Object = element ObjectStyleContentEffectsCategorySettings { attribute EnableTransparency { xsd:boolean }?, attribute EnableDropShadow { xsd:boolean }?, attribute EnableFeather { xsd:boolean }?, attribute EnableInnerShadow { xsd:boolean }?, attribute EnableOuterGlow { xsd:boolean }?, attribute EnableInnerGlow { xsd:boolean }?, attribute EnableBevelEmboss { xsd:boolean }?, attribute EnableSatin { xsd:boolean }?, attribute EnableDirectionalFeather { xsd:boolean }?, attribute EnableGradientFeather { xsd:boolean }? }
1040
+ ```
1041
+
1042
+ Like character styles, object styles do not need to fully specify the formatting of an object. An object style might apply only a drop shadow, while leaving the FillColor of the page item unchanged. The following example <ObjectStyle> element demonstrates this point-the only difference between this object style and the object style it is based on is that the Mode attribute of the <TransparencySetting> element is set to Drop (thereby turning the drop shadow on). For more information on the available attributes of the <TransparencySetting> element.
1043
+
1044
+ **IDML Example 94. ObjectStyle**
1045
+
1046
+ ```xml
1047
+ <ObjectStyle Self="ObjectStyle\DropShadow" Name="DropShadow"> <Properties> <BasedOn type="object">ObjectStyle\[Normal Graphics Frame]</BasedOn> </Properties> <TransparencySetting Self="ud4TransparencySetting1"> <DropShadowSetting Self="ud4TransparencySetting1DropShadowSetting1" Mode="Drop"/> </TransparencySetting> </ObjectStyle>
1048
+ ```
1049
+
1050
+ **Figure 59**: ObjectStyle
1051
+
1052
+ ![Image](images/10_8_styles_img003.png)
1053
+
1054
+ ![Image](images/10_8_styles_img002.png)
1055
+
1056
+ ### 10.8.8 TOCStyles
1057
+
1058
+ A table of contents (TOC) can list the contents of an In Design document. A document can contain multiple tables of contents-for example, a list of chapters and a list of illustrations. A 'TOC style' defines the way that a specific TOC is created and formatted.
1059
+
1060
+ In an IDML document, <TOCStyle> elements contain attributes that define the properties of a TOC. Inside a <TOCStyle> element, <TOCStyleElement> elements define which paragraphs will appear in the TOC and the formatting of each paragraph.
1061
+
1062
+ ```rnc
1063
+ Schema Example 166. TOCStyle TOCStyle_Object = element TOCStyle {attribute Self { xsd:string }, attribute TitleStyle { xsd:string }?, attribute Title { xsd:string }?, attribute Name { xsd:string }, attribute RunIn { xsd:boolean }?, attribute IncludeHidden { xsd:boolean }?, attribute IncludeBookDocuments { xsd:boolean }?, attribute CreateBookmarks { xsd:boolean }?, attribute SetStoryDirection { HorizontalOrVertical_EnumValue }?, element Properties { element Label { element KeyValuePair { KeyValuePair_TypeDef }* }? } ?, ( TOCStyleEntry_Object* ) attribute NumberedParagraphs { NumberedParagraphsOptions_EnumValue }?, } Schema Example 167. TOCStyleEntry TOCStyleEntry_Object = element TOCStyleEntry { attribute Self { xsd:string }, attribute Name { xsd:string }?, attribute Level { xsd:short }?, attribute PageNumberPosition { PageNumberPosition_EnumValue }?, attribute Separator { xsd:string }?, attribute SortAlphabet { xsd:boolean }?, element Properties { element FormatStyle { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element PageNumberStyle { (object_type, xsd:string ) | (string_type, xsd:string ) }?& element SeparatorStyle { (object_type, xsd:string ) | (string_type, xsd:string ) }? } ? }
1064
+ ```
1065
+
1066
+ **Table 181**: TOCStyle Properties Represented as Attributes
1067
+
1068
+ | Name | Type | Req | Description |
1069
+ | ------------------------ | ----------------------------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1070
+ | CreateBookmarks | boolean | no | If true, creates bookmarks for TOC entries. |
1071
+ | IncludeBookDocuments | boolean | no | If true, includes the entire book in the TOC. If false, includes only the TOC entries in the current document. Note: Valid when the current document is part of a book. |
1072
+ | IncludeHidden | boolean | no | If true, the TOC includes entries from text on hidden layers (this applies to the next TOC gen- erated by a user, not to a TOC that has already been placed in a document). |
1073
+ | Name | string | no | The name of the TOCStyle. |
1074
+ | NumberedParagraphs | NumberedParagraphsOptions_EnumValue | no | The format for importing numbered paragraphs into the TOC. Can be IncludeFullParagraph, IncludeNumbersOnly, or ExcludeNumbers. |
1075
+ | RunIn | boolean | no | If true, the lowest-level TOC entries are placed on the same line as the previous entry. |
1076
+ | SetStoryDirection | HorizontalOrVertical_EnumValue | no | The table of contents StoryDirection. Can be LeftToRightDirection or RightToLeftDirection. |
1077
+ | Title | string | no | The TOC title. |
1078
+ | TitleStyle | string | no | The paragraph style applied to the TOC title. |
1079
+
1080
+ **Table 182**: TOCStyle Entry Properties Represented as Attributes
1081
+
1082
+ | Name | Type | Req | Description |
1083
+ | ---------------------- | ---------------------------------- | ------- | ---------------------------------------------------------------------------------------------- |
1084
+ | Level | short | no | The indent level of the entry in the TOC. |
1085
+ | Name | string | no | The name of the TOCStyleEntry. |
1086
+ | PageNumber Position | PageNumber Position_Enum Value | no | The page number placement for the TOC entry style. Can be AfterEntry, BeforeEntry, or None. |
1087
+ | Self | string | yes | The unique ID of the object. |
1088
+ | Separator | string | no | The string to insert between the entry text and the page numbers. |
1089
+ | SortAlphabet | boolean | no | If true, sorts the TOC entries alphabetically. |
1090
+
1091
+ **Table 183**: TOCStyleEntry Properties Represented as Elements
1092
+
1093
+ | Name | Type | Req | Description |
1094
+ | -------- | -------- | ------- | --------------- |
1095
+
1096
+ | FormatStyle | string | no | The paragraph style applied to the TOC entry. Can be either: type = "object" Areference to a paragraph style as a unique ID (the value of the Self attribute of the <ParagraphStyle> element). or type = "string" Areference to the default '[No paragraph style]' element, in the form: $ID/[No paragraph style] . This is the default. |
1097
+ | ----------------- | ---------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1098
+ | PageNumberStyle | string | no | The CharacterStyle applied to the page number of the entry. Can be either: type = "object" Areference to a CharacterStyle as a unique ID (the value of the Self attribute of the <CharacterStyle> element). or type = "string" Areference to the default '[No CharacterStyle]' element, in the form: $ID/[No CharacterStyle] . This is the default. |
1099
+ | SeparatorStyle | string | no | The CharacterStyle applied to the separator of the entry. Can be either: type = "object" Areference to a CharacterStyle as a unique ID (the value of the Self attribute of the <CharacterStyle> element). or type = "string" Areference to the default '[No CharacterStyle]' element, in the form: $ID/[No CharacterStyle] . This is the default. |
1100
+
1101
+ **IDML Example 95. TOCStyle**
1102
+
1103
+ ```xml
1104
+ <TOCStyle Self="TOCStyle\kDefaultTOCStyleName" TitleStyle="ParagraphStyle\k[No paragraph style]" Title="Contents" Name="$ID/DefaultTOCStyleName" RunIn="false" IncludeHidden="false" IncludeBookDocuments="false" CreateBookmarks="true" SetStoryDirection="Horizontal" NumberedParagraphs="IncludeFullParagraph"/> <TOCStyle Self="TOCStyle\cExampleTOCStyle" TitleStyle="ParagraphStyle\cContentsTitle" Title="Contents" Name="ExampleTOCStyle" RunIn="false" IncludeHidden="false" IncludeBookDocuments="false" CreateBookmarks="true" NumberedParagraphs="IncludeFullParagraph">
1105
+ <TOCStyleEntry Self="ue4TOCStyleEntry0" Name="Headings:Heading1" Level="1" PageNumberPosition="AfterEntry" Separator="$ID/^t" SortAlphabet="false">
1106
+ <Properties>
1107
+ <FormatStyle type="object">ParagraphStyle\TOCHeading1</FormatStyle> <PageNumberStyle type="object">CharacterStyle\PageNumber</PageNumberStyle> <SeparatorStyle type="object">CharacterStyle\DotLeader</SeparatorStyle>
1108
+ </Properties>
1109
+ </TOCStyleEntry>
1110
+ <TOCStyleEntry Self="ue4TOCStyleEntry1" Name="Headings:Heading2" Level="2" PageNumberPosition="AfterEntry" Separator="$ID/^t" SortAlphabet="false">
1111
+ <Properties> <FormatStyle type="object">ParagraphStyle\TOCHeading2</FormatStyle> <PageNumberStyle type="object">CharacterStyle\PageNumber</PageNumberStyle> <SeparatorStyle type="object">CharacterStyle\DotLeader</SeparatorStyle> </Properties> </TOCStyleEntry> <TOCStyleEntry Self="ue4TOCStyleEntry2" Name="Headings:Heading3" Level="3" PageNumberPosition="AfterEntry" Separator="$ID/^t" SortAlphabet="false"> <Properties> <FormatStyle type="object">ParagraphStyle\TOCHeading3</FormatStyle> <PageNumberStyle type="object">CharacterStyle\PageNumber</PageNumberStyle> <SeparatorStyle type="object">CharacterStyle\DotLeader</SeparatorStyle> </Properties> </TOCStyleEntry> </TOCStyle>
1112
+ ```
1113
+
1114
+ Figure 60. TOCStyle
1115
+
1116
+ ![Image](images/10_8_styles_img001.png)
1117
+
1118
+ ### 10.8.9 TrapPresets
1119
+
1120
+ A TrapPreset is a collection of trapping settings you can apply to a page or range of pages in an In Design document. TrapPresets can be applied to the entire document, to ranges of pages, or to individual pages. If no TrapPreset is applied, In Design will use the [Default] TrapPreset to trap a document.
1121
+
1122
+ TrapPresets in an IDML package are stored as <TrapPreset> elements.
1123
+
1124
+ **Schema Example 168. TrapPreset**
1125
+
1126
+ ```
1127
+ TrapPreset_Object = element TrapPreset { attribute Self { xsd:string }, attribute Name { xsd:string }, attribute DefaultTrapWidth { xsd:double {minInclusive="0" maxInclusive="8"} }?, attribute BlackWidth { xsd:double {minInclusive="0" maxInclusive="8"} }?, attribute TrapJoin { EndJoin_EnumValue }?, attribute TrapEnd { TrapEndTypes_EnumValue }?, attribute ObjectsToImages { xsd:boolean }?, attribute ImagesToImages { xsd:boolean }?, attribute InternalImages { xsd:boolean }?, attribute OneBitImages { xsd:boolean }?, attribute ImagePlacement { TrapImagePlacementTypes_EnumValue }?, attribute StepThreshold { xsd:double {minInclusive="1" maxInclusive="100"} }?, attribute BlackColorThreshold { xsd:double {minInclusive="0" maxInclusive="100"} }?, attribute BlackDensity { xsd:double {minInclusive="0" maxInclusive="10"} }?, attribute SlidingTrapThreshold { xsd:double {minInclusive="0" maxInclusive="100"} }?, attribute ColorReduction { xsd:double {minInclusive="0" maxInclusive="100"} }?, element Properties { element Label { element KeyValuePair { KeyValuePair_TypeDef }* }? } ? }
1128
+ ```
1129
+
1130
+ **IDML Example 96. TrapPreset**
1131
+
1132
+ ```xml
1133
+ <TrapPreset Self="TrapPreset\ExampleTrapPreset" Name="ExampleTrapPreset" DefaultTrapWidth="0.25" BlackWidth="0.5" TrapJoin="MiterEndJoin" TrapEnd="MiterTrapEnds" ObjectsToImages="true" ImagesToImages="true" InternalImages="false" OneBitImages="true" ImagePlacement="CenterEdges" StepThreshold="10" BlackColorThreshold="100" BlackDensity="1.6" SlidingTrapThreshold="70" ColorReduction="100"/>
1134
+ ```
1135
+
1136
+ ## Table 184. TrapPreset Properties Represented as Attributes
1137
+
1138
+ | Name | Type | Req | Description |
1139
+ | ----------------------- | -------------------------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1140
+ | BlackColorThreshold | double | no | The minimum amount (as a percentage) of black ink required before the black width setting is applied. (Range: 0 to 100) |
1141
+ | BlackDensity | double | no | The neutral density value at or above which an ink is considered black. (Range: .001 to 10) |
1142
+ | BlackWidth | double | no | The black width. (Range: 0.0 to 8.0) |
1143
+ | ColorReduction | double | no | The degree (as a percentage) to which components from abutting colors are used to reduce the trap color. (Range: 0 to 100) Note: 0% creates a trap whose neutral density is equal to the neutral density of the darker color. |
1144
+ | DefaultTrapWidth | double | no | The default width for trapping all colors except those involving solid black. (Range: 0.0 to 8.0) |
1145
+ | ImagePlacement | TrapImagePlacementTypes_EnumValue | no | The trap placement between vector objects and bitmap images. Can be CenterEdges, Choke, ImageNeutralDensity, or ImagesOverSpread. |
1146
+ | ImagesToImages | boolean | no | If true, turns on trapping along the boundary of overlapping or abutting bitmap images. |
1147
+ | InternalImages | boolean | no | If true, turns on trapping among colors within individual bitmap images. |
1148
+ | Name | string | no | The name of the TrapPreset. |
1149
+ | ObjectsToImages | boolean | no | If true, ensures that vector objects overlap bitmap images. |
1150
+ | OneBitImages | boolean | no | If true, ensures that one-bit images trap to abutting objects. |
1151
+ | SlidingTrapThreshold | double | no | The difference (as a percentage) between the neutral densities of abutting colors at which the trap is moved from the darker side of a color edge toward the centerline. (Range: 0 to 100) |
1152
+ | StepThreshold | double | no | The amount (as a percentage) that components of abutting colors must vary before a trap is created. (Range: 1 to 100) |
1153
+ | TrapEnd | TrapEndTypes_EnumValue | no | The shape to use at the intersection of three-way traps. Can be MiterTrapEnds or OverlapTrapEnds. |
1154
+ | TrapJoin | EndJoin_EnumValue | no | The join type of the TrapPreset. Can be MiterEndJoin, RoundEndJoin, or BevelEndJoin. |