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,7 @@
1
+ ## Appendix D. Datatype.rnc
2
+
3
+ This appendix contains the datatype.rnc file, which defines the data types used in an IDML, InDesign Snippet (.idms), or InCopy ICML document.
4
+
5
+ ```
6
+ grammar { anything = ( element * { anything } | attribute * { text } | text )* empty_type = attribute type { string "empty" } bool_type = attribute type { string "boolean" } string_type = attribute type { string "string" } short_type = attribute type { string "short" } long_type = attribute type { string "long" } longlong_type = attribute type { string "longlong" } double_type = attribute type { string "double" } object_type = attribute type { string "object" } date_type = attribute type { string "date" } file_type = attribute type { string "file" } enum_type = attribute type { string "enumeration" } unit_type = attribute type { string "unit" } stream_type = attribute type { string "binary" } list_type = attribute type { string "list" } record_type = attribute type { string "record" } AddPageOptions_EnumValue = string "EndOfStory" | string "EndOfSection" | string "EndOfDocument" AdornmentOverprint_EnumValue = string "Auto" | string "OverprintOn" | string "OverprintOff" AlignmentStyleOptions_EnumValue = string "Spreadsheet" | string "LeftAlign" | string "RightAlign" | string "CenterAlign" AlternateGlyphForms_EnumValue = string "None" | string "TraditionalForm" | string "ExpertForm" | string "JIS78Form" | string "JIS83Form" | string "MonospacedHalfWidthForm" | string "ThirdWidthForm" | string "QuarterWidthForm" | string "NLCForm" | string "ProportionalWidthForm" | string "FullWidthForm" | string "JIS04Form" | string "JIS90Form" AnchorPoint_EnumValue = string "TopLeftAnchor" | string "TopCenterAnchor" | string "TopRightAnchor" | string "LeftCenterAnchor" | string "CenterAnchor" | string "RightCenterAnchor" | string "BottomLeftAnchor" | string "BottomCenterAnchor" | string "BottomRightAnchor" AnchorPosition_EnumValue = string "InlinePosition" | string "AboveLine" | string "Anchored" AnchoredRelativeTo_EnumValue = string "ColumnEdge" | string "TextFrame" | string "PageMargins" | string "PageEdge" | string "AnchorLocation" AnimationEaseOptions_EnumValue = string "NoEase" | string "EaseIn" | string "EaseOut" | string "EaseInOut" | string "CustomEase" AnimationPlayOperations_EnumValue = string "Play" | string "Stop" | string "Pause" | string "Resume" | string "ReversePlayback" | string "StopAll" ArrowHead_EnumValue = string "None" | string "SimpleArrowHead" | string "SimpleWideArrowHead" | string "TriangleArrowHead" | string "TriangleWideArrowHead" | string "BarbedArrowHead" | string "CurvedArrowHead" | string "CircleArrowHead" | string "CircleSolidArrowHead" | string "SquareArrowHead" | string "SquareSolidArrowHead" | string "BarArrowHead" AssignmentExportOptions_EnumValue = string "EmptyFrames" | string "AssignedSpreads" | string "Everything" AutoEnum_EnumValue = string "AutoValue" BalanceLinesStyle_EnumValue = string "NoBalancing" | string "VeeShape" | string "FullyBalanced" | string "PyramidShape" BaselineFrameGridRelativeOption_EnumValue = string "TopOfPage" | string "TopOfMargin" | string "TopOfFrame" | string "TopOfInset" BaselineGridRelativeOption_EnumValue = string "TopOfPageOfBaselineGridRelativeOption" | string "TopOfMarginOfBaselineGridRelativeOption" BehaviorEvents_EnumValue = string "MouseUp" | string "MouseDown" | string "MouseEnter" | string "MouseExit" | string "OnFocus" | string "OnBlur" BevelAndEmbossDirection_EnumValue = string "Up" | string "Down" BevelAndEmbossStyle_EnumValue = string "OuterBevel" | string "InnerBevel" | string "Emboss" | string "PillowEmboss" BevelAndEmbossTechnique_EnumValue = string "SmoothContour" | string "ChiselHard" | string "ChiselSoft" BlendMode_EnumValue = string "Normal" | string "Multiply" | string "Screen" | string "Overlay" | string "SoftLight" | string "HardLight" | string "ColorDodge" | string "ColorBurn" | string "Darken" | string "Lighten" | string "Difference" | string "Exclusion" | string "Hue" | string "Saturation" | string "Color" | string "Luminosity" BlendingSpace_EnumValue = string "Default" | string "RGB" | string "CMYK" BookletTypeOptions_EnumValue = string "TwoUpSaddleStitch" | string "TwoUpPerfectBound" | string "TwoUpConsecutive" | string "ThreeUpConsecutive" | string "FourUpConsecutive" BuildingBlockTypes_EnumValue = string "CustomStringBuildingBlock" | string "FileNameBuildingBlock" | string "ChapterNumberBuildingBlock" | string "PageNumberBuildingBlock" | string "FullParagraphBuildingBlock" | string "ParagraphNumberBuildingBlock" | string "ParagraphTextBuildingBlock" | string "BookmarkNameBuildingBlock" BulletCharacterType_EnumValue = string "UnicodeOnly" | string "UnicodeWithFont" | string "GlyphWithFont" Capitalization_EnumValue = string "Normal" | string "SmallCaps" | string "AllCaps" | string "CapToSmallCap" ChangeCaseOptions_EnumValue = string "None" | string "Uppercase" | string "Lowercase" | string "Titlecase" | string "Sentencecase" ChangeTypes_EnumValue = string "InsertedText" | string "DeletedText" | string "MovedText" ChapterNumberSources_EnumValue = string "UserDefined" | string "ContinueFromPreviousDocument" | string "SameAsPreviousDocument" CharacterAlignment_EnumValue = string "AlignBaseline" | string "AlignEmTop" | string "AlignEmCenter" | string "AlignEmBottom" | string "AlignICFTop" | string "AlignICFBottom" CharacterCountLocation_EnumValue = string "None" | string "TopAlign" | string "LeftAlign" | string "BottomAlign" | string "RightAlign" CharacterDirectionOptions_EnumValue = string "DefaultDirection" | string "LeftToRightDirection" | string "RightToLeftDirection" ClippingPathType_EnumValue = string "None" | string "DetectEdges" | string "AlphaChannel" | string "PhotoshopPath" | string "UserModifiedPath" ColorModel_EnumValue = string "Spot" | string "Process" | string "Registration" | string "Mixedinkmodel" ColorOutputModes_EnumValue = string "CompositeLeaveUnchanged" | string "CompositeGray" | string "CompositeRGB" | string "CompositeCMYK" | string "Separations" | string "InRIPSeparations" ColorOverride_EnumValue = string "Normal" | string "Specialpaper" | string "Specialblack" | string "Specialregistration" | string "Hiddenreserved" | string "Mixedinkparent" ColorRenderingDictionary_EnumValue = string "Default" | string "UseDocument" | string "Working" ColorSettingsPolicy_EnumValue = string "ColorPolicyOff" | string "PreserveEmbeddedProfiles" | string "ConvertToWorkingSpace" | string "CombinationOfPreserveAndSafeCmyk" ColorSpace_EnumValue = string "RGB" | string "CMYK" | string "LAB" | string "MixedInk" | string "NoAlternateColor" ComposeUsing_EnumValue = string "UseUserDictionary" | string "UseDocument" | string "Both" ConditionIndicatorMethod_EnumValue = string "UseUnderline" | string "UseHighlight" ConditionIndicatorMode_EnumValue = string "ShowIndicators" | string "ShowAndPrintIndicators" | string "HideIndicators" ConditionUnderlineIndicatorAppearance_EnumValue = string "Wavy" | string "Solid" | string "Dashed" ContentType_EnumValue = string "Unassigned" | string "GraphicType" | string "TextType" ContentsTypeSettings_EnumValue = string "AxialShade" | string "RadialShade" | string "MeshShade" | string "ConstantShade" ContourOptionsTypes_EnumValue = string "BoundingBox" | string "PhotoshopPath" | string "DetectEdges" | string "AlphaChannel" | string "GraphicFrame" | string "SameAsClipping" ConvertPageBreaks_EnumValue = string "None" | string "PageBreak" | string "ColumnBreak" ConvertTablesOptions_EnumValue = string "UnformattedTable" | string "UnformattedTabbedText" CornerOptions_EnumValue = string "None" | string "RoundedCorner" | string "InverseRoundedCorner" | string "InsetCorner" | string "BevelCorner" | string "FancyCorner" CrossReferenceType_EnumValue = string "SeeOrAlsoBracket" | string "See" | string "SeeAlso" | string "SeeHerein" | string "SeeAlsoHerein" | string "CustomCrossReference" | string "CustomCrossReferenceBefore" | string "CustomCrossReferenceAfter" DataFormat_EnumValue = string "ASCII" | string "Binary" DataSourceType_EnumValue = string "CommaSeparated" | string "TabDelimited" DesignOptions_EnumValue = string "FromCurrentAppearance" | string "ToCurrentAppearance" | string "ToCurrentLocation" DiacriticPositionOptions_EnumValue = string "DefaultPosition" | string "LoosePosition" | string "MediumPosition" | string "TightPosition" | string "OpentypePosition" DigitsTypeOptions_EnumValue = string "DefaultDigits" | string "ArabicDigits" | string "HindiDigits" | string "FarsiDigits" | string "NativeDigits" | string "FullFarsiDigits" | string "ThaiDigits" | string "LaoDigits" | string "DevanagariDigits" | string "BengaliDigits" | string "GurmukhiDigits" | string "GujaratiDigits" | string "OriyaDigits" | string "TamilDigits" | string "TeluguDigits" | string "KannadaDigits" | string "MalayalamDigits" | string "TibetanDigits" | string "KhmerDigits" | string "BurmeseDigits" DisplayOrderOptions_EnumValue = string "OrderByRows" | string "OrderByColumns" DisplaySettingOptions_EnumValue = string "HighQuality" | string "Typical" | string "Optimized" | string "Default" DocumentIntentOptions_EnumValue = string "PrintIntent" | string "WebIntent" DynamicTriggerEvents_EnumValue = string "OnPageLoad" | string "OnPageClick" | string "OnStateLoad" | string "OnClick" | string "OnRollover" | string "OnRelease" | string "OnRolloff" | string "OnSelfClick" | string "OnSelfRollover" EmptyFrameFittingOptions_EnumValue = string "None" | string "ContentToFrame" | string "Proportionally" | string "FillProportionally" EncodingType_EnumValue = string "HexEncoding" | string "Ascii85Encoding" | string "Ascii64Encoding" EndCap_EnumValue = string "ButtEndCap" | string "RoundEndCap" | string "ProjectingEndCap" EndJoin_EnumValue = string "MiterEndJoin" | string "RoundEndJoin" | string "BevelEndJoin" FeatherCornerType_EnumValue = string "Sharp" | string "Rounded" | string "Diffusion" FeatherMode_EnumValue = string "None" | string "Standard" FirstBaseline_EnumValue = string "AscentOffset" | string "CapHeight" | string "LeadingOffset" | string "EmboxHeight" | string "XHeight" | string "FixedHeight" Fitting_EnumValue = string "Proportional" | string "FitContentToFrame" | string "FitFrameToContent" | string "PreserveSizes" | string "FillProportional" FlattenerLevel_EnumValue = string "Low" | string "MediumLow" | string "Medium" | string "MediumHigh" | string "High" FlipValues_EnumValue = string "NotFlipped" | string "Flipped" | string "UndefinedFlipValue" Flip_EnumValue = string "None" | string "Horizontal" | string "Vertical" | string "HorizontalAndVertical" | string "Both" FloatingWindowPosition_EnumValue = string "UpperLeft" | string "UpperMiddle" | string "UpperRight" | string "CenterLeft" | string "Center" | string "CenterRight" | string "LowerLeft" | string "LowerMiddle" | string "LowerRight" FloatingWindowSize_EnumValue = string "OneFifth" | string "OneFourth" | string "OneHalf" | string "Full" | string "Double" | string "Triple" | string "Quadruple" | string "Max" FollowShapeModeOptions_EnumValue = string "None" | string "LeadingEdge" | string "AllEdges" FontDownloading_EnumValue = string "None" | string "Complete" | string "Subset" | string "SubsetLarge" FontStatus_EnumValue = string "Installed" | string "NotAvailable" | string "Fauxed" | string "Substituted" | string "Unknown" FontTypes_EnumValue = string "Type1" | string "TrueType" | string "CID" | string "ATC" | string "Bitmap" | string "OCF" | string "OpenTypeCFF" | string "OpenTypeCID" | string "OpenTypeTT" | string "Unknown" FootnoteFirstBaseline_EnumValue = string "AscentOffset" | string "CapHeight" | string "LeadingOffset" | string "EmboxHeight" | string "XHeight" | string "FixedHeight" FootnoteMarkerPositioning_EnumValue = string "NormalMarker" | string "SuperscriptMarker" | string "SubscriptMarker" | string "RubyMarker" FootnoteNumberingStyle_EnumValue = string "UpperRoman" | string "LowerRoman" | string "UpperLetters" | string "LowerLetters" | string "Arabic" | string "Symbols" | string "Kanji" | string "FullWidthArabic" | string "SingleLeadingZeros" | string "DoubleLeadingZeros" | string "Asterisks" | string "ArabicAlifBaTah" | string "ArabicAbjad" | string "HebrewBiblical" | string "HebrewNonStandard" FootnotePrefixSuffix_EnumValue = string "NoPrefixSuffix" | string "PrefixSuffixReference" | string "PrefixSuffixMarker" | string "PrefixSuffixBoth" FootnoteRestarting_EnumValue = string "DontRestart" | string "PageRestart" | string "SpreadRestart" | string "SectionRestart" FrameTypes_EnumValue = string "TextFrameType" | string "FrameGridType" | string "Unknown" GIFOptionsPalette_EnumValue = string "AdaptivePalette" | string "MacintoshPalette" | string "WebPalette" | string "WindowsPalette" GlowTechnique_EnumValue = string "Softer" | string "Precise" GoToZoomOptions_EnumValue = string "InheritZoom" | string "FitWindow" | string "FitWidth" | string "FitVisible" | string "ActualSize" GradientType_EnumValue = string "Linear" | string "Radial" GridAlignment_EnumValue = string "None" | string "AlignBaseline" | string "AlignEmTop" | string "AlignEmCenter" | string "AlignEmBottom" | string "AlignICFTop" | string "AlignICFBottom" GridStartingPointOptions_EnumValue = string "TopOutside" | string "TopInside" | string "BottomOutside" | string "BottomInside" | string "CenterVertical" | string "CenterHorizontal" | string "CenterCompletely" GridViewSettings_EnumValue = string "GridViewEnum" | string "ZnViewEnum" | string "AlignViewEnum" | string "GridAndZnViewEnum" HeaderFooterBreakTypes_EnumValue = string "InAllTextColumns" | string "OncePerTextFrame" | string "OncePerPage" HeaderTypes_EnumValue = string "BasicLatin" | string "FinnishSwedish" | string "DanishNorwegian" | string "Spanish" | string "Croatian" | string "Czech" | string "Estonian" | string "Hungarian" | string "Latvian" | string "Lithuanian" | string "Polish" | string "Romanian" | string "Slovak" | string "Slovenian" | string "Turkish" | string "Belarusian" | string "Bulgarian" | string "Russian" | string "Ukrainian" | string "KoreanConsonant" | string "KoreanConsonantPlusVowel" | string "HiraganaAll" | string "HiraganaConsonantsOnly" | string "KatakanaAll" | string "KatakanaConsonantsOnly" | string "ChinesePinyin" | string "ChineseStrokeCount" HorizontalAlignment_EnumValue = string "RightAlign" | string "LeftAlign" | string "CenterAlign" | string "TextAlign" HorizontalOrVertical_EnumValue = string "Horizontal" | string "Vertical" HyperlinkAppearanceHighlight_EnumValue = string "None" | string "Invert" | string "Outline" | string "Inset" HyperlinkAppearanceStyle_EnumValue = string "Solid" | string "Dashed" HyperlinkAppearanceWidth_EnumValue = string "Thin" | string "Medium" | string "Thick" HyperlinkDestinationPageSetting_EnumValue = string "Fixed" | string "FitView" | string "FitWindow" | string "FitWidth" | string "FitHeight" | string "FitVisible" | string "InheritZoom" ImageConversion_EnumValue = string "Automatic" | string "JPEG" | string "GIF" ImageDataTypes_EnumValue = string "AllImageData" | string "OptimizedSubsampling" | string "ProxyImageData" | string "None" ImportPlatform_EnumValue = string "Macintosh" | string "PC" ImportedPageCropOptions_EnumValue = string "CropContent" | string "CropBleed" | string "CropSlug" InCopyUIColors_EnumValue = string "Canary" | string "Lemon" | string "Electrolyte" | string "Lime" | string "Forest" | string "Lichen" | string "Jade" | string "Aqua" | string "Cirrus" | string "Ether" | string "Slate" | string "Ultramarine" | string "Midnight" | string "Blueberry" | string "Eggplant" | string "Grape" | string "Fuchsia" | string "Iris" | string "Carnation" | string "Mocha" | string "Wheat" | string "Mustard" | string "Amber" | string "Cornstarch" | string "Powder" | string "Smoke" | string "Graphite" | string "Gunmetal" | string "LightBlue" | string "Red" | string "Green" | string "Blue" | string "Yellow" | string "Magenta" | string "Cyan" | string "Gray" | string "Black" | string "Orange" | string "DarkGreen" | string "Teal" | string "Tan" | string "Brown" | string "Violet" | string "Gold" | string "DarkBlue" | string "Pink" | string "Lavender" | string "BrickRed" | string "OliveGreen" | string "Peach" | string "Burgundy" | string "GrassGreen" | string "Ochre" | string "Purple" | string "LightGray" | string "Charcoal" | string "GridBlue" | string "GridOrange" | string "Fiesta" | string "LightOlive" | string "Lipstick" | string "CuteTeal" | string "Sulphur" | string "GridGreen" | string "White" IndexFormat_EnumValue = string "RuninFormat" | string "NestedFormat" InkTypes_EnumValue = string "Normal" | string "Opaque" | string "Transparent" | string "OpaqueIgnore" InnerGlowSource_EnumValue = string "CenterSourced" | string "EdgeSourced" JPEGOptionsFormat_EnumValue = string "BaselineEncoding" | string "ProgressiveEncoding" JPEGOptionsQuality_EnumValue = string "Low" | string "Medium" | string "High" | string "Maximum" Justification_EnumValue = string "LeftAlign" | string "CenterAlign" | string "RightAlign" | string "LeftJustified" | string "RightJustified" | string "CenterJustified" | string "FullyJustified" | string "ToBindingSide" | string "AwayFromBindingSide" KashidasOptions_EnumValue = string "DefaultKashidas" | string "KashidasOff" KentenAlignment_EnumValue = string "AlignKentenLeft" | string "AlignKentenCenter" KentenCharacterSet_EnumValue = string "CharacterInput" | string "ShiftJIS" | string "JIS" | string "Kuten" | string "Unicode" KentenCharacter_EnumValue = string "None" | string "KentenSesameDot" | string "KentenWhiteSesameDot" | string "KentenBlackCircle" | string "KentenWhiteCircle" | string "KentenBlackTriangle" | string "KentenWhiteTriangle" | string "KentenBullseye" | string "KentenFisheye" | string "KentenSmallBlackCircle" | string "KentenSmallWhiteCircle" | string "Custom" KinsokuHangTypes_EnumValue = string "None" | string "KinsokuHangRegular" | string "KinsokuHangForce" KinsokuSet_EnumValue = string "Nothing" | string "HardKinsoku" | string "SoftKinsoku" | string "KoreanKinsoku" | string "SimplifiedChineseKinsoku" | string "TraditionalChineseKinsoku" KinsokuType_EnumValue = string "KinsokuPushInFirst" | string "KinsokuPushOutFirst" | string "KinsokuPushOutOnly" | string "KinsokuPrioritizeAdjustmentAmount" LeadingModel_EnumValue = string "LeadingModelRoman" | string "LeadingModelAkiBelow" | string "LeadingModelAkiAbove" | string "LeadingModelCenter" | string "LeadingModelCenterDown" Leading_EnumValue = string "Auto" LineAlignment_EnumValue = string "LeftOrTopLineAlign" | string "CenterLineAlign" | string "RightOrBottomLineAlign" | string "LeftOrTopLineJustify" | string "CenterLineJustify" | string "RightOrBottomLineJustify" | string "FullLineJustify" LinkExportPolicy_EnumValue = string "NoAutoExport" | string "ExportOnModify" | string "ExportOnClose" | string "ExportOnSave" LinkImportPolicy_EnumValue = string "NoAutoImport" | string "ImportOnModify" LinkResourceStoreState_EnumValue = string "Normal" | string "Cached" | string "Contained" | string "Embedded" ListAlignment_EnumValue = string "LeftAlign" | string "CenterAlign" | string "RightAlign" ListType_EnumValue = string "NoList" | string "BulletList" | string "NumberedList" LockStateValues_EnumValue = string "None" | string "UnmanagedStory" | string "CheckedInStory" | string "CheckedOutStory" | string "LockedStory" | string "EmbeddedStory" | string "MissingLockState" | string "MixedLockState" MarkLineWeight_EnumValue = string "P125pt" | string "P25pt" | string "P50pt" | string "P05mm" | string "P07mm" | string "P10mm" | string "P15mm" | string "P20mm" | string "P30mm" MarkTypes_EnumValue = string "Default" | string "JMarkWithCircle" | string "JMarkWithoutCircle" MeasurementUnits_EnumValue = string "Points" | string "Picas" | string "Inches" | string "InchesDecimal" | string "Millimeters" | string "Centimeters" | string "Ciceros" | string "Custom" | string "Agates" | string "U" | string "Bai" | string "Mils" | string "Pixels" | string "Q" | string "Ha" | string "AmericanPoints" MojikumiTableDefaults_EnumValue = string "Nothing" | string "LineEndAllOneHalfEmEnum" | string "OneEmIndentLineEndUkeOneHalfEmEnum" | string "OneOrOneHalfEmIndentLineEndUkeOneHalfEmEnum" | string "OneOrOneHalfEmIndentLineEndAllOneEmEnum" | string "OneEmIndentLineEndAllOneEmEnum" | string "OneEmIndentLineEndAllNoFloatEnum" | string "OneEmIndentLineEndUkeNoFloatEnum" | string "OneOrOneHalfEmIndentLineEndUkeNoFloatEnum" | string "OneEmIndentLineEndAllOneHalfEmEnum" | string "LineEndAllOneEmEnum" | string "LineEndUkeNoFloatEnum" | string "OneOrOneHalfEmIndentLineEndPeriodOneEmEnum" | string "OneEmIndentLineEndPeriodOneEmEnum" | string "LineEndPeriodOneEmEnum" | string "TradChineseDefault" | string "SimpChineseDefault" MoviePlayOperations_EnumValue = string "Play" | string "PlayFromNavigationPoint" | string "Stop" | string "Pause" | string "Resume" | string "StopAll" NestedStyleDelimiters_EnumValue = string "Sentence" | string "AnyWord" | string "AnyCharacter" | string "Letters" | string "Digits" | string "Tabs" | string "InlineGraphic" | string "Dropcap" | string "ForcedLineBreak" | string "EndNestedStyle" | string "IndentHereTab" | string "EmSpace" | string "EnSpace" | string "NonbreakingSpace" | string "AutoPageNumber" | string "SectionMarker" | string "Repeat" NothingEnum_EnumValue = string "Nothing" NumberedParagraphsOptions_EnumValue = string "IncludeFullParagraph" | string "IncludeNumbersOnly" | string "ExcludeNumbers" NumberingStyle_EnumValue = string "UpperRoman" | string "LowerRoman" | string "UpperLetters" | string "LowerLetters" | string "Arabic" | string "Kanji" | string "KatakanaModern" | string "KatakanaTraditional" | string "FormatNone" | string "SingleLeadingZeros" | string "ArabicAlifBaTah" | string "ArabicAbjad" | string "HebrewBiblical" | string "HebrewNonStandard" | string "DoubleLeadingZeros" | string "TripleLeadingZeros" OTFFigureStyle_EnumValue = string "TabularLining" | string "ProportionalOldstyle" | string "ProportionalLining" | string "TabularOldstyle" | string "Default" OutlineJoin_EnumValue = string "MiterEndJoin" | string "RoundEndJoin" | string "BevelEndJoin" PDFCrop_EnumValue = string "CropArt" | string "CropPDF" | string "CropTrim" | string "CropBleed" | string "CropMedia" | string "CropContentVisibleLayers" | string "CropContentAllLayers" | string "CropContent" PPDValues_EnumValue = string "DeviceIndependent" PageBindingOptions_EnumValue = string "Default" | string "RightToLeft" | string "LeftToRight" PageColorOptions_EnumValue = string "Nothing" | string "UseMasterColor" PageNumberPosition_EnumValue = string "AfterEntry" | string "BeforeEntry" | string "None" PageNumberStyle_EnumValue = string "UpperRoman" | string "LowerRoman" | string "UpperLetters" | string "LowerLetters" | string "Arabic" | string "Kanji" | string "DoubleLeadingZeros" | string "TripleLeadingZeros" | string "ArabicAlifBaTah" | string "ArabicAbjad" | string "HebrewBiblical" | string "HebrewNonStandard" | string "SingleLeadingZeros" | string "FullWidthArabic" PageNumberTypes_EnumValue = string "AutoPageNumber" | string "NextPageNumber" | string "PreviousPageNumber" | string "TextVariable" PagePositions_EnumValue = string "UpperLeft" | string "CenterHorizontally" | string "CenterVertically" | string "Centered" PageRange_EnumValue = string "AllPages" | string "SelectedItems" PageReferenceType_EnumValue = string "CurrentPage" | string "ToNextStyleChange" | string "ToNextUseOfStyle" | string "ToEndOfStory" | string "ToEndOfDocument" | string "ToEndOfSection" | string "ForNextNParagraphs" | string "ForNextNPages" | string "SuppressPageNumbers" PageTransitionDirectionOptions_EnumValue = string "NotApplicable" | string "Down" | string "RightToLeft" | string "LeftDown" | string "LeftUp" | string "LeftToRight" | string "RightDown" | string "RightUp" | string "Up" | string "In" | string "Out" | string "Horizontal" | string "Vertical" | string "HorizontalIn" | string "HorizontalOut" | string "VerticalIn" | string "VerticalOut" PageTransitionDurationOptions_EnumValue = string "Fast" | string "Medium" | string "Slow" PageTransitionTypeOptions_EnumValue = string "None" | string "BlindsTransition" | string "BoxTransition" | string "CombTransition" | string "CoverTransition" | string "DissolveTransition" | string "FadeTransition" | string "PageTurnTransition" | string "PushTransition" | string "SplitTransition" | string "UncoverTransition" | string "WipeTransition" | string "ZoomInTransition" | string "ZoomOutTransition" PaperSize_EnumValue = string "Auto" PaperSizes_EnumValue = string "DefinedByDriver" | string "Custom" ParagraphBreakTypes_EnumValue = string "Anywhere" | string "NextColumn" | string "NextFrame" | string "NextPage" | string "NextOddPage" | string "NextEvenPage" ParagraphDirectionOptions_EnumValue = string "LeftToRightDirection" | string "RightToLeftDirection" ParagraphJustificationOptions_EnumValue = string "DefaultJustification" | string "ArabicJustification" | string "NaskhJustification" PathTypeAlignments_EnumValue = string "TopPathAlignment" | string "BottomPathAlignment" | string "CenterPathAlignment" PlacedVectorProfilePolicy_EnumValue = string "IgnoreAll" | string "IgnoreOutputIntent" | string "HonorAllProfiles" PlayMode_EnumValue = string "Once" | string "StayOpen" | string "RepeatPlay" PlayOperations_EnumValue = string "Play" | string "Stop" | string "Pause" | string "Resume" | string "StopAll" Position_EnumValue = string "Normal" | string "Superscript" | string "Subscript" | string "OTSuperscript" | string "OTSubscript" | string "OTNumerator" | string "OTDenominator" PositionalForms_EnumValue = string "None" | string "Calculate" | string "Initial" | string "Medial" | string "Final" | string "Isolated" PostScriptLevels_EnumValue = string "Level2" | string "Level3" PreflightRuleFlag_EnumValue = string "RuleIsDisabled" | string "ReturnAsError" | string "ReturnAsWarning" | string "ReturnAsInformational" PrintLayerOptions_EnumValue = string "AllLayers" | string "VisibleLayers" | string "VisiblePrintableLayers" PrintPageOrientation_EnumValue = string "Portrait" | string "Landscape" | string "ReversePortrait" | string "ReverseLandscape" PrinterPresetTypes_EnumValue = string "Default" | string "Custom" Printer_EnumValue = string "PostscriptFile" Profile_EnumValue = string "PostScriptCMS" | string "UseDocument" | string "Working" | string "NoCMS" RenderingIntent_EnumValue = string "UseColorSettings" | string "Perceptual" | string "Saturation" | string "RelativeColorimetric" | string "AbsoluteColorimetric" ResolveStyleClash_EnumValue = string "ResolveClashUseExisting" | string "ResolveClashAutoRename" | string "ResolveClashUseNew" RestartPolicy_EnumValue = string "AnyPreviousLevel" | string "AfterSpecificLevel" | string "RangeOfLevels" RubyAlignments_EnumValue = string "RubyLeft" | string "RubyCenter" | string "RubyRight" | string "RubyFullJustify" | string "RubyJIS" | string "RubyEqualAki" | string "Ruby1Aki" RubyKentenPosition_EnumValue = string "AboveRight" | string "BelowLeft" RubyOverhang_EnumValue = string "None" | string "RubyOverhangOneRuby" | string "RubyOverhangHalfRuby" | string "RubyOverhangOneChar" | string "RubyOverhangHalfChar" | string "RubyOverhangNoLimit" RubyParentSpacing_EnumValue = string "RubyParentNoAdjustment" | string "RubyParentBothSides" | string "RubyParent121Aki" | string "RubyParentEqualAki" | string "RubyParentFullJustify" RubyTypes_EnumValue = string "GroupRuby" | string "PerCharacterRuby" RuleDataType_EnumValue = string "IntegerDataType" | string "ShortIntegerDataType" | string "RealDataType" | string "StringDataType" | string "BooleanDataType" | string "ObjectDataType" | string "ListDataType" RuleWidth_EnumValue = string "TextWidth" | string "ColumnWidth" RulerOrigin_EnumValue = string "SpreadOrigin" | string "PageOrigin" | string "SpineOrigin" ScaleModes_EnumValue = string "ScaleWidthHeight" | string "ScaleToFit" Screeening_EnumValue = string "Default" | string "Custom" SearchStrategies_EnumValue = string "FirstOnPage" | string "LastOnPage" Sequences_EnumValue = string "All" | string "Odd" | string "Even" ShadowMode_EnumValue = string "None" | string "Drop" SignatureSizeOptions_EnumValue = string "SignatureSize4" | string "SignatureSize8" | string "SignatureSize12" | string "SignatureSize16" | string "SignatureSize32" SingleWordJustification_EnumValue = string "LeftAlign" | string "CenterAlign" | string "RightAlign" | string "FullyJustified" SourceSpaces_EnumValue = string "UseDocument" | string "ProofSpace" SpanColumnCountOptions_EnumValue = string "All" SpanColumnTypeOptions_EnumValue = string "SingleColumn" | string "SpanColumns" | string "SplitColumns" SpecialCharacters_EnumValue = string "AutoPageNumber" | string "NextPageNumber" | string "PreviousPageNumber" | string "SectionMarker" | string "BulletCharacter" | string "CopyrightSymbol" | string "DegreeSymbol" | string "EllipsisCharacter" | string "ForcedLineBreak" | string "ParagraphSymbol" | string "RegisteredTrademark" | string "SectionSymbol" | string "TrademarkSymbol" | string "RightIndentTab" | string "IndentHereTab" | string "EmDash" | string "EnDash" | string "DiscretionaryHyphen" | string "NonbreakingHyphen" | string "EndNestedStyle" | string "DoubleLeftQuote" | string "DoubleRightQuote" | string "SingleLeftQuote" | string "SingleRightQuote" | string "EmSpace" | string "EnSpace" | string "FlushSpace" | string "HairSpace" | string "NonbreakingSpace" | string "ThinSpace" | string "FigureSpace" | string "PunctuationSpace" | string "ColumnBreak" | string "FrameBreak" | string "PageBreak" | string "OddPageBreak" | string "EvenPageBreak" | string "FootnoteSymbol" | string "LeftToRightEmbedding" | string "RightToLeftEmbedding" | string "PopDirectionalFormatting" | string "LeftToRightOverride" | string "RightToLeftOverride" | string "DottedCircle" | string "ZeroWidthJoiner" | string "TextVariable" | string "SingleStraightQuote" | string "DoubleStraightQuote" | string "DiscretionaryLineBreak" | string "ZeroWidthNonjoiner" | string "ThirdSpace" | string "QuarterSpace" | string "SixthSpace" | string "FixedWidthNonbreakingSpace" | string "HebrewMaqaf" | string "HebrewGeresh" | string "HebrewGershayim" | string "ArabicKashida" | string "ArabicComma" | string "ArabicSemicolon" | string "ArabicQuestionMark" | string "LeftToRightMark" | string "RightToLeftMark" | string "HebrewSofPasuk" SpreadFlattenerLevel_EnumValue = string "Default" | string "None" | string "Custom" StartParagraph_EnumValue = string "Anywhere" | string "NextColumn" | string "NextFrame" | string "NextPage" | string "NextOddPage" | string "NextEvenPage" StateTypes_EnumValue = string "Up" | string "Rollover" | string "Down" StoryDirectionOptions_EnumValue = string "LeftToRightDirection" | string "RightToLeftDirection" | string "UnknownDirection" StoryHorizontalOrVertical_EnumValue = string "Horizontal" | string "Vertical" | string "Unknown" StrokeAlignment_EnumValue = string "CenterAlignment" | string "InsideAlignment" | string "OutsideAlignment" StrokeCornerAdjustment_EnumValue = string "None" | string "Dashes" | string "Gaps" | string "DashesAndGaps" StrokeOrderTypes_EnumValue = string "RowOnTop" | string "ColumnOnTop" | string "BestJoins" | string "Indesign2Compatibility" TabStopAlignment_EnumValue = string "LeftAlign" | string "CenterAlign" | string "RightAlign" | string "CharacterAlign" TableDirectionOptions_EnumValue = string "LeftToRightDirection" | string "RightToLeftDirection" TableFormattingOptions_EnumValue = string "ExcelFormattedTable" | string "ExcelUnformattedTable" | string "ExcelUnformattedTabbedText" | string "ExcelFormatOnlyOnce" TextImportCharacterSet_EnumValue = string "Ansi" | string "RecommendShiftJIS83pv" | string "ShiftJIS90pv" | string "ShiftJIS90ms" | string "GB2312" | string "ChineseBig5" | string "MacintoshCE" | string "MacintoshCyrillic" | string "MacintoshGreek" | string "MacintoshTurkish" | string "WindowsCyrillic" | string "WindowsEE" | string "WindowsGreek" | string "WindowsTurkish" | string "GB18030" | string "KSC5601" | string "WindowsBaltic" | string "WindowsCE" | string "MacintoshRoman" | string "MacintoshCroatian" | string "MacintoshIcelandic" | string "MacintoshRomanian" | string "CyrillicKOI8R" | string "CyrillicKOI8U" | string "CyrillicCP855" | string "DOSLatin2" | string "CyrillicISO" | string "GreekISO" | string "CentralEuropeanISO" | string "TurkishISO" | string "UTF16" | string "UTF8" TextPathEffects_EnumValue = string "RainbowPathEffect" | string "SkewPathEffect" | string "RibbonPathEffect" | string "StairStepPathEffect" | string "GravityPathEffect" TextStrokeAlign_EnumValue = string "CenterAlignment" | string "OutsideAlignment" TextTypeAlignments_EnumValue = string "AscenderTextAlignment" | string "DescenderTextAlignment" | string "CenterTextAlignment" | string "BaselineTextAlignment" | string "AboveRightEmBoxTextAlignment" | string "BelowLeftEmBoxTextAlignment" | string "AboveRightIcfBoxTextAlignment" | string "BelowLeftIcfBoxTextAlignment" TextWrapModes_EnumValue = string "None" | string "JumpObjectTextWrap" | string "NextColumnTextWrap" | string "BoundingBoxTextWrap" | string "Contour" TextWrapSideOptions_EnumValue = string "BothSides" | string "LeftSide" | string "RightSide" | string "SideTowardsSpine" | string "SideAwayFromSpine" | string "LargestArea" ThumbsPerPage_EnumValue = string "K1x2" | string "K2x2" | string "K3x3" | string "K4x4" | string "K5x5" | string "K6x6" | string "K7x7" TilingTypes_EnumValue = string "Auto" | string "AutoJustified" | string "Manual" TrapEndTypes_EnumValue = string "MiterTrapEnds" | string "OverlapTrapEnds" TrapImagePlacementTypes_EnumValue = string "CenterEdges" | string "Choke" | string "ImageNeutralDensity" | string "ImagesOverSpread" Trapping_EnumValue = string "Off" | string "ApplicationBuiltin" | string "AdobeInRIP" UIColors_EnumValue = string "LightBlue" | string "Red" | string "Green" | string "Blue" | string "Yellow" | string "Magenta" | string "Cyan" | string "Gray" | string "Black" | string "Orange" | string "DarkGreen" | string "Teal" | string "Tan" | string "Brown" | string "Violet" | string "Gold" | string "DarkBlue" | string "Pink" | string "Lavender" | string "BrickRed" | string "OliveGreen" | string "Peach" | string "Burgundy" | string "GrassGreen" | string "Ochre" | string "Purple" | string "LightGray" | string "Charcoal" | string "GridBlue" | string "GridOrange" | string "Fiesta" | string "LightOlive" | string "Lipstick" | string "CuteTeal" | string "Sulphur" | string "GridGreen" | string "White" UpdateLinkOptions_EnumValue = string "Unknown" | string "ApplicationSettings" | string "KeepOverrides" VariableNumberingStyles_EnumValue = string "Current" | string "Arabic" | string "UpperRoman" | string "LowerRoman" | string "UpperLetters" | string "LowerLetters" | string "Kanji" | string "FullWidthArabic" | string "SingleLeadingZeros" | string "DoubleLeadingZeros" VariableScopes_EnumValue = string "DocumentScope" | string "SectionScope" VariableTypes_EnumValue = string "CustomTextType" | string "FileNameType" | string "LastPageNumberType" | string "ChapterNumberType" | string "OutputDateType" | string "CreationDateType" | string "ModificationDateType" | string "MatchCharacterStyleType" | string "MatchParagraphStyleType" | string "XrefPageNumberType" | string "XrefChapterNumberType" | string "LiveCaptionType" VerticalAlignment_EnumValue = string "TopAlign" | string "BottomAlign" | string "CenterAlign" VerticalJustification_EnumValue = string "TopAlign" | string "CenterAlign" | string "BottomAlign" | string "JustifyAlign" VerticallyRelativeTo_EnumValue = string "ColumnEdge" | string "TextFrame" | string "PageMargins" | string "PageEdge" | string "LineBaseline" | string "LineXheight" | string "LineAscent" | string "Capheight" | string "TopOfLeading" ViewZoomStyle_EnumValue = string "FullScreen" | string "ZoomIn" | string "ZoomOut" | string "FitPage" | string "ActualSize" | string "FitWidth" | string "FitVisible" | string "SinglePage" | string "OneColumn" | string "TwoColumn" VisibilityInPdf_EnumValue = string "VisibleInPdf" | string "HiddenInPdf" | string "VisibleButDoesNotPrintInPdf" | string "HiddenButPrintableInPdf" WarichuAlignment_EnumValue = string "Auto" | string "LeftAlign" | string "CenterAlign" | string "RightAlign" | string "FullyJustified" | string "LeftJustified" | string "CenterJustified" | string "RightJustified" WatermarkHorizontalPositionEnum_EnumValue = string "WatermarkHLeft" | string "WatermarkHCenter" | string "WatermarkHRight" WatermarkVerticalPositionEnum_EnumValue = string "WatermarkVTop" | string "WatermarkVCenter" | string "WatermarkVBottom" XMLExportUntaggedTablesFormat_EnumValue = string "None" | string "CALS" XMLFileEncoding_EnumValue = string "UTF8" | string "UTF16" | string "ShiftJIS" XMLImportStyles_EnumValue = string "AppendImport" | string "MergeImport" XMLTransformFile_EnumValue = string "StylesheetInXML" # A geometry path that contains the number of path points in the path, a list of all the path points, and whether the path is open. GeometryPathType_TypeDef = attribute PathOpen { xsd:boolean }, element PathPointArray { element PathPointType { PathPointType_TypeDef }* } # A point in the form (x, y). XyPointType_TypeDef = list { xsd:double ,xsd:double } # An InDesign path point containing (anchor point, left direction point, right direction point). PathPointType_TypeDef = attribute Anchor { XyPointType_TypeDef }, attribute LeftDirection { XyPointType_TypeDef }, attribute RightDirection { XyPointType_TypeDef } # The bounds of a rectangle in the form [left, top, right, bottom]. RectangleBoundsType_TypeDef = attribute Left { xsd:double }, attribute Top { xsd:double }, attribute Right { xsd:double }, attribute Bottom { xsd:double } # A transformation matrix in the form (a, b, c, d, e, f). TransformationMatrixType_TypeDef = list { xsd:double ,xsd:double ,xsd:double ,xsd:double ,xsd:double ,xsd:double } # An override mojikumi aki. OverrideMojikumiAkiType_TypeDef = attribute TargetMojikumiClass { xsd:short }, attribute SideMojikumiClass { xsd:short }, attribute SideIsAfterTarget { xsd:boolean }, attribute Minimum { xsd:double }, attribute Desired { xsd:double }, attribute Maximum { xsd:double }, attribute CompressionPriority { xsd:short }, attribute AkiDoesNotFloat { xsd:boolean } # A key value pair. KeyValuePair_TypeDef = attribute Key { xsd:string }, attribute Value { xsd:string } # Properties or parameters using the InDesign UI Colors enumeration use this to specify the type as either one of the enumerated UI colors or a list of RGB values for a custom color. InDesignUIColorType_TypeDef = (list_type, element ListItem { double_type, xsd:double {minInclusive="0" maxInclusive="255"} }, element ListItem { double_type, xsd:double {minInclusive="0" maxInclusive="255"} }, element ListItem { double_type, xsd:double {minInclusive="0" maxInclusive="255"} }) | (enum_type, UIColors_EnumValue ) # A point specified in unit type in the form (x, y). UnitPointType_TypeDef = list { xsd:double ,xsd:double } # The bounds of a rectangle specified in unit type in the form [top, left, bottom, right]. UnitRectangleBoundsType_TypeDef = attribute Top { xsd:double }, attribute Left { xsd:double }, attribute Bottom { xsd:double }, attribute Right { xsd:double } # Properties or parameters using the InCopy UI Colors enumeration use this to specify the type as either one of the enumerated UI colors or a list of RGB values for a custom color. InCopyUIColorType_TypeDef = (list_type, element ListItem { double_type, xsd:double {minInclusive="0" maxInclusive="255"} }, element ListItem { double_type, xsd:double {minInclusive="0" maxInclusive="255"} }, element ListItem { double_type, xsd:double {minInclusive="0" maxInclusive="255"} }) | (enum_type, InCopyUIColors_EnumValue ) # A name value pair NameValuePair_TypeDef = attribute Name { xsd:string }, attribute Value { xsd:string } # Index header group. IndexHeaderGroupType_TypeDef = attribute InternalName { xsd:string }, attribute UIString { xsd:string }, attribute DocumentString { xsd:string }, attribute Visibility { xsd:boolean }, element SectionHeaderArray { element SectionHeaderType { SectionHeaderType_ TypeDef }* } # Index section header. SectionHeaderType_TypeDef = attribute SortingHeaderString { xsd:string }, attribute DocumentHeaderString { xsd:string }, attribute UIHeaderString { xsd:string }, attribute Language { xsd:int } # Index instance. IndexInstanceType_TypeDef = attribute Name { xsd:string }, attribute Story { xsd:string } # The preflight error results for a single node, consisting of up to three strings describing error info for that node. PreflightErrorNodeType_TypeDef = attribute ParentNodeID { xsd:int }, attribute ErrorName { xsd:string }, attribute PageNumber { xsd:string }, attribute ErrorInfo { xsd:string }, element ErrorDetail { element PreflightErrorInfoType { PreflightErrorInfoType_ TypeDef }* } # The preflight results. PreflightResultsType_TypeDef = attribute DocumentName { xsd:string }, attribute ProfileName { xsd:string }, element Results { element PreflightErrorNodeType { PreflightErrorNodeType_ TypeDef }* } # preflight error detail info type PreflightErrorInfoType_TypeDef = attribute Label { xsd:string }, attribute Description { xsd:string } # preflight rule data base list type PreflightRuleDataBaseListType_TypeDef = list_type, element ListItem { (string_type, xsd:string ) | (double_type, xsd:double ) | (long_type, xsd:int ) | (short_type, xsd:short ) | (bool_type, xsd:boolean ) | (object_type, xsd:string ) }* # preflight rule data list type PreflightRuleDataListType_TypeDef = list_type, element ListItem { list_type, element PreflightRuleDataBaseListType { PreflightRuleDataBaseListType_TypeDef }* }* # animation data key FrameType AnimationDataKeyFrameType_TypeDef = attribute KeyFrame { xsd:int }, attribute Value { xsd:double } # animation data motion path key FrameType AnimationDataPathKeyFrameType_TypeDef = attribute KeyFrame { xsd:int }, element PathPoint { PathPointType_TypeDef } # A condition verses it's visibility VisibilityPair_TypeDef = attribute Condition { xsd:string }, attribute Visibility { xsd:boolean } }
7
+ ```
@@ -0,0 +1,224 @@
1
+ ## Appendix E. Update List of IDML 8.0
2
+
3
+ This appendix describes changes to the structure of IDML files and the IDML schema made for Adobe InDesign CS6. These changes appear as new objects (XML elements in the IDML file) and new properties (attributes, in the XML of the IDML file itself) on existing objects. The overall structure of the IDML document (that is, the contents of the IDML zip archive) has not changed, and remains as documented in section 8, "IDML Document Structure" above.
4
+
5
+ ## 1.1 New Elements
6
+
7
+ ## 1.1.1 LinkedPageItemOption
8
+
9
+ The LinkedPageItemOption element has been added as a child element to the <Oval> element, <Sound > element, <Movie> element, <Graphic> element (see "Spline Item Containing an Imported Graphic" on page 120), <Image> element, <EPS> element, <WMF> element, <PICT> element, <PDF> element, <ImportedPage> element, <Rectangle> element (see "Graphics" on page 91), <GraphicLine> element, <TextFrame> element (see "TextFrames" on page 127), <Polygon> element, <Group> element, <EPSText> element, <FormField> element, <Button> element (see "Buttons" on page 141), <MultiStateObject> element (see "Multi-State Object" on page 149). This element is the link options for a linked Page Item.
10
+
11
+ ## 1.1.2 HtmlItem
12
+
13
+ The HtmlItem element has been added as a child element to the <Oval> element, <Rectangle> element (see "Graphics" on page 91), <GraphicLine> element, <Polygon> element and <Group> element. This element is the embedded HTML item.
14
+
15
+ ## 1.1.3 ParaStyleMapping
16
+
17
+ The ParaStyleMapping element has been added as child element to the <Application> element, <Document> element (see "designmap.xml" on page 44) and <Story script> element. This element is a para style mapping.
18
+
19
+ ## 1.1.4 CharStyleMapping
20
+
21
+ The CharStyleMapping element has been added as child element to the <Application> element, <Document> element (see "designmap.xml" on page 44)S and <Story script> element. This element is a char style mapping.
22
+
23
+ ## 1.1.5 TableStyleMapping
24
+
25
+ The TableStyleMapping element has been added as child element to the <Application> element, <Document> element (see "designmap.xml" on page 44) and <Story script> element. This element is a table style mapping.
26
+
27
+ ## 1.1.6 CellStyleMapping
28
+
29
+ The CellStyleMapping element has been added as child element to the <Application> element, <Document> element (see "designmap.xml" on page 44) and <Story script> element. This element is a cell style mapping.
30
+
31
+ ## 1.1.7 CheckBox
32
+
33
+ The CheckBox element has been added as a child element to the <Spread> element (see "Spreads and Master Spreads" on page 87), <Oval> element and <Rectangle> element (see "Graphics" on page 91).
34
+
35
+ ## 1.1.8 ComboBox
36
+
37
+ The ComboBox element has been added as a child element to the <Spread> element (see "Spreads and Master Spreads" on page 87), <Oval> element and <Rectangle> element (see "Graphics" on page 91).
38
+
39
+ ## 1.1.9 ListBox
40
+
41
+ The ListBox element has been added as a child element to the <Spread> element (see "Spreads and Master Spreads" on page 87), <Oval> element and <Rectangle> element (see "Graphics" on page 91).
42
+
43
+ ## 1.1.10 RadioButton
44
+
45
+ The RadioButtonelement has been added as a child element to the <Spread> element (see "Spreads and Master Spreads" on page 87), <Oval> element and <Rectangle> element (see "Graphics" on page 91).
46
+
47
+ ## 1.1.11 TextBox
48
+
49
+ The TextBox element has been added as a child element to the <Spread> element (see "Spreads and Master Spreads" on page 87), <Oval> element and <Rectangle> element (see "Graphics" on page 91).
50
+
51
+ ## 1.1.12 SignatureField
52
+
53
+ The SignatureField element has been added as a child element to the <Spread> element (see "Spreads and Master Spreads" on page 87), <Oval> element and <Rectangle> element (see "Graphics" on page 91).
54
+
55
+ ## 1.1.13 Pumpkin
56
+
57
+ The Pumpkin element has been added as a child element to the <Spread> element (see "Spreads and Master Spreads" on page 87), <Oval> element and <Rectangle> element (see "Graphics" on page 91).
58
+
59
+ ## 1.1.14 ObjectExportOption
60
+
61
+ The ObjectExportOption element has been added as a child element to the <TextFrame> element (see "TextFrames" on page 127). This element is the export options of its parent element.
62
+
63
+ ## 1.1.15 SubmitFormBehavior
64
+
65
+ The SubmitFormBehavior element has been added as a child element to the <Button> element (see "Buttons" on page 141). This element is a behavior object that submits the document.
66
+
67
+ ## 1.1.16 ClearFormBehavior
68
+
69
+ The ClearFormBehavior element has been added as a child element to the <Button> element (see "Buttons" on page 141). This element is a behavior object that clears the form fields in the document.
70
+
71
+ ## 1.1.17 PrintFormBehavior
72
+
73
+ The PrintFormBehavior element has been added as a child element to the <Button> element (see "Buttons" on page 141). This element is a behavior object that triggers print for the document.
74
+
75
+
76
+ ## 1.2 New Attributes
77
+
78
+ ## 1.2.1 ApplyStyleMappings
79
+
80
+ The ApplyStyleMappings attribute has been added to the <linkedStoryOption> elements. If this attribute is true, style mappings will be applied during linked story creation or update.
81
+
82
+ ## 1.2.2 AlternateLayoutLength
83
+
84
+ The AlternateLayoutLength attribute has been added to the <Section> elements (see "Section" on page 69). This attribute is the number of pages in the alternate layout section.
85
+
86
+ ## 1.2.3 AlternateLayout
87
+
88
+ The AlternateLayout attribute has been added to the <Section> elements (see "Section" on page 69). This attribute is the alternate layout name for a set of pages.
89
+
90
+ ## 1.2.4 Pagination
91
+
92
+ The Pagination attribute has been added to the <Section> elements (see "Section" on page 69). This attribute is the pagination option for this section for adding and removing pages in HTML5.
93
+
94
+ ## 1.2.5 PaginationMaster
95
+
96
+ The PaginationMaster attribute has been added to the <Section> elements (see "Section" on page 69). This attribute is the master to apply when pages are added in HTML5.
97
+
98
+ ## 1.2.6 ExternalStyleSheets
99
+
100
+ The ExternalStyleSheets attribute has been added to the <EPubExportPreference> element and <HTMLExportPreference> element. This attribute is the file path of external cascading style sheets.
101
+
102
+ ## 1.2.7 Javascripts
103
+
104
+ The Javascripts attribute has been added to the <EPubExportPreference> element and <HTMLExportPreference> element. This attribute is the file path of external javascripts.
105
+
106
+ ## 1.2.8 UseFlexibleColumnWidth
107
+
108
+ The UseFlexibleColumnWidth attribute has been added to the <TextFramePreference> element (see "TextFrame Preference" on page 132). If this attribute is true, maintains column width between a min and max range when the TextFrame is resized. If this attribute is false, causes columns to resize when the TextFrame is resized.
109
+
110
+ Note: When true, resizing the frame can change the number of columns in the frame.
111
+
112
+ ## 1.2.9 TextColumnMaxWidth
113
+
114
+ The UseFlexibleColumnWidth attribute has been added to the <TextFramePreference> element (see "TextFrame Preference" on page 132). This attribute is the maximum column width of the columns in the TextFrame. Use 0 to indicate no upper limit.
115
+
116
+ ## 1.2.10 AutoSizeType
117
+
118
+ The AutoSizeType attribute has been added to the <TextFramePreference> element (see "TextFrame Preference" on page 132). This attribute is the dimension for auto sizing of TextFrame based on text content.
119
+
120
+ ## 1.2.11 AutoSizingReferencePoint
121
+
122
+ The AutoSizingReferencePoint attribute has been added to the <TextFramePreference> element (see "TextFrame Preference" on page 132). This attribute is the reference point for auto sizing of TextFrame based on text content.
123
+
124
+ ## 1.2.12 UseMinimumHeightForAutoSizing
125
+
126
+ The UseMinimumHeightForAutoSizing attribute has been added to the <TextFramePreference> element (see "TextFrame Preference" on page 132). If this attribute is true, while auto sizing it is made sure that the TextFrame height is always more than or equal to given minimum height.
127
+
128
+ ## 1.2.13 MinimumHeightForAutoSizing
129
+
130
+ The MinimumHeightForAutoSizing attribute has been added to the <TextFramePreference> element (see "TextFrame Preference" on page 132). This attribute is the minimum height of the TextFrame, that should be considered while auto sizing.
131
+
132
+ ## 1.2.14 UseMinimumWidthForAutoSizing
133
+
134
+ The UseMinimumWidthForAutoSizing attribute has been added to the <TextFramePreference> element (see "TextFrame Preference" on page 132). If this attribute is true, while auto sizing it is made sure that the TextFrame width is always more than or equal to given minimum width.
135
+
136
+ ## 1.2.15 MinimumWidthForAutoSizing
137
+
138
+ The MinimumWidthForAutoSizing attribute has been added to the <TextFramePreference> element (see "TextFrame Preference" on page 132). This attribute is the minimum width of the TextFrame, that should be considered while auto sizing.
139
+
140
+ ## 1.2.16 UseNoLineBreaksForAutoSizing
141
+
142
+ The UseNoLineBreaksForAutoSizing attribute has been added to the <TextFramePreference> element (see "TextFrame Preference" on page 132). If this attribute is true, line breaks are not introduced after auto sizing.
143
+
144
+ ## 1.2.17 QuoteCharactersRotatedInVertical
145
+
146
+ The QuoteCharactersRotatedInVertical attribute has been added to the <TextPreference> element (see "Text Preference" on page 299). If this attribute is true, Japanese composer treats quotes as half width and rotates them in vertical.
147
+
148
+ ## 1.2.18 ParagraphKashidaWidth
149
+
150
+ The ParagraphKashidaWidth attribute has been added to the <TextDefault> element (see "TextDefault" on page 301), <ParagraphStyle> element (see "Paragraph Styles" on page 345), <Story> (see "Story Schema" on page 186) element, <ParagraphStyleRange> element (see "Text Range Elements" on page 196), <CharacterStyleRange> element (see "CharacterStyleRange" on page 205). This attribute is the Paragraph kashida width. 0 is none, 1 is short, 2 is medium, 3 is long.
151
+
152
+ ## 1.2.19 CreatePrimaryTextFrame
153
+
154
+ The CreatePrimaryTextFrame attribute has been added to the <DocumentPreference> element (see "Document Preference" on page 319). If this attribute is true, the document A-master has primary TextFrames when a new document is created.
155
+
156
+ ## 1.2.20 EnableTextFrameAutoSizingOptions
157
+
158
+ The EnableTextFrameAutoSizingOptions attribute has been added to the <ObjectStyle> element (see "Object Styles" on page 377). If this attribute is true, the object style will apply auto-sizing TextFrame options.
159
+
160
+ ## 1.2.21 GuideType
161
+
162
+ The GuideType attribute has been added to the <Guide> element (see "Guides" on page 160). This attribute is the type of the guide.
163
+
164
+ ## 1.2.22 GuideZone
165
+
166
+ The GuideZone attribute has been added to the <Guide> element (see "Guides" on page 160). This attribute is zone of the guide.
167
+
168
+ ## 1.2.23 LinkResourceId
169
+
170
+ The LinkResourceId attribute has been added to the <Oval> element, <Sound > element, <Movie> element, <Graphic> element (see "Spline Item Containing an Imported Graphic" on page 120), <Image> element, <EPS> element, <WMF> element, <PICT> element, <PDF> element, <ImportedPage> element, <Rectangle> element (see "Graphics" on page 91), <GraphicLine> element, <TextFrame> element, <Polygon> element, <Group> element, <EPSText> element, <FormField> element, <Button> element (see "Buttons" on page 141), <MultiStateObject> (see "Multi-State Object" on page 149) element. This attribute is the destination unique id for shared content link.
171
+
172
+ ## 1.2.24 ParentInterfaceChangeCount
173
+
174
+ The ParentInterfaceChangeCount attribute has been added to the <Oval> element, <Sound > element, <Movie> element, <Graphic> element (see "Spline Item Containing an Imported Graphic" on page 120), <Image> element, <EPS> element, <WMF> element, <PICT> element, <PDF> element, <ImportedPage> element, <Rectangle> element (see "Graphics" on page 91), <GraphicLine> element, <TextFrame> element, <Polygon> element, <Group> element, <EPSText> element, <FormField> element, <Button> element (see "Buttons" on page 141), <MultiStateObject> element (see "Multi-State Object" on page 149). This attribute is Parent Interface Change Count.
175
+
176
+ ## 1.2.25 TargetInterfaceChangeCount
177
+
178
+ The TargetInterfaceChangeCount attribute has been added to the <Oval> element, <Sound > element, <Movie> element, <Graphic> element (see "Spline Item Containing an Imported
179
+
180
+ Graphic" on page 120), <Image> element, <EPS> element, <WMF> element, <PICT> element, <PDF> element, <ImportedPage> element, <Rectangle> element (see "Graphics" on page 91), <GraphicLine> element, <TextFrame> element, <Polygon> element, <Group> element, <EPSText> element, <FormField> element, <Button> element (see "Buttons" on page 141), <MultiStateObject> element (see "Multi-State Object" on page 149). This attribute is Target Interface Change Count.
181
+
182
+ ## 1.2.26 LastUpdatedInterfaceChangeCount
183
+
184
+ The LastUpdatedInterfaceChangeCount attribute has been added to the <Oval> element, <Sound > element, <Movie> element, <Graphic> element (see "Spline Item Containing an Imported Graphic" on page 120), <Image> element, <EPS> element, <WMF> element, <PICT> element, <PDF> element, <ImportedPage> element, <Rectangle> element (see "Graphics" on page 91), <GraphicLine> element, <TextFrame> element, <Polygon> element, <Group> element, <EPSText> element, <FormField> element, <Button> element (see "Buttons" on page 141), <MultiStateObject> element (see "Multi-State Object" on page 149). This attribute is Last Updated Interface Change Count.
185
+
186
+ ## 1.2.27 HorizontalLayoutConstraints
187
+
188
+ The HorizontalLayoutConstraints attribute has been added to the <Oval> element, <Sound > element, <Movie> element, <Graphic> element (see "Spline Item Containing an Imported Graphic" on page 120), <Image> element, <EPS> element, <WMF> element, <PICT> element, <PDF> element, <ImportedPage> element, <Rectangle> element (see "Graphics" on page 91), <GraphicLine> element, <TextFrame> element, <Polygon> element, <Group> element, <EPSText> element, <FormField> element, <Button> element (see "Buttons" on page 141), <MultiStateObject> element (see "Multi-State Object" on page 149). This attribute is the left margin, width, and right margin constraints this item is subject to when using the object-based layout rule.
189
+
190
+ ## 1.2.28 VerticalLayoutConstraints
191
+
192
+ The VerticalLayoutConstraints attribute has been added to the <Oval> element, <Sound > element, <Movie> element, <Graphic> element (see "Spline Item Containing an Imported Graphic" on page 120), <Image> element, <EPS> element, <WMF> element, <PICT> element, <PDF> element, <ImportedPage> element, <Rectangle> element (see "Graphics" on page 91), <GraphicLine> element, <TextFrame> element, <Polygon> element, <Group> element, <EPSText> element, <FormField> element, <Button> element (see "Buttons" on page 141), <MultiStateObject> element (see "Multi-State Object" on page 149). This attribute is the top margin, height, and bottom margin constraints this item is subject to when using the object-based layout rule.
193
+
194
+ ## 1.2.29 CustomLayout
195
+
196
+ The CustomLayout attribute has been added to the <ObjectExportOption> element. If this attribute is true, custom layout is enabled for object.
197
+
198
+ ## 1.2.30 CustomLayoutType
199
+
200
+ The CustomLayoutType attribute has been added to the <ObjectExportOption> element. This attribute is the custom Layout settings to be used for object.
201
+
202
+ ## 1.2.31 PrintableInPDF
203
+
204
+ The PrintableInPDF attribute has been added to the <Button> element (see "Buttons" on page 141). If this attribute is true, the form field/push button is printable in the exported PDF.
205
+
206
+ ## 1.2.32 HiddenUntilTriggered
207
+
208
+ The HiddenUntilTriggered attribute has been added to the <Button> element (see "Buttons" on page 141). If this attribute is true, the form field/push button is hidden until triggered in the exported PDF.
209
+
210
+ ## 1.2.33 AppliedAlternateLayout
211
+
212
+ The AppliedAlternateLayout attribute has been added to the <Page> element (see "Pages" on page 156). This attribute is the alternate layout section to which the page belongs.
213
+
214
+ ## 1.2.34 LayoutRule
215
+
216
+ The LayoutRule attribute has been added to the <Page> element (see "Pages" on page 156). This attribute is the layout rule.
217
+
218
+ ## 1.2.35 SnapshotBlendingMode
219
+
220
+ The SnapshotBlendingMode attribute has been added to the <Page> element (see "Pages" on page 156). This attribute is the snapshot blending mode.
221
+
222
+ ## 1.2.36 OptionalPage
223
+
224
+ The OptionalPage attribute has been added to the <Page> element (see "Pages" on page 156). This attribute is the optional page for HTML5 pagination.
@@ -0,0 +1,90 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Assembles a faithful lutaml-model class file from an RNC element
4
+ # definition. Used to regenerate lib/idml/elements/*.rb when the
5
+ # schemas change.
6
+ #
7
+ # Usage:
8
+ # scripts/assemble_element.rb <rnc> <Element_Object> <ClassName> \
9
+ # <output.rb> <child,child> <xml_root_name>
10
+ #
11
+ # - <rnc>: path to the .rnc file containing the element definition.
12
+ # - <Element_Object>: the RNC rule name (e.g., Story_Object).
13
+ # - <ClassName>: Ruby class name (e.g., StoryInner).
14
+ # - <output.rb>: where to write the assembled Ruby file.
15
+ # - <child,child>: comma-separated list of typed children. Each entry
16
+ # is either a Ruby class name ("Content") or "RubyClass:XmlName"
17
+ # ("XmlElement:XMLElement") when they differ.
18
+ # - <xml_root_name>: the XML element name (defaults to ClassName).
19
+
20
+ rnc_path = ARGV[0]
21
+ element_name = ARGV[1]
22
+ class_name = ARGV[2]
23
+ output_path = ARGV[3]
24
+ children_str = ARGV[4] || ""
25
+ xml_root_name = ARGV[5] || class_name
26
+
27
+ abort "usage: #{$PROGRAM_NAME} <rnc> <Element_Object> <ClassName> <output.rb> <child,child> <xml_root_name>" unless output_path
28
+
29
+ require "shellwords"
30
+ codegen_output = `ruby scripts/rnc_to_lutaml.rb #{rnc_path.shellescape} #{element_name.shellescape}`
31
+ attr_decls = codegen_output.lines.grep(/^attribute :(?!_placeholder)/)
32
+ map_attrs = codegen_output.lines.grep(/^ map_attribute /)
33
+
34
+ children = children_str.split(",").map(&:strip).reject(&:empty?)
35
+
36
+ child_attr_name = lambda do |ruby_class|
37
+ ruby_class
38
+ .gsub(/([A-Z]+)([A-Z][a-z])/, '\1_\2')
39
+ .gsub(/([a-z\d])([A-Z])/, '\1_\2')
40
+ .downcase
41
+ end
42
+
43
+ child_decls = children.map do |child|
44
+ ruby_class = child.split(":").first
45
+ " attribute :#{child_attr_name.call(ruby_class)}, Idml::Elements::#{ruby_class}, collection: true"
46
+ end
47
+ child_maps = children.map do |child|
48
+ ruby_class, xml_name = child.split(":")
49
+ xml_name ||= ruby_class
50
+ %( map_element "#{xml_name}", to: :#{child_attr_name.call(ruby_class)})
51
+ end
52
+
53
+ # Preserve def blocks from the existing file so regeneration
54
+ # doesn't lose text_content, each_xml_element, etc.
55
+ preserved_methods = []
56
+ if File.exist?(output_path)
57
+ existing = File.read(output_path)
58
+ existing.scan(/^ def [^\n]+.*?^ end$/m) { |m| preserved_methods << m.rstrip }
59
+ end
60
+
61
+ out = []
62
+ out << "# frozen_string_literal: true"
63
+ out << ""
64
+ out << "module Idml"
65
+ out << " module Elements"
66
+ out << " # Typed model of `<#{xml_root_name}>`. Every"
67
+ out << " # attribute from `#{element_name}` in"
68
+ out << " # `#{rnc_path}` is declared (#{attr_decls.length} attributes),"
69
+ out << " # generated by `scripts/rnc_to_lutaml.rb`."
70
+ out << " class #{class_name} < Lutaml::Model::Serializable"
71
+ attr_decls.each { |l| out << " #{l.chomp}" }
72
+ out << ""
73
+ child_decls.each { |l| out << l }
74
+ out << ""
75
+ out << " xml do"
76
+ out << " root \"#{xml_root_name}\""
77
+ map_attrs.each { |l| out << " #{l.chomp.gsub(/", to: :(\w+)"/, '", to: :\1')}" }
78
+ child_maps.each { |l| out << l }
79
+ out << " end"
80
+ out << ""
81
+ preserved_methods.each do |m|
82
+ out << m
83
+ out << ""
84
+ end
85
+ out << " end"
86
+ out << " end"
87
+ out << "end"
88
+
89
+ File.write(output_path, "#{out.join("\n")}\n")
90
+ puts "wrote #{output_path} (#{out.length} lines, #{attr_decls.length} attrs, #{preserved_methods.length} methods)"
@@ -0,0 +1,57 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ # Generates lib/idml/parts/preferences.rb from the actual _Object list
5
+ # in Preferences.rnc. Same pattern applies to other multi-element parts.
6
+
7
+ require "shellwords"
8
+
9
+ rnc_file = ARGV[0] || "reference-docs/schemas/package/Resources/Preferences.rnc"
10
+ output = ARGV[1] || "lib/idml/parts/preferences.rb"
11
+ part_class = ARGV[2] || "Preferences"
12
+ xml_root = ARGV[3] || "Preferences"
13
+
14
+ src = File.read(rnc_file)
15
+ objects = src.scan(/^([A-Za-z]+_Object) = element ([A-Za-z]+)/).uniq
16
+
17
+ def snake(name)
18
+ name
19
+ .gsub(/([A-Z]+)([A-Z][a-z])/, '\1_\2')
20
+ .gsub(/([a-z\d])([A-Z])/, '\1_\2')
21
+ .downcase
22
+ end
23
+
24
+ out = []
25
+ out << "# frozen_string_literal: true"
26
+ out << ""
27
+ out << "module Idml"
28
+ out << " module Parts"
29
+ out << " # Typed model for the package's `#{xml_root.downcase}.xml` part."
30
+ out << " # Every child element from `#{rnc_file}` is typed — generated"
31
+ out << " # via `scripts/rnc_to_lutaml.rb` + `scripts/assemble_element.rb`."
32
+ out << " class #{part_class} < Lutaml::Model::Serializable"
33
+ out << " include Idml::Part"
34
+ out << ""
35
+ out << " part_file \"Resources/#{xml_root}.xml\""
36
+ out << ""
37
+ out << " attribute :dom_version, :string"
38
+ objects.each do |_rule, xml_name| # rubocop:disable Style/HashEachMethods
39
+ ruby_attr = snake(xml_name)
40
+ out << " attribute :#{ruby_attr}, Idml::Elements::#{xml_name}, collection: true"
41
+ end
42
+ out << ""
43
+ out << " xml do"
44
+ out << " root \"#{xml_root}\""
45
+ out << " namespace Idml::PackagingNamespace"
46
+ out << " map_attribute \"DOMVersion\", to: :dom_version"
47
+ objects.each do |_rule, xml_name| # rubocop:disable Style/HashEachMethods
48
+ ruby_attr = snake(xml_name)
49
+ out << " map_element \"#{xml_name}\", to: :#{ruby_attr}"
50
+ end
51
+ out << " end"
52
+ out << " end"
53
+ out << " end"
54
+ out << "end"
55
+
56
+ File.write(output, "#{out.join("\n")}\n")
57
+ puts "wrote #{output} (#{objects.length} typed children)"
@@ -0,0 +1,46 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ # Rebuilds lib/idml/elements.rb from the actual class names defined in
5
+ # each element file. Avoids name/file mismatches when prefixing is used
6
+ # (e.g., pref_*.rb files defining non-prefixed class names).
7
+
8
+ require "pathname"
9
+
10
+ elements_dir = Pathname.new("lib/idml/elements")
11
+ files = Dir.glob(elements_dir.join("*.rb"))
12
+
13
+ entries = files.map do |path|
14
+ rel = path.sub("lib/idml/elements/", "").delete_suffix(".rb")
15
+ source = File.read(path)
16
+ match = source.match(/^\s*class\s+(\w+)\s+</)
17
+ abort "no class in #{path}" unless match
18
+
19
+ [match[1], rel]
20
+ end
21
+
22
+ # Detect name collisions (same class name in multiple files).
23
+ by_class = entries.group_by(&:first)
24
+ collisions = by_class.select { |_, files| files.length > 1 }
25
+ unless collisions.empty?
26
+ abort "class name collisions:\n#{collisions.map { |cls, files| " #{cls}: #{files.map(&:last).join(', ')}" }.join("\n")}"
27
+ end
28
+
29
+ File.open("lib/idml/elements.rb", "w") do |f|
30
+ f.puts "# frozen_string_literal: true"
31
+ f.puts
32
+ f.puts "module Idml"
33
+ f.puts " # Typed models for IDML elements that appear inside parts. Every"
34
+ f.puts " # element class is generated from its `_Object` definition in the"
35
+ f.puts " # RNC schemas at `reference-docs/schemas/package/` via"
36
+ f.puts " # `scripts/rnc_to_lutaml.rb` + `scripts/assemble_element.rb`"
37
+ f.puts " # (or `scripts/generate_all_objects.rb` for bulk generation)."
38
+ f.puts " module Elements"
39
+ entries.sort_by(&:first).each do |cls, rel|
40
+ f.puts %( autoload :#{cls}, "idml/elements/#{rel}")
41
+ end
42
+ f.puts " end"
43
+ f.puts "end"
44
+ end
45
+
46
+ puts "wrote lib/idml/elements.rb (#{entries.length} autoloads)"
@@ -0,0 +1,38 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ # Bulk-generate element classes for every _Object type in a given RNC.
5
+ # Usage: scripts/generate_all_objects.rb <rnc-file> [prefix]
6
+ # where prefix is an optional string prepended to file names to avoid
7
+ # collisions (e.g., "pref_" for Preferences to avoid colliding with
8
+ # Styles' ParagraphStyle).
9
+
10
+ require "shellwords"
11
+
12
+ rnc_file = ARGV[0]
13
+ prefix = ARGV[1] || ""
14
+
15
+ abort "usage: #{$PROGRAM_NAME} <rnc-file> [prefix]" unless rnc_file
16
+
17
+ src = File.read(rnc_file)
18
+ # Match `Foo_Object = element Foo {` at column 0.
19
+ objects = src.scan(/^([A-Za-z]+_Object) = element ([A-Za-z]+)/)
20
+ objects.uniq!
21
+
22
+ def snake(name)
23
+ name
24
+ .gsub(/([A-Z]+)([A-Z][a-z])/, '\1_\2')
25
+ .gsub(/([a-z\d])([A-Z])/, '\1_\2')
26
+ .downcase
27
+ end
28
+
29
+ objects.each do |rule_name, xml_name|
30
+ cls = xml_name
31
+ file_name = "#{prefix}#{snake(cls)}.rb"
32
+ output_path = File.join("lib/idml/elements", file_name)
33
+ cmd = ["ruby", "scripts/assemble_element.rb", rnc_file, rule_name, cls,
34
+ output_path, "", xml_name]
35
+ system(*cmd)
36
+ end
37
+
38
+ puts "generated #{objects.length} element classes from #{rnc_file}"