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.
- checksums.yaml +7 -0
- data/.github/workflows/rake.yml +18 -0
- data/.github/workflows/release.yml +27 -0
- data/.gitignore +27 -0
- data/.rspec +3 -0
- data/.rubocop.yml +21 -0
- data/.rubocop_todo.yml +113 -0
- data/.yardopts +4 -0
- data/CLAUDE.md +305 -0
- data/Gemfile +17 -0
- data/Gemfile.lock +253 -0
- data/README.adoc +4 -0
- data/Rakefile +22 -0
- data/TODO.complete/01-bootstrap.md +52 -0
- data/TODO.complete/02-package-layer.md +48 -0
- data/TODO.complete/03-parts-registry-and-designmap.md +64 -0
- data/TODO.complete/04-spread-and-master-spread.md +57 -0
- data/TODO.complete/05-story-and-backing-story.md +56 -0
- data/TODO.complete/06-resources.md +53 -0
- data/TODO.complete/07-xml-structure.md +32 -0
- data/TODO.complete/08-round-trip-suite.md +44 -0
- data/TODO.complete/09-validation.md +51 -0
- data/TODO.complete/10-composition.md +62 -0
- data/TODO.complete/11-package-accessors.md +41 -0
- data/TODO.complete/12-document-layer.md +44 -0
- data/TODO.complete/13-insert-idml.md +31 -0
- data/TODO.complete/14-geometry.md +33 -0
- data/TODO.complete/15-cli.md +44 -0
- data/TODO.complete/16-cross-version-tolerance.md +40 -0
- data/TODO.complete/17-yard-documentation.md +38 -0
- data/TODO.complete/18-remove-nokogiri.md +38 -0
- data/TODO.complete/19-vendor-fixtures.md +44 -0
- data/TODO.complete/20-round-trip-all-fixtures.md +39 -0
- data/TODO.complete/21-anti-pattern-forbid-nokogiri.md +31 -0
- data/TODO.complete/22-claude-md-no-nokogiri.md +29 -0
- data/TODO.complete/23-lutaml-only-no-rexml.md +60 -0
- data/TODO.complete/24-anti-pattern-forbid-rexml.md +29 -0
- data/TODO.complete/25-claude-md-lutaml-only.md +29 -0
- data/TODO.complete/26-rnc-faithful-models.md +66 -0
- data/TODO.complete/27-geometry-scale-rotate.md +28 -0
- data/TODO.complete/28-designmap-migration.md +33 -0
- data/TODO.complete/29-add-page-from-idml.md +35 -0
- data/TODO.complete/30-import-xml.md +37 -0
- data/TODO.complete/31-export-xml.md +32 -0
- data/TODO.complete/33-element-spec-coverage.md +30 -0
- data/TODO.pdf/01-font-metrics.md +43 -0
- data/TODO.pdf/02-font-resolver.md +42 -0
- data/TODO.pdf/03-text-shaper.md +40 -0
- data/TODO.pdf/04-line-breaker-justifier.md +51 -0
- data/TODO.pdf/05-vertical-layout.md +42 -0
- data/TODO.pdf/06-pdf-color-operators.md +25 -0
- data/TODO.pdf/07-pdf-path-operators.md +29 -0
- data/TODO.pdf/08-pdf-text-operators.md +29 -0
- data/TODO.pdf/09-image-embedding.md +34 -0
- data/TODO.pdf/10-spread-renderer.md +33 -0
- data/TODO.pdf/11-font-embedding.md +38 -0
- data/TODO.pdf/12-idml-to-pdf-pipeline.md +41 -0
- data/TODO.pdf/13-cjk-text-layout.md +40 -0
- data/TODO.pdf/14-page-item-element-models.md +61 -0
- data/TODO.pdf/15-wire-spread-children.md +46 -0
- data/TODO.pdf/16-typed-model-pipeline.md +48 -0
- data/TODO.pdf/17-shape-rendering.md +46 -0
- data/TODO.pdf/18-text-rendering.md +48 -0
- data/TODO.pdf/19-page-dimensions.md +40 -0
- data/TODO.pdf/20-png-image-support.md +43 -0
- data/TODO.pdf/21-coordinate-transform.md +41 -0
- data/TODO.pdf/22-color-resolution.md +41 -0
- data/TODO.pdf/23-fontmetrics-ps-name-fix.md +43 -0
- data/TODO.pdf/24-antipattern-coverage.md +35 -0
- data/TODO.pdf/25-cli-render.md +38 -0
- data/TODO.pdf/26-renderer-registry.md +45 -0
- data/TODO.pdf/27-text-engine-integration.md +41 -0
- data/TODO.pdf/28-path-geometry-models.md +47 -0
- data/TODO.pdf/29-character-style-extraction.md +36 -0
- data/TODO.pdf/30-shape-geometry-rendering.md +40 -0
- data/TODO.pdf/31-stroke-rendering.md +35 -0
- data/TODO.pdf/32-master-spread-rendering.md +36 -0
- data/TODO.pdf/33-font-resolution-from-idml.md +38 -0
- data/TODO.pdf/34-story-threading.md +32 -0
- data/TODO.pdf/35-pdf-metadata.md +34 -0
- data/TODO.pdf/36-performance-caching.md +33 -0
- data/TODO.pdf/37-round-trip-specs.md +33 -0
- data/TODO.pdf/38-pdf-output-validation.md +34 -0
- data/TODO.pdf/39-geometry-coordinate-helpers.md +26 -0
- data/TODO.pdf/40-font-ps-name-resolution.md +30 -0
- data/TODO.pdf/41-graphic-line-rendering.md +20 -0
- data/TODO.pdf/42-group-transform-application.md +17 -0
- data/TODO.pdf/43-text-frame-insets.md +17 -0
- data/TODO.pdf/44-layer-support.md +20 -0
- data/TODO.pdf/45-image-clipping.md +17 -0
- data/TODO.pdf/46-spread-to-page-separation.md +19 -0
- data/TODO.pdf/47-pdf-bookmarks.md +17 -0
- data/TODO.pdf/48-table-rendering.md +20 -0
- data/TODO.pdf/49-gradient-fill-rendering.md +20 -0
- data/TODO.pdf/50-pdf-a-compliance.md +21 -0
- data/TODO.pdf/51-remove-dead-code.md +41 -0
- data/TODO.pdf/52-font-subsetting.md +22 -0
- data/TODO.pdf/53-tagged-pdf-accessibility.md +24 -0
- data/TODO.pdf/54-pdfrb-pipeline-specs.md +27 -0
- data/TODO.pdf/55-dead-code-deprecation.md +30 -0
- data/TODO.pdf/56-text-engine-pdfrb-integration.md +33 -0
- data/TODO.pdf/57-image-clipping-pdfrb.md +26 -0
- data/TODO.pdf/58-bookmarks-pdfrb.md +23 -0
- data/TODO.pdf/59-dry-placement-rect.md +15 -0
- data/TODO.pdf/60-cli-pdf-a-flag.md +16 -0
- data/TODO.pdf/README.md +21 -0
- data/exe/idml +5 -0
- data/idml.gemspec +39 -0
- data/lib/idml/cli.rb +105 -0
- data/lib/idml/composition/add_page_from_idml.rb +67 -0
- data/lib/idml/composition/export_xml.rb +70 -0
- data/lib/idml/composition/import_xml.rb +73 -0
- data/lib/idml/composition/insert_idml.rb +93 -0
- data/lib/idml/composition/prefix.rb +78 -0
- data/lib/idml/composition.rb +16 -0
- data/lib/idml/document.rb +87 -0
- data/lib/idml/elements/anchored_object_setting.rb +40 -0
- data/lib/idml/elements/baseline_frame_grid_option.rb +24 -0
- data/lib/idml/elements/bevel_and_emboss_setting.rb +48 -0
- data/lib/idml/elements/blending_setting.rb +24 -0
- data/lib/idml/elements/cell_style.rb +166 -0
- data/lib/idml/elements/cell_style_group.rb +18 -0
- data/lib/idml/elements/character_style.rb +302 -0
- data/lib/idml/elements/character_style_group.rb +18 -0
- data/lib/idml/elements/character_style_range.rb +670 -0
- data/lib/idml/elements/color.rb +48 -0
- data/lib/idml/elements/content.rb +16 -0
- data/lib/idml/elements/content_transparency_setting.rb +15 -0
- data/lib/idml/elements/contour_option.rb +30 -0
- data/lib/idml/elements/dashed_stroke_style.rb +26 -0
- data/lib/idml/elements/directional_feather_setting.rb +34 -0
- data/lib/idml/elements/document_object.rb +82 -0
- data/lib/idml/elements/dotted_stroke_style.rb +24 -0
- data/lib/idml/elements/drop_shadow_setting.rb +44 -0
- data/lib/idml/elements/feather_setting.rb +26 -0
- data/lib/idml/elements/fill_transparency_setting.rb +15 -0
- data/lib/idml/elements/flex_layout_attribute_option.rb +42 -0
- data/lib/idml/elements/font.rb +50 -0
- data/lib/idml/elements/font_family.rb +23 -0
- data/lib/idml/elements/frame_fitting_option.rb +30 -0
- data/lib/idml/elements/geometry_path_type.rb +24 -0
- data/lib/idml/elements/gradient.rb +34 -0
- data/lib/idml/elements/gradient_feather_setting.rb +30 -0
- data/lib/idml/elements/gradient_stop.rb +24 -0
- data/lib/idml/elements/graphic_line.rb +34 -0
- data/lib/idml/elements/group.rb +41 -0
- data/lib/idml/elements/image.rb +33 -0
- data/lib/idml/elements/ink.rb +36 -0
- data/lib/idml/elements/inner_glow_setting.rb +34 -0
- data/lib/idml/elements/inner_shadow_setting.rb +40 -0
- data/lib/idml/elements/layer.rb +35 -0
- data/lib/idml/elements/link.rb +25 -0
- data/lib/idml/elements/master_spread_object.rb +55 -0
- data/lib/idml/elements/mixed_ink.rb +46 -0
- data/lib/idml/elements/mixed_ink_group.rb +40 -0
- data/lib/idml/elements/object_export_option.rb +100 -0
- data/lib/idml/elements/object_style.rb +148 -0
- data/lib/idml/elements/object_style_content_effects_category_settings.rb +36 -0
- data/lib/idml/elements/object_style_export_tag_map.rb +28 -0
- data/lib/idml/elements/object_style_fill_effects_category_settings.rb +36 -0
- data/lib/idml/elements/object_style_group.rb +18 -0
- data/lib/idml/elements/object_style_object_effects_category_settings.rb +36 -0
- data/lib/idml/elements/object_style_stroke_effects_category_settings.rb +36 -0
- data/lib/idml/elements/opacity_gradient_stop.rb +24 -0
- data/lib/idml/elements/outer_glow_setting.rb +32 -0
- data/lib/idml/elements/page.rb +43 -0
- data/lib/idml/elements/paragraph_style.rb +600 -0
- data/lib/idml/elements/paragraph_style_group.rb +18 -0
- data/lib/idml/elements/paragraph_style_range.rb +673 -0
- data/lib/idml/elements/pasted_smooth_shade.rb +40 -0
- data/lib/idml/elements/path_geometry.rb +36 -0
- data/lib/idml/elements/path_point_array.rb +21 -0
- data/lib/idml/elements/path_point_type.rb +38 -0
- data/lib/idml/elements/polygon.rb +40 -0
- data/lib/idml/elements/pref_anchored_object_default.rb +26 -0
- data/lib/idml/elements/pref_button_preference.rb +18 -0
- data/lib/idml/elements/pref_chapter_number_preference.rb +20 -0
- data/lib/idml/elements/pref_cjk_grid_preference.rb +34 -0
- data/lib/idml/elements/pref_data_merge.rb +20 -0
- data/lib/idml/elements/pref_data_merge_field.rb +20 -0
- data/lib/idml/elements/pref_data_merge_option.rb +28 -0
- data/lib/idml/elements/pref_dictionary_preference.rb +22 -0
- data/lib/idml/elements/pref_document_preference.rb +66 -0
- data/lib/idml/elements/pref_e_pub_export_preference.rb +152 -0
- data/lib/idml/elements/pref_e_pub_fixed_layout_export_preference.rb +82 -0
- data/lib/idml/elements/pref_export_for_web_preference.rb +32 -0
- data/lib/idml/elements/pref_footnote_option.rb +78 -0
- data/lib/idml/elements/pref_grid_preference.rb +40 -0
- data/lib/idml/elements/pref_guide_preference.rb +26 -0
- data/lib/idml/elements/pref_html_export_preference.rb +94 -0
- data/lib/idml/elements/pref_index_header_setting.rb +26 -0
- data/lib/idml/elements/pref_index_options.rb +60 -0
- data/lib/idml/elements/pref_layout_adjustment_preference.rb +28 -0
- data/lib/idml/elements/pref_layout_grid_data_information.rb +28 -0
- data/lib/idml/elements/pref_margin_preference.rb +32 -0
- data/lib/idml/elements/pref_mojikumi_ui_preference.rb +18 -0
- data/lib/idml/elements/pref_page_item_default.rb +88 -0
- data/lib/idml/elements/pref_pasteboard_preference.rb +22 -0
- data/lib/idml/elements/pref_print_booklet_option.rb +40 -0
- data/lib/idml/elements/pref_print_booklet_print_preference.rb +188 -0
- data/lib/idml/elements/pref_print_preference.rb +198 -0
- data/lib/idml/elements/pref_story_grid_data_information.rb +40 -0
- data/lib/idml/elements/pref_text_default.rb +578 -0
- data/lib/idml/elements/pref_text_preference.rb +84 -0
- data/lib/idml/elements/pref_tin_document_data_object.rb +15 -0
- data/lib/idml/elements/pref_transparency_default_container_object.rb +15 -0
- data/lib/idml/elements/pref_transparency_preference.rb +22 -0
- data/lib/idml/elements/pref_view_preference.rb +50 -0
- data/lib/idml/elements/pref_xml_export_preference.rb +48 -0
- data/lib/idml/elements/pref_xml_import_preference.rb +36 -0
- data/lib/idml/elements/pref_xml_preference.rb +26 -0
- data/lib/idml/elements/properties.rb +24 -0
- data/lib/idml/elements/rectangle.rb +56 -0
- data/lib/idml/elements/root_cell_style_group.rb +21 -0
- data/lib/idml/elements/root_character_style_group.rb +21 -0
- data/lib/idml/elements/root_object_style_group.rb +21 -0
- data/lib/idml/elements/root_paragraph_style_group.rb +21 -0
- data/lib/idml/elements/root_table_style_group.rb +21 -0
- data/lib/idml/elements/satin_setting.rb +32 -0
- data/lib/idml/elements/spread_object.rb +64 -0
- data/lib/idml/elements/story_inner.rb +697 -0
- data/lib/idml/elements/story_preference.rb +26 -0
- data/lib/idml/elements/striped_stroke_style.rb +22 -0
- data/lib/idml/elements/stroke_style.rb +20 -0
- data/lib/idml/elements/stroke_transparency_setting.rb +15 -0
- data/lib/idml/elements/style_export_tag_map.rb +30 -0
- data/lib/idml/elements/swatch.rb +30 -0
- data/lib/idml/elements/table.rb +40 -0
- data/lib/idml/elements/table_cell.rb +24 -0
- data/lib/idml/elements/table_row.rb +28 -0
- data/lib/idml/elements/table_style.rb +260 -0
- data/lib/idml/elements/table_style_group.rb +18 -0
- data/lib/idml/elements/text_frame.rb +54 -0
- data/lib/idml/elements/text_frame_footnote_options_object.rb +24 -0
- data/lib/idml/elements/text_frame_preference.rb +90 -0
- data/lib/idml/elements/text_wrap_preference.rb +24 -0
- data/lib/idml/elements/tint.rb +44 -0
- data/lib/idml/elements/toc_style.rb +40 -0
- data/lib/idml/elements/toc_style_entry.rb +28 -0
- data/lib/idml/elements/transform_attribute_option.rb +30 -0
- data/lib/idml/elements/transparency_setting.rb +15 -0
- data/lib/idml/elements/trap_preset.rb +48 -0
- data/lib/idml/elements/xml_element.rb +41 -0
- data/lib/idml/elements/xml_export_map.rb +28 -0
- data/lib/idml/elements/xml_import_map.rb +22 -0
- data/lib/idml/elements/xml_story.rb +609 -0
- data/lib/idml/elements/xml_tag.rb +20 -0
- data/lib/idml/elements.rb +167 -0
- data/lib/idml/errors.rb +10 -0
- data/lib/idml/geometry.rb +110 -0
- data/lib/idml/namespace.rb +13 -0
- data/lib/idml/package.rb +213 -0
- data/lib/idml/part.rb +20 -0
- data/lib/idml/parts/backing_story.rb +27 -0
- data/lib/idml/parts/designmap.rb +91 -0
- data/lib/idml/parts/fonts.rb +26 -0
- data/lib/idml/parts/graphic.rb +48 -0
- data/lib/idml/parts/mapping.rb +25 -0
- data/lib/idml/parts/master_spread.rb +27 -0
- data/lib/idml/parts/preferences.rb +201 -0
- data/lib/idml/parts/raw.rb +27 -0
- data/lib/idml/parts/spread.rb +38 -0
- data/lib/idml/parts/story.rb +39 -0
- data/lib/idml/parts/style.rb +122 -0
- data/lib/idml/parts/style_mapping.rb +21 -0
- data/lib/idml/parts/tags.rb +25 -0
- data/lib/idml/parts.rb +47 -0
- data/lib/idml/render/color.rb +69 -0
- data/lib/idml/render/color_helper.rb +23 -0
- data/lib/idml/render/color_resolver.rb +72 -0
- data/lib/idml/render/font_embedder.rb +79 -0
- data/lib/idml/render/font_reference_resolver.rb +51 -0
- data/lib/idml/render/gradient_resolver.rb +111 -0
- data/lib/idml/render/image.rb +302 -0
- data/lib/idml/render/layer_filter.rb +60 -0
- data/lib/idml/render/page_item_renderer.rb +34 -0
- data/lib/idml/render/path.rb +80 -0
- data/lib/idml/render/pdf_writer.rb +426 -0
- data/lib/idml/render/pdfrb_ext/clip.rb +31 -0
- data/lib/idml/render/pdfrb_ext/invoke_xobject.rb +24 -0
- data/lib/idml/render/pdfrb_ext.rb +13 -0
- data/lib/idml/render/pdfrb_writer.rb +97 -0
- data/lib/idml/render/pipeline.rb +196 -0
- data/lib/idml/render/render_context.rb +22 -0
- data/lib/idml/render/renderers/graphic_line_renderer.rb +28 -0
- data/lib/idml/render/renderers/group_renderer.rb +42 -0
- data/lib/idml/render/renderers/polygon_renderer.rb +47 -0
- data/lib/idml/render/renderers/rectangle_renderer.rb +62 -0
- data/lib/idml/render/renderers/table_renderer.rb +41 -0
- data/lib/idml/render/renderers/text_frame_renderer.rb +113 -0
- data/lib/idml/render/renderers.rb +11 -0
- data/lib/idml/render/spread_renderer.rb +111 -0
- data/lib/idml/render/story_threader.rb +56 -0
- data/lib/idml/render/style_resolver.rb +48 -0
- data/lib/idml/render/text.rb +91 -0
- data/lib/idml/render.rb +63 -0
- data/lib/idml/text_engine/cjk_layout.rb +114 -0
- data/lib/idml/text_engine/font_metrics.rb +226 -0
- data/lib/idml/text_engine/font_resolver.rb +105 -0
- data/lib/idml/text_engine/justifier.rb +46 -0
- data/lib/idml/text_engine/line_breaker.rb +55 -0
- data/lib/idml/text_engine/shaper.rb +35 -0
- data/lib/idml/text_engine/vertical_layout.rb +64 -0
- data/lib/idml/text_engine.rb +19 -0
- data/lib/idml/validation/result.rb +14 -0
- data/lib/idml/validation/validator.rb +121 -0
- data/lib/idml/validation.rb +14 -0
- data/lib/idml/version.rb +5 -0
- data/lib/idml.rb +33 -0
- data/reference-docs/idml-specification.pdf +0 -0
- data/reference-docs/schemas/README.md +79 -0
- data/reference-docs/schemas/fix-adobe-schema-bug.rb +69 -0
- data/reference-docs/schemas/package/MasterSpreads/MasterSpread.rnc +4415 -0
- data/reference-docs/schemas/package/Resources/Fonts.rnc +93 -0
- data/reference-docs/schemas/package/Resources/Graphic.rnc +226 -0
- data/reference-docs/schemas/package/Resources/Preferences.rnc +1827 -0
- data/reference-docs/schemas/package/Resources/Styles.rnc +1770 -0
- data/reference-docs/schemas/package/Spreads/Spread.rnc +4431 -0
- data/reference-docs/schemas/package/Stories/Story.rnc +6547 -0
- data/reference-docs/schemas/package/XML/BackingStory.rnc +6527 -0
- data/reference-docs/schemas/package/XML/Mapping.rnc +35 -0
- data/reference-docs/schemas/package/XML/Tags.rnc +30 -0
- data/reference-docs/schemas/package/datatype.rnc +563 -0
- data/reference-docs/schemas/package/designmap.rnc +974 -0
- data/reference-docs/schemas/single/IDMarkupLanguage.rnc +11486 -0
- data/reference-docs/schemas/single/datatype.rnc +563 -0
- data/reference-docs/spec/00_index.md +16 -0
- data/reference-docs/spec/00_title/00_index.md +480 -0
- data/reference-docs/spec/01_abstract/00_index.md +3 -0
- data/reference-docs/spec/02_introduction/00_index.md +11 -0
- data/reference-docs/spec/03_terminology/00_index.md +7 -0
- data/reference-docs/spec/04_inx_idml_and_in_design_scripting/00_index.md +48 -0
- data/reference-docs/spec/05_uses_for_idml/00_index.md +13 -0
- data/reference-docs/spec/06_idml_design_goals/00_index.md +18 -0
- data/reference-docs/spec/07_idml_design_approaches/00_index.md +59 -0
- data/reference-docs/spec/08_idml_document_structure/00_index.md +120 -0
- data/reference-docs/spec/09_idml_syntax/00_index.md +367 -0
- data/reference-docs/spec/09_idml_syntax/examples/01_example_properties_expressed_as_attributes_or_elements_depending_on_their_value.md +6 -0
- data/reference-docs/spec/09_idml_syntax/examples/02_example_object_serialization.md +10 -0
- data/reference-docs/spec/09_idml_syntax/examples/03_example_record_type_serialization.md +6 -0
- data/reference-docs/spec/09_idml_syntax/examples/04_example_geometry_serialization.md +6 -0
- data/reference-docs/spec/09_idml_syntax/examples/index.md +10 -0
- data/reference-docs/spec/09_idml_syntax/images/image_01.md +1 -0
- data/reference-docs/spec/09_idml_syntax/images/image_01.png +0 -0
- data/reference-docs/spec/09_idml_syntax/images/image_02.md +1 -0
- data/reference-docs/spec/09_idml_syntax/images/image_02.png +0 -0
- data/reference-docs/spec/09_idml_syntax/images/image_03.md +1 -0
- data/reference-docs/spec/09_idml_syntax/images/image_03.png +0 -0
- data/reference-docs/spec/09_idml_syntax/images/image_04.md +1 -0
- data/reference-docs/spec/09_idml_syntax/images/image_04.png +0 -0
- data/reference-docs/spec/09_idml_syntax/images/image_05.md +1 -0
- data/reference-docs/spec/09_idml_syntax/images/image_05.png +0 -0
- data/reference-docs/spec/09_idml_syntax/images/image_06.md +1 -0
- data/reference-docs/spec/09_idml_syntax/images/image_06.png +0 -0
- data/reference-docs/spec/09_idml_syntax/images/index.md +12 -0
- data/reference-docs/spec/09_idml_syntax/schemas/00_schema_example_1_column_guide_color_and_margin_guide_color_elements.rnc +3 -0
- data/reference-docs/spec/09_idml_syntax/schemas/01_datatype.rnc +4 -0
- data/reference-docs/spec/09_idml_syntax/schemas/02_designmap.rnc +4 -0
- data/reference-docs/spec/09_idml_syntax/schemas/03_Master_Spreads.rnc +4 -0
- data/reference-docs/spec/09_idml_syntax/schemas/04_Fonts.rnc +4 -0
- data/reference-docs/spec/09_idml_syntax/schemas/05_Graphic.rnc +4 -0
- data/reference-docs/spec/09_idml_syntax/schemas/06_Preferences.rnc +4 -0
- data/reference-docs/spec/09_idml_syntax/schemas/07_Styles.rnc +4 -0
- data/reference-docs/spec/09_idml_syntax/schemas/08_Spread.rnc +4 -0
- data/reference-docs/spec/09_idml_syntax/schemas/09_Story.rnc +4 -0
- data/reference-docs/spec/09_idml_syntax/schemas/10_BackingStory.rnc +4 -0
- data/reference-docs/spec/09_idml_syntax/schemas/11_Mapping.rnc +4 -0
- data/reference-docs/spec/09_idml_syntax/schemas/12_Tags.rnc +4 -0
- data/reference-docs/spec/09_idml_syntax/schemas/index.md +19 -0
- data/reference-docs/spec/09_idml_syntax/tables/01_idml_basic_data_types.md +20 -0
- data/reference-docs/spec/09_idml_syntax/tables/02_property_elements.md +6 -0
- data/reference-docs/spec/09_idml_syntax/tables/index.md +8 -0
- data/reference-docs/spec/10_idml_file_reference/00_index.md +16 -0
- data/reference-docs/spec/10_idml_file_reference/10_10_mapping/examples/98_xml_export_map.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_10_mapping/examples/99_xml_import_map.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_10_mapping/index.md +44 -0
- data/reference-docs/spec/10_idml_file_reference/10_10_mapping/schemas/175_xml_export_map.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_10_mapping/schemas/176_xml_import_map.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_10_mapping/tables/191_xml_export_map_properties.md +7 -0
- data/reference-docs/spec/10_idml_file_reference/10_10_mapping/tables/192_xml_import_map_properties.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_11_xmltags/examples/100_example_xmltag.md +7 -0
- data/reference-docs/spec/10_idml_file_reference/10_11_xmltags/imdex.md +42 -0
- data/reference-docs/spec/10_idml_file_reference/10_11_xmltags/schemas/177_xmltag.rnc +10 -0
- data/reference-docs/spec/10_idml_file_reference/10_11_xmltags/tables/193_xmltag_properties_attributes.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_11_xmltags/tables/194_xmltag_properties_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_1_common_attributes_and_elements/examples/05_example_self.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_1_common_attributes_and_elements/examples/06_example_label.md +6 -0
- data/reference-docs/spec/10_idml_file_reference/10_1_common_attributes_and_elements/index.md +96 -0
- data/reference-docs/spec/10_idml_file_reference/10_1_common_attributes_and_elements/schemas/02_self.rnc +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_1_common_attributes_and_elements/schemas/03_label.rnc +7 -0
- data/reference-docs/spec/10_idml_file_reference/10_1_common_attributes_and_elements/tables/label_attributes.md +8 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/examples/07_example_document_element_references.md +26 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/examples/08_example_document_element_designmap.md +25 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/examples/09_example_color_management_attributes.md +10 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/examples/10_example_tagged_pdf_preference_structure_order.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/examples/11_example_text_variable.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/examples/12_example_layer.md +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/examples/13_example_building_block.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/examples/14_example_hyperlink.md +7 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/examples/15_example_article.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/index.md +1349 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/004_document.rnc +108 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/005_language.rnc +16 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/006_kinsokutable.rnc +13 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/007_numberinglist.rnc +11 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/007b_mojikumitable.rnc +14 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/008_namedgrid.rnc +10 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/009_griddatainformation.rnc +22 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/010_motionpreset.rnc +14 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/011_condition.rnc +14 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/012_conditionset.rnc +13 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/013_linkedstoryoption.rnc +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/014_taggedpdfpreference.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/015_metadatapacketpreference.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/016_watermarkpreference.rnc +18 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/016b_conditionaltextpreference.rnc +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/017_textvariable.rnc +22 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/018_customtextvariablepreference.rnc +14 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/019_filenamevariablepreference.rnc +6 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/020_pagenumbervariablepreference.rnc +6 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/021_chapternumbervariablepreference.rnc +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/022_datevariablepreference.rnc +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/023_matchcharacterstylepreference.rnc +8 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/024_matchparagraphstylepreference.rnc +8 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/025_captionmetadatavariablepreference.rnc +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/026_layer.rnc +19 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/027_section.rnc +25 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/028_documentuser.rnc +7 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/029_crossreferenceformat.rnc +11 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/030_buildingblock.rnc +8 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/031_index.rnc +9 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/032_topic.rnc +7 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/033_crossreference.rnc +11 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/034_hyperlink.rnc +34 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/035_hyperlinkpagedestination.rnc +17 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/036_hyperlinkurldestination.rnc +12 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/037_hyperlinkexternalpagedestination.rnc +17 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/038_hyperlinkpageitemsource.rnc +11 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/039_bookmark.rnc +11 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/040_preflightprofile.rnc +12 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/041_preflightprofilerule.rnc +13 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/042_ruledataobject.rnc +51 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/043_preflightruleinstance.rnc +13 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/044_datamergeimageplaceholder.rnc +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/045_hyphenationexception.rnc +6 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/046_indexingsortoption.rnc +8 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/047_abullet.rnc +28 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/048_assignment.rnc +21 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/049_assignedstory.rnc +11 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/051_article.rnc +11 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/schemas/052_articlemember.rnc +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/03_document_properties_attributes.md +28 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/04_document_properties_elements.md +2 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/05_language_properties_attributes.md +10 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/06_kinsokutable_properties_attributes.md +6 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/07_mojikumitable_properties_attributes.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/08_mojikumitable_properties_elements.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/09_numberinglist_properties_attributes.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/10_namedgrid_properties_attributes.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/11_griddatainformation_properties_attributes.md +14 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/12_griddatainformation_properties_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/13_motionpreset_properties_attributes.md +6 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/14_motionpreset_properties_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/15_condition_properties_attributes.md +6 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/16_condition_properties_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/17_conditionset_properties_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/18_linkedstoryoption_properties_attributes.md +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/19_taggedpdfpreference_structureorder_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/20_metadatapacketpreference_properties_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/21_watermarkpreference_properties_attributes.md +15 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/22_watermarkpreference_properties_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/23_conditionaltextpreference_properties_attributes.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/24_textvariable_properties_attributes.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/25_common_text_variable_properties_attributes.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/26_custom_textvariable_preference_properties_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/27_filename_variable_preference_properties_attributes.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/28_pagenumber_variable_preference_properties_attributes.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/29_chapternumber_variable_preference_properties_attributes.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/30_date_variable_preference_properties_attributes.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/31_matchcharacterstylepreference_properties_attributes.md +6 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/32_matchparagraphstylepreference_properties_attributes.md +6 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/33_captionmetadatavariablepreference_properties_attributes.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/34_metadata_provider_names.md +63 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/35_layer_properties_attributes.md +10 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/36_layer_properties_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/37_section_properties_attributes.md +15 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/38_documentuser_properties_attributes.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/39_documentuser_properties_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/40_crossreferenceformat_properties_attributes.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/41_buildingblock_properties_attributes.md +10 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/42_topic_properties_attributes.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/43_crossreference_properties_attributes.md +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/44_hyperlink_properties_attributes.md +10 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/45_hyperlinkpagedestination_properties_attributes.md +9 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/46_hyperlinkpagedestination_properties_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/47_hyperlinkurldestination_properties_attributes.md +6 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/48_hyperlinkexternalpagedestination_properties_attributes.md +8 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/49_hyperlinkexternalpagedestination_properties_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/50_hyperlinkpageitemsource_properties_attributes.md +8 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/51_bookmark_properties_attributes.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/52_preflightprofile_properties_attributes.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/53_preflightprofilerule_properties_attributes.md +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/54_ruledataobject_properties_attributes.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/55_ruledataobject_properties_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/56_preflightruleinstance_properties_attributes.md +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/57_datamergeplaceholder_properties_attributes.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/58_hyphenationexception_properties_attributes.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/59_indexingsortoption_properties_attributes.md +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/60_abullet_properties_attributes.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/61_abullet_properties_elements.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/62_assignment_properties_attributes.md +9 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/62_assignment_properties_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/63_article_properties_attributes.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/64_article_properties_elements.md +2 -0
- data/reference-docs/spec/10_idml_file_reference/10_2_designmap_xml/tables/65_articlemember_properties_attributes.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/16_example_minimal_spread.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/17_example_untransformed_rectangle.md +14 -0
- 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
- 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
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/20_example_animation_setting.md +33 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/21_example_timing_setting.md +10 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/22_example_rectangle.md +14 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/23_example_nested_page_item.md +28 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/24_example_rotated_page_item.md +14 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/25_example_page_item_imported_graphic.md +28 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/26_example_movie.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/27_example_navigation_point.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/28_example_sound.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/29_example_text_frame.md +29 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/30_example_threaded_linked_textframes.md +1 -0
- 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
- 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
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/33_example_multi_column_text_frame.md +24 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/34_example_baseline_frame_grid.md +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/35_example_transparency.md +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/36_example_group.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/37_example_button.md +43 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/38_example_multi_state_object.md +26 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/39_example_associating_frame_xml_element.md +5 -0
- 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
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/41_example_pages_within_spread.md +19 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/42_example_margin_preferences.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/43_example_guide.md +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/examples/44_example_flattener_preference.md +7 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/index.md +1421 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/53_spread.rnc +30 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/54_master_spread.rnc +24 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/55_page_item.rnc +104 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/56_animation_setting.rnc +22 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/57_timing_setting.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/58_timing_list.rnc +2 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/60_timing_group.rnc +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/61_timing_target.rnc +7 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/62_graphic.rnc +41 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/63_pdf_attribute.rnc +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/64_navigation_point.rnc +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/65_text_frame.rnc +43 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/66_text_frame_preference.rnc +30 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/67_baseline_frame_grid.rnc +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/68_transparency_setting.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/69_blending_setting.rnc +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/70_button.rnc +96 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/71_state.rnc +20 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/72_behavior.rnc +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/73_multi_state_object.rnc +72 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/74_page.rnc +34 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/75_margin_preference.rnc +7 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/76_guide.rnc +12 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/schemas/77_flattener_preference.rnc +9 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/066_spread_masterspread_properties_as_attributes.md +15 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/067_masterspread_properties_as_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/068_common_pageitem_properties_as_attributes.md +46 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/069_common_pageitem_properties_as_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/070_animationsetting_properties_as_attributes.md +11 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/071_animationsetting_properties_as_elements.md +9 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/072_timinglist_properties_as_attributes.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/073_timinggroup_properties_as_attributes.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/074_timingtarget_properties_as_attributes.md +8 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/075_graphic_properties_as_attributes.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/076_graphic_properties_as_elements.md +6 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/077_image_properties_as_attributes.md +6 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/078_image_properties_as_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/079_pdf_eps_properties_as_attributes.md +7 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/080_pdfattribute_properties_as_attributes.md +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/081_importedpage_properties_as_attributes.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/082_movie_properties_as_attributes.md +19 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/083_sound_properties_as_attributes.md +8 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/084_textframe_properties_as_attributes.md +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/085_textframe_preference_properties_as_attributes.md +22 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/086_textframe_preference_properties_as_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/087_baselineframegrid_properties_expressed_as_attributes.md +6 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/088_baselineframegrid_properties_as_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/089_button_properties_expressed_as_attributes.md +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/090_button_properties_expressed_as_properties.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/091_state_properties_as_attributes.md +6 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/092_common_behavior_properties_as_attributes.md +9 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/093_gotonextstatebehavior_properties_as_attributes.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/094_gotopreviousstatebehavior_properties_as_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/095_gotostatebehavior_properties_as_attributes.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/096_gotostatebehavior_properties_as_attributes_2.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/097_animationbehavior_properties_as_attributes.md +8 -0
- 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
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/098_multistateobject_properties_as_attributes.md +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/099_multistateobject_properties_as_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/100_page_properties_as_attributes.md +17 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/101_page_properties_as_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/102_guide_properties_as_attributes.md +11 -0
- data/reference-docs/spec/10_idml_file_reference/10_3_spreads_and_master_spreads/tables/103_guide_properties_as_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/45_example_story_file_in_idml_package.md +10 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/46_example_local_formatting_vs_styles.md +11 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/47_example_paragraph_style_range_character_style_range.md +14 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/48_example_paragraph_breaks_in_character_style_range.md +9 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/49_example_paragraph_style_range_elements_column_breaks.md +15 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/50_example_multiple_paragraph_style_range_elements.md +14 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/51_example_multi_column_straddle_paragraphs.md +25 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/52_example_xml_element.md +141 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/53_example_table.md +31 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/54_example_footnote.md +14 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/55_example_note.md +14 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/56_example_anchored_text_frame.md +31 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/57_example_anchored_graphic.md +39 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/58_example_hyperlink_text_source.md +11 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/59_example_hyperlink_text_destination.md +13 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/examples/60_example_cross_reference_source.md +11 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/images/10_4_stories_img001.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/images/10_4_stories_img002.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/images/10_4_stories_img003.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/images/10_4_stories_img004.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/images/10_4_stories_img005.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/images/10_4_stories_img006.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/images/10_4_stories_img007.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/images/10_4_stories_img008.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/images/10_4_stories_img009.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/images/10_4_stories_img010.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/images/10_4_stories_img011.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/images/10_4_stories_img012.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/index.md +1299 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/schemas/78_story.rnc +92 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/schemas/79_paragraph_style_range.rnc +381 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/schemas/80_character_style_range.rnc +431 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/schemas/81_table.rnc +53 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/schemas/82_cell.rnc +66 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/schemas/83_column.rnc +28 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/schemas/84_row.rnc +33 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/schemas/85_footnote.rnc +7 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/schemas/86_note.rnc +13 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/schemas/87_anchored_object_settings.rnc +12 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/schemas/88_hyperlink_text_source.rnc +20 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/schemas/89_hyperlink_text_destination.rnc +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/schemas/90_cross_reference_source.rnc +16 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/104_common_text_properties_attributes.md +230 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/105_common_text_properties_elements.md +41 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/106_story_properties_attributes.md +6 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/107_story_properties_elements.md +6 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/108_character_style_range_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/109_table_properties_attributes.md +133 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/110_cell_properties_attributes.md +83 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/111_cell_properties_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/112_column_properties_attributes.md +29 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/113_row_properties_attributes.md +34 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/114_anchored_object_setting_properties_attributes.md +14 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/115_hyperlink_text_source_properties_attributes.md +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/116_hyperlink_text_destination_properties_attributes.md +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/117_cross_reference_source_properties_attributes.md +6 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/118_applied_format_tags.md +11 -0
- data/reference-docs/spec/10_idml_file_reference/10_4_stories/tables/119_metacharacters.md +15 -0
- data/reference-docs/spec/10_idml_file_reference/10_5_fonts/examples/61_example_font.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_5_fonts/examples/62_example_referring_to_font.md +6 -0
- data/reference-docs/spec/10_idml_file_reference/10_5_fonts/index.md +86 -0
- data/reference-docs/spec/10_idml_file_reference/10_5_fonts/schemas/091_font_family.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_5_fonts/schemas/092_font.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_5_fonts/schemas/093_composite_font.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_5_fonts/schemas/094_composite_font_entry.rnc +2 -0
- data/reference-docs/spec/10_idml_file_reference/10_5_fonts/tables/120_font_properties_represented_as_attributes.md +14 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/63_example_none_swatch.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/64_example_process_color.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/65_example_spot_color.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/66_example_lab_color.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/67_example_gradient.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/68_example_tint.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/69_example_mixed_ink.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/70_example_mixed_ink_group.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/71_example_process_magenta_ink.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/72_example_pantone_274_c_spot_ink.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/73_example_default_stroke_styles.md +18 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/74_example_dashed_stroke_style.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/75_example_dotted_stroke_style.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/examples/76_example_striped_stroke_style.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/images/10_6_graphics_img001.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/images/10_6_graphics_img002.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/images/10_6_graphics_img003.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/images/10_6_graphics_img004.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/images/10_6_graphics_img005.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/images/10_6_graphics_img006.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/images/10_6_graphics_img007.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/images/10_6_graphics_img008.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/images/10_6_graphics_img009.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/images/10_6_graphics_img010.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/images/10_6_graphics_img011.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/images/10_6_graphics_img012.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/index.md +406 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/schemas/095_swatch.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/schemas/096_color.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/schemas/097_gradient.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/schemas/098_gradient_stop.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/schemas/099_tint.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/schemas/100_mixed_ink.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/schemas/101_mixed_ink_group.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/schemas/102_ink.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/schemas/103_stroke_style.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/schemas/104_dashed_stroke_style.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/schemas/105_dotted_stroke_style.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/schemas/106_striped_stroke_style.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/tables/121_swatch_properties.md +7 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/tables/122_color_properties.md +10 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/tables/123_gradient_properties.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/tables/124_gradient_stop_properties.md +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/tables/125_tint_properties.md +6 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/tables/126_mixed_ink_properties.md +10 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/tables/127_mixed_ink_group_properties.md +7 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/tables/128_ink_properties.md +11 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/tables/129_stroke_style_properties.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/tables/130_dashed_stroke_style_properties.md +6 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/tables/131_dotted_stroke_style_properties.md +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_6_graphics/tables/132_striped_stroke_style_properties.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/examples/77_epub_export_preference.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/examples/78_html_export_preference.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/examples/79_transparency_preference.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/examples/80_story_preference.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/examples/81_anchored_object_default.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/examples/82_anchored_object_setting.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/examples/83_baseline_frame_grid_option.md +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/examples/84_footnote_options.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/examples/85_text_wrap_preference.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/examples/86_document_preference.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/examples/87_grid_preference.md +2 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/examples/88_guide_preference.md +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/index.md +1153 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/107_Preferences_File.rnc +2 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/108_DataMerge.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/109_DataMergeField.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/110_DataMergeOption.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/111_LayoutAdjustmentPreference.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/112_EPubExportPreference.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/113_HTMLExportPreference.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/114_XMLImportPreference.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/115_XMLExport_Preference.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/116_XMLPreference.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/117_Export_For_Web_Preference.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/118_Transparency_Preference.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/119_Transparency_Default_Container_Object.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/120_StoryPreference.rnc +8 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/121_Text_Preference.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/122_Text_Default.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/123_DictionaryPreference.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/124_AnchoredObjectDefault.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/125_AnchoredObjectSetting.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/126_BaselineFrameGridOption.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/127_FootnoteOption.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/128_TextWrapPreference.rnc +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/129_Contour_Option.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/130_Document_Preference.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/131_Grid_Preference.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/132_GuidePreference.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/133_MarginPreference.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/134_Pasteboard_Preference.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/135_View_Preference.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/136_Print_Preference.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/137_Print_Booklet_Option.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/138_Print_Booklet_Print_Preference.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/139_Index_Options.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/140_Index_Header_Setting.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/141_Page_Item_Default.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/142_Frame_Fitting_Option.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/143_Button_Preference.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/144_Tin_Document_Data_Object.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/145_Layout_Grid_Data_Information.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/146_Story_Grid_Data_Information.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/147_Cjk_Grid_Preference.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/148_Mojikumi_Ui_Preference.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/schemas/149_Chapter_Number_Preference.rnc +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/133_DataMerge_Properties_Represented_as_Attributes.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/134_DataMergeField_Properties_Represented_as_Attributes.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/135_DataMergeOption_Properties_Represented_as_Attributes.md +8 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/136_LayoutAdjustmentPreference_Properties_Represented_as_Attributes.md +8 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/137_EPubExportPreference_Properties_Represented_as_Attributes.md +44 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/138_HTMLExportPreference_Properties_Represented_as_Attributes.md +39 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/139_XMLImportPreference_Properties_Represented_as_Attributes.md +12 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/140_XMLImportPreference_Properties_Represented_as_Elements.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/141_XMLExportPreference_Properties_Represented_as_Attributes.md +21 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/142_XMLExport_Preference_Properties_Represented_as_Elements.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/143_XMLPreference_Properties_Represented_as_Attributes.md +9 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/144_XMLPreference_Properties_Represented_as_Elements.md +6 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/145_ExportForWebPreference_Properties_Represented_as_Attributes.md +10 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/146_TransparencyPreference_Properties_Represented_as_Attributes.md +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/147_StoryPreference_Properties_Represented_as_Attributes.md +7 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/148_TextPreference_Properties_Represented_as_Attributes.md +33 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/149_AnchoredObjectDefault_Properties_Represented_as_Attributes.md +7 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/150_AnchoredObjectSetting_Properties_Represented_as_Attributes.md +14 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/151_BaselineFrameGridOption_Properties_Represented_as_Attributes.md +6 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/152_BaselineFrameGridOption_Properties_Represented_as_Elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/153_FootnoteOption_Properties_Represented_as_Attributes.md +33 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/154_FootnoteOption_Properties_Represented_as_Elements.md +12 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/155_Contour_Option_Properties_Represented_as_Attributes.md +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/156_DocumentPreference_Properties_Represented_as_Attributes.md +26 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/157_DocumentPreference_Properties_Represented_as_Elements.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/158_Grid_Preference_Properties_Represented_as_Attributes.md +14 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/159_GridPreference_Properties_Represented_as_Elements.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/160_GuidePreference_Properties_Represented_as_Attributes.md +7 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/161_GuidePreference_Properties_Represented_as_Elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/162_PasteboardPreference_Properties_Represented_as_Attributes.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/163_PasteboardPreference_Properties_Represented_as_Elements.md +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/164_ViewPreference_Properties_Represented_as_Attributes.md +20 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/165_Print_Preference_Properties_Represented_as_Attributes.md +104 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/166_Print_Preference_Properties_Represented_as_Elements.md +15 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/167_Cjk_Grid_Preference_Properties_Represented_as_Attributes.md +11 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/168_Cjk_Grid_Preference_Properties_Represented_as_Elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/169_Mojikumi_Ui_Preference_Properties_Represented_as_Attributes.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/170_Chapter_Number_Preference_Properties_Represented_as_Attributes.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_7_preferences/tables/171_Chapter_Number_Preference_Properties_Represented_as_Elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/examples/001_paragraph_style_self_attribute.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/examples/002_paragraph_style_group_nested.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/examples/089_paragraph_style_group.md +14 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/examples/090_based_on_no_paragraph_style.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/examples/091_based_on_another_style.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/examples/092_nested_style.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/examples/093_character_style_group.md +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/examples/094_object_style.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/examples/095_toc_style.md +10 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/examples/096_trap_preset.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/images/10_8_styles_img001.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/images/10_8_styles_img002.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/images/10_8_styles_img003.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/images/10_8_styles_img004.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/images/10_8_styles_img005.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/images/10_8_styles_img006.png +0 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/index.md +1154 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/150_paragraphstylegroup.rnc +9 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/151_paragraphstyle.rnc +510 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/152_nestedstyle.rnc +19 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/153_characterstylegroup.rnc +7 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/154_characterstyle.rnc +255 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/155_styleexporttagmap.rnc +7 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/156_tablestylegroup.rnc +9 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/157_tablestyle.rnc +118 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/158_cellstylegroup.rnc +7 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/159_cellstyle.rnc +135 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/160_objectstylegroup.rnc +9 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/161_objectstyle.rnc +79 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/162_objectstyleobjecteffectscategorysettings.rnc +12 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/163_objectstyle_effects_category_settings.rnc +12 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/164_objectstyle_effects_category_settings.rnc +12 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/165_objectstyle_effects_category_settings.rnc +12 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/166_tocstyle_tocstyleentry.rnc +16 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/167_tocstyle_tocstyleentry.rnc +22 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/schemas/168_trappreset.rnc +21 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/tables/172_paragraph_style_properties_represented_as_attributes.md +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/tables/173_paragraph_style_properties_represented_as_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/tables/174_nestedstyle_properties_represented_as_elements.md +6 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/tables/175_characterstyle_properties_represented_as_attributes.md +7 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/tables/176_characterstyle_properties_represented_as_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/tables/177_styleexporttagmap_properties_represented_as_attributes.md +6 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/tables/178_tablestyle_properties_represented_as_attributes.md +109 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/tables/179_tablestyle_properties_represented_as_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/tables/180_cellstyle_properties_represented_as_elements.md +3 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/tables/181_tocstyle_properties_represented_as_attributes.md +11 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/tables/182_tocstyle_entry_properties_represented_as_attributes.md +8 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/tables/183_tocstyleentry_properties_represented_as_elements.md +7 -0
- data/reference-docs/spec/10_idml_file_reference/10_8_styles/tables/184_trappreset_properties_represented_as_attributes.md +17 -0
- data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/examples/97_example_backingstory.md +1 -0
- data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/index.md +101 -0
- data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/schemas/169_BackingStory.rnc +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/schemas/170_XMLElement.rnc +37 -0
- data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/schemas/171_XMLAttribute.rnc +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/schemas/172_XMLInstruction.rnc +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/schemas/173_XMLComment.rnc +4 -0
- data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/schemas/174_DTD.rnc +13 -0
- data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/tables/185_XMLElement_Properties_Represented_as_Attributes.md +7 -0
- data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/tables/186_XMLAttribute_Properties_Represented_as_Attributes.md +6 -0
- data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/tables/187_XMLInstruction_Properties_Represented_as_Attributes.md +7 -0
- data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/tables/188_XMLComment_Properties_Represented_as_Attributes.md +6 -0
- data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/tables/189_DTD_Properties_Represented_as_Attributes.md +5 -0
- data/reference-docs/spec/10_idml_file_reference/10_9_xml_elements/tables/190_DTD_Properties_Represented_as_Elements.md +5 -0
- data/reference-docs/spec/appendix/00_index.md +7 -0
- data/reference-docs/spec/appendix/a_appendix.md +467 -0
- data/reference-docs/spec/appendix/b_appendix.md +81 -0
- data/reference-docs/spec/appendix/c_appendix.md +3192 -0
- data/reference-docs/spec/appendix/d_appendix.md +7 -0
- data/reference-docs/spec/appendix/e_appendix.md +224 -0
- data/scripts/assemble_element.rb +90 -0
- data/scripts/assemble_part.rb +57 -0
- data/scripts/build_elements_autoloads.rb +46 -0
- data/scripts/generate_all_objects.rb +38 -0
- data/scripts/rnc_to_lutaml.rb +114 -0
- metadata +1043 -0
|
@@ -0,0 +1,1421 @@
|
|
|
1
|
+
## 10.3 Spreads and Master Spreads
|
|
2
|
+
|
|
3
|
+
The following sections describe the content and structure of the <Spread> and <MasterSpread> elements in IDML. In an IDML package, <Spread> elements are stored in the Spread files stored within the Spreads folder (which are named according to the rules described in 'IDML Component Names'). For the remainder of this section, we will refer to these files as Spread.xml .
|
|
4
|
+
|
|
5
|
+
The <MasterSpread> elements are very similar to the <Spread> elements in each Spread.xml file. This distinction is purely for organizational purposes; the XML structures of the two elements are fundamentally the same, and most of the information in this section can be applied to either type of file. In an IDML package, <MasterSpread> elements are stored in MasterSpreads folder.
|
|
6
|
+
|
|
7
|
+
The pages in an In Design document are grouped into spreads and master spreads. Master spreads differ from document page spreads in that they can be applied to other pages, and are typically used for repeating layout elements, such as page numbers or running headers. Spreads and master spreads contain pages, and all page items that can appear in an In Design document. In addition, spreads contain a number of spread-level preferences, such as flattener settings, the spread binding location, and the display state of master page items on the spread.
|
|
8
|
+
|
|
9
|
+
**Example 53. Spread Schema**
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
Spread_Object = element Spread { attribute Self { xsd:string }, attribute FlattenerOverride { SpreadFlattenerLevel_EnumValue }?, attribute AllowPageShuffle { xsd:boolean }?, attribute ItemTransform { TransformationMatrixType_TypeDef }?, attribute ShowMasterItems { xsd:boolean }?, attribute PageCount { xsd:int }?, attribute BindingLocation { xsd:int }?, attribute PageTransitionType { PageTransitionTypeOptions_EnumValue }?, attribute PageTransitionDirection { PageTransitionDirectionOptions_EnumValue }?, attribute PageTransitionDuration { PageTransitionDurationOptions_EnumValue }?, element Properties { element Label { element KeyValuePair { KeyValuePair_TypeDef }* }? } ?, ( FlattenerPreference_Object?, TimingSetting_Object?, (Pumpkin_Object*& Page_Object*& Oval_Object*& Rectangle_Object*& GraphicLine_Object*& TextFrame_Object*& Polygon_Object*& Group_Object*& EPSText_Object*& FormField_Object*& Button_Object*& MultiStateObject_Object* CheckBox_Object*&ComboBox_Object*& ListBox_Object*& RadioButton_Object*& TextBox_Object*& SignatureField_Object*) ) }
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Note that the <MasterSpread> element differs from the <Spread> element only in that it can contain Name, Name Prefix, Base Name, and Overridden PageItem Props attributes-only master spreads have these properties (refer to the In Design documentation for more on master spread options). <MasterSpread> elements also have a <PageColor> element that they do not share with <Spread> elements. <MasterSpread> elements lack the Binding Location, Allow Page Shuffle, and Flattener Override attributes, as these elements only apply to document spreads (again, for more on the differences between master spreads and document spreads, refer to the In Design documentation). Apart from these minor differences, the two elements-and the child elements that they can contain, such as <TextFrame>, <Rectangle>, or <Group> elements-are the same.
|
|
16
|
+
|
|
17
|
+
**Example 54. Master Spread Schema**
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
MasterSpread_Object = element MasterSpread { attribute Self { xsd:string }, attribute ItemTransform { TransformationMatrixType_TypeDef }?, attribute OverriddenPageItemProps { list { xsd:int * } }?, attribute Name { xsd:string }?, attribute NamePrefix { xsd:string }?, attribute BaseName { xsd:string }?, attribute ShowMasterItems { xsd:boolean }?, attribute PageCount { xsd:int }?, element Properties { element PageColor { (InDesignUIColorType_TypeDef ) | (enum_type, PageColorOptions_EnumValue ) }?& element Label { element KeyValuePair { KeyValuePair_TypeDef }* }? } ?, ( Page_Object*& Oval_Object*& Rectangle_Object*& GraphicLine_Object*& TextFrame_Object*& Polygon_Object*& Group_Object*& EPSText_Object*& FormField_Object*& Button_Object*& MultiStateObject_Object*& TimingSetting_Object? ) }
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Most of the properties of a spread or master spread are represented by attributes. The following table shows the attributes that can appear in a <Spread> or <MasterSpread> element.
|
|
24
|
+
|
|
25
|
+
**Table 66**: Spread/MasterSpread Properties Represented as Attributes
|
|
26
|
+
|
|
27
|
+
| Attribute | Data Type | Req | Description |
|
|
28
|
+
| --- | --- | --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
29
|
+
| FlattenerOverride | SpreadFlattener_Level_EnumValue | no | The transparency FlattenerPreferences override for the spread. ( <Spread> only). Can be Default, None, or Custom . |
|
|
30
|
+
| ItemTransform | list of doubles | no | Atransformation matrix applied to the spread. In InDesign, spreads can be rotated, but not translated, scaled, or skewed, so this matrix will only specify rotation, and that only in 90-degree increments. |
|
|
31
|
+
| ShowMasterItems | Boolean | no | If true, displays master page items on document pages in the spread. |
|
|
32
|
+
| PageCount | int | no | The number of pages in the spread. |
|
|
33
|
+
| BindingLocation | int | no | The location of the binding edge of the spread. ( <Spread> only) |
|
|
34
|
+
| AllowPageShuffle | Boolean | no | If true, allows the pages of the spread to move to other spreads during repagination. If false, keeps the pages of the spread together, regardless of repagination. ( <Spread> only) |
|
|
35
|
+
| AppliedMaster | string | no | Areference to the unique ID (the value of the Self attribute) of the master spread applied to the <Spread> or <MasterSpread>. |
|
|
36
|
+
| Name | string | no | The name of the master spread. ( <MasterSpread> only) |
|
|
37
|
+
| NamePrefix | string | no | The name prefix of the master spread. ( <MasterSpread> only) |
|
|
38
|
+
| BaseName | string | no | The base name of the master spread. ( <MasterSpread> only) |
|
|
39
|
+
| PageTransitionDirection | PageTransitionTypeDirectionOptions_EnumValue | no | The direction is based on the page transtion type. Can be: HorizontalIn, HorizontalOut, VerticalIn, VerticalOut, Down, Left, LeftDown, LeftUp, Right, RightDown, RightUp, or Up . |
|
|
40
|
+
| PageTransitionDuration | PageTransitionTypeDurationOptions_EnumValue | no | The duration of the page transition. Can be Fast, Medim, or Slow . |
|
|
41
|
+
| PageTransitionType | PageTransitionTypeOptions_EnumValue | no | The type of the page transition. Can be Blinds- Transition, BoxTransition, CombTransition, CoverTransition, DissolveTransition, Fade- Transition, NoneTransition, PageTurnTransition, PushTransition, SplitTransition, UncoverTransition, WipeTransition, ZoomInTransition, or ZoomOutTransition |
|
|
42
|
+
|
|
43
|
+
**Table 67**: MasterSpread Properties Represented as Elements
|
|
44
|
+
|
|
45
|
+
| Name | Type | Req | Description |
|
|
46
|
+
| --- | --- | --- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
47
|
+
| PageColor | list of doubles or InDesignUIColorType | no | The color of the spread, specified either as a list of three doubles, each in the range 0 to 255 and representing R, G, and B values, or as an InDesignUIColorType enumeration. |
|
|
48
|
+
|
|
49
|
+
#### Minimal Spread Example
|
|
50
|
+
|
|
51
|
+
The <Spread> element is simply a container for other elements that can appear on a spread. In the following example, we have omitted the details of the Page and Rectangle elements. For more information on those objects, refer to the corresponding reference sections.
|
|
52
|
+
|
|
53
|
+
**IDML Example 16. Minimal Spread**
|
|
54
|
+
|
|
55
|
+
```xml
|
|
56
|
+
<Spread Self="ub5" PageCount="1" AppliedMaster="ubc"> <Page>...</Page> <Rectangle>...</Rectangle> </Spread>
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### 10.3.1 PageItems
|
|
60
|
+
|
|
61
|
+
Page items are the rectangles, ellipses, graphic lines, polygons, TextFrames, groups, buttons, movies, imported graphics, and interactive elements that can appear in an In Design document. In IDML, page items are collected on spreads as child elements of the <Spread> element.
|
|
62
|
+
|
|
63
|
+
Page items can be broken into three groups: spline items (rectangles, ellipses, graphic lines, polygons, and TextFrames), media items (movies and sounds), and graphics (PDF, EPS, TIFF, and other types of imported graphics). This corresponds to the class hierarchy in the InDesign scripting model: SplineItems, MediaItems, and Graphics are all chile elements of the PageItem class.
|
|
64
|
+
|
|
65
|
+
#### Spline Items
|
|
66
|
+
|
|
67
|
+
Spline items are usually the most common type of page item found in an InDesign document.
|
|
68
|
+
|
|
69
|
+
Spline items appear in elements named after their specific class: Rectangle, Oval, GraphicLine, Polygon, TextFrame, Group, and Button . There is no specific spline item for a graphic frame; any rectangle, ellipse, graphic line, or polygon can contain an imported graphic. The only difference between the Rectangle, Oval, GraphicLine, and Polygon elements is in the number and arrangement of the PathPoint elements contained in their PathGeometry elements.
|
|
70
|
+
|
|
71
|
+
From the point of view of the In Design scripting model, spline items frequently change their type as you alter their content type or geometry. Add a point to a rectangle, and it becomes a polygon; change the content type of a polygon to text type, and it becomes a TextFrame. IDML works in a similar fashion-you can add multiple paths to a <Rectangle> element, for example, and InDesign will still be able to open and interpret the element.
|
|
72
|
+
|
|
73
|
+
The schemas for Rectangle, Oval, GraphicLine, Polygon, and TextFrame elements are identical. The following example is for the Rectangle element; variations for other object types will be discussed later in this section.
|
|
74
|
+
|
|
75
|
+
#### Media Items
|
|
76
|
+
|
|
77
|
+
In IDML, media items are represented as <Movie> and <Sound> elements. These elements have all of the properties of other <PageItem> elements, but add a small number of unique properties. Media items always appear inside a container element, such as a <Rectangle> .
|
|
78
|
+
|
|
79
|
+
#### Graphics
|
|
80
|
+
|
|
81
|
+
In IDML, imported graphics items are represented as <EPS>, <Image>, and <PDF> elements. These elements have all of the properties of other <PageItem> elements, but add a small number of unique properties. Graphics always appear inside a container element, such as a <Rectangle> .
|
|
82
|
+
|
|
83
|
+
**Example 55. PageItem**
|
|
84
|
+
|
|
85
|
+
```rnc
|
|
86
|
+
Rectangle_Object = element Rectangle { attribute Self { xsd:string }, attribute ContentType { ContentType_EnumValue }?, attribute StoryTitle { xsd:string }?, attribute LinkResourceId { xsd:int }?, attribute ParentInterfaceChangeCount { list { xsd:int * } }?, attribute TargetInterfaceChangeCount { list { xsd:int * } }?, attribute LastUpdatedInterfaceChangeCount { list { xsd:int * } }?, attribute LinkedSourceTableId { xsd:int }?, attribute HorizontalLayoutConstraints { list { DimensionsConstraints_EnumValue,DimensionsConstraints_EnumValue,DimensionsConstraints_EnumValue } }?, attribute VerticalLayoutConstraints { list { DimensionsConstraints_EnumValue,DimensionsConstraints_EnumValue,DimensionsConstraints_EnumValue } }?, attribute AllowOverrides { xsd:boolean }?, attribute FillColor { xsd:string }?, attribute FillTint { xsd:double }?, attribute OverprintFill { xsd:boolean }?, attribute CornerRadius { xsd:double }?, attribute StrokeWeight { xsd:double }?, attribute MiterLimit { xsd:double {minInclusive="1" maxInclusive="500"} }?, attribute EndCap { EndCap_EnumValue }?, attribute EndJoin { EndJoin_EnumValue }?, attribute StrokeType { xsd:string }?, attribute StrokeCornerAdjustment { StrokeCornerAdjustment_EnumValue }?, attribute StrokeDashAndGap { list { xsd:double * } }?, attribute LeftLineEnd { ArrowHead_EnumValue }?, attribute RightLineEnd { ArrowHead_EnumValue }?, attribute StrokeColor { xsd:string }?, attribute StrokeTint { xsd:double }?, attribute GradientFillStart { UnitPointType_TypeDef }?, attribute GradientFillLength { xsd:double }?, attribute GradientFillAngle { xsd:double }?, attribute GradientStrokeStart { UnitPointType_TypeDef }?, attribute GradientStrokeLength { xsd:double }?, attribute GradientStrokeAngle { xsd:double }?, attribute OverprintStroke { xsd:boolean }?, attribute GapColor { xsd:string }?, attribute GapTint { xsd:double }?, attribute OverprintGap { xsd:boolean }?, attribute StrokeAlignment { StrokeAlignment_EnumValue }?, attribute Nonprinting
|
|
87
|
+
{ xsd:boolean }
|
|
88
|
+
?,
|
|
89
|
+
attribute ItemLayer
|
|
90
|
+
{ xsd:string }
|
|
91
|
+
?,
|
|
92
|
+
attribute Locked
|
|
93
|
+
{ xsd:boolean }
|
|
94
|
+
?,
|
|
95
|
+
attribute LocalDisplaySetting
|
|
96
|
+
{ DisplaySettingOptions_EnumValue }
|
|
97
|
+
?,
|
|
98
|
+
attribute GradientFillHiliteLength
|
|
99
|
+
{ xsd:double }
|
|
100
|
+
?,
|
|
101
|
+
attribute GradientFillHiliteAngle
|
|
102
|
+
{ xsd:double }
|
|
103
|
+
?,
|
|
104
|
+
attribute GradientStrokeHiliteLength
|
|
105
|
+
{ xsd:double }
|
|
106
|
+
?,
|
|
107
|
+
attribute GradientStrokeHiliteAngle
|
|
108
|
+
{ xsd:double }
|
|
109
|
+
?,
|
|
110
|
+
attribute AppliedObjectStyle
|
|
111
|
+
{ xsd:string }
|
|
112
|
+
?,
|
|
113
|
+
attribute CornerOption
|
|
114
|
+
{ CornerOptions_EnumValue }
|
|
115
|
+
?,
|
|
116
|
+
attribute Visible
|
|
117
|
+
{ xsd:boolean }
|
|
118
|
+
?,
|
|
119
|
+
attribute Name
|
|
120
|
+
{ xsd:string }
|
|
121
|
+
?,
|
|
122
|
+
attribute TopLeftCornerOption
|
|
123
|
+
{ CornerOptions_EnumValue }
|
|
124
|
+
?,
|
|
125
|
+
attribute TopRightCornerOption
|
|
126
|
+
{ CornerOptions_EnumValue }
|
|
127
|
+
?,
|
|
128
|
+
attribute BottomLeftCornerOption
|
|
129
|
+
{ CornerOptions_EnumValue }
|
|
130
|
+
?,
|
|
131
|
+
attribute BottomRightCornerOption
|
|
132
|
+
{ CornerOptions_EnumValue }
|
|
133
|
+
?,
|
|
134
|
+
attribute TopLeftCornerRadius
|
|
135
|
+
{ xsd:double }
|
|
136
|
+
?,
|
|
137
|
+
attribute TopRightCornerRadius
|
|
138
|
+
{ xsd:double }
|
|
139
|
+
?,
|
|
140
|
+
attribute BottomLeftCornerRadius
|
|
141
|
+
{ xsd:double }
|
|
142
|
+
?,
|
|
143
|
+
attribute BottomRightCornerRadius
|
|
144
|
+
{ xsd:double }
|
|
145
|
+
?,
|
|
146
|
+
attribute ItemTransform
|
|
147
|
+
{ TransformationMatrixType_TypeDef }
|
|
148
|
+
?,
|
|
149
|
+
element Properties
|
|
150
|
+
{ element PathGeometry
|
|
151
|
+
{ element GeometryPathType
|
|
152
|
+
{ GeometryPathType_TypeDef }* }?& element Label
|
|
153
|
+
{ element KeyValuePair
|
|
154
|
+
{ KeyValuePair_TypeDef }* }? }
|
|
155
|
+
?,
|
|
156
|
+
( TextPath_Object*,
|
|
157
|
+
(TransparencySetting_Object?& StrokeTransparencySetting_Object?& FillTransparencySetting_Object?& AnchoredObjectSetting_Object?& TextWrapPreference_Object?& LinkedPageItemOption_Object?& InCopyExportOption_Object?& FrameFittingOption_Object?& ObjectExportOption_Object?& AnimationSetting_Object?& TimingSetting_Object?),
|
|
158
|
+
(Pumpkin_Object*& Oval_Object*& Rectangle_Object*& GraphicLine_Object*& TextFrame_Object*& Polygon_Object*& Sound_Object*& Movie_Object*& Link_Object*& HtmlItem_Object*& Graphic_Object*& Image_Object*& EPS_Object*& WMF_Object*& PICT_Object*& PDF_Object*& Group_Object*& EPSText_Object*& FormField_Object*& Button_Object*& MultiStateObject_Object*& CheckBox_Object*& ComboBox_Object*& ListBox_Object*& RadioButton_Object*& TextBox_Object*& SignatureField_Object*& ImportedPage_Object*) ) }
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
**Table 68**: Common PageItem Properties Represented as Attributes
|
|
162
|
+
|
|
163
|
+
| Name | Type | Req | Description |
|
|
164
|
+
| --- | --- | --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
165
|
+
|AllowOverrides | boolean | no | If true, the master page page item allows over- rides. |
|
|
166
|
+
| AppliedObjectStyle |string | no | The object style applied to the page item. |
|
|
167
|
+
| BottomLeftCornerOption |CornerOptions_EnumValue | no | The corner option applied to the bottom left corner of the object. Note: corner option dif- fers from end join in that you can set a radius for a corner option, whereas the rounded or beveled effect of an endjoin depends upon the stroke weight. Can be None (No corner option), RoundedCorner (Rounded corner option), InverseRoundedCorner (Inverted rounded corner option), InsetCorner (Inset corner option), BevelCorner (Beveled corner option), or FancyCorner (Fancy corner option). |
|
|
168
|
+
| BottomLeftCornerRadius |double | no | The corner radius applied to the bottom left cor- ner of the object. |
|
|
169
|
+
| BottomRightCornerOption |CornerOptions_EnumValue | no | The corner option applied to the bottom right corner of the object. Note: corner option dif- fers from end join in that you can set a radius for a corner option, whereas the rounded or beveled effect of an end join depends upon the stroke weight. Can be None (No corner option), RoundedCorner (Rounded corner option), InverseRoundedCorner (Inverted rounded corner option), InsetCorner (Inset corner option), BevelCorner (Beveled corner option), or FancyCorner (Fancy corner option). |
|
|
170
|
+
| BottomRightCornerRadius | double | no | The corner radius applied to the bottom right corner of the object. |
|
|
171
|
+
| ContentType | ContentType_EnumValue | no | The type of content that a frame can contain. Can be Unassigned (No content type assigned), GraphicType (The frame is a graphics frame), or TextType (The frame is a TextFrame). |
|
|
172
|
+
| EndCap | EndCap_EnumValue | no | The end shape of an open path. Can be ButtEndCap (A squared end that stops at the path's endpoint), RoundEndCap (A semicircular end that extends beyond the endpoint by half the stroke-width), or ProjectingEndCap (A squared end that extends beyond the endpoint by half the stroke-width). |
|
|
173
|
+
| EndJoin | EndJoin_EnumValue | no | The corner join applied to the page item. Can be MiterEndJoin (Miter end join), RoundEndJoin (Rounded end join), or BevelEndJoin (Beveled end join). |
|
|
174
|
+
| FillColor | string | no | The swatch (color, gradient, tint, or mixed ink) applied to the to fill the page item. . |
|
|
175
|
+
| FillTint | double | no | The percent of tint to use in the page item's FillColor. (To specify a tint percent, use a number in the range of 0 to 100; to use the inherited or overridden value, use -1.) |
|
|
176
|
+
| GapColor | string | no | The swatch (color, gradient, tint, or mixed ink) applied to the gap of a dashed, dotted, or striped stroke. For information, see stroke type. |
|
|
177
|
+
| GapTint | double | no | The tint as a percentage of the gap color. (To specify a tint percent, use a number in the range of 0 to 100; to use the inherited or overridden value, use -1.) |
|
|
178
|
+
| GradientFillAngle | double | no | The angle of a linear gradient applied to the fill of the page item. (Range: -180 to 180) |
|
|
179
|
+
| GradientFillHiliteAngle | double | no | The angle of the gradient fill highlight. |
|
|
180
|
+
| GradientFillHiliteLength | double | no | The length of the gradient fill highlight. |
|
|
181
|
+
| GradientFillLength | double | no | The length (for a linear gradient) or radius (for a radial gradient) applied to the fill of the page item. |
|
|
182
|
+
| GradientStrokeAngle | double | no | The angle of a linear gradient applied to the stroke of the page item. (Range: -180 to 180) |
|
|
183
|
+
| GradientStrokeHiliteAngle | double | no | The angle of the gradient stroke highlight. |
|
|
184
|
+
| GradientStrokeHiliteLength | double | no | The length of the gradient stroke highlight. |
|
|
185
|
+
| GradientStrokeLength | double | no | The length (for a linear gradient) or radius (for a radial gradient) applied to the stroke of the page item. |
|
|
186
|
+
| GradientStrokeStart | UnitPointType_TypeDef | no | The starting point (in page coordinates) of a gra- dient applied to the stroke of the page item, in the format [x, y]. |
|
|
187
|
+
| ItemTransform | TransformationMatrixType_TypeDef | no | The transformation matrix applied to the page item. |
|
|
188
|
+
| LeftLineEnd | ArrowHead_EnumValue | no | The arrowhead applied to the start of the path. Can be None (None), SimpleArrowHead (An arrow head formed by two slanting lines whose intersection forms a 45-degree angle and whose stroke weight is the same as the path's stroke), SimpleWideArrowHead (An arrow head formed by two slanting lines whose intersection forms a 90-degree angle and whose stroke weight is the same as the path's stroke), TriangleArrowHead (A solid triangle arrow head whose point describes a 45-degree angle), TriangleWideArrowHead (A solid triangle arrow head whose point describes a 90-degree angle), BarbedArrowHead (A solid arrow head whose pierced end bows sharply toward the point and whose point describes a 45-degree angle), CurvedArrowHead (A solid arrow head whose pierced end concaves toward the point and whose point describes a 45-degree angle), CircleArrowHead (A hollow circle whose outline is the same weight as the stroke The circle's diameter is 5 times the stroke width), CircleSolidArrowHead (A solid circle whose diameter is 5 times the stroke width), SquareArrowHead (A hollow square set perpendicular to the path, whose outline is the same weight as the stroke The length of one side of the square is 5 times the stroke width), SquareSolidArrowHead (A solid square set perpendicular to the end of the path The length of one side of the square is 5 times the stroke width), or BarArrowHead (A vertical bar bisected by the stroke, which meets the stroke at a right angle and is the same weight as the stroke The bar's length is 45 times the stroke width). |
|
|
189
|
+
| LocalDisplaySetting | DisplaySettingOptions_EnumValue | no | Display performance options for the page item. Can be HighQuality (Slower performance; dis- plays high-resolution graphics and high-quality transparencies and turns on anti-aliasing), Typical (Moderate performance speed; dis- plays proxy graphics and low-quality transpar- encies and turns on anti-aliasing), Optimized (Best performance; grays out graphics and turns off transparency and anti-aliasing), or Default (Uses the container object's default display per- formance preferences setting For information, see default display settings). |
|
|
190
|
+
| Locked | boolean | no | If true, the page item is locked. |
|
|
191
|
+
| MiterLimit | double | no | The limit of the ratio of stroke width to miter length before a miter (pointed) join becomes a bevel (squared-off) join. |
|
|
192
|
+
| Nonprinting | boolean | no | If true, the page item does not print. |
|
|
193
|
+
| OverprintFill | boolean | no | If true, the page item's FillColor overprints any underlying objects. If false, the FillColor knocks out the underlying colors. |
|
|
194
|
+
| OverprintGap | boolean | no | If true, the gap color overprints any underly- ing colors. If false, the gap color knocks out the underlying colors. |
|
|
195
|
+
| OverprintStroke | boolean | no | If true, the page item's stroke color overprints any underlying objects. If false, the stroke color knocks out the underlying colors. |
|
|
196
|
+
| RightLineEnd | ArrowHead_EnumValue | no | The arrowhead applied to the end of the path. Can be None (None), SimpleArrowHead (An arrow head formed by two slanting lines whose intersection forms a 45-degree angle and whose stroke weight is the same as the path's stroke), SimpleWideArrowHead (An arrow head formed by two slanting lines whose intersection forms a 90-degree angle and whose stroke weight is the same as the path's stroke), TriangleArrowHead (A solid triangle arrow head whose point describes a 45-degree angle), TriangleWideArrowHead (A solid triangle arrow head whose point describes a 90-degree angle), BarbedArrowHead (A solid arrow head whose pierced end bows sharply toward the point and whose point describes a 45-degree angle), CurvedArrowHead (A solid arrow head whose pierced end concaves toward the point and whose point describes a 45-degree angle), CircleArrowHead (A hollow circle whose outline is the same weight as the stroke The circle's diameter is 5 times the stroke width), CircleSolidArrowHead (A solid circle whose diameter is 5 times the stroke width), SquareArrowHead (A hollow square set perpendicular to the path, whose outline is the same weight as the stroke The length of one side of the square is 5 times the stroke width), SquareSolidArrowHead (A solid square setperpendicular to the end of the path The length of one side of the square is 5 times the stroke width), or BarArrowHead (A vertical bar bisected by the stroke, which meets the stroke at a right angle and is the same weight as the stroke The bar's length is 45 times the stroke width). |
|
|
197
|
+
| StoryTitle |string | no | The title of the story associated with this page item, if any. |
|
|
198
|
+
| StrokeAlignment |StrokeAlignment_EnumValue | no | The stroke alignment applied to the page item. Can be CenterAlignment (The stroke straddles the path), InsideAlignment (The stroke is inside the path), or OutsideAlignment (The stroke is outside the path, like a picture frame). |
|
|
199
|
+
| StrokeColor | string | no | The swatch (color, gradient, tint, or mixed ink) applied to the to stroke of the page item. |
|
|
200
|
+
| StrokeCornerAdjustment | StrokeCornerAdjustment_EnumValue | no | The corner adjustment applied to the page item. Can be None (No adjustment), Dashes (Changes the length of dashes so that dashes always occur at path ends and corners; maintains set gap length Note: Can cause dashes to be different lengths on shapes whose sides are of different lengths, such as rectangles), Gaps (Changes the length of gaps so that dashes or dots always occur at ends and corners; maintains dash length or dot diameter Note: Can cause gaps to be different lengths on shapes whose sides are of different lengths, such as rectangles), or DashesAndGaps (Adjusts both dashes and gaps to cover corners and end points Note: Causes dash and gap sizes to be consistent on all sides of |
|
|
201
|
+
| StrokeDashAndGap | string | no | The dash and gap measurements that define the pattern of a custom dashed line. Define up to six values (in points) in the format [dash1, gap1, dash2, gap2, dash3, gap3]. |
|
|
202
|
+
| StrokeTint | double | no | The percent of tint to use in object's stroke color. (To specify a tint percent, use a number in the range of 0 to 100; to use the inherited or overrid- den value, use -1.) |
|
|
203
|
+
|StrokeType | string | no | The name of the stroke style to apply. |
|
|
204
|
+
| StrokeWeight |double | no | The weight (in points) to apply to the page item's stroke. |
|
|
205
|
+
| TopLeftCornerOption |CornerOptions_EnumValue | no | The corner option applied to the top left corner of the object. Note: corner option differs from end join in that you can set a radius for a corner option, whereas the rounded or beveled effect of an end joindepends upon the stroke weight. Can be None (No corner option), RoundedCorner (Rounded corner option), InverseRoundedCorner (Inverted rounded corner option), InsetCorner (Inset corner option), BevelCorner (Beveled corner option), or FancyCorner (Fancy corner option). |
|
|
206
|
+
| TopLeftCornerRadius |double | no | The corner radius applied to the top left corner of the object. |
|
|
207
|
+
| TopRightCornerOption |CornerOptions_EnumValue | no | The corner option applied to the top right corner of the object. Note: corner option differs from end join in that you can set a radius for a corner option, whereas the rounded or beveled effect of an end join depends upon the stroke weight. Can be None (No corner option), RoundedCorner (Rounded corner option), InverseRoundedCorner (Inverted rounded corner option), InsetCorner (Inset corner option), BevelCorner (Beveled corner option), or FancyCorner (Fancy corner option). |
|
|
208
|
+
|
|
209
|
+
| Name | Type | Req | Description |
|
|
210
|
+
| ------------------------ | -------- | ------- | ------------------------------------------------------------------ |
|
|
211
|
+
| TopRightCornerRadius | double | no | The corner radius applied to the top right corner of the object. |
|
|
212
|
+
|
|
213
|
+
**Table 69**: Common PageItem Properties Represented by Elements
|
|
214
|
+
|
|
215
|
+
| Name | Type | Req | Description |
|
|
216
|
+
| -------------- | ------------------------------------ | ------- | --------------------------------------------------------------------------------------------------------- |
|
|
217
|
+
| PathGeometry | Array of GeometryPathType elements | yes | An element containing the geometry of the page item. For more information, refer to 'Geometry in IDML.' |
|
|
218
|
+
|
|
219
|
+
#### Live Corner Options and Previous Versions of InDesign
|
|
220
|
+
|
|
221
|
+
In the InDesign CS4 IDML format, corner options were applied to all of the points in the page item. InDesign CS5 added the Live Corner Effects feature, which can apply a different corner option to each point in the paths of a page item. The CornerRadius and CornerOption attributes in the InDesign CS4 version of IDML have been replaced with the BottomLeftCornerOption, BottomLeftCornerRadius, BottomRightCornerOption, BottomRightCornerRadius, TopLeftCornerOption, TopLeftCornerRadius, TopRightCornerOption, and TopRightCornerRadius in the InDesign CS5 version of IDML.
|
|
222
|
+
|
|
223
|
+
Opening an InDesign CS4 compliant IDML file containing the CornerRadius and CornerOption attributes in InDesign CS5 will apply the same value to all four corners.
|
|
224
|
+
|
|
225
|
+
Opening an InDesign CS5 IDML file in InDesign CS4 will apply the corner effect and corner radius specified by the TopLeftCornerOption and TopLeftCornerRadius to the CornerRadius and CornerOption attributes, which means that the top left corner attributes of the InDesign CS5 file will be uniformly applied to all corners of the objects in InDesign CS4.
|
|
226
|
+
|
|
227
|
+
### 10.3.2 Nested Objects and IDML Structure
|
|
228
|
+
|
|
229
|
+
Page items (and other objects, such as imported graphics) in an In Design layout are frequently nested inside other page items. This nesting is explicit in the IDML structure. A <Document> element, for example contains <Spread> elements, which, in turn, contain <Rectangle> elements or other page item elements. An imported image is stored as a child XML element of the containing page item element. Objects inside a group appear as child elements of the <Group> element.
|
|
230
|
+
|
|
231
|
+
Only the top-level page items of a spread appear as child elements of the <Spread> element; all nested objects appear as child elements of their respective container elements.
|
|
232
|
+
|
|
233
|
+
### 10.3.3 Geometry in IDML
|
|
234
|
+
|
|
235
|
+
When you are editing or creating an IDML file, it's likely that you will need to draw a page item at a specific location on a page. You're probably already familiar with the geometry of the paths in page items-that they're made up of points positioned at pairs of x and y coordinates-but it's likely that you'll have a few questions in mind. What units of measurement should you use? Where is the origin of the coordinate system? Are the coordinates used in page items relative to the page or to the spread? In this section, we'll attempt to answer these questions.
|
|
236
|
+
|
|
237
|
+
The first thing you need to know is that the coordinates used in IDML are not the same as the coordinates you see in the In Design user interface or in the In Design scripting object model (they are, however, the same coordinates as used in the In Design C++ model). At the same time, IDML offers a robust and consistent set of elements and attributes for specifying object locationsanything that can be drawn in the In Design user interface can be achieved in IDML.
|
|
238
|
+
|
|
239
|
+
This section will focus on how geometry is expressed in IDML; the general topic of the geometry of page items and spreads in an In Design document is far beyond the scope of this specification. For more information, refer to the 'Layout Fundamentals' chapter of the In Design SDK Programming Guide . For more on coordinate systems and transformation matrices, refer to the Post Script Language Reference Manual .
|
|
240
|
+
|
|
241
|
+
Note: In this section, we'll refer to a generic <PageItem> element. There are no <PageItem> elements in IDML; this element is provided for explanatory purposes only-it could be a <Rectangle>, <Oval>, <GraphicLine>, <TextFrame>, or <Polygon> element.
|
|
242
|
+
|
|
243
|
+
#### Coordinates, Transformation Matrices, and the IDML Element Hierarchy
|
|
244
|
+
|
|
245
|
+
As we mentioned in 'Nested Objects and IDML Structure,' above, elements in IDML are arranged in a specific hierarchy. A document contains spreads; spreads contain page items; and page items can contain other page items. The location of a page item on a spread depends on its position in the hierarchy. The relationships between the elements are defined by the following:
|
|
246
|
+
|
|
247
|
+
- A document has a base coordinate system (see 'Pasteboard Coordinates,' below).
|
|
248
|
+
- Each spread or master spread has its own coordinate system (see 'Spread Coordinates,' below).
|
|
249
|
+
- Each page item element has its own coordinate system (see 'PageItem Geometry,' below).
|
|
250
|
+
- The relationship of an element's coordinates to the coordinate system of its parent is determined by the transformation matrix applied to the element (see 'Transformations,' below).
|
|
251
|
+
|
|
252
|
+
In the paragraphs above, we talk about each element having its own coordinate system. In the rest of this section, we'll refer to the coordinate system of an element as the element's inner coordinates .
|
|
253
|
+
|
|
254
|
+
#### Pasteboard Coordinates
|
|
255
|
+
|
|
256
|
+
It's natural to think of the coordinates in an In Design document in terms of the rulers you see in the layout windowruler coordinates . In ruler coordinates, a page item can actually straddle two different sets of rulers. This, among other reasons, makes ruler coordinates inconvenient for developers.
|
|
257
|
+
|
|
258
|
+
Instead, IDML geometry is built on the pasteboard coordinate system . This isn't the pasteboard you see surrounding a spread in the user interface; instead, it's a global coordinate system that underlies all of the spreads in an In Design document. The pasteboard coordinate system starts at zero, above the first page in the document, and encompasses all of the spreads in the document. (The pasteboard coordinate system does not have a negative extent.)
|
|
259
|
+
|
|
260
|
+
- The units used by the pasteboard coordinate system are points, defined as 72 units per inch. Changing the definition of points in the In Design user interface has no effect on the definition of points used in IDML.
|
|
261
|
+
- Increasing a vertical coordinate (y) moves the specified location down in pasteboard coordinates. This is the same as ruler coordinates, but is 'flipped' relative to the x and y axes of traditional geometry (i.e., what you learned in geometry and trigonometry classes), Post Script, and PDF.
|
|
262
|
+
- Increasing the horizontal coordinate (x) moves the specified location to the right in pasteboard coordinates (the same as in ruler coordinates and in traditional geometry).
|
|
263
|
+
|
|
264
|
+
## Transformations
|
|
265
|
+
|
|
266
|
+
In Design documents consist of (among other things) page items on spreads. These page items have an intrinsic shape that consists of one or more paths. The shape of the paths are completely determined by a sequence of coordinate pairs that specify either a point the path is to pass through (the anchor point) or the curvature of the line segments connected to the anchor point (control points). The shape of page items is completely determined by a collection of x and y coordinates.
|
|
267
|
+
|
|
268
|
+
If you were to draw the points that make up the path of a page item on a standard sheet of graph paper marked at 72 units per inch, the path would, in general, appear different than it does when printed from In Design. The coordinate system represented by this fictitious graph paper is the item's inner coordinate system. Each page item has a distinct inner coordinate system-its own sheet of graph paper. The path points that make up the shape of the page item are always described in inner coordinates.
|
|
269
|
+
|
|
270
|
+
A transformation matrix specifies the relationship between the coordinate system of the page element (the graph paper we talked about earlier) and the coordinate system of its parent element (another sheet of graph paper). By modifying a transformation matrix, objects can be scaled, rotated, moved, or transformed in other ways. For example, in In Design, when you rotate a page item by 30 degrees, it is the item's transformation matrix that is affected, and not the coordinates of the item's individual path points. To return to our metaphor we're rotating the the graph paper the element is drawn on, relative to the graph paper of its parent element.
|
|
271
|
+
|
|
272
|
+
The relationship between the pasteboard coordinates of a <Document> element and the coordinate system of a <Spread> element is determined by the Item Transform attribute of the <Spread> element.
|
|
273
|
+
|
|
274
|
+
In IDML, page item elements are child elements of a <Spread> or <MasterSpread> element, so you'll be more concerned with the coordinate system of those elements than with the pasteboard coordinate system. (Note that this is unlike the In Design C++ model, where page items are collected on layers.)
|
|
275
|
+
|
|
276
|
+
You can think of the sequence of transformations applied to an element as a 'stack' of transformations from the pasteboard coordinate system of the <Document> element, through the inner coordinate system of the <Spread> element, and to the inner coordinate system of a <PageItem> element contained as a child of the <Spread> element. To position the element within its parent element, In Design transforms the inner coordinates of the child element into the coordinate system of its parent element.
|
|
277
|
+
|
|
278
|
+
InDesign CS5 supports multiple page sizes in a spread, so <Page> elements have acquired an ItemTransform attribute that specifies their location in the spread. This transformation matrix translates the inner coordinates of the page (defined by the GeometricBounds attribute of the <Page> element) into the coordinate system of the parent <Spread> .
|
|
279
|
+
|
|
280
|
+
In addition, <Page> elements now have a MasterPageTransform attribute, which defines the relationship of master page items to the page. This transformation matrix transforms the inner coordinates of the master page items into their locations on the page (i.e., it is applied after the ItemTransform of the <Spread>, but before the ItemTransform of the individual master spread page items). This attribute corresponds to the Master Page Overlay feature; refer to the InDesign documentation for more information on this feature.
|
|
281
|
+
|
|
282
|
+
A transformation between two coordinate systems in two dimensional space is represented by a 3-by-3 transformation matrix written as:
|
|
283
|
+
|
|
284
|
+
<!-- formula-not-decoded -->
|
|
285
|
+
|
|
286
|
+
Because a transformation matrix has only six elements that can be changed, it is specified in IDML using the standard form [a b c d e f] . This transformation matrix is stored in ItemTransform attribute of a <PageItem> element, or in the ItemTransform attribute of a <Spread> or <MasterSpread> element.
|
|
287
|
+
|
|
288
|
+
To transform the inner coordinates of an element into the inner coordinates of its parent element, In Design performs the following calculation (where T is the transformation matrix of the child element):
|
|
289
|
+
|
|
290
|
+
<!-- formula-not-decoded -->
|
|
291
|
+
|
|
292
|
+
If the transformation matrix applied to an element is the identity matrix ( [1 0 0 1 0 0] ), then the inner coordinate system of the element and the inner coordinate system of its parent coincide.
|
|
293
|
+
|
|
294
|
+
The following list shows the transformation matrices for performing the most common transformations.
|
|
295
|
+
|
|
296
|
+
- Translations are specified as [1 0 0 1 tx ty], where tx and ty are the horizontal and vertical distances to move the object, relative to the center of the pasteboard.
|
|
297
|
+
- Scaling is obtained using the matrix [sx 0 0 sy 0 0] . This scales the object in a given element by sx (horizontal scaling factor) and sy (vertical scaling factor), relative to the pasteboard.
|
|
298
|
+
|
|
299
|
+
- Rotations are produced by the matrix [cos(θ) sin(θ) -sin(θ) cos(θ) 0 0], which has the effect of rotating the object counterclockwise by the angle θ, relative to the pasteboard.
|
|
300
|
+
- Skewing is specified by the matrix [1 tan(α) tan(β) 1 0 0], which skews the x (horizontal) axis of the object by the angle α and the y (vertical) axis of the object by the angle β, relative to the x and y axis of the pasteboard.
|
|
301
|
+
|
|
302
|
+
Transformations are applied in the following order: scale, shear, rotate, translate.
|
|
303
|
+
|
|
304
|
+
#### Spread Coordinates
|
|
305
|
+
|
|
306
|
+
The Item Transform attribute of a <Spread> or <MasterSpread> element defines the relationship of the spread to the pasteboard coordinate system. In general, only the y translation and rotation of the transformation matrix defined in the Item Transform attribute will be applied to the spread. Since pages cannot be rotated to arbitrary angles in In Design's user interface, only 90-degree rotations are allowed:
|
|
307
|
+
|
|
308
|
+
```
|
|
309
|
+
Item Transform="1 0 0 1 0 0" No spread rotation Item Transform="0 1 1 0 0 0" 90 degree clockwise spread rotation Item Transform="0 1 1 0 0 0" 90 degree counterclockwise spread rotation Item Transform="1 0 0 1 0 0" 180 degree spread rotation
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
Note: Spreads cannot be scaled or skewed using the transformation matrix in the Item Transform attribute.
|
|
313
|
+
|
|
314
|
+
The origin of the spread coordinate system is located at center of the spread. The left edge of the first right hand page in the spread aligns with the horizontal center of the spread; the right edge of the first left hand page in the spread appears to the left. The vertical centers of the pages align with the vertical center of the spread. Each spread has its own coordinate system origin.
|
|
315
|
+
|
|
316
|
+
**Figure 7**: IDML Spread Coordinate System
|
|
317
|
+
|
|
318
|
+

|
|
319
|
+
|
|
320
|
+
Note: The horizontal center of the spread does not correspond to the binding edge of the spread, and is not marked in any way in the In Design user interface. Left hand pages are always added to the left of the horizontal center of the spread; right hand pages are always added to the right.
|
|
321
|
+
|
|
322
|
+
#### PageItem Geometry
|
|
323
|
+
|
|
324
|
+
The location of a <Spread> element, relative to the pasteboard coordinate system, is determined by its ItemTransform attribute. The <Spread> element uses the same units of measurement as the pasteboard coordinate system: points. The coordinate system used by a <PageItem> element, however, can be entirely arbitrary (though the coordinates are always points in IDML exported form InDesign). The relationship of the inner coordinates of the child element to the coordinate system of the <Spread> element (or other parent element) is defined by the ItemTransform attribute of the child element. What may appear to be absolute coordinates in a child element are not absolute with respect to the spread coordinate system, because the values of the ItemTransform attribute may cause the child element to move, shrink, or expand, relative to the spread.
|
|
325
|
+
|
|
326
|
+
Most of the time, when you export IDML from In Design, <PageItem> elements that are direct children of a <Spread> element (i.e., that are not contained by other page items, groups, or anchored in text) will have a coordinate system that coincides with the spread coordinates.
|
|
327
|
+
|
|
328
|
+
The shape of each page item is defined by the contents of the <PathGeometry> element (which is inside the < Properties> element). The <PathGeometry> element contains:
|
|
329
|
+
|
|
330
|
+
- One or more <GeometryPath> elements representing the paths that make up the page item. Each <GeometryPath> element contains a <PathPointArray> element, which contains a list of <PathPoint> elements.
|
|
331
|
+
- Each <PathPoint> element contains attributes defining three coordinate pairs that define the location of the path point and the curvature of the line segments connecting the path point to the other points in the path. These attributes are named PathPoint Anchor (the location of the point), Left Direction (incoming Bezier control point), and Right Direction (outgoing Bezier control point). Each of these attributes take the form x y (where x is the horizontal location of the point and y is the vertical location, expressed in the inner coordinate system of the page item).
|
|
332
|
+
- The Path Open attribute of the <GeometryPath> element specifies whether the path is an open path or a closed path. If Is Open is true, the path is an open path; if it's false, the path is a closed path. An In Design path does not need to be closed to display a fill that has been applied to it.
|
|
333
|
+
|
|
334
|
+
Note: In Design paths use the Nonzero Winding Number rule (not the Even-Odd rule) to determine the fill areas of self-intersecting paths. For more on the Nonzero Winding Number rule, refer to the Pos t S cript Language Reference Manual .
|
|
335
|
+
|
|
336
|
+
While the shape of the page item is defined by the contents of the <GeometryPath> element, the actual location of the page item in the spread depends on the contents of the Item Transform attribute of the page item. This transformation matrix defines the relationship between the inner coordinate system of the page item and the inner coordinate system of its parent.
|
|
337
|
+
|
|
338
|
+
Figure 8. PathGeometry Element
|
|
339
|
+
|
|
340
|
+

|
|
341
|
+
|
|
342
|
+
## Geometry Example
|
|
343
|
+
|
|
344
|
+
To better demonstrate the effect of transformation and object nesting in IDML, let's follow a point on a simple rectangle as it is transformed, nested inside another object, and then has another transformation applied to the parent. In this example, we'll create a rectangle with a geometric bounds defined by putting the upper left corner of the rectangle at (72, 72) and the lower right corner at (144, 144). Both corners are specified in the user interface in points, according to ruler coordinates, and assuming that the zero point is at the upper left corner of the page.
|
|
345
|
+
|
|
346
|
+
Figure 9. Example Rectangle
|
|
347
|
+
|
|
348
|
+

|
|
349
|
+
|
|
350
|
+
In the following figure, we've selected the point using the Direct Selection tool; the location of the point in ruler coordinates is shown in the X and Y fields of the Control panel.
|
|
351
|
+
|
|
352
|
+
Figure 10. Selected Point
|
|
353
|
+
|
|
354
|
+

|
|
355
|
+
|
|
356
|
+
The rectangle in the above example appears in IDML as shown in the following example. The point we're following is highlighted in red.
|
|
357
|
+
|
|
358
|
+
**IDML Example 17. Untransformed Rectangle**
|
|
359
|
+
|
|
360
|
+
```xml
|
|
361
|
+
<Rectangle Self="ud0" ItemTransform="1 0 0 1 0 0"> <Properties> <PathGeometry> <GeometryPath PathOpen="false"> <PathPointArray> <PathPointType Anchor="72 324" LeftDirection="72 324" RightDirection="72 324"/> <PathPointType Anchor="72 252" LeftDirection="72 252" RightDirection="72 252"/> <PathPointType Anchor="144 252" LeftDirection="144 252"
|
|
362
|
+
RightDirection="144 252"/> <PathPointType Anchor="144 324" LeftDirection="144 324" RightDirection="144 324"/> </PathPointArray> </GeometryPath> </PathGeometry> </Properties> </Rectangle>
|
|
363
|
+
```
|
|
364
|
+
|
|
365
|
+
The parent of the <Rectangle> element is a <Spread> element. Since the rectangle has not been transformed, the coordinates of the rectangle are therefore coincident with the same coordinates in the spread. Again, the vertical coordinate origin for the spread is not the same as that shown on the rulers in the user interface, which is why the y coordinates in the IDML differ from what you see in the fields of the Control panel.
|
|
366
|
+
|
|
367
|
+
Next, we'll rotate the triangle by 30 degrees around its center point. When we do this, the location of the point in ruer coordinates changes, as shown in the following figure.
|
|
368
|
+
|
|
369
|
+
Figure 11. Rotation Changes the Point Location Relative to the Rulers
|
|
370
|
+
|
|
371
|
+

|
|
372
|
+
|
|
373
|
+
In IDML, however, the coordinates of the point do not change. The transformation is accomplished using the ItemTransform attribute of the <Rectangle> element, as shown in the example below (again, we've used red to highlight the significant parts of the IDML).
|
|
374
|
+
|
|
375
|
+
**IDML Example 18. Rotation Changes the ItemTransform Attribute in IDML**
|
|
376
|
+
|
|
377
|
+
```xml
|
|
378
|
+
<Rectangle Self="ud0" ItemTransform="0.8660254037844387 0.5000000000000001 0.5000000000000001 0.8660254037844387 158.46925639128065 15.415316289918337"> <Properties> <PathGeometry> <GeometryPath PathOpen="false"> <PathPointArray> <PathPointType Anchor="72 324" LeftDirection="72 324" RightDirection="72 324"/> <PathPointType Anchor="72 252" LeftDirection="72 252" RightDirection="72 252"/> <PathPointType Anchor="144 252" LeftDirection="144 252" RightDirection="144 252"/> <PathPointType Anchor="144 324" LeftDirection="144 324" RightDirection="144 324"/> </PathPointArray> </GeometryPath> </PathGeometry> </Properties> </Rectangle>
|
|
379
|
+
```
|
|
380
|
+
|
|
381
|
+
Next, we'll add the rectangle to a group.
|
|
382
|
+
|
|
383
|
+
Figure 12. Example Rectangle Grouped with an Ellipse
|
|
384
|
+
|
|
385
|
+

|
|
386
|
+
|
|
387
|
+
Next, we'll rotate the group by 30 degrees around its center point. As you can see from the X and Y fields in the Control panel, the location of the point changes relative to the ruler coordinates in the user interface.
|
|
388
|
+
|
|
389
|
+
Figure 13. The Example Rectangle Inside a Rotated Group
|
|
390
|
+
|
|
391
|
+

|
|
392
|
+
|
|
393
|
+
In IDML, you'll see that the <Rectangle> element now appears within a <Group> element. The location of the point inside the <Rectangle> element remains the same; the transformations are applied to the rectangle through the ItemTransform attributes of both the <Group> element and the <Rectangle> element (again, we've highlighted the significant IDML fragments with red). Because we rotated the group by the same angle as the rectangle, the ItemTransform values are the same (showing a 30 degree rotation), but the important point is that the ItemTransform and PathGeometry sections of the rectangle do not change when the group was transformed.
|
|
394
|
+
|
|
395
|
+
**IDML Example 19. The Rectangle is Transformed by the ItemTransform Attribute of both the Rectangle and the Group**
|
|
396
|
+
|
|
397
|
+
```xml
|
|
398
|
+
<Group Self="ud2" ItemTransform="0.8660254037844387 0.5000000000000001 0.5000000000000001 0.8660254037844387 158.46925639128065 15.415316289918337"> <Rectangle Self="ud0" ItemTransform="0.8660254037844387 0.5000000000000001 0.5000000000000001 0.8660254037844387 158.46925639128065 15.415316289918337"> <Properties> <PathGeometry> <GeometryPath PathOpen="false"> <PathPointArray> <PathPointType Anchor="72 324" LeftDirection="72 324" RightDirection="72 324"/> <PathPointType Anchor="72 252" LeftDirection="72 252" RightDirection="72 252"/> <PathPointType Anchor="144 252" LeftDirection="144 252" RightDirection="144 252"/> <PathPointType Anchor="144 324" LeftDirection="144 324" RightDirection="144 324"/> </PathPointArray> </GeometryPath> </PathGeometry> </Properties> </Rectangle> <Oval Self="ud1" ItemTransform="1 0 0 1 0 0"> <Properties> <PathGeometry> <GeometryPath PathOpen="false"> <PathPointArray> <PathPointType Anchor="69.6615427318801 315.5" LeftDirection="63.67562810529901 315.5" RightDirection="75.6474573584612 315.5"/> <PathPointType Anchor="80.5 326.3384572681199" LeftDirection="80.5 320.35254264153883" RightDirection="80.5 332.32437189470096"/> <PathPointType Anchor="69.6615427318801 337.1769145362398" LeftDirection="75.6474573584612 337.1769145362398" RightDirection="63.67562810529901 337.1769145362398"/> <PathPointType Anchor="58.82308546376021 326.3384572681199" LeftDirection="58.82308546376021 332.32437189470096" RightDirection="58.82308546376021 320.35254264153883"/> </PathPointArray> </GeometryPath> </PathGeometry> </Properties> </Oval> </Group>
|
|
399
|
+
```
|
|
400
|
+
|
|
401
|
+
The coordinates of the example point remain the same, because they're expressed in the inner coordinates of the rectangle. The successive application of transformations via the ItemTransform attributes of the <Rectangle> element and its container elements (a <Group> element and a <Spread> element, in this example) determine where the point appears on the page you see in the InDesign user interface.
|
|
402
|
+
|
|
403
|
+
### 10.3.4 Rich Interactive Document Features
|
|
404
|
+
|
|
405
|
+
InDesign CS5 introduces a number of new features for creating interactive objects for export to SWF and PDF documents. These features add a new type of page item, the Multi-State Object (or MSO), which, like a button, is a container for a series of other page items. In addition, all page items gained a new element, <AnimationSettings>, which controls the animation of the object in the exported file. The <TimingSetting> element, which appears inside the <Spread> and <MasterSpread> elements and inside all page item elements, contains further elements that control the timing of the animation and supported dynamic media such as video and sound..
|
|
406
|
+
|
|
407
|
+
#### Animation Settings
|
|
408
|
+
|
|
409
|
+
The animation of a page item exported to a SWF document is controlled by the properties of the <AnimationSetting> element of the page item element.
|
|
410
|
+
|
|
411
|
+
**Example 56. AnimationSetting**
|
|
412
|
+
|
|
413
|
+
```
|
|
414
|
+
AnimationSetting_Object = element AnimationSetting { attribute TransformOffsets { list { xsd:double,xsd:double } }?, attribute Duration { xsd:double {minInclusive="0.125" maxInclusive="60"} }?, attribute DesignOption { DesignOptions_EnumValue }?, attribute EaseType { AnimationEaseOptions_EnumValue }?, attribute Plays { xsd:int {minInclusive="1" maxInclusive="100"} }?, attribute PlaysLoop { xsd:boolean }?, attribute InitiallyHidden { xsd:boolean }?, attribute HiddenAfter { xsd:boolean }?, attribute HasCustomSettings { xsd:boolean }?, element Properties { element Preset { (object_type, xsd:string ) | (string_type, xsd:string ) | (enum_type, NothingEnum_EnumValue ) }?& element MotionPathPoints { GeometryPathType_TypeDef }?& element MotionPath { element AnimationDataPathKeyFrameType { AnimationDataPathKeyFrameType_TypeDef }* }?& element OpacityArray { element AnimationDataKeyFrameType { AnimationDataKeyFrameType_TypeDef }* }?& element RotationArray { element AnimationDataKeyFrameType { AnimationDataKeyFrameType_TypeDef }* }?& element ScaleXArray { element AnimationDataKeyFrameType { AnimationDataKeyFrameType_TypeDef }* }?& element ScaleYArray { element AnimationDataKeyFrameType { AnimationDataKeyFrameType_TypeDef }* }? } ? }
|
|
415
|
+
```
|
|
416
|
+
|
|
417
|
+
**Table 70**: AnimationSetting Properties Represented as Attributes
|
|
418
|
+
|
|
419
|
+
|Name | Type | Req | Description |
|
|
420
|
+
| -------------- |----------------------------------| ------- | ------------------------------------------------------------------------------- |
|
|
421
|
+
| DesignOption |DesignOptions_EnumValue | no | Can be FromCurrentAppearance, ToCurrentAppearance, or ToCurrentLocation . |
|
|
422
|
+
| Duration | double | no | The duration of the animation, from .125 to 60 seconds. |
|
|
423
|
+
| EaseType | AnimationEaseOptions_EnumValue | no | Can be NoEase, EaseIn . EaseOut . EaseInOut . or CustomEase . |
|
|
424
|
+
| HasCustomSettings | Boolean | no | If true, the animated object has custom settings. |
|
|
425
|
+
| HiddenAfter | Boolean | no | If true, the animated object is hidden after playing. |
|
|
426
|
+
| InitiallyHidden | Boolean | no | If true, the animated object is hidden before playing. |
|
|
427
|
+
| Plays | int | no | The number of times to play the animation. |
|
|
428
|
+
| PlaysLoop | Boolean | no | If true, the animation loops. |
|
|
429
|
+
| TransformOffsets | list of two doubles | no | The transform offset percentage from the target object bounding box's left-top corner. |
|
|
430
|
+
|
|
431
|
+
**Table 71**: AnimationSetting Properties Represented as Elements
|
|
432
|
+
|
|
433
|
+
| Name | Type | Req | Description |
|
|
434
|
+
| ------------------ | --------------------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
435
|
+
| MotionPath | AnimationDataPathKeyFrameType | no | The list of motion path points and key frames for this animation. MotionPath and MotionPathPoints are mutually exclusive. Typically a path is either defined by one type or the other, but not both. |
|
|
436
|
+
| MotionPathPoints | GeometryPathType_TypeDef | no | The list of motion path points for this anima- tion. MotionPath and MotionPathPoints are mutually exclusive. Typically a path is either defined by one type or the other, but not both. |
|
|
437
|
+
| OpacityArray | AnimationDataKeyFrameType | no | The list of opacity key frames for this animation. |
|
|
438
|
+
| Preset | string | no | The motion preset applied to the animated object. Can be a reference to the self attribute of a motion preset in the IDML file, or one of InDesign's default motion presets: appear, disappear, fade-in, fade-out, fly-in-bottom, fly-in-left, fly-in-right, fly-in-top, fly-in-blur-bottom, fly-in-blur-left, fly-in-blur-right, fly-in-blur-top, fly-out-bottom, fly-out-left, fly-out-right, fly-out-top, grow, grow-big, move-left, move-right, move-left-grow, move-left-shrink, move-right-grow, move-right-shrink, rotate180cw, rotate90cw, rotate180ccw, rotate90ccw, shrink, spring-left, spring-right, zoom-in-2D, zoom-out-2D, large-bounce, med-bounce, small-bounce, multiple-bounce, bounce-smoosh, dance, flyin-pause-flyout, flyin-stop-flyout, gallop, pulse, smoke, twirl, swoosh, or wave . Can also be a custom motion preset, as the file name (exclud- ing its extension) containing the preset. Motion presets are stored in the Presets/Motion presets folder inside the InDesign application folder. User custom presets are stored the Motion Pre- sets folder inside the Preferences folder in the InDesign application folder. |
|
|
439
|
+
| RotationArray | AnimationDataKeyFrameType | | The list of rotation key frames for this animation. |
|
|
440
|
+
| ScaleXArray | AnimationDataKeyFrameType | | The list of scale x key frames for this animation. |
|
|
441
|
+
| ScaleYArray | AnimationDataKeyFrameType | | The list of scale y key frames for this animation. |
|
|
442
|
+
|
|
443
|
+
**IDML Example 20. AnimationSetting**
|
|
444
|
+
|
|
445
|
+
```xml
|
|
446
|
+
<AnimationSetting TransformOffsets="0 0" Duration="1" DesignOption="FromCurrentApp earance" EaseType="EaseIn" Plays="1" PlaysLoop="true" InitiallyHidden="false" HiddenAfter="false" HasCustomSettings="true"> <Properties> <Preset type="object">u10b</Preset> <MotionPathPoints PathOpen="true"> <PathPointArray> </PathPointArray> </MotionPathPoints> <MotionPath> <AnimationDataPathKeyFrameType KeyFrame="0"> <PathPoint Anchor="0 0" LeftDirection="0 0" RightDirection="0 0"/> </AnimationDataPathKeyFrameType> <AnimationDataPathKeyFrameType KeyFrame="23"> <PathPoint Anchor="0.55 4" LeftDirection="0.55 4" RightDirection="0.55 4"/> </AnimationDataPathKeyFrameType></MotionPath> <OpacityArray> <AnimationDataKeyFrameType KeyFrame="0" Value="0"/> <AnimationDataKeyFrameType KeyFrame="23" Value="100"/> </OpacityArray> <RotationArray> <AnimationDataKeyFrameType KeyFrame="0" Value="0"/> <AnimationDataKeyFrameType KeyFrame="23" Value="45"/> </RotationArray> <ScaleXArray> <AnimationDataKeyFrameType KeyFrame="0" Value="100"/> <AnimationDataKeyFrameType KeyFrame="23" Value="50"/> </ScaleXArray> <ScaleYArray> <AnimationDataKeyFrameType KeyFrame="0" Value="100"/> <AnimationDataKeyFrameType KeyFrame="23" Value="150"/> </ScaleYArray> </Properties> </AnimationSetting>
|
|
447
|
+
```
|
|
448
|
+
|
|
449
|
+
**Animation Timing**
|
|
450
|
+
|
|
451
|
+
The <TimingSetting> element contains one or more <TimingList> elements, which contain one or more <TimingGroup> elements. Each <TimingGroup> element contains at least one <TimingTarget> element. The <TimingTarget> element can be an animation, video, sound, or multi-state object. Video and buttons can also be animated. The order and grouping of elements inside the <TimingSetting> element defines the ordering of the animations in the object containing the <TimingSetting> . The order of <TimingGroup> elements inside a <TimingList> determines the sequence of animation of groups of objects, and the order of <TimingTarget> elements in a <TimingGroup> element determines the order of animation of individual page items inside the <TimingGroup> .
|
|
452
|
+
|
|
453
|
+
**Example 57. TimingSetting**
|
|
454
|
+
|
|
455
|
+
```
|
|
456
|
+
TimingSetting_Object = element TimingSetting ( TimingList_Object* ) } Schema Example 58. TimingList TimingList_Object = element TimingList { attribute Self { xsd:string } attribute TriggerEvent { DynamicTriggerEvents_EnumValue } ?, ( TimingGroup_Object* ) }
|
|
457
|
+
```
|
|
458
|
+
|
|
459
|
+
**Table 72**: TimingList Properties Represented as Attributes
|
|
460
|
+
|
|
461
|
+
| Name | Type | Req | Description |
|
|
462
|
+
| -------------- | ---------------------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
463
|
+
| TriggerEvent | DynamicTriggerEvents_EnumValue | no | The event that triggers the animation. Can be OnPageLoad, OnPageClick, OnClick, OnRollover, OnRelease, OnRolloff, OnSelfClick, or OnSelfRollover . |
|
|
464
|
+
|
|
465
|
+
**Example 60. TimingGroup**
|
|
466
|
+
|
|
467
|
+
```
|
|
468
|
+
TimingGroup_Object = element TimingGroup { attribute Self { xsd:string }, attribute Plays { xsd:int {minInclusive="1" maxInclusive="100"} }?, attribute PlaysLoop { xsd:boolean }?, ( TimingTarget_Object* ) }
|
|
469
|
+
```
|
|
470
|
+
|
|
471
|
+
**Table 73**: TimingGroup Properties Represented as Attributes
|
|
472
|
+
|
|
473
|
+
| Name | Type | Req | Description |
|
|
474
|
+
| ----------- | --------- | ------- | ----------------------------------------------------------------------------- |
|
|
475
|
+
| Plays | int | no | The number of times to play the timing group. Ignored if PlaysLoop is true. |
|
|
476
|
+
| PlaysLoop | boolean | no | If true, play the timing group in a loop. |
|
|
477
|
+
|
|
478
|
+
**Example 61. TimingTarget**
|
|
479
|
+
|
|
480
|
+
```
|
|
481
|
+
TimingTarget_Object = element TimingTarget { attribute Self { xsd:string }, attribute DynamicTarget { xsd:string }?, attribute DelaySeconds { xsd:double {minInclusive="0" maxInclusive="60"} }?, attribute ReverseAnimation { xsd:boolean }?, attribute TargetRole { xsd:int }?, attribute TargetAction { xsd:int }?, attribute Placement { xsd:int }? }
|
|
482
|
+
```
|
|
483
|
+
|
|
484
|
+
**Table 74**: TimingTarget Properties Represented as Attributes
|
|
485
|
+
|
|
486
|
+
| Name | Type | Req | Description |
|
|
487
|
+
| ------------------ | --------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
488
|
+
| DynamicTarget | string | no | The animated page item, as a reference to the Self attribute of the animated page item, video, sound, or multi-state object. Video and buttons can also be animated. |
|
|
489
|
+
| DelaySeconds | int | no | The time delay in seconds for this target, relative to the start of the current timing group. |
|
|
490
|
+
| ReverseAnimation | boolean | no | If true, reverse the animation. Only valid when the DynamicTriggerEvent for the <TimingList> containing the <TimingGroup> of the <TimingTarget> is OnRolloff or OnSelfRolloff . |
|
|
491
|
+
|
|
492
|
+
| Name | Type | Req | Description |
|
|
493
|
+
| -------------- | -------- | ------- | ------------------------------------------------------------------------------------------------ |
|
|
494
|
+
| TargetRole | int | no | The target in the timing as video, sound, anima- tion, or other suppported dynamic media type. |
|
|
495
|
+
| TargetAction | int | no | The action associated with this target when exported to SWF. |
|
|
496
|
+
| Placement | int | no | The placement of the timing target in the timing group. |
|
|
497
|
+
|
|
498
|
+
**IDML Example 21. TimingSetting**
|
|
499
|
+
|
|
500
|
+
```xml
|
|
501
|
+
<TimingSetting UnassignedDynamicTargets=""> <TimingList Self="ubbTimingSetting1TimingList0" TriggerEvent="OnPageLoad"> <TimingGroup Self="ubbTimingSetting1TimingList0TimingGroup0" Plays="1" PlaysLoop="false"> <TimingTarget Self="ubbTimingSetting1TimingList0TimingGroup0if7" DynamicTarget="uf7" DelaySeconds="2" ReverseAnimation="false" TargetRole="132354" TargetAction="132353" Placement="0"/> </TimingGroup> <TimingGroup Self="ubbTimingSetting1TimingList0TimingGroup1" Plays="1" PlaysLoop="false"> <TimingTarget Self="ubbTimingSetting1TimingList0TimingGroup1if8" DynamicTarget="uf8" DelaySeconds="0" ReverseAnimation="false" TargetRole="132355" TargetAction="132353" Placement="0"/> </TimingGroup> </TimingList> </TimingSetting>
|
|
502
|
+
```
|
|
503
|
+
|
|
504
|
+
### 10.3.5 PageItem Examples
|
|
505
|
+
|
|
506
|
+
The following IDML example shows a simple rectangle.
|
|
507
|
+
|
|
508
|
+
**IDML Example 22. Rectangle**
|
|
509
|
+
|
|
510
|
+
```xml
|
|
511
|
+
<Rectangle Self="ucd" Item Transform="1 0 0 1 0 0"> <Properties> <PathGeometry> <GeometryPath Path Open="false"> <PathPointArray> <PathPoint Type Anchor="72 324" Left Direction="72 324" Right Direction="72 324"/> <PathPoint Type Anchor="72 252" Left Direction="72 252" Right Direction="72 252"/> <PathPoint Type Anchor="144 252" Left Direction="144 252" Right Direction="144 252"/> <PathPoint Type Anchor="144 324" Left Direction="144 324" Right Direction="144 324"/> </PathPointArray> </GeometryPath>> </PathGeometry> </Rectangle>
|
|
512
|
+
```
|
|
513
|
+
|
|
514
|
+
## Nested PageItem
|
|
515
|
+
|
|
516
|
+
In Design page items can be pasted inside other page items. IDML reflects this capability by storing the nested page items as child elements of the page item element, as shown in the following example.
|
|
517
|
+
|
|
518
|
+
**IDML Example 23. Nested PageItem**
|
|
519
|
+
|
|
520
|
+
```xml
|
|
521
|
+
<Rectangle Self="ucd" Item Transform="1 0 0 1 0 0"> <Properties> <PathGeometry> <GeometryPath Path Open="false"> <PathPointArray> <PathPoint Type Anchor="72 324" Left Direction="72 324" Right Direction="72 324"/> <PathPoint Type Anchor="72 252" Left Direction="72 252" Right Direction="72 252"/> <PathPoint Type Anchor="144 252" Left Direction="144 252" Right Direction="144 252"/> <PathPoint Type Anchor="144 324" Left Direction="144 324" Right Direction="144 324"/> </PathPointArray> </GeometryPath>> </PathGeometry> </Properties> <Rectangle Self="uda" Item Transform="1 0 0 1 0 0"> <Properties> <PathGeometry> <GeometryPath Path Open="false"> <PathPointArray> <PathPoint Type Anchor="84 312" Left Direction="84 312" Right Direction="84 312"/> <PathPoint Type Anchor="84 288" Left Direction="84 288" Right Direction="84 288"/> <PathPoint Type Anchor="108 288" Left Direction="108 288" Right Direction="108 288"/> <PathPoint Type Anchor="108 312" Left Direction="108 312" Right Direction="108 312"/> </PathPointArray> </GeometryPath>>
|
|
522
|
+
```
|
|
523
|
+
|
|
524
|
+
Figure 14. Simple PageItem (a Rectangle)
|
|
525
|
+
|
|
526
|
+

|
|
527
|
+
|
|
528
|
+
</PathGeometry> </Properties> </Rectangle> </Rectangle>
|
|
529
|
+
|
|
530
|
+
## Rotated PageItem
|
|
531
|
+
|
|
532
|
+
The following example shows a page item that has been rotated by 30 degrees around its center point. Note that the path point coordinates and geometric bounds remain the same as in the previous example; only the transformation matrix changes.
|
|
533
|
+
|
|
534
|
+
In general, applying a counterclockwise rotation using the transformation matrix takes the form:
|
|
535
|
+
|
|
536
|
+
```latex
|
|
537
|
+
a = cos(angle), b =-sin(angle), c = sin(angle), d = cos(angle)
|
|
538
|
+
```
|
|
539
|
+
|
|
540
|
+
Where a, b, c, and d are the first four values in the transformation matrix and angle is the angle of rotation (in degrees).
|
|
541
|
+
|
|
542
|
+
**IDML Example 24. Rotated PageItem**
|
|
543
|
+
|
|
544
|
+
```xml
|
|
545
|
+
<Rectangle Self="ucd" Item Transform=" 0.8660254037844387 0.5 0.5 0.8660254037844387 0 0"> <Properties> <PathGeometry> <GeometryPath Path Open="false"> <PathPointArray> <PathPoint Type Anchor="72 324" Left Direction="72 324" Right Direction="72 324"/> <PathPoint Type Anchor="72 252" Left Direction="72 252" Right Direction="72 252"/> <PathPoint Type Anchor="144 252" Left Direction="144 252" Right Direction="144 252"/> <PathPoint Type Anchor="144 324" Left Direction="144 324" Right Direction="144 324"/> </PathPointArray> </GeometryPath>> </PathGeometry> </Properties> </Rectangle>
|
|
546
|
+
```
|
|
547
|
+
|
|
548
|
+
Figure 15. Nested PageItem
|
|
549
|
+
|
|
550
|
+

|
|
551
|
+
|
|
552
|
+
Figure 16. Rotated PageItem
|
|
553
|
+
|
|
554
|
+

|
|
555
|
+
|
|
556
|
+
The following example shows the transformation matrix for the rectangle:
|
|
557
|
+
|
|
558
|
+
```latex
|
|
559
|
+
a = 0.8660254037844387 = Cosine of 30 degrees. b = 0.5 = Negative sine of 30 degrees. c = 0.5 = Sine of 30 degrees. d = 0.8660254037844387 = Cosine of 30 degrees.
|
|
560
|
+
```
|
|
561
|
+
|
|
562
|
+
## Transformations and Nested PageItems
|
|
563
|
+
|
|
564
|
+
The following example shows a rectangle that has been rotated 30 degrees and then pasted inside another rectangle. The container rectangle is then rotated a further 15 degrees.
|
|
565
|
+
|
|
566
|
+
```xml
|
|
567
|
+
<Rectangle Self="ucd" Item Transform="0.9659258262890683 0.25881904510252074 0.25881904510252074 0.9659258262890683 0 0"> <Properties> <PathGeometry> <GeometryPath Path Open="false"> <PathPointArray> <PathPoint Type Anchor="72 324" Left Direction="72 324" Right Direction="72 324"/> <PathPoint Type Anchor="72 252" Left Direction="72 252" Right Direction="72 252"/> <PathPoint Type Anchor="144 252" Left Direction="144 252" Right Direction="144 252"/> <PathPoint Type Anchor="144 324" Left Direction="144 324" Right Direction="144 324"/> </PathPointArray> </GeometryPath>> </PathGeometry> </Properties> <Rectangle Self="uda" Item Transform=" 0.8660254037844387 0.5 0.5 0.8660254037844387 0 0"> <Properties> <PathGeometry> <GeometryPath Path Open="false"> <PathPointArray> <PathPoint Type Anchor="84 312" Left Direction="84 312" Right Direction="84 312"/> <PathPoint Type Anchor="84 288" Left Direction="84 288" Right Direction="84 288"/> <PathPoint Type Anchor="108 288" Left Direction="108 288" Right Direction="108 288"/> <PathPoint Type Anchor="108 312" Left Direction="108 312" Right Direction="108 312"/> </PathPointArray> </GeometryPath>> </PathGeometry> </Properties> </Rectangle> </Rectangle>
|
|
568
|
+
```
|
|
569
|
+
|
|
570
|
+
Figure 17. Outer Rectangle
|
|
571
|
+
|
|
572
|
+

|
|
573
|
+
|
|
574
|
+
Figure 18. Inner Rectangle
|
|
575
|
+
|
|
576
|
+

|
|
577
|
+
|
|
578
|
+
Viewed from In Design's user interface, you can see that the rotation is cumulative-the rotation applied to the inner rectangle is the sum of its original rotation plus the rotation of the outer rectangle. The transformation matrices in the IDML example reflect this rotation. The following is the transformation matrix for the outer rectangle (formatted for easier reading):
|
|
579
|
+
|
|
580
|
+
```
|
|
581
|
+
a = 0.9659258262890683 = Cosine of 15 degrees. b = 0.25881904510252074 = Negative sine of 15 degrees. c = 0.25881904510252074 = Sine of 15 degrees. d = 0.9659258262890683 = Cosine of 15 degrees.
|
|
582
|
+
```
|
|
583
|
+
|
|
584
|
+
The following example shows the transformation matrix for the inner rectangle:
|
|
585
|
+
|
|
586
|
+
```
|
|
587
|
+
a = 0.8660254037844387 = Cosine of 30 degrees. b = 0.5000000000000001 = Negative sine of 30 degrees. c = 0.5000000000000001 = Sine of 30 degrees. d = 0.8660254037844387 = Cosine of 30 degrees.
|
|
588
|
+
```
|
|
589
|
+
|
|
590
|
+
## Spline Item Containing an Imported Graphic
|
|
591
|
+
|
|
592
|
+
Placed (imported) graphics always appear inside a spline item. This spline item can be a rectangle, a graphic line, an oval, or a polygon (these spline items can be nested inside a <State> element of a <Button> element or a <MultiStateObject> element). There is no special class of page item for a graphic frame.
|
|
593
|
+
|
|
594
|
+
The imported graphic itself can be an <Image>, a <PDF>, an <ImportedPage>, an <EPS>, a <PICT>, or a <WMF> . All of these elements share the attributes and elements of the <Graphic> object, and add a few attributes and elements specific to their specific object type. <WMF> and <PICT> elements are identical to <Graphic> .
|
|
595
|
+
|
|
596
|
+
**Schema Example 62. raphic Schema**
|
|
597
|
+
|
|
598
|
+
```
|
|
599
|
+
Graphic_Object = element Graphic { attribute Self { xsd:string }, attribute LocalDisplaySetting { DisplaySettingOptions_EnumValue }?, attribute ImageTypeName { xsd:string }?, attribute AppliedObjectStyle { xsd:string }?, attribute ItemTransform { TransformationMatrixType_TypeDef }?, attribute LinkResourceId { xsd:int }?, attribute ParentInterfaceChangeCount { list { xsd:int * } }?, attribute TargetInterfaceChangeCount { list { xsd:int * } }?, attribute LastUpdatedInterfaceChangeCount { list { xsd:int * } }?, attribute LinkedSourceTableId { xsd:int }?, attribute HorizontalLayoutConstraints { list { DimensionsConstraints_EnumValue,DimensionsConstraints_EnumValue,DimensionsConstraints_EnumValue } }?, attribute VerticalLayoutConstraints { list { DimensionsConstraints_EnumValue,DimensionsConstraints_EnumValue,DimensionsConstraints_EnumValue } }?, attribute FillColor { xsd:string }?, attribute FillTint { xsd:double }?, attribute OverprintFill { xsd:boolean }?, attribute CornerRadius { xsd:double }?, attribute StrokeWeight { xsd:double }?, attribute MiterLimit { xsd:double {minInclusive="1" maxInclusive="500"} }?, attribute EndCap { EndCap_EnumValue }?, attribute EndJoin { EndJoin_EnumValue }?, attribute StrokeType { xsd:string }?, attribute StrokeCornerAdjustment { StrokeCornerAdjustment_EnumValue }?, attribute StrokeDashAndGap { list { xsd:double * } }?, attribute LeftLineEnd { ArrowHead_EnumValue }?, attribute RightLineEnd { ArrowHead_EnumValue }?, attribute StrokeColor { xsd:string }?, attribute StrokeTint { xsd:double }?, attribute GradientFillStart { UnitPointType_TypeDef }?, attribute GradientFillLength { xsd:double }?, attribute GradientFillAngle { xsd:double }?, attribute GradientStrokeStart { UnitPointType_TypeDef }?, attribute GradientStrokeLength { xsd:double }?, attribute GradientStrokeAngle { xsd:double }?, attribute OverprintStroke { xsd:boolean }?, attribute GapColor { xsd:string }?, attribute GapTint { xsd:double }?, attribute OverprintGap { xsd:boolean }?, attribute StrokeAlignment { StrokeAlignment_EnumValue }?, attribute Nonprinting { xsd:boolean }?, attribute ItemLayer { xsd:string }?, attribute Locked { xsd:boolean }?, attribute GradientFillHiliteLength { xsd:double }?, attribute GradientFillHiliteAngle { xsd:double }?, attribute GradientStrokeHiliteLength { xsd:double }?, attribute GradientStrokeHiliteAngle { xsd:double }?, attribute CornerOption { CornerOptions_EnumValue }?, attribute Visible { xsd:boolean }?, attribute Name { xsd:string }?, attribute TopLeftCornerOption { CornerOptions_EnumValue }?, attribute TopRightCornerOption { CornerOptions_EnumValue }?, attribute BottomLeftCornerOption { CornerOptions_EnumValue }?, attribute BottomRightCornerOption { CornerOptions_EnumValue }?, attribute TopLeftCornerRadius { xsd:double }?, attribute TopRightCornerRadius { xsd:double }?, attribute BottomLeftCornerRadius { xsd:double }?, attribute BottomRightCornerRadius { xsd:double }?, element Properties { element Contents { text }?& element GraphicProxy { text }?& element ClippingPathGeometry { element GeometryPathType { GeometryPathType_TypeDef }* }?& element GraphicBounds { RectangleBoundsType_TypeDef }?& element Label { element KeyValuePair { KeyValuePair_TypeDef }* }? } ?, ( TransparencySetting_Object?& TextWrapPreference_Object?& LinkedPageItemOption_Object?& MetadataPacketPreference_Object?& AnimationSetting_Object?& TimingSetting_Object? ) }
|
|
600
|
+
```
|
|
601
|
+
|
|
602
|
+
<Graphic> elements inherit all of the attributes and elements of page item elements, and add the unique attributes and elements shown in the following tables.
|
|
603
|
+
|
|
604
|
+
**Table 75**: Graphic Properties Represented as Attributes
|
|
605
|
+
|
|
606
|
+
| Name | Type | Req | Description |
|
|
607
|
+
| --------------- | -------- | ------- | ------------------------ |
|
|
608
|
+
| ImageTypeName | string | no | The type of the image. |
|
|
609
|
+
|
|
610
|
+
**Table 76**: Graphic Properties Represented as Elements
|
|
611
|
+
|
|
612
|
+
| Name | Type | Req | Description |
|
|
613
|
+
| ------------------------ | ----------------- | ------- | ------------------------------------------------------------------------------------------------------------ |
|
|
614
|
+
| ClippingPathGeometry | GeometryPath | no | The clipping path for the graphic. |
|
|
615
|
+
| Contents | text | no | If the graphic is embedded (rather than stored externally), this element contains the data of the graphic. |
|
|
616
|
+
| GraphicBounds | list of doubles | no | The geometric bounds of the image, in the form [x1, y1, x2, y2]. |
|
|
617
|
+
| GraphicProxy | text | no | The data of the proxy image. |
|
|
618
|
+
|
|
619
|
+
**Table 77**: Image Properties Represented as Attributes
|
|
620
|
+
|
|
621
|
+
| Name | Type | Req | Description |
|
|
622
|
+
| ------------------------ | ----------------------------| ------- | ------------------------------------------------------------------------------- |
|
|
623
|
+
| ActualPPI | list of two doubles | no | The actual pixels per inch of the image, in the form horizontal, vertical |
|
|
624
|
+
| EffectivePpi |listof two doubles | no | The effective pixels per inch of the image, in the form horizontal, vertical. |
|
|
625
|
+
| ImageRenderingIntent |RenderingIntent_EnumValue | no | The rendering intent of the image. |
|
|
626
|
+
| Space | string | no | |
|
|
627
|
+
|
|
628
|
+
**Table 78**: Image Properties Represented as Elements
|
|
629
|
+
|
|
630
|
+
| Name | Type | Req | Description |
|
|
631
|
+
| --------- | ----------------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
632
|
+
| Profile | Profile_EnumValue or string | no | The color profile applied to the image. Can be NoCMS, PostScriptCMS, UseDocument, Working, or a string that is the name of the profile. |
|
|
633
|
+
|
|
634
|
+
**Table 79**: PDF and EPS Properties Represented as Attributes
|
|
635
|
+
|
|
636
|
+
| Name | Type |Req | Description |
|
|
637
|
+
| ------------------ | ---------------------------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------- |
|
|
638
|
+
| ActualPPI | list of two dubles |no | The actual pixels per inch of the image, in the form horizontal, vertical |
|
|
639
|
+
| CMKYVectorPolicy | PlacedVectorProfilePolicy_EnumValue |no | The color profile policy for CMYKcontent in a placed graphic. Can be HonorAllProfiles, IgnoreAll, or IgnoreOutputIntent . |
|
|
640
|
+
| GrayVectorPolicy | PlacedVectorProfilePolicy_EnumValue | no | The color profile policy for grayscale content in a placed graphic. Can be HonorAllProfiles, IgnoreAll, or IgnoreOutputIntent . |
|
|
641
|
+
| RGBVectorPolicy0 | PlacedVectorProfilePolicy_EnumValue | no | The color profile policy for RGB content in a placed graphic. Can be HonorAllProfiles, IgnoreAll, or IgnoreOutputIntent . |
|
|
642
|
+
|
|
643
|
+
| Name | Type | Req | Description |
|
|
644
|
+
| -------- | -------- | ------- | --------------- |
|
|
645
|
+
| Space | string | no | |
|
|
646
|
+
|
|
647
|
+
PDFs include the <PDFAttribute> element, which contains properties specific to imported PDFs.
|
|
648
|
+
|
|
649
|
+
**Schema Example 63. PDFAttribute**
|
|
650
|
+
|
|
651
|
+
```
|
|
652
|
+
PDFAttribute_Object = element PDFAttribute { attribute PageNumber { xsd:int }?, attribute PDFCrop { PDFCrop_EnumValue }?, attribute TransparentBackground { xsd:boolean }? }
|
|
653
|
+
```
|
|
654
|
+
|
|
655
|
+
**Table 80**: PDFAttribute Properties Represented as Attributes
|
|
656
|
+
|
|
657
|
+
| Name | Type | Req | Description |
|
|
658
|
+
| ------------------------- | ------------------- | ------- | --------------- |
|
|
659
|
+
| PageNumber | int | no | |
|
|
660
|
+
| PDFCrop | PDFCrop_EnumValue | no | |
|
|
661
|
+
| TransparentBackground | boolean | no | |
|
|
662
|
+
|
|
663
|
+
InDesign can import pages from other InDesign documents as graphics. These pages are represented in IDML by the <ImportedPage> element, which contains the following unique properties.
|
|
664
|
+
|
|
665
|
+
**Table 81**: ImportedPage Properties Represented as Attributes
|
|
666
|
+
|
|
667
|
+
| Name | Type | Req | Description |
|
|
668
|
+
| ------------------ | ------------------------------------- | ------- | ------------------------------------------------------------------------------------------- |
|
|
669
|
+
| ImportedPageCrop | ImportedPageCropOptions_EnumValue | no | The cropping applied to the imported page. Can be CropContent, CropBleed, or CropSlug . |
|
|
670
|
+
| PageNumber | int | no | Which page of the InDesign document should be imported. |
|
|
671
|
+
|
|
672
|
+
The following example shows an image that has been placed inside the rectangle that we've used in the previous examples. We've omitted the XMP metadata from this example.
|
|
673
|
+
|
|
674
|
+
**IDML Example 25. PageItem Containing an Imported Graphic**
|
|
675
|
+
|
|
676
|
+
```xml
|
|
677
|
+
<Rectangle Self="ufe" ContentType="GraphicType" ItemLayer="ub6" AppliedObjectStyle="ObjectStyle/$ID/[None]" Visible="true" Name="$ID/" ItemTransform="1 0 0 1 4.200000000000003 6.600000000000023"> <Properties> <PathGeometry> <GeometryPath PathOpen="false"> <PathPointArray> <PathPointType Anchor="76.2 330.6" LeftDirection="76.2 330.6" RightDirection="76.2 330.6"/> <PathPointType Anchor="76.2 258.6" LeftDirection="76.2 258.6" RightDirection="76.2 258.6"/> <PathPointType Anchor="148.2 258.6" LeftDirection="148.2 258.6" RightDirection="148.2 258.6"/> <PathPointType Anchor="148.2 330.6" LeftDirection="148.2 330.6" RightDirection="148.2 330.6"/> </PathPointArray> </GeometryPath> </PathGeometry> </Properties> <FrameFittingOption LeftCrop="12.000000000000014" TopCrop="18.720000000000027" RightCrop="12" BottomCrop="18.719999999999914"/> <Image Self="u101" Space="$ID/#Links_RGB" ActualPpi="300 300" EffectivePpi="500 500" ImageRenderingIntent="UseColorSettings" LocalDisplaySetting="Default" ImageTypeName="$ID/JPEG" AppliedObjectStyle="ObjectStyle/$ID/[None]" ItemTransform="0.6 0 0 0.6 69 341.83200000000005" Visible="true" Name="$ID/"> <Properties> <Profile type="string">$ID/Embedded</Profile> <GraphicBounds Left="0" Top="0" Right="144" Bottom="157.44"/> </Properties> <TextWrapPreference Inverse="false" ApplyToMasterPageOnly="false" TextWrapSide="BothSides" TextWrapMode="None"> <Properties> <TextWrapOffset Top="0" Left="0" Bottom="0" Right="0"/> </Properties> <ContourOption ContourType="SameAsClipping" IncludeInsideEdges="false" ContourPathName="$ID/"/> </TextWrapPreference> <Link Self="u106" AssetURL="$ID/" AssetID="$ID/" LinkResourceURI="file:C:/pumpkin.jpg" LinkResourceFormat="$ID/JPEG" StoredState="Normal" LinkClassID="35906" LinkClientID="257" LinkResourceModified="false" LinkObjectModified="false" ShowInUI="true" CanEmbed="true" CanUnembed="true" CanPackage="true" ImportPolicy="NoAutoImport" ExportPolicy="NoAutoExport" LinkImportStamp="file 129053780397050268 396019" LinkImportModificationTime="20091215T11:13:59" LinkImportTime="20091221T16:52:00"/> <ClippingPathSettings ClippingType="None" InvertPath="false" IncludeInsideEdges="false" RestrictToFrame="false" UseHighResolutionImage="true" Threshold="25" Tolerance="2" InsetFrame="0" AppliedPathName="$ID/" Index="1"/> <ImageIOPreference ApplyPhotoshopClippingPath="true" AllowAutoEmbedding="true" AlphaChannelName="$ID/"/> </Image> </Rectangle>
|
|
678
|
+
```
|
|
679
|
+
|
|
680
|
+
The example image is slightly larger than the rectangle. When you select the graphic in the InDesign user interface, you can see that the bounds of the graphic are outside the bounds of the containing rectangle (in the illustration below, the graphic is selected; the frame itself is the light blue square within the bounding box of the graphic).
|
|
681
|
+
|
|
682
|
+
## Movies and Sounds
|
|
683
|
+
|
|
684
|
+
InDesign can place movie and sound files into a document. These media files can be played in exported SWF and PDF files. Movies and sounds share most of their properties with other page items, but each features a few unique properties.
|
|
685
|
+
|
|
686
|
+
Supported movie and sound file types: MOV (QuickTime), MPEG, AVI, WAV, AU, AIF, SWF, FLV, F4V, MP4, MP3 and H.264-encoded MOV files.
|
|
687
|
+
|
|
688
|
+
**Table 82**: Movie Properties Represented as Attributes
|
|
689
|
+
|
|
690
|
+
| Name | Type | Req | Description |
|
|
691
|
+
| -------------------------- | -------------------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
692
|
+
| CanChoosePosters | boolean | no | If true, the user can choose a poster image for the movie. |
|
|
693
|
+
| ControllerSkin | string | no | Applicable to FLV/F4V clips only. The video con- troller skin name. Can be None, SkinOverAll, SkinOverAllNoCaption, SkinOverAllNoFullNoCaption, SkinOverAllNoFullscreen, SkinOverAllNoVolNoCaptionNoFull, SkinOverPlay . Uses None as a default value. |
|
|
694
|
+
| CustomPoster | boolean | no | If true, the movie has had a custom poster image applied to it. |
|
|
695
|
+
| Description | string | no | Adescription of the movie. |
|
|
696
|
+
| EmbedInPDF | boolean | no | If true, embed the movie in exported PDF. |
|
|
697
|
+
| FilePath | string | no | The file path to the movie file. |
|
|
698
|
+
| FloatingWindow | boolean | no | If true, display the movie in a floating window (on playback in an exported PDF or SWF docu- ment). |
|
|
699
|
+
| FloatingWindowPosition | FloatingWindowPosition_EnumValue | no | The position of the floating window. Can be UpperLeft, UpperMiddle, UpperRight, CenterLeft, Center, CenterRight, LowerLeft, LowerMiddle, or LowerRight . |
|
|
700
|
+
| FloatingWindowSize | FloatingWindowSize_EnumValue | no | The Size of the floating window. Can be OneFifth, OneFourth, OneHalf, Full, Double, Triple, Quadruple, or Max . Only valid when FloatingWindow is true. |
|
|
701
|
+
| IntrinsicBounds | list of int | no | The bounds of the movie file, as width, height. |
|
|
702
|
+
|
|
703
|
+
Figure 19. PageItem Containing an Imported Graphic
|
|
704
|
+
|
|
705
|
+

|
|
706
|
+
|
|
707
|
+
| Name | Type | Req | Description |
|
|
708
|
+
| ----------------- | ---------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------- |
|
|
709
|
+
| MovieLoop | boolean | no | If true, loop the movie in the exported PDF or SWF document. |
|
|
710
|
+
| PlayMode | PlayMode_EnumValue | no | The play mode for the movie. Can be Once, StayOpen, or RepeatPlay . |
|
|
711
|
+
| PlayOnPageTurn | boolean | no | If true, the movie plays automatically when a user views the page that contains the movie poster in the exported PDF or SWF document. |
|
|
712
|
+
| PosterAvailable | boolean | no | If true, the movie file contains a poster image. |
|
|
713
|
+
| ShowController | boolean | no | Applicable to FLV/F4V clips only. If true, dis- plays controller skin with mouse rollover. |
|
|
714
|
+
| ShowControls | boolean | no | If true, show movie playback controls in the exported PDF or SWF document |
|
|
715
|
+
| URL | string | no | The URL of the movie. |
|
|
716
|
+
|
|
717
|
+
**IDML Example 26. Movie**
|
|
718
|
+
|
|
719
|
+
```xml
|
|
720
|
+
<Movie Self="ufa" Name="birdbridge.f4v" Description="" FloatingWindowPosition="Center" FloatingWindowSize="Full" PlayOnPageTurn="false" ShowControls="false" FloatingWindow="false" EmbedInPDF="false" PlayMode="Once" CustomPoster="false" FilePath="C:\birdbridge.f4v" ControllerSkin="SkinOver AllNoCaption" ShowController="true" MovieLoop="false" ItemTransform="1 0 0 1 0 0" LocalDisplaySetting="Default" AppliedObjectStyle="ObjectStyle/$ID/[None]" Visible="true">
|
|
721
|
+
```
|
|
722
|
+
|
|
723
|
+
A <NavigationPoint> element in a <Movie> element represents a cue point in the video.
|
|
724
|
+
|
|
725
|
+
**Schema Example 64. NavigationPoint**
|
|
726
|
+
|
|
727
|
+
```
|
|
728
|
+
NavigationPoint_Object = element NavigationPoint { attribute Self { xsd:string }, attribute Id { xsd:int }?, attribute Name { xsd:string }?, attribute Time { xsd:double }? }
|
|
729
|
+
```
|
|
730
|
+
|
|
731
|
+
| Name | Type | Req | Description |
|
|
732
|
+
| -------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------- |
|
|
733
|
+
| Id | int | no | Unique identifier for the cue point. If this is not specified, a unique number will be assigned as the Id for the navigation point. |
|
|
734
|
+
| Name | string | no | The UI display name (not unique) - free form string. |
|
|
735
|
+
| Time | double | no | The time in seconds. While reading this value, InDesign rounds it up to two places of decimal. |
|
|
736
|
+
|
|
737
|
+
**IDML Example 27. NavigationPoint**
|
|
738
|
+
|
|
739
|
+
```xml
|
|
740
|
+
<NavigationPoint Self="uf7NavigationPoint0" Id="1" Name="Point 1" Time="0.53"/>
|
|
741
|
+
```
|
|
742
|
+
|
|
743
|
+
**Table 83**: Sound Properties Represented as Attributes
|
|
744
|
+
|
|
745
|
+
| Name | Type | Req | Description |
|
|
746
|
+
| ------------------ | --------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
747
|
+
| Description | string | no | Adescription of the movie. |
|
|
748
|
+
| DoNotPrintPoster | boolean | no | If true, the poster image associated with the sound file will not print. |
|
|
749
|
+
| EmbedInPDF | boolean | no | If true, embed the movie in exported PDF. |
|
|
750
|
+
| FilePath | string | no | The file path to the movie file. |
|
|
751
|
+
| SoundLoop | boolean | no | If true, loop the sound in the exported PDF or SWF document. |
|
|
752
|
+
| StopOnPageTurn | boolean | no | If true, the sound stops automatically when a user navigates away from the page containing the sound poster in the exported PDF or SWF document. |
|
|
753
|
+
|
|
754
|
+
**IDML Example 28. Sound**
|
|
755
|
+
|
|
756
|
+
```xml
|
|
757
|
+
<Sound Self="uf3" Name="abc.mp3" Description="" PlayOnPageTurn="false" SoundLoop="false" StopOnPageTurn="false" DoNotPrintPoster="false" EmbedInPDF="true" FilePath="C:\abc.mp3" ItemTransform="1 0 0 1 0 0" LocalDisplaySetting="Default" AppliedObjectStyle="ObjectStyle/$ID/[None]" Visible="true">
|
|
758
|
+
```
|
|
759
|
+
|
|
760
|
+
## TextFrames
|
|
761
|
+
|
|
762
|
+
<TextFrame> elements have a few properties that other page items do not have. The following sections describe these properties.
|
|
763
|
+
|
|
764
|
+
**Schema Example 65. TextFrame**
|
|
765
|
+
|
|
766
|
+
```
|
|
767
|
+
TextFrame_Object = element TextFrame { attribute Self { xsd:string }, attribute ParentStory { xsd:string }?, attribute PreviousTextFrame { xsd:string }?, attribute NextTextFrame { xsd:string }?, attribute ContentType { ContentType_EnumValue }?, attribute AllowOverrides { xsd:boolean }?, attribute FillColor { xsd:string }?, attribute FillTint { xsd:double }?, attribute OverprintFill { xsd:boolean }?, attribute CornerRadius { xsd:double }?, attribute StrokeWeight { xsd:double }?, attribute MiterLimit { xsd:double {minInclusive="1" maxInclusive="500"} }?, attribute EndCap { EndCap_EnumValue }?, attribute EndJoin { EndJoin_EnumValue }?, attribute StrokeType { xsd:string }?, attribute StrokeCornerAdjustment { StrokeCornerAdjustment_EnumValue }?, attribute StrokeDashAndGap { list { xsd:double * } }?, attribute LeftLineEnd { ArrowHead_EnumValue }?, attribute RightLineEnd { ArrowHead_EnumValue }?, attribute StrokeColor { xsd:string }?, attribute StrokeTint { xsd:double }?, attribute GradientFillStart { UnitPointType_TypeDef }?, attribute GradientFillLength { xsd:double }?, attribute GradientFillAngle { xsd:double }?, attribute GradientStrokeStart { UnitPointType_TypeDef }?, attribute GradientStrokeLength { xsd:double }?, attribute GradientStrokeAngle { xsd:double }?, attribute OverprintStroke { xsd:boolean }?, attribute GapColor { xsd:string }?, attribute GapTint { xsd:double }?, attribute OverprintGap { xsd:boolean }?, attribute StrokeAlignment { StrokeAlignment_EnumValue }?, attribute Nonprinting { xsd:boolean }?, attribute ItemLayer { xsd:string }?, attribute Locked { xsd:boolean }?, attribute LocalDisplaySetting { DisplaySettingOptions_EnumValue }?, attribute GradientFillHiliteLength { xsd:double }?, attribute GradientFillHiliteAngle { xsd:double }?, attribute GradientStrokeHiliteLength { xsd:double }?, attribute GradientStrokeHiliteAngle { xsd:double }?, attribute AppliedObjectStyle { xsd:string }?, attribute CornerOption { CornerOptions_EnumValue }?, attribute Visible { xsd:boolean }?, attribute Name { xsd:string }?, attribute TopLeftCornerOption { CornerOptions_EnumValue }?, attribute TopRightCornerOption { CornerOptions_EnumValue }?, attribute BottomLeftCornerOption { CornerOptions_EnumValue }?, attribute BottomRightCornerOption { CornerOptions_EnumValue }?, attribute TopLeftCornerRadius { xsd:double }?, attribute TopRightCornerRadius { xsd:double }?, attribute BottomLeftCornerRadius { xsd:double }?, attribute BottomRightCornerRadius { xsd:double }?, attribute ItemTransform { TransformationMatrixType_TypeDef }?, element Properties { element PathGeometry { element GeometryPathType { GeometryPathType_TypeDef }* }?& element Label { element KeyValuePair { KeyValuePair_TypeDef }* }? } ?, ( (TextPath_Object*& GridDataInformation_Object?), (TransparencySetting_Object?& StrokeTransparencySetting_Object?& FillTransparencySetting_Object?& ContentTransparencySetting_Object?& TextFramePreference_Object?& AnchoredObjectSetting_Object?& BaselineFrameGridOption_Object?& TextWrapPreference_Object?& LinkedPageItemOption_Object?& ObjectExportOption_Object?& AnimationSetting_Object?& TimingSetting_Object?)
|
|
768
|
+
```
|
|
769
|
+
|
|
770
|
+
**Table 84**: TextFrame Properties Represented as Attributes
|
|
771
|
+
|
|
772
|
+
| Name | Type | Req | Description |
|
|
773
|
+
| ------------------- | -------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
774
|
+
| NextTextFrame | string | no | The value of the Self attribute of the next TextFrame (relative to the threading order of the TextFrames in the story) linked to this TextFrame. |
|
|
775
|
+
| ParentStory | string | no | The value of the Self attribute of the story that appears in this TextFrame. |
|
|
776
|
+
| PreviousTextFrame | string | no | The value of the Self attribute of the previous TextFrame (relative to the threading order of the TextFrames in the story) linked to this TextFrame. |
|
|
777
|
+
|
|
778
|
+
It is important to note that the text of a TextFrame does not appear in the <TextFrame> element. Instead, the <TextFrame> element contains a reference to a <Story> element (usually stored within a Story.xml file within the IDML package). That element contains the text that appears in the TextFrame. This is true even when the story is linked to an external file-the TextFrame refers to the Story.xml file in the IDML package, not to the external file, and the <Story> element contains the reference to the external file.
|
|
779
|
+
|
|
780
|
+
The following example shows a simple TextFrame.
|
|
781
|
+
|
|
782
|
+
**IDML Example 29. TextFrame**
|
|
783
|
+
|
|
784
|
+
```xml
|
|
785
|
+
<TextFrame Self="ucd" Parent Story="ue7" Previous TextFrame="n" Next TextFrame="n" Content Type="Text Type" Item Transform="1 0 0 1 0 0"> <Properties> <PathGeometry> <GeometryPath Path Open="false"> <PathPointArray> <PathPoint Type Anchor="72 324" Left Direction="72 324" Right Direction="72 324"/> <PathPoint Type Anchor="72 252" Left Direction="72 252" Right Direction="72 252"/> <PathPoint Type Anchor="144 252" Left Direction="144 252" Right Direction="144 252"/> <PathPoint Type Anchor="144 324" Left Direction="144 324" Right Direction="144 324"/> </PathPointArray> </GeometryPath> </PathGeometry> </Properties> <TextFramePreference Text Column Count="1" Text Column Gutter="12" Text Column Fixed Width="72" Use Fixed Column Width="false" First Baseline Offset="Ascent Offset" Minimum First Baseline Offset="0" Vertical Justification="Top Align" Vertical Threshold="0" Ignore Wrap="false"> <Properties> <InsetSpacing type="list"> <ListItem type="unit">0</ListItem> <ListItem type="unit">0</ListItem> <ListItem type="unit">0</ListItem> <ListItem type="unit">0</ListItem> </InsetSpacing> </Properties> </TextFramePreference> <BaselineFrameGridOption Use Custom BaselineFrameGrid="false" Starting Offset For BaselineFrameGrid="0" BaselineFrameGrid Relative Option="Top Of Inset" BaselineFrameGrid Increment="12"> <Properties> <BaselineFrameGrid Color type="enumeration">Light Blue </BaselineFrameGrid> Color> </Properties> </BaselineFrameGridOption> </TextFrame>
|
|
786
|
+
```
|
|
787
|
+
|
|
788
|
+
Figure 20. TextFrame
|
|
789
|
+
|
|
790
|
+

|
|
791
|
+
|
|
792
|
+
The following example shows how to use the Next TextFrame attribute to thread (or link) the TextFrame to another TextFrame. Note that the two TextFrames refer to the same story; you cannot have linked TextFrames that refer to separate stories.
|
|
793
|
+
|
|
794
|
+
**IDML Example 30. Threaded (Linked) TextFrames**
|
|
795
|
+
|
|
796
|
+
```xml
|
|
797
|
+
<TextFrame Self="ucd" Applied Object Style="Object Style\[Normal Graphics Frame]" Parent Story="uf2" Previous TextFrame="n" Next TextFrame="u108" Content Type="Text Type" Story Offset="n" Stroke Weight="0" Stroke Color="Swatch\c None" Item Transform="1 0 0 1 0 396" > <Properties> <PathGeometry> <GeometryPath Path Open="false"> <PathPointArray> <PathPoint Type Anchor="36 72" Left Direction="36 72" Right Direction="36 72"/> <PathPoint Type Anchor="36 96" Left Direction="36 96" Right Direction="36 96"/> <PathPoint Type Anchor="136 96" Left Direction="136 96" Right Direction="136 96"/> <PathPoint Type Anchor="136 72" Left Direction="136 72" Right Direction="136 72"/> </PathPointArray> </GeometryPath> </PathGeometry> </Properties> </TextFrame> <TextFrame Self="u108" Applied Object Style="Object Style\k[None]" Parent Story="uf2" Previous TextFrame="ucd" Next TextFrame="n" Content Type="Text Type" Story Offset="n" Stroke Weight="1" Item Transform="1 0 0 1 0 396"> <Properties> <PathGeometry> <GeometryPath Path Open="false"> <PathPointArray> <PathPoint Type Anchor="36 108" Left Direction="36 108" Right Direction="36 108"/><PathPoint Type Anchor="36 132" Left Direction="36 132" Right Direction="36 132"/> <PathPoint Type Anchor="136 132" Left Direction="136 132" Right Direction="136 132"/> <PathPoint Type Anchor="136 108" Left Direction="136 108" Right Direction="136 108"/> </PathPointArray> </GeometryPath> </PathGeometry> </Properties> </TextFrame>
|
|
798
|
+
```
|
|
799
|
+
|
|
800
|
+
Figure 21. Threaded TextFrames
|
|
801
|
+
|
|
802
|
+

|
|
803
|
+
|
|
804
|
+
## TextFrame Preference
|
|
805
|
+
|
|
806
|
+
The <TextFrame> element also differs from other page items in that it contains a <TextFramePreference> element. The <TextFramePreference> element contains attributes and elements that control properties such as number of columns in the TextFrame, the TextFrame inset distances, and the method used to calculate the location of the first baseline of text in the TextFrame.
|
|
807
|
+
|
|
808
|
+
**Schema Example 66. TextFrame Preference**
|
|
809
|
+
|
|
810
|
+
```rnc
|
|
811
|
+
TextFramePreference_Object = element TextFramePreference { attribute TextColumnCount { xsd:int {minInclusive="1" maxInclusive="40"} }?, attribute TextColumnGutter { xsd:double {minInclusive="0" maxInclusive="8640"} }?, attribute TextColumnFixedWidth { xsd:double {minInclusive="0" maxInclusive="8640"} }?, attribute UseFixedColumnWidth { xsd:boolean }?, attribute FirstBaselineOffset { FirstBaseline_EnumValue }?, attribute MinimumFirstBaselineOffset { xsd:double {minInclusive="0" maxInclusive="8640"} }?, attribute VerticalJustification { VerticalJustification_EnumValue }?, attribute VerticalThreshold { xsd:double {minInclusive="0" maxInclusive="8640"} }?, attribute IgnoreWrap { xsd:boolean }?, attribute UseFlexibleColumnWidth { xsd:boolean }?, attribute TextColumnMaxWidth { xsd:double {minInclusive="0" maxInclusive="8640"} }?, attribute AutoSizingType { AutoSizingTypeEnum_EnumValue }?, attribute AutoSizingReferencePoint { AutoSizingReferenceEnum_EnumValue }?, attribute UseMinimumHeightForAutoSizing { xsd:boolean }?, attribute MinimumHeightForAutoSizing { xsd:double }?, attribute UseMinimumWidthForAutoSizing { xsd:boolean }?, attribute MinimumWidthForAutoSizing { xsd:double }?, attribute UseNoLineBreaksForAutoSizing { xsd:boolean }?, attribute VerticalBalanceColumns { xsd:boolean }?, element Properties { element InsetSpacing { (unit_type, xsd:double {minInclusive="0" maxInclusive="8640"} ) | (list_type, element ListItem { unit_type, xsd:double {minInclusive="0" maxInclusive="8640"} }, element ListItem { unit_type, xsd:double {minInclusive="0" maxInclusive="8640"} }, element ListItem { unit_type, xsd:double {minInclusive="0" maxInclusive="8640"} }, element ListItem { unit_type, xsd:double {minInclusive="0" maxInclusive="8640"} }) }? } ? }
|
|
812
|
+
```
|
|
813
|
+
|
|
814
|
+
**Table 85**: TextFrame Preference Properties Represented as Attributes
|
|
815
|
+
|
|
816
|
+
| Name | Type | Req | Description |
|
|
817
|
+
|------------------------------ | --------------------------------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
818
|
+
| FirstBaselineOffset |FirstBaseline_EnumValue | no | The distance between the baseline of the text and the top inset of the TextFrame. Values can be AscentOffset, CapHeight, LeadingOffset, EmboxHeight, XHeight, or FixedHeight. |
|
|
819
|
+
| IgnoreWrap | boolean | no | If true, ignores text wrap settings for drawn or placed objects which intersect the TextFrame. |
|
|
820
|
+
| MinimumFirstBaselineOffset | double {minInclusive="0" maxInclusive="8640"} | no | The minimum distance between the baseline of the text and the top inset of the TextFrame. |
|
|
821
|
+
| Self | string | yes | The unique ID of the object. |
|
|
822
|
+
| TextColumnCount | int | no | The number of columns in the TextFrame. Note: Depending on the value of the UseFixedColumnWidth attribute, the number of columns can change automatically when the TextFrame size changes. Range: 1 to 40. |
|
|
823
|
+
| TextColumnFixedWidth | double | no | The column width of the columns in the TextFrame. Range: 0 to 8640. |
|
|
824
|
+
| TextColumnGutter | double | no | The space between columns of the TextFrame. Range: 0 to 8640. |
|
|
825
|
+
|
|
826
|
+
| Name | Type | Req | Description |
|
|
827
|
+
| --------------------------------- | -------------------------------------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
828
|
+
| UseFixedColumnWidth | boolean |no | If true, maintains column width when the TextFrame is resized. If false, causes columns to resize when the TextFrame is resized. Note: When true, resizing the frame can change the number of columns in the frame. |
|
|
829
|
+
| VerticalBalanceColumns | boolean |no | If true, balance vertical justification across all columns in the TextFrame. |
|
|
830
|
+
| VerticalJustification | VerticalJustification_EnumValue | no | The vertical alignment of the text in the TextFrame. Values can be TopAlign, CenterAlign, BottomAlign, or JustifyAlign. |
|
|
831
|
+
| VerticalThreshold | double | no | The maximum amount of vertical space between two paragraphs. Note: Valid only when the VerticalJustification attribute is is JustifyAlign ; the specified amount is applied in addition to the space before or SpaceAfter val- ues defined for the paragraphs in the TextFrame. Range: 0 to 8640. |
|
|
832
|
+
| UseFlexibleColumn Width | boolean | no | If true, maintains column width between a min and max range when the TextFrame is resized. If false, causes columns to resize when the TextFrame is resized. Note: When true, resizing the frame can change the number of columns in the frame. |
|
|
833
|
+
| TextColumnMax Width | double {minInclu- sive="0" maxInclusive= "8640"} | no | The maximum column width of the columns in the TextFrame. Use 0 to indicate no upper limit. |
|
|
834
|
+
| AutoSizingType | AutoSizingTypeE- num_EnumValue | no | Auto-sizing type of TextFrame. Based on type, reference value is automatically adjusted. For example, for height only type, top-left reference point becomes top-center. Recommended to change auto-sizing type, after setting other auto- sizing attributes. |
|
|
835
|
+
| AutoSizingReference- Point | AutoSizingRefer- enceEnum_Enum- Value | no | The reference point for auto sizing of TextFrame. Reference point is automatically adjusted to the suitable value depending on the auto-sizing type value. As an example, top left reference point becomes top center for height only dimension. |
|
|
836
|
+
| UseMinimumHeight- ForAutoSizing | boolean | no | If true, minimum height value is used during the auto-sizing of TextFrame. |
|
|
837
|
+
| MinimumHeightFor- AutoSizing | double | no | The minimum height for auto-sizing of the TextFrame. |
|
|
838
|
+
| UseMinimumWidth- ForAutoSizing | boolean | no | If true, minimum width value is used during the auto-sizing of TextFrame. |
|
|
839
|
+
| MinimumWidthFor- AutoSizing | double | no | The minimum width for auto-sizing of the TextFrame. |
|
|
840
|
+
| UseNoLineBreaksFor- AutoSizing | boolean | no | If true, line-breaks are not introduced after auto sizing. |
|
|
841
|
+
|
|
842
|
+
**Table 86**: TextFrame Preference Properties Represented as Elements
|
|
843
|
+
|
|
844
|
+
| Name | Type | Req | Description |
|
|
845
|
+
| -------------- | ----------------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
846
|
+
| InsetSpacing | double or ListItem elements | no | The text insets applied to the TextFrame. Rectangular TextFrames can use four inset values (for the left, top, right, and bottom of the frame); non-rectangular TextFrames can use a single value (all sides). Can contain up to four ListItem elements. |
|
|
847
|
+
|
|
848
|
+
**IDML Example 31. TextFrame Preference (Single Inset Spacing Value)**
|
|
849
|
+
|
|
850
|
+
```xml
|
|
851
|
+
<TextFramePreference Self="uda TextFrame Preference1" Text Column Count="2" Text Column Fixed Width="120" First Baseline Offset="Leading Offset"> <Properties> <InsetSpacing type="unit">6</InsetSpacing> </Properties> </TextFramePreference>
|
|
852
|
+
```
|
|
853
|
+
|
|
854
|
+
**IDML Example 32. TextFrame Preference (Multiple Inset Spacing Values)**
|
|
855
|
+
|
|
856
|
+
```xml
|
|
857
|
+
<TextFramePreference Self="uda TextFrame Preference1" Text Column Count="2" Text Column Fixed Width="120" First Baseline Offset="Leading Offset"> <Properties> <InsetSpacing type="list"> <ListItem type="unit">2</ListItem> <ListItem type="unit">3</ListItem> <ListItem type="unit">6</ListItem> <ListItem type="unit">3</ListItem> </InsetSpacing> </Properties> </TextFramePreference>
|
|
858
|
+
```
|
|
859
|
+
|
|
860
|
+
The following example shows how to create a multi-column TextFrame using the properties of the TextFrame Preference object.
|
|
861
|
+
|
|
862
|
+
**IDML Example 33. Multi-Column TextFrame**
|
|
863
|
+
|
|
864
|
+
```xml
|
|
865
|
+
<TextFrame Self="ucd" Applied Object Style="Object Style\k[Normal Graphics Frame]" Parent Story="uf2" Previous TextFrame="n" Next TextFrame="n" Content Type="Text Type" Story Offset="n" Stroke Weight="0" Stroke Color="Swatch\c None" Item Transform="1 0 0 1 6 432"> <Properties> <PathGeometry> <GeometryPath Path Open="false"> <PathPointArray> <PathPoint Type Anchor="30 72" Left Direction="30 72" Right Direction="30 72"/> <PathPoint Type Anchor="30 144" Left Direction="30 144" Right Direction="30 144"/> <PathPoint Type Anchor="186 144" Left Direction="186 144" Right Direction="186 144"/> <PathPoint Type Anchor="186 72" Left Direction="186 72" Right Direction="186 72"/> </PathPointArray> </GeometryPath> </PathGeometry>
|
|
866
|
+
</Properties> <TextFramePreference Self="ucd TextFrame Preference1" Text Column Count="2" Text Column Gutter="12" Text Column Fixed Width="72" Use Fixed Column Width="false" First Baseline Offset="Ascent Offset" Minimum First Baseline Offset="0" Vertical Justification="Top Align" Vertical Threshold="0" Ignore Wrap="false"> <Properties> <InsetSpacing type="list"> <ListItem type="unit">0</ListItem> <ListItem type="unit">0</ListItem> <ListItem type="unit">0</ListItem> <ListItem type="unit">0</ListItem> </InsetSpacing> </Properties> </TextFramePreference> </TextFrame>
|
|
867
|
+
```
|
|
868
|
+
|
|
869
|
+
Figure 22. Multi-Column TextFrame
|
|
870
|
+
|
|
871
|
+
<!-- This is a TextFrame. multi-column This is a multi-column TextFrame. TextFrame. This is a multi-column -->
|
|
872
|
+
|
|
873
|
+
## BaselineFrameGrid Options
|
|
874
|
+
|
|
875
|
+
TextFrames can also contain a <BaselineFrameGridOption> element. This element contains properties expressed as attributes and elements that control the baseline grid options for the TextFrame. The BaselineFrameGrid affects paragraphs in the TextFrame that have been set to snap to the baseline grid-if the Use Custom Baseline Grid attribute is true, then the baselines of the paragraphs will snap to the grid defined by the <BaselineFrameGrid> element; it it's false, they'll snap to the document baseline grid (which is defined in the <GridPreference> element). For more on grids and guides, refer to the In Design online help.
|
|
876
|
+
|
|
877
|
+
**Schema Example 67. BaselineFrameGrid**
|
|
878
|
+
|
|
879
|
+
```rnc
|
|
880
|
+
BaselineFrameGridOption_Object = element BaselineFrameGridOption { attribute UseCustomBaselineFrameGrid { xsd:boolean }?, attribute StartingOffsetForBaselineFrameGrid { xsd:double {minInclusive="0" maxInclusive="8640"} }?, attribute BaselineFrameGridRelativeOption { BaselineFrameGridRelativeOption_EnumValue }?, attribute BaselineFrameGridIncrement { xsd:double {minInclusive="1" maxInclusive="8640"} }?, element Properties { element BaselineFrameGridColor { InDesignUIColorType_TypeDef }? } ? }
|
|
881
|
+
```
|
|
882
|
+
|
|
883
|
+
**IDML Example 34. BaselineFrameGrid**
|
|
884
|
+
|
|
885
|
+
```xml
|
|
886
|
+
<BaselineFrameGridOption Self="uda BaselineFrameGrid Option1" Use Custom BaselineFrameGrid="true" BaselineFrameGrid Relative Option="Top Of Margin"> <Properties> <BaselineFrameGrid Color type="enumeration">Light Blue</BaselineFrameGrid> Color> </Properties> </BaselineFrameGridOption>
|
|
887
|
+
```
|
|
888
|
+
|
|
889
|
+
**Table 87**: BaselineFrameGrid Properties Expressed as Attributes
|
|
890
|
+
|
|
891
|
+
| Name | Type | Req | Description |
|
|
892
|
+
| ------------------------------------- | ------------------------------------------------ | ------- | -------------------------------------------------------------------------------------------------------------------------- |
|
|
893
|
+
| UseCustomBaseline FrameGrid | boolean | no | If true, uses a custom BaselineFrameGrid. |
|
|
894
|
+
| StartingOffsetFor BaselineFrameGrid | double | no | The amount to offset the baseline grid. Minimum 0, maximum 8640. |
|
|
895
|
+
| BaselineFrameGridRelativeOption | BaselineFrameGridRelativeOption_EnumValue | no | The object from which to offset the custom base- line grid. Can be TopOfPage, TopOfMargin, TopOfFrame, or TopOfInset. |
|
|
896
|
+
| BaselineFrameGridIncrement | double | no | The distance between grid lines. Minimum 0, maximum 8640. |
|
|
897
|
+
|
|
898
|
+
**Table 88**: BaselineFrameGrid Properties Represented as Elements
|
|
899
|
+
|
|
900
|
+
| Name | Type | Req | Description |
|
|
901
|
+
| -------------------------- | ----------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
902
|
+
| BaselineFrameGridColor | InDesignUIColorType | no | The grid line color, specified either as an array of three doubles, each in the range 0 to 255, and representing R, G, and B values, or as a UI color. |
|
|
903
|
+
|
|
904
|
+
#### Transparency
|
|
905
|
+
|
|
906
|
+
You can apply transparency effects to page items in an In Design layout. In IDML, you accomplish this using the <TransparencySetting> element. A child element (or elements) of this element specify the transparency effect you want to apply.
|
|
907
|
+
|
|
908
|
+
**Schema Example 68. TransparencySetting**
|
|
909
|
+
|
|
910
|
+
```
|
|
911
|
+
TransparencySetting_Object = element TransparencySetting { ( BlendingSetting_Object?& DropShadowSetting_Object?& FeatherSetting_Object?& InnerShadowSetting_Object?& OuterGlowSetting_Object?& InnerGlowSetting_Object?& BevelAndEmbossSetting_Object?& SatinSetting_Object?& DirectionalFeatherSetting_Object?& GradientFeatherSetting_Object? ) } Schema Example 69. Blending Setting attribute Opacity { xsd:double {minInclusive="0" maxInclusive="100"} } ?, BlendingSetting_Object = element BlendingSetting { attribute BlendMode { BlendMode_EnumValue }?, attribute KnockoutGroup { xsd:boolean }?, attribute IsolateBlending { xsd:boolean }? }
|
|
912
|
+
```
|
|
913
|
+
|
|
914
|
+
In the following example, a <BlendingSetting> element applies transparency to the <Oval> element. The appearance of a transparent object is affected by the transparency flattener settings of the document and of the spread containing the transparent page items.
|
|
915
|
+
|
|
916
|
+
**IDML Example 35. Transparency**
|
|
917
|
+
|
|
918
|
+
```xml
|
|
919
|
+
<Oval Self="ucd" FillColor="Color\c C=100 M=0 Y=0 K=0"> <TransparencySetting Self="ucd TransparencySetting1"> <BlendingSetting Self="ucd TransparencySetting1Blending Setting1" Opacity="50"/> </TransparencySetting> </Oval>
|
|
920
|
+
```
|
|
921
|
+
|
|
922
|
+
Figure 23. Transparency
|
|
923
|
+
|
|
924
|
+

|
|
925
|
+
|
|
926
|
+
## Group
|
|
927
|
+
|
|
928
|
+
In Design page items can be grouped, and groups can contain other groups. Each object stored inside a group is represented as a child element of the <Group> element, as shown in the following example.
|
|
929
|
+
|
|
930
|
+
**IDML Example 36. Group**
|
|
931
|
+
|
|
932
|
+
```xml
|
|
933
|
+
<Group Self="u111" Item Transform="1 0 0 1 0 0"> <Rectangle Self="u10d" Applied Object Style="Object Style\k[Normal Graphics Frame]" Item Transform ="1 0 0 1 0 0"> <Properties> <PathGeometry > <GeometryPath Path Open="false"> <PathPointArray> <PathPoint Type Anchor="36.5 359.5" Left Direction="36.5 359.5" Right Direction="36.5 359.5"/> <PathPoint Type Anchor="36.5 330.5" Left Direction="36.5 330.5" Right Direction="36.5 330.5"/> <PathPoint Type Anchor="65.5 330.5" Left Direction="65.5 330.5" Right Direction="65.5 330.5"/> <PathPoint Type Anchor="65.5 359.5" Left Direction="65.5 359.5" Right Direction="65.5 359.5"/> </PathPointArray> </GeometryPath> </PathGeometry > </Properties> </Rectangle> <Polygon Self="u10e" Applied Object Style="Object Style\k[Normal Graphics Frame]" Item Transform="1 0 0 1 0 0"> <Properties> <PathGeometry > <GeometryPath Path Open="false"> <PathPointArray> <PathPoint Type Anchor="113.71119986540519 359.5" Left Direction="113.71119986540519 359.5" Right Direction="113.71119986540519 359.5"/> <PathPoint Type Anchor="97.28830013459482 359.5" Left Direction="97.28830013459482 359.5" Right Direction="97.28830013459482 359.5"/> <PathPoint Type Anchor="89.07685026918963 345.2773516293136" Left Direction="89.07685026918963 345.2773516293136" Right Direction="89.07685026918963 345.2773516293136"/> <PathPoint Type Anchor="97.28830013459482 331.0547032586272" Left Direction="97.28830013459482 331.0547032586272" Right Direction="97.28830013459482 331.0547032586272"/> <PathPoint Type Anchor="113.71119986540518 331.0547032586272" Left Direction="113.71119986540518 331.0547032586272" Right Direction="113.71119986540518 331.0547032586272"/> <PathPoint Type Anchor="121.92264973081038 345.2773516293136" Left Direction="121.92264973081038 345.2773516293136" Right Direction="121.92264973081038 345.2773516293136"/> </PathPointArray> </GeometryPath> </PathGeometry > </Properties> </Polygon> <Oval Self="u10f" Applied Object Style="Object Style\k[Normal Graphics Frame]" Item Transform="1 0 0 1 0 0"> <Properties> <PathGeometry ><GeometryPath Path Open="false"> <PathPointArray> <PathPoint Type Anchor="51 288.5005" Left Direction="42.99187117333334 288.5005" Right Direction="59.00812882666667 288.5005"/> <PathPoint Type Anchor="65.5 303.0005" Left Direction="65.5 294.9923711733333" Right Direction="65.5 311.0086288266666"/> <PathPoint Type Anchor="51 317.5005" Left Direction="59.00812882666667 317.5005" Right Direction="42.99187117333334 317.5005"/> <PathPoint Type Anchor="36.5 303.0005" Left Direction="36.5 311.0086288266666" Right Direction="36.5 294.9923711733333"/> </PathPointArray> </GeometryPath> </PathGeometry > </Properties> </Oval> <Rectangle Self="u110" Applied Object Style="Object Style\k[Normal Graphics Frame]" Item Transform="1 0 0 1 0 0"> <Properties> <PathGeometry > <GeometryPath Path Open="false"> <PathPointArray> <PathPoint Type Anchor="90.99950000000001 317.5005" Left Direction="90.99950000000001 317.5005" Right Direction="90.99950000000001 317.5005"/> <PathPoint Type Anchor="90.99950000000001 288.5005" Left Direction="90.99950000000001 288.5005" Right Direction="90.99950000000001 288.5005"/> <PathPoint Type Anchor="119.99950000000001 288.5005" Left Direction="119.99950000000001 288.5005" Right Direction="119.99950000000001 288.5005"/> <PathPoint Type Anchor="119.99950000000001 317.5005" Left Direction="119.99950000000001 317.5005" Right Direction="119.99950000000001 317.5005"/> </PathPointArray> </GeometryPath> </PathGeometry > </Properties> </Rectangle> </Group>
|
|
934
|
+
```
|
|
935
|
+
|
|
936
|
+
## Buttons
|
|
937
|
+
|
|
938
|
+
The <Button> element can contain <State> elements, which contain page items that define the appearance of the button and attributes that define the behavior of the button. Buttons are objects you can define in In Design that become interactive elements in exported PDF and SWF.
|
|
939
|
+
|
|
940
|
+
**Schema Example 70. Button**
|
|
941
|
+
|
|
942
|
+
```
|
|
943
|
+
Button_Object = element Button { attribute Self { xsd:string }, attribute VisibilityInPdf { VisibilityInPdf_EnumValue }?, attribute PrintableInPdf { xsd:boolean }?, attribute HiddenUntilTriggered { xsd:boolean }?, attribute Name { xsd:string }?, attribute Description { xsd:string }?, attribute LinkResourceId { xsd:int }?, attribute ParentInterfaceChangeCount { list { xsd:int * } }?, attribute TargetInterfaceChangeCount { list { xsd:int * } }?, attribute LastUpdatedInterfaceChangeCount { list { xsd:int * } }?, attribute LinkedSourceTableId { xsd:int }?, attribute HorizontalLayoutConstraints { list { DimensionsConstraints_EnumValue,DimensionsConstraints_EnumValue,DimensionsConstraints_EnumValue } }?, attribute VerticalLayoutConstraints { list { DimensionsConstraints_EnumValue,DimensionsConstraints_EnumValue,DimensionsConstraints_EnumValue } }?, attribute AllowOverrides { xsd:boolean }?, attribute FillColor { xsd:string }?, attribute FillTint { xsd:double }?, attribute OverprintFill { xsd:boolean }?, attribute CornerRadius { xsd:double }?, attribute StrokeWeight { xsd:double }?, attribute MiterLimit { xsd:double {minInclusive="1" maxInclusive="500"} }?, attribute EndCap { EndCap_EnumValue }?, attribute EndJoin { EndJoin_EnumValue }?, attribute StrokeType { xsd:string }?, attribute StrokeCornerAdjustment { StrokeCornerAdjustment_EnumValue }?, attribute StrokeDashAndGap { list { xsd:double * } }?, attribute LeftLineEnd { ArrowHead_EnumValue }?, attribute RightLineEnd { ArrowHead_EnumValue }?, attribute StrokeColor { xsd:string }?,
|
|
944
|
+
```
|
|
945
|
+
|
|
946
|
+
Figure 24. Group
|
|
947
|
+
|
|
948
|
+

|
|
949
|
+
|
|
950
|
+
```
|
|
951
|
+
attribute StrokeTint
|
|
952
|
+
{ xsd:double }
|
|
953
|
+
?,
|
|
954
|
+
attribute GradientFillStart
|
|
955
|
+
{ UnitPointType_TypeDef }
|
|
956
|
+
?,
|
|
957
|
+
attribute GradientFillLength
|
|
958
|
+
{ xsd:double }
|
|
959
|
+
?,
|
|
960
|
+
attribute GradientFillAngle
|
|
961
|
+
{ xsd:double }
|
|
962
|
+
?,
|
|
963
|
+
attribute GradientStrokeStart
|
|
964
|
+
{ UnitPointType_TypeDef }
|
|
965
|
+
?,
|
|
966
|
+
attribute GradientStrokeLength
|
|
967
|
+
{ xsd:double }
|
|
968
|
+
?,
|
|
969
|
+
attribute GradientStrokeAngle
|
|
970
|
+
{ xsd:double }
|
|
971
|
+
?,
|
|
972
|
+
attribute OverprintStroke
|
|
973
|
+
{ xsd:boolean }
|
|
974
|
+
?,
|
|
975
|
+
attribute GapColor
|
|
976
|
+
{ xsd:string }
|
|
977
|
+
?,
|
|
978
|
+
attribute GapTint
|
|
979
|
+
{ xsd:double }
|
|
980
|
+
?,
|
|
981
|
+
attribute OverprintGap
|
|
982
|
+
{ xsd:boolean }
|
|
983
|
+
?,
|
|
984
|
+
attribute StrokeAlignment
|
|
985
|
+
{ StrokeAlignment_EnumValue }
|
|
986
|
+
?,
|
|
987
|
+
attribute Nonprinting
|
|
988
|
+
{ xsd:boolean }
|
|
989
|
+
?,
|
|
990
|
+
attribute ItemLayer
|
|
991
|
+
{ xsd:string }
|
|
992
|
+
?,
|
|
993
|
+
attribute Locked
|
|
994
|
+
{ xsd:boolean }
|
|
995
|
+
?,
|
|
996
|
+
attribute LocalDisplaySetting
|
|
997
|
+
{ DisplaySettingOptions_EnumValue }
|
|
998
|
+
?,
|
|
999
|
+
attribute GradientFillHiliteLength
|
|
1000
|
+
{ xsd:double }
|
|
1001
|
+
?,
|
|
1002
|
+
attribute GradientFillHiliteAngle
|
|
1003
|
+
{ xsd:double }
|
|
1004
|
+
?,
|
|
1005
|
+
attribute GradientStrokeHiliteLength
|
|
1006
|
+
{ xsd:double }
|
|
1007
|
+
?,
|
|
1008
|
+
attribute GradientStrokeHiliteAngle
|
|
1009
|
+
{ xsd:double }
|
|
1010
|
+
?,
|
|
1011
|
+
attribute AppliedObjectStyle
|
|
1012
|
+
{ xsd:string }
|
|
1013
|
+
?,
|
|
1014
|
+
attribute CornerOption
|
|
1015
|
+
{ CornerOptions_EnumValue }
|
|
1016
|
+
?,
|
|
1017
|
+
attribute Visible
|
|
1018
|
+
{ xsd:boolean }
|
|
1019
|
+
?,
|
|
1020
|
+
attribute TopLeftCornerOption
|
|
1021
|
+
{ CornerOptions_EnumValue }
|
|
1022
|
+
?,
|
|
1023
|
+
attribute TopRightCornerOption
|
|
1024
|
+
{ CornerOptions_EnumValue }
|
|
1025
|
+
?,
|
|
1026
|
+
attribute BottomLeftCornerOption
|
|
1027
|
+
{ CornerOptions_EnumValue }
|
|
1028
|
+
?,
|
|
1029
|
+
attribute BottomRightCornerOption
|
|
1030
|
+
{ CornerOptions_EnumValue }
|
|
1031
|
+
?,
|
|
1032
|
+
attribute TopLeftCornerRadius
|
|
1033
|
+
{ xsd:double }
|
|
1034
|
+
?,
|
|
1035
|
+
attribute TopRightCornerRadius
|
|
1036
|
+
{ xsd:double }
|
|
1037
|
+
?,
|
|
1038
|
+
attribute BottomLeftCornerRadius
|
|
1039
|
+
{ xsd:double }
|
|
1040
|
+
?,
|
|
1041
|
+
attribute BottomRightCornerRadius
|
|
1042
|
+
{ xsd:double }
|
|
1043
|
+
?,
|
|
1044
|
+
attribute ItemTransform
|
|
1045
|
+
{ TransformationMatrixType_TypeDef }
|
|
1046
|
+
?,
|
|
1047
|
+
element Properties
|
|
1048
|
+
{ element PathBoundingBox
|
|
1049
|
+
{ RectangleBoundsType_TypeDef }?& element PathGeometry
|
|
1050
|
+
{ element GeometryPathType
|
|
1051
|
+
{ GeometryPathType_TypeDef }* }?& element Label
|
|
1052
|
+
{ element KeyValuePair
|
|
1053
|
+
{ KeyValuePair_TypeDef }* }? }
|
|
1054
|
+
?,
|
|
1055
|
+
( (TransparencySetting_Object?& AnchoredObjectSetting_Object?& TextWrapPreference_Object?& LinkedPageItemOption_Object?& AnimationSetting_Object?),
|
|
1056
|
+
TimingSetting_Object?,
|
|
1057
|
+
(State_Object*& Behavior_Object*& GotoFirstPageBehavior_Object*& GotoLastPageBehavior_Object*& GotoNextPageBehavior_Object*& GotoPreviousPageBehavior_Object*& GotoNextViewBehavior_Object*& GotoPreviousViewBehavior_Object*& GotoURLBehavior_Object*& GotoAnchorBehavior_Object*& MovieBehavior_Object*& SoundBehavior_Object*& ShowHideFieldsBehavior_Object*& OpenFileBehavior_Object*& ViewZoomBehavior_Object*& SubmitFormBehavior_Object*& ClearFormBehavior_Object*& PrintFormBehavior_Object*& AnimationBehavior_Object*& GotoNextStateBehavior_Object*& GotoPreviousStateBehavior_Object*& GotoStateBehavior_Object*& GotoPageBehavior_Object*) ) }
|
|
1058
|
+
```
|
|
1059
|
+
|
|
1060
|
+
Most of the properties of a <Button> element are shared with other page items. For a listing of these properties, see 'Common PageItem Properties.' A <Button> element can also have the following properties.
|
|
1061
|
+
|
|
1062
|
+
**Table 89**: Button Properties Expressed as Attributes
|
|
1063
|
+
|
|
1064
|
+
| Name | Type | Req | Description |
|
|
1065
|
+
| ----------------- | ---------------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
1066
|
+
| Description | string | no | The description of the button. |
|
|
1067
|
+
| Name |string | no | The name of the button. |
|
|
1068
|
+
| VisibilityInPdf |VisibilityInPdf_EnumValue | no | The field's visibility in the PDF document. Can be VisibleInPdf (The field is visible), HiddenInPdf (The field is not visible), VisibleButDoesNotPrintInPdf (The field is visible when the PDF document is displayed on-screen but invisible when the document is printed), or HiddenButPrintableInPdf (The field is invisible when the PDF document is displayed on-screen but visible when the document is printed). |
|
|
1069
|
+
|
|
1070
|
+
**Table 90**: Button Properties Expressed as Properties
|
|
1071
|
+
|
|
1072
|
+
| Name | Type | Req | Description |
|
|
1073
|
+
| ----------------- | ------------------------------- | ------- | ------------------------------------------------------------------- |
|
|
1074
|
+
| PathBoundingBox | RectangleBoundsType_TypeDef | no | The geometric bounds of the button, in the form [x1, y1, x2, y2]. |
|
|
1075
|
+
|
|
1076
|
+
**Schema Example 71. State**
|
|
1077
|
+
|
|
1078
|
+
```
|
|
1079
|
+
State_Object = element State { attribute Self { xsd:string }, attribute Active { xsd:boolean }?, attribute Enabled { xsd:boolean }?, element Properties {
|
|
1080
|
+
```
|
|
1081
|
+
|
|
1082
|
+
```
|
|
1083
|
+
element Statetype
|
|
1084
|
+
{ (enum_type, StateTypes_EnumValue ) | (long_type, xsd:int ) }
|
|
1085
|
+
? } ?, ( Oval_Object*& Rectangle_Object*& GraphicLine_Object*& TextFrame_Object*& Polygon_Object*& Graphic_Object*& Image_Object*& EPS_Object*& WMF_Object*& PICT_Object*& PDF_Object*& Group_Object*& EPSText_Object* ) }
|
|
1086
|
+
```
|
|
1087
|
+
|
|
1088
|
+
**Table 91**: State Properties Represented as Attributes
|
|
1089
|
+
|
|
1090
|
+
| Name | Type | Req | Description |
|
|
1091
|
+
| ----------- | ------------------------ | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1092
|
+
| Active | boolean | no | If true, the state is the active (or front most) state in the user interface. |
|
|
1093
|
+
| Enabled | boolean | no | If true, objects that use the state appear in PDF documents. If false, objects that use the state do not appear in the document when the event that activates the state, such as a mouseover, occurs. |
|
|
1094
|
+
| Name | string | yes | The name of the state. |
|
|
1095
|
+
| Statetype | StateTypes_EnumValue | no | The type of user action that dictates the button's appearance. Can be Up, Rollover, or Down . |
|
|
1096
|
+
|
|
1097
|
+
Button properties represented as attributes are identical to those of other page items (see 'Common PageItem Properties'). The main difference between a <Button> element and other page item elements is that the <Button> contains <State> elements (elements that define the appearance of the button in response to certain actions in an exported PDF or SWF), and can contain one or more of the 'Behavior' objects, which are discussed after the following example. For more on button states and behaviors, refer to the In Design online help.
|
|
1098
|
+
|
|
1099
|
+
**IDML Example 37. Button**
|
|
1100
|
+
|
|
1101
|
+
```xml
|
|
1102
|
+
<Button Self="ud6" Name="Go To First Page" Description="" FillColor="Color/Black" Item Transform="1 0 0 1 0 0"> <Properties> <PathBoundingBox Left="36" Top="336.25" Right="76" Bottom="312"/> </Properties> <State Self="ud6i0" Name="Up" Active="true" Enabled="true" Statetype="Up"> <Group Self="ud5" FillColor="Color/Black" Item Transform="1 0 0 1 0 0"> <Polygon Self="ucc" Content Type="Unassigned" FillColor="Color/Black" Stroke Weight="0" Item Transform="1 0 0 1 0 0"> <Properties> <PathGeometry> <GeometryPath Path Open="false"> <PathPointArray> <PathPoint Type Anchor="36 324" Left Direction="36 324" Right Direction="36 324"/> <PathPoint Type Anchor="60 312" Left Direction="60 312" Right Direction="60 312"/> <PathPoint Type Anchor="60 336.25" Left Direction="60 336.25" Right Direction="60 336.25"/> </PathPointArray> </GeometryPath> </PathGeometry> </Properties> <TransparencySetting> <BevelAndEmbossSetting Applied="true" Style="Emboss" Size="3"/> </TransparencySetting> </Polygon> <Rectangle Self="ud3" StoryTitle="$ID/" Content Type="Unassigned" FillColor="Color/Black" Stroke Weight="0" Stroke Color="Swatch/None" Item Transform="1 0 0 1 0 0"> <Properties> <PathGeometry> <GeometryPath Path Open="false"> <PathPointArray> <PathPoint Type Anchor="66 336.25" Left Direction="66 336.25" Right Direction="66 336.25"/> <PathPoint Type Anchor="66 312" Left Direction="66 312" Right Direction="66 312"/> <PathPoint Type Anchor="76 312" Left Direction="76 312" Right Direction="76 312"/> <PathPoint Type Anchor="76 336.25" Left Direction="76 336.25" Right Direction="76 336.25"/> </PathPointArray> </GeometryPath> </PathGeometry> </Properties> <TransparencySetting> <BevelAndEmbossSetting Applied="true" Style="Emboss" Size="3"/> </TransparencySetting> </Rectangle> </Group> </State> <GotoFirstPageBehavior Self="ud7" Zoom Setting="Inherit Zoom" Name="Go To First Page" Enable Behavior="true" Behavior Event="Mouse Down"/> </Button>
|
|
1103
|
+
```
|
|
1104
|
+
|
|
1105
|
+
## Behaviors
|
|
1106
|
+
|
|
1107
|
+
You can create buttons in In Design that perform an action when the document is exported to PDF format. For example, you can create a button that jumps to a different page of the PDF document or plays a movie clip. The type of action that a button can perform is called a behavior . For more on In Design's button features, refer to the In Design documentation.
|
|
1108
|
+
|
|
1109
|
+
**Schema Example 72. Behavior**
|
|
1110
|
+
|
|
1111
|
+
```
|
|
1112
|
+
Behavior_Object = element Behavior { attribute Self { xsd:string }, attribute Name { xsd:string }?, attribute EnableBehavior { xsd:boolean }?, attribute BehaviorEvent { BehaviorEvents_EnumValue }?, element Properties { element Label { element KeyValuePair { KeyValuePair_TypeDef }* }? } ? }
|
|
1113
|
+
```
|
|
1114
|
+
|
|
1115
|
+
The schemas for the behavior elements are all very similar. Rather than show them all here, we'll present the attributes common to all behavior elements, then describe the details of specific behavior element schemas when they differ from the others.
|
|
1116
|
+
|
|
1117
|
+
**Table 92**: Common Behavior Properties Represented as Attributes
|
|
1118
|
+
|
|
1119
|
+
| Name | Type | Req | Description |
|
|
1120
|
+
| ---------------- | ---------------------------| ------- | --------------------------------------------------------------------------------------------------------------------- |
|
|
1121
|
+
| Name | string | no | The name of the behavior. |
|
|
1122
|
+
| EnableBehavior |boolean | no | If true, enable the button behavior. |
|
|
1123
|
+
| BehaviorEvent |BehaviorEvents_EnumValue | no | The event that triggers the behavior. Can be MouseUp, MouseDown, MouseEnter, MouseExit, OnFocus, or OnBlur . |
|
|
1124
|
+
|
|
1125
|
+
The Go To Page, Goto First Page Behavior, Goto Last Page Behavior, Goto Next Page Behavior, GotoPreviousPage Behavior, Goto Next View Behavior, and Goto Previous View Behavior differ from the Behavior element only in that they contain a ZoomSetting attribute.
|
|
1126
|
+
|
|
1127
|
+
Figure 25. Button
|
|
1128
|
+
|
|
1129
|
+

|
|
1130
|
+
|
|
1131
|
+
|Name | Type | Req | Description |
|
|
1132
|
+
| ------------- |----------------------------| ------- | ------------------------------------------------------------------------------------------------------------- |
|
|
1133
|
+
| ZoomSetting |GoToZoomOptions_EnumValue | no | The zoon setting of the behavior. Can be InheritZoom, FitWindow, FitWidth, FitVisible, or ActualSize. |
|
|
1134
|
+
|
|
1135
|
+
The Goto URLBehavior element differs from the Behavior element in that it has an additional attribute, URL .
|
|
1136
|
+
|
|
1137
|
+
| Name | Type | Req | Description |
|
|
1138
|
+
| -------- | -------- | ------- | ---------------------------------- |
|
|
1139
|
+
| URL | string | no | The URL hyperlink of the button. |
|
|
1140
|
+
|
|
1141
|
+
The Goto Anchor Behavior contains three attributes that are not shared with the Behavior element: Zoom Setting (described above), Anchor Name, and File Path .
|
|
1142
|
+
|
|
1143
|
+
| Name | Type | Req | Description |
|
|
1144
|
+
| ------------ | -------- | ------- | -------------------------------------------------- |
|
|
1145
|
+
| AnchorName | string | no | The name of the anchor. |
|
|
1146
|
+
| FilePath | string | no | The file path to the file containing the anchor. |
|
|
1147
|
+
|
|
1148
|
+
The GotoNextState, GotoPreviousState, and GotoState behaviors control the display of states in a multi-state object.
|
|
1149
|
+
|
|
1150
|
+
**Table 93**: GotoNextStateBehavior Properties Represented as Attributes
|
|
1151
|
+
|
|
1152
|
+
| Name | Type | Req | Description |
|
|
1153
|
+
| ------------------------------ | --------- | ------- | --------------------------------------------------------------------------------- |
|
|
1154
|
+
| AssociatedMultiStateObject | string | no | The animation page item, as a reference to the Self attribute of the page item. |
|
|
1155
|
+
| LoopsToNextOrPrevious | boolean | no | If true, will loop to the next or previous state of the multi-state object. |
|
|
1156
|
+
|
|
1157
|
+
**Table 94**: GotoPreviousStateBehavior Properties Represented as Elements
|
|
1158
|
+
|
|
1159
|
+
| Name | Type | Req | Description |
|
|
1160
|
+
| -------- | -------- | ------- | --------------------------------------------------------------------------------------------------- |
|
|
1161
|
+
| State | string | no | The multi-state object state to go to, as a refer- ence to the Self attribute of a State element. |
|
|
1162
|
+
|
|
1163
|
+
**Table 95**: GotoStateBehavior Properties Represented as Attributes
|
|
1164
|
+
|
|
1165
|
+
| Name | Type | Req | Description |
|
|
1166
|
+
| ------------------------------ | --------- | ------- | ------------------------------------------------------------------------------------------- |
|
|
1167
|
+
| AssociatedMulti StateObject | string | no | The animation page item, as a reference to the Self attribute of the page item. |
|
|
1168
|
+
| GoBackOnRollOff | boolean | no | If true, will automatically go back to the prior state on roll off of the rollover event. |
|
|
1169
|
+
|
|
1170
|
+
**Table 96**: GotoStateBehavior Properties Represented as Attributes
|
|
1171
|
+
|
|
1172
|
+
| Name | Type | Req | Description |
|
|
1173
|
+
| ------------------------------ | --------- | ------- | ------------------------------------------------------------------------------------------- |
|
|
1174
|
+
| AssociatedMultiStateObject | string | no | The animation page item, as a reference to the Self attribute of the page item. |
|
|
1175
|
+
| GoBackOnRollOff | boolean | no | If true, will automatically go back to the prior state on roll off of the rollover event. |
|
|
1176
|
+
|
|
1177
|
+
The AnimationBehavior element defines the display of animated page items.
|
|
1178
|
+
|
|
1179
|
+
**Table 97**: AnimationBehavior Properties Represented as Attributes
|
|
1180
|
+
|
|
1181
|
+
| Name | Type | Req | Description |
|
|
1182
|
+
| ------------------------ | -------------------------------------- |------- | ---------------------------------------------------------------------------------------------- |
|
|
1183
|
+
| AnimatedPageItem | string | no | The animation page item, as a reference to the Self attribute of the page item. |
|
|
1184
|
+
| AutoReverseOnRollOff | boolean |no | If true, will automatically play the animation in reverse on roll off of the rollover event. |
|
|
1185
|
+
| Operation | AnimationPlayOperations_EnumValue | no | The playback mode. Can be Play, Stop, Pause, Resume, ReversePlayback, or StopAll . |
|
|
1186
|
+
|
|
1187
|
+
The Movie Behavior element differs from the Behavior element in that it has two additional attributes, Movie Item and Operation .
|
|
1188
|
+
|
|
1189
|
+
| Name | Type | Req | Description |
|
|
1190
|
+
| ------------------- | ----------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1191
|
+
| MovieItem | string | no | The path to the movie file. |
|
|
1192
|
+
| NavigationPointID | int | no | The id of the navigation point to play from. This corresponds to the Id attribute of a <NavigationPoint> element of the <Movie> element, whose Self attribute is defined in the pre-existing <MoviBehavior> attribute MovieItem . This property is ignored for all operations other than PlayFromNavigationPoint . |
|
|
1193
|
+
| Operation | MoviePlayOperations_EnumValue | no | Can be Play, PlayFromNavigationPoint, Stop, Pause, Resume, or StopAll . |
|
|
1194
|
+
|
|
1195
|
+
The Sound Behavior element differs from the Behavior element in that it has two additional attributes, Sound Item and Operation .
|
|
1196
|
+
|
|
1197
|
+
| Name | Type |Req | Description |
|
|
1198
|
+
| ----------- | --------------------------- | ------- | ---------------------------------------------------- |
|
|
1199
|
+
| SoundItem |string | no | The path to the sound file. |
|
|
1200
|
+
| Operation |PlayOperations_EnumValue | no | Can be Play, Stop, Pause, Resume, or StopAll . |
|
|
1201
|
+
|
|
1202
|
+
The Show Hide Fields Behavior element has two attributes that differ from other Behavior elements, Fields To Show and Fields To Hide .
|
|
1203
|
+
|
|
1204
|
+
| Name | Type | Req | Description |
|
|
1205
|
+
| -------- | -------- | ------- | --------------- |
|
|
1206
|
+
|
|
1207
|
+
| FieldsToShow | list of strings as a space separated string | no | Alist of the fields to show, as a series of refer- ences (using the value of the Self attribute of the elements to refer to). |
|
|
1208
|
+
| FieldsToHide | list of strings as a space separated string | no | Alist of the fields to hide, as a series of references (using the value of the Self attribute of the ele- ments to refer to). |
|
|
1209
|
+
|
|
1210
|
+
The Open File Behavior element has an attributes that differs from the Behavior element: FilePath .
|
|
1211
|
+
|
|
1212
|
+
| Name | Type | Req | Description |
|
|
1213
|
+
| ---------- | -------- | ------- | ------------------------------------ |
|
|
1214
|
+
| FilePath | string | no | The file path to the file to open. |
|
|
1215
|
+
|
|
1216
|
+
The View Zoom Behavior element has an attributes that differs from the Behavior element: ViewZoomStyle .
|
|
1217
|
+
|
|
1218
|
+
| Name | Type | Req | Description |
|
|
1219
|
+
| ViewZoomStyle |ViewZoomStyle_EnumValue | no | Can be FullScreen, ZoomIn, ZoomOut, FitPage, ActualSize, FitWidth, FitVisible, SinglePage, OneColumn, or TwoColumn. |
|
|
1220
|
+
|
|
1221
|
+
The Goto Page Behavior element has two attributes that differ from the Behavior element: ViewZoomStyle (described above) and Page Number .
|
|
1222
|
+
|
|
1223
|
+
| Name | Type | Req | Description |
|
|
1224
|
+
| ------------ | -------- | ------- | ------------------------------------ |
|
|
1225
|
+
| PageNumber | int | no | The number of the page to display. |
|
|
1226
|
+
|
|
1227
|
+
## Multi-State Object
|
|
1228
|
+
|
|
1229
|
+
A multi-state object is very similar to a button, in that it contains states that control the visibility of page items stored within each state. A multi-state object differs from a button in that it can contain more than three states, and that the display of the states is controlled by an object outside the multi-state object (typically, a button).
|
|
1230
|
+
|
|
1231
|
+
In IDML, the <MultiStateObject> element contains <State> elements, which, as in a <Button> element, contain page items.
|
|
1232
|
+
|
|
1233
|
+
**Schema Example 73. MultiStateObject**
|
|
1234
|
+
|
|
1235
|
+
```
|
|
1236
|
+
MultiStateObject_Object = element MultiStateObject { attribute Self { xsd:string }, attribute InitiallyHidden { xsd:boolean }?, attribute Name { xsd:string }?, attribute Description { xsd:string }?, attribute LinkResourceId { xsd:int }?, attribute ParentInterfaceChangeCount { list { xsd:int * } }?, attribute TargetInterfaceChangeCount { list { xsd:int * } }?, attribute LastUpdatedInterfaceChangeCount { list { xsd:int * } }?, attribute LinkedSourceTableId { xsd:int }?, attribute HorizontalLayoutConstraints { list { DimensionsConstraints_EnumValue,DimensionsConstraints_EnumValue,DimensionsConstraints_EnumValue } }?, attribute VerticalLayoutConstraints { list { DimensionsConstraints_EnumValue,DimensionsConstraints_EnumValue,DimensionsConstraints_EnumValue } }?, attribute AllowOverrides { xsd:boolean }?, attribute FillColor { xsd:string }?, attribute FillTint { xsd:double }?, attribute OverprintFill { xsd:boolean }?, attribute CornerRadius { xsd:double }?, attribute StrokeWeight { xsd:double }?, attribute MiterLimit { xsd:double {minInclusive="1" maxInclusive="500"} }?, attribute EndCap { EndCap_EnumValue }?, attribute EndJoin { EndJoin_EnumValue }?, attribute StrokeType { xsd:string }?, attribute StrokeCornerAdjustment { StrokeCornerAdjustment_EnumValue }?, attribute StrokeDashAndGap { list { xsd:double * } }?, attribute LeftLineEnd { ArrowHead_EnumValue }?, attribute RightLineEnd { ArrowHead_EnumValue }?, attribute StrokeColor { xsd:string }?, attribute StrokeTint { xsd:double }?, attribute GradientFillStart { UnitPointType_TypeDef }?, attribute GradientFillLength { xsd:double }?, attribute GradientFillAngle { xsd:double }?, attribute GradientStrokeStart { UnitPointType_TypeDef }?, attribute GradientStrokeLength { xsd:double }?, attribute GradientStrokeAngle { xsd:double }?, attribute OverprintStroke { xsd:boolean }?, attribute GapColor { xsd:string }?, attribute GapTint { xsd:double }?, attribute OverprintGap { xsd:boolean }?, attribute StrokeAlignment { StrokeAlignment_EnumValue }?, attribute Nonprinting { xsd:boolean }?, attribute ItemLayer { xsd:string }?, attribute Locked { xsd:boolean }?, attribute LocalDisplaySetting { DisplaySettingOptions_EnumValue }?, attribute GradientFillHiliteLength { xsd:double }?, attribute GradientFillHiliteAngle { xsd:double }?, attribute GradientStrokeHiliteLength { xsd:double }?, attribute GradientStrokeHiliteAngle { xsd:double }?, attribute AppliedObjectStyle { xsd:string }?, attribute CornerOption { CornerOptions_EnumValue }?, attribute Visible { xsd:boolean }?, attribute TopLeftCornerOption { CornerOptions_EnumValue }?, attribute TopRightCornerOption { CornerOptions_EnumValue }?, attribute BottomLeftCornerOption { CornerOptions_EnumValue }?, attribute BottomRightCornerOption { CornerOptions_EnumValue }?, attribute TopLeftCornerRadius { xsd:double }?, attribute TopRightCornerRadius { xsd:double }?, attribute BottomLeftCornerRadius { xsd:double }?, attribute BottomRightCornerRadius { xsd:double }?, attribute ItemTransform { TransformationMatrixType_TypeDef }?, element Properties { element PathBoundingBox { RectangleBoundsType_TypeDef }?& element PathGeometry { element GeometryPathType { GeometryPathType_TypeDef }* }?& element Label { element KeyValuePair { KeyValuePair_TypeDef }* }? } ?, ( TransparencySetting_Object?& AnchoredObjectSetting_Object?& TextWrapPreference_Object?& LinkedPageItemOption_Object?& State_Object*& AnimationSetting_Object?& TimingSetting_Object? ) }
|
|
1237
|
+
```
|
|
1238
|
+
|
|
1239
|
+
The <MultiStateObject> element shares most of its properties with all other page items, but adds unique properties.
|
|
1240
|
+
|
|
1241
|
+
**Table 98**: MultiStateObject Properties Represented as Attributes
|
|
1242
|
+
|
|
1243
|
+
| Name | Type | Req | Description |
|
|
1244
|
+
| ----------------- | --------- | ------- | ------------------------------------------------------ |
|
|
1245
|
+
| InitiallyHidden | boolean | no | If true, the multi-state object is initially hidden. |
|
|
1246
|
+
| Description | string | no | Adescription of the multi-state object. |
|
|
1247
|
+
| Name | string | no | The name of the mult-state object. |
|
|
1248
|
+
|
|
1249
|
+
**Table 99**: MultiStateObject Properties Represented as Elements
|
|
1250
|
+
|
|
1251
|
+
| Name | Type | Req | Description |
|
|
1252
|
+
| ----------------- | ----------------- | ------- | ----------------------------------------------------------------------------------- |
|
|
1253
|
+
| PathBoundingBox | list of doubles | no | The bounding box of the multi-state object, in the form left, top, right, bottom. |
|
|
1254
|
+
|
|
1255
|
+
**IDML Example 38. MultiStateObject**
|
|
1256
|
+
|
|
1257
|
+
```xml
|
|
1258
|
+
<MultiStateObject Self="ucc" InitiallyHidden="false" Name="Spinner" Description="" ItemLayer="ub6" Locked="false" LocalDisplaySetting="Default" AppliedObjectStyle="ObjectStyle/$ID/[None]" Visible="true" ItemTransform="1 0 0 1 5 391"> <Properties> <PathBoundingBox Left="67" Top="67" Right="139" Bottom="139"/> </Properties> <State Self="ucci9" Active="true" Enabled="true"> <Properties> <Statetype type="long">9</Statetype> </Properties> <Group Self="uce" LocalDisplaySetting="Default" AppliedObjectStyle="ObjectStyle/$ID/[None]" Visible="true" Name="Up" ItemTransform="1 0 0 1 0 0"> <Rectangle Self="ucd" ContentType="GraphicType" StoryTitle="$ID/" LocalDisplaySetting="Default" 0"eAngle="0" AppliedObjectStyle="ObjectStyle/$ID/[None]" Visible="true" Name="$ID/" ItemTransform="1 0 0 1 0 0"> <Properties> <PathGeometry> <GeometryPath PathOpen="false"> <PathPointArray> <PathPointType Anchor="67 67" LeftDirection="67 67" RightDirection="67 67"/> <PathPointType Anchor="67 139" LeftDirection="67 139" RightDirection="67 139"/> <PathPointType Anchor="139 139" LeftDirection="139 139" RightDirection="139 139"/> <PathPointType Anchor="139 67" LeftDirection="139 67" RightDirection="139 67"/> </PathPointArray> </GeometryPath> </PathGeometry> </Properties> </Rectangle> <Polygon Self="ud5" ContentType="Unassigned" StoryTitle="$ID/" FillColor="Color/DGC1_446a" StrokeWeight="0" StrokeColor="Swatch/None" LocalDisplaySetting="Default" 0"eAngle="0" AppliedObjectStyle="ObjectStyle/$ID/[Normal Graphics Frame]" Visible="true" Name="$ID/" ItemTransform="1 0 0 1 5 5.0000000000000036"> <Properties> <PathGeometry> <GeometryPath PathOpen="false"> <PathPointArray> <PathPointType Anchor="62 134" LeftDirection="62 134" RightDirection="62 134"/> <PathPointType Anchor="134 134" LeftDirection="134 134" RightDirection="134 134"/> <PathPointType Anchor="98 62" LeftDirection="98 62" RightDirection="98 62"/> </PathPointArray> </GeometryPath> </PathGeometry> </Properties> </Polygon> </Group> </State> <State Self="uccia" Active="false" Enabled="true"> <Properties> <Statetype type="long">10</Statetype> </Properties> <Group Self="ucf" LocalDisplaySetting="Default" AppliedObjectStyle="ObjectStyle/$ID/[None]" Visible="true" Name="Right" ItemTransform="1 0 0 1 0 0"> <Rectangle Self="ud0" ContentType="GraphicType" StoryTitle="$ID/" LocalDisplaySetting="Default" 0"eAngle="0" AppliedObjectStyle="ObjectStyle/$ID/[None]" Visible="true" Name="$ID/" ItemTransform="1 0 0 1 0 0"> <Properties> <PathGeometry> <GeometryPath PathOpen="false"> <PathPointArray> <PathPointType Anchor="67 67" LeftDirection="67 67" RightDirection="67 67"/> <PathPointType Anchor="67 139" LeftDirection="67 139" RightDirection="67 139"/> <PathPointType Anchor="139 139" LeftDirection="139 139" RightDirection="139 139"/> <PathPointType Anchor="139 67" LeftDirection="139 67" RightDirection="139 67"/> </PathPointArray> </GeometryPath> </PathGeometry> </Properties> </Rectangle> <Polygon Self="ud6" ContentType="Unassigned" StoryTitle="$ID/" FillColor="Color/DGC1_446b" StrokeWeight="0" StrokeColor="Swatch/None" LocalDisplaySetting="Default" 0"eAngle="0" AppliedObjectStyle="ObjectStyle/$ID/[Normal Graphics Frame]" Visible="true" Name="$ID/" ItemTransform="1 0 0 1 5 5.0000000000000036"> <Properties> <PathGeometry> <GeometryPath PathOpen="false"> <PathPointArray> <PathPointType Anchor="62 62" LeftDirection="62 62" RightDirection="62 62"/> <PathPointType Anchor="62 134" LeftDirection="62 134" RightDirection="62 134"/> <PathPointType Anchor="134 98" LeftDirection="134 98" RightDirection="134 98"/> </PathPointArray> </GeometryPath> </PathGeometry> </Properties> </Polygon> </Group> </State> <State Self="uccib" Active="false" Enabled="true"> <Properties> <Statetype type="long">11</Statetype> </Properties> <Group Self="ud1" LocalDisplaySetting="Default" AppliedObjectStyle="ObjectStyle/$ID/[None]" Visible="true" Name="Down" ItemTransform="1 0 0 1 0 0"> <Rectangle Self="ud2" ContentType="GraphicType" StoryTitle="$ID/" LocalDisplaySetting="Default" 0"eAngle="0" AppliedObjectStyle="ObjectStyle/$ID/[None]" Visible="true" Name="$ID/" ItemTransform="1 0 0 1 0 0"> <Properties> <PathGeometry> <GeometryPath PathOpen="false"> <PathPointArray> <PathPointType Anchor="67 67" LeftDirection="67 67" RightDirection="67 67"/> <PathPointType Anchor="67 139" LeftDirection="67 139" RightDirection="67 139"/> <PathPointType Anchor="139 139" LeftDirection="139 139" RightDirection="139 139"/> <PathPointType Anchor="139 67" LeftDirection="139 67" RightDirection="139 67"/> </PathPointArray> </GeometryPath> </PathGeometry> </Properties> </Rectangle> <Polygon Self="ud7" ContentType="Unassigned" StoryTitle="$ID/" FillColor="Color/DGC1_446c" StrokeWeight="0" StrokeColor="Swatch/None" LocalDisplaySetting="Default" 0"eAngle="0" AppliedObjectStyle="ObjectStyle/$ID/[Normal Graphics Frame]" Visible="true" Name="$ID/" ItemTransform="1 0 0 1 5 5.0000000000000036"> <Properties> <PathGeometry> <GeometryPath PathOpen="false"> <PathPointArray> <PathPointType Anchor="62 62" LeftDirection="62 62" RightDirection="62 62"/> <PathPointType Anchor="98 134" LeftDirection="98 134" RightDirection="98 134"/> <PathPointType Anchor="134 62" LeftDirection="134 62" RightDirection="134 62"/> </PathPointArray> </GeometryPath> </PathGeometry> </Properties> </Polygon> </Group> </State> <State Self="uccic" Active="false" Enabled="true"> <Properties> <Statetype type="long">12</Statetype> </Properties> <Group Self="ud3" LocalDisplaySetting="Default" AppliedObjectStyle="ObjectStyle/$ID/[None]" Visible="true" Name="Left" ItemTransform="1 0 0 1 0 0"> <Rectangle Self="ud4" ContentType="GraphicType" StoryTitle="$ID/" LocalDisplaySetting="Default" AppliedObjectStyle="ObjectStyle/$ID/[None]" Visible="true" Name="$ID/" ItemTransform="1 0 0 1 0 0"> <Properties> <PathGeometry> <GeometryPath PathOpen="false"> <PathPointArray> <PathPointType Anchor="67 67" LeftDirection="67 67" RightDirection="67 67"/> <PathPointType Anchor="67 139" LeftDirection="67 139" RightDirection="67 139"/> <PathPointType Anchor="139 139" LeftDirection="139 139" RightDirection="139 139"/> <PathPointType Anchor="139 67" LeftDirection="139 67" RightDirection="139 67"/> </PathPointArray> </GeometryPath></PathGeometry> </Properties> </Rectangle> <Polygon Self="ud8" ContentType="Unassigned" StoryTitle="$ID/" FillColor="Color/DGC1_446d" StrokeWeight="0" StrokeColor="Swatch/None" LocalDisplaySetting="Default" 0"eAngle="0" AppliedObjectStyle="ObjectStyle/$ID/[Normal Graphics Frame]" Visible="true" Name="$ID/" ItemTransform="1 0 0 1 5 5.0000000000000036"> <Properties> <PathGeometry> <GeometryPath PathOpen="false"> <PathPointArray> <PathPointType Anchor="134 62" LeftDirection="134 62" RightDirection="134 62"/> <PathPointType Anchor="62 98" LeftDirection="62 98" RightDirection="62 98"/> <PathPointType Anchor="134 134" LeftDirection="134 134" RightDirection="134 134"/> </PathPointArray> </GeometryPath> </PathGeometry> </Properties> </Polygon> </Group> </State> </MultiStateObject>
|
|
1259
|
+
```
|
|
1260
|
+
|
|
1261
|
+
Figure 26. Multi-State Object
|
|
1262
|
+
|
|
1263
|
+

|
|
1264
|
+
|
|
1265
|
+
## Associating PageItems with XML Elements
|
|
1266
|
+
|
|
1267
|
+
Page items associated with XML elements in the XML structure of an In Design document do not differ from page items that are not associated with the structure-what sets them apart are references from <XMLElement> elements. In an IDML package, these elements appear in the Backing Story.xml file.
|
|
1268
|
+
|
|
1269
|
+
In the following example, the <XMLElement> element refers to a <Rectangle> element in the layout.
|
|
1270
|
+
|
|
1271
|
+
**IDML Example 39. Associating a Frame with an XML Element**
|
|
1272
|
+
|
|
1273
|
+
```xml
|
|
1274
|
+
<XMLElement Self="di2" MarkupTag="XMLTag\c Root"> <XMLElement Self="di2i3" MarkupTag="XMLTag\c Frame" XMLContent="ud6"/> </XMLElement><!From Spread_ub8.xml> <Rectangle Self="ud6" .../>
|
|
1275
|
+
```
|
|
1276
|
+
|
|
1277
|
+
Figure 27. Associating an XML Element with a Frame
|
|
1278
|
+
|
|
1279
|
+

|
|
1280
|
+
|
|
1281
|
+
In the following example, the <XMLElement> refers to a <Story> element in the same package, and that the <TextFrame> element also refers to this <Story> . XML elements that have been associated with text appear inside the <Story> element.
|
|
1282
|
+
|
|
1283
|
+
**IDML Example 40. Associating a TextFrame with an XML Element**
|
|
1284
|
+
|
|
1285
|
+
```xml
|
|
1286
|
+
<!From Backing Story.xml> <XMLElement Self="di2i3" MarkupTag="XMLTag\Example XMLElement" XMLContent="ucf"/> <!From Story_ucf.xml> <Story Self="ucf" ...> <!From Spread_ub8.xml> <TextFrame Self="ucd" Parent Story="ucf".../>
|
|
1287
|
+
```
|
|
1288
|
+
|
|
1289
|
+
Figure 28. Associating an XML Element with a TextFrame
|
|
1290
|
+
|
|
1291
|
+

|
|
1292
|
+
|
|
1293
|
+
### 10.3.6 Pages
|
|
1294
|
+
|
|
1295
|
+
Spreads contain one or more pages. The pages in a spread are stored as <Page> elements, which properties that override document- or spread-based settings, such as trapping presets, the applied master spread, and page margin settings. Pages in a spread can be of multiple sizes, and are added to the spread based on the order in which they appear inside the <Spread> element. The location of the pages inside the spread is determined by the binding direction of the document, which is defined by the Binding Location attribute of the <Spread> element-refer to the In Design documentation for more information on binding direction.
|
|
1296
|
+
|
|
1297
|
+
The size of each page in a spread is defined by the GeometricBounds attribute of the page. The values in the GeometricBounds attribute define the upper-left and lower-right corners of the page, in the inner coordinates of the page. The ItemTransform attribute contains a transformation matrix used to position the page in the spread (for more coordinates and transformations, refer to 'Geometry in IDML'). The transformation matrix in the ItemTransform attribute is a complete transformation matrix, but only translations are supported.
|
|
1298
|
+
|
|
1299
|
+
Because the master page applied to each page can be of a different size than the page, InDesign provides a way to position the contents of the master page as they appear on the page. In IDML, this transformation appears as the MasterPageTransform attribute on the <Page> element. While this is a complete transformation matrix (see 'Geometry in IDML'), only translations are supported.
|
|
1300
|
+
|
|
1301
|
+
<Page> elements appear in the <Spread> element in the sequence in which they appear in the spread, relative to the binding direction specified by the PageBinding attribute of the <DocumentPreference> element. (In a left to right layout, subsequent pages appear to the right of the first page in the spread; in a right to left layout, pages appear to the left of the first page in the spread.)
|
|
1302
|
+
|
|
1303
|
+
Note: Page items do not appear as child elements of page elements, but are, instead, collected on the spread.
|
|
1304
|
+
|
|
1305
|
+
**Schema Example 74. Page Schema**
|
|
1306
|
+
|
|
1307
|
+
```
|
|
1308
|
+
Page_Object = element Page { attribute Self { xsd:string }, attribute AppliedAlternateLayout { xsd:string }?, attribute LayoutRule { LayoutRuleOptions_EnumValue }?, attribute SnapshotBlendingMode { SnapshotBlendingModes_EnumValue }?, attribute OptionalPage { xsd:boolean }?, attribute GeometricBounds { list { xsd:double,xsd:double,xsd:double,xsd:double } }?, attribute ItemTransform { TransformationMatrixType_TypeDef }?, attribute Name { xsd:string }?, attribute AppliedTrapPreset { xsd:string }?, attribute OverrideList { list { xsd:string * } }?, attribute AppliedMaster { xsd:string }?, attribute MasterPageTransform { TransformationMatrixType_TypeDef }?, attribute TabOrder { list { xsd:string * } }?, attribute GridStartingPoint { GridStartingPointOptions_EnumValue }?, attribute UseMasterGrid { xsd:boolean }?, element Properties { element Descriptor { list_type, element ListItem { (string_type, xsd:string ) | (enum_type, PageNumberStyle_EnumValue ) | (bool_type, xsd:boolean ) | (long_type, xsd:int {minInclusive="1" maxInclusive="999999"} ) }* }?& element PageColor { (InDesignUIColorType_TypeDef ) | (enum_type, PageColorOptions_EnumValue ) }?& element Label { element KeyValuePair { KeyValuePair_TypeDef }* }? } ?, ( MarginPreference_Object?& Guide_Object*& GridDataInformation_Object? ) }
|
|
1309
|
+
```
|
|
1310
|
+
|
|
1311
|
+
The following example shows a (simplified) <Spread> element containing two pages. In a left-toright layout, the first page in the spread is the left hand (verso) page; the second page is the right hand (recto).
|
|
1312
|
+
|
|
1313
|
+
**IDML Example 41. Pages Within a Spread**
|
|
1314
|
+
|
|
1315
|
+
```xml
|
|
1316
|
+
<Spread Self="ub9" FlattenerOverride="Default" AllowPageShuffle="true" ItemTransform="1 0 0 1 0 0" ShowMasterItems="true" PageCount="3" BindingLocation="1" PageTransitionType="None" PageTransitionDirection="NotApplicable" PageTransitionDuration="Medium"> <Page Self="ube" GeometricBounds="0 0 792 612" ItemTransform="1 0 0 1 612 396" Name="2" AppliedTrapPreset="TrapPreset/$ID/kDefaultTrapStyleName" OverrideList="" AppliedMaster="uc0" MasterPageTransform="1 0 0 1 0 0" TabOrder="" GridStartingPoint="TopOutside" UseMasterGrid="true"> <Properties> <PageColor type="enumeration">UseMasterColor</PageColor> </Properties> <MarginPreference ColumnCount="1" ColumnGutter="12" Top="36" Bottom="36" Left="36" Right="36" ColumnDirection="Horizontal" ColumnsPositions="0 540"/> <GridDataInformation FontStyle="Regular" PointSize="12" CharacterAki="0" LineAki="9" HorizontalScale="100" VerticalScale="100" LineAlignment="LeftOrTopLineJustify" GridAlignment="AlignEmCenter" CharacterAlignment="AlignEmCenter"> <Properties> <AppliedFont type="string">Minion Pro</AppliedFont> </Properties> </GridDataInformation> </Page> <Page Self="uce" GeometricBounds="0 0 792 72" ItemTransform="1 0 0 1 0 396" Name="3" AppliedTrapPreset="TrapPreset/$ID/kDefaultTrapStyleName" OverrideList="" AppliedMaster="uc0" MasterPageTransform="1 0 0 1 0 0" TabOrder="" GridStartingPoint="TopOutside" UseMasterGrid="false"> <Properties> <PageColor type="enumeration">UseMasterColor</PageColor> </Properties> <MarginPreference ColumnCount="1" ColumnGutter="12" Top="0" Bottom="0" Left="0" Right="0" ColumnDirection="Horizontal" ColumnsPositions="0 72"/> <GridDataInformation FontStyle="Regular" PointSize="12" CharacterAki="0" LineAki="9" HorizontalScale="100" VerticalScale="100" LineAlignment="LeftOrTopLineJustify" GridAlignment="AlignEmCenter" CharacterAlignment="AlignEmCenter"> <Properties> <AppliedFont type="string">Minion Pro</AppliedFont> </Properties> </GridDataInformation> </Page> <Page Self="ud4" GeometricBounds="0 0 792 612" ItemTransform="1 0 0 1 72 396" Name="4" AppliedTrapPreset="TrapPreset/$ID/kDefaultTrapStyleName" OverrideList="" AppliedMaster="uc0" MasterPageTransform="1 0 0 1 0 0" TabOrder="" GridStartingPoint="TopOutside" UseMasterGrid="true"><Properties> <PageColor type="enumeration">UseMasterColor</PageColor> </Properties> <MarginPreference ColumnCount="1" ColumnGutter="12" Top="36" Bottom="36" Left="36" Right="36" ColumnDirection="Horizontal" ColumnsPositions="0 540"/> <GridDataInformation FontStyle="Regular" PointSize="12" CharacterAki="0" LineAki="9" HorizontalScale="100" VerticalScale="100" LineAlignment="LeftOrTop LineJustify" GridAlignment="AlignEmCenter" CharacterAlignment="AlignEmCenter"> <Properties> <AppliedFont type="string">Minion Pro</AppliedFont> </Properties> </GridDataInformation> </Page>
|
|
1317
|
+
```
|
|
1318
|
+
|
|
1319
|
+
</Spread>
|
|
1320
|
+
|
|
1321
|
+
**Table 100**: Page Properties Represented as Attributes
|
|
1322
|
+
|
|
1323
|
+
| Attribute | Type | Req | Description |
|
|
1324
|
+
| ------------------------- | ------------------------------------------------------ | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1325
|
+
| AppliedAlternateLayout | string | no | The alternate layout section to which the page belongs. |
|
|
1326
|
+
| AppliedTrapPreset | string | no | The name of the trapping preset applied to the page. |
|
|
1327
|
+
| AppliedMaster | string | no | The master spread applied to the page. |
|
|
1328
|
+
| GeometricBounds | list of four doubles | yes | The bounds of the page, in the form y1, x1, y2, x2. |
|
|
1329
|
+
| GridStartingPoint | GridStartingPointOptions_EnumValue | no | The starting point for the grid. Can be TopOutside, TopInside, BottomOutside, BottomInside, CenterVertical, CenterHorizontal, or CenterCompletely . |
|
|
1330
|
+
| ItemTransform | list of six doubles | no | The transformation matrix applied to the page. |
|
|
1331
|
+
| LayoutRule | LayoutRuleOptions_EnumValue | no | The layout rule. |
|
|
1332
|
+
| MasterPageTransform | list of six doubles | no | The transformation matrix applied to master page items. |
|
|
1333
|
+
| Name | string | no | The name of the page. |
|
|
1334
|
+
| OptionalPage | boolean | no | The optional page for HTML5 pagination. |
|
|
1335
|
+
| OverrideList | list of strings as a space separated string | no | The overridden master page items on this page, as a series of references (using the value of the Self attribute of the overridden page items). For mreon overriding master page items on docu- ment pages, refer to the InDesign online help. |
|
|
1336
|
+
| PageColor |PageColorOptions_EnumValue or list of three doubles | no | Can be Nothing (do not use the page color of the master spread), UseMasterColor (use the page color of the master spread), or a list of three doubles, each in the range 0 to 255 and repre- senting R, G, and B values. |
|
|
1337
|
+
|
|
1338
|
+
| Attribute | Type | Req | Description |
|
|
1339
|
+
| ----------------------- | ---------------------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1340
|
+
| SnapshotBlending Mode | SnapshotBlending Modes_EnumValue | no | The snapshot blending mode. |
|
|
1341
|
+
| TabOrder | string list of strings as a spaceseparated string | no | The order in which the focus in an exported PDF moves to different form fields when the tab but- ton is pressed, as a series of references (using the value of the Self attribute of the page items). |
|
|
1342
|
+
| UseMasterGrid | boolean | no | If true, use the master grid. |
|
|
1343
|
+
|
|
1344
|
+
**Table 101**: Page Properties Represented as Elements
|
|
1345
|
+
|
|
1346
|
+
| Name | Type | Req | Description |
|
|
1347
|
+
| ------------ | ------------------- | ------- | ------------------------------------------------------- |
|
|
1348
|
+
| Descriptor | ListItem elements | no | Acollection of properties used by InCopy assignments. |
|
|
1349
|
+
|
|
1350
|
+
### 10.3.7 Columns and Margins
|
|
1351
|
+
|
|
1352
|
+
The columns and margins of a page are defined by the <MarginPreference> object.
|
|
1353
|
+
|
|
1354
|
+
**Schema Example 75. MarginPreference**
|
|
1355
|
+
|
|
1356
|
+
```rnc
|
|
1357
|
+
MarginPreference_Object = element MarginPreference { attribute ColumnCount { xsd:int {minInclusive="1" maxInclusive="216"} }?, attribute Top { xsd:double }?, attribute Bottom { xsd:double }?, attribute Left { xsd:double }?, attribute Right { xsd:double }?, attribute ColumnDirection { HorizontalOrVertical_EnumValue }?, attribute ColumnsPositions { list { xsd:double * } }? attribute ColumnGutter { xsd:double {minInclusive="0" maxInclusive="1440"} }?, }
|
|
1358
|
+
```
|
|
1359
|
+
|
|
1360
|
+
**IDML Example 42. MarginPreferences**
|
|
1361
|
+
|
|
1362
|
+
```xml
|
|
1363
|
+
<MarginPreference Column Count="1" Column Gutter="12" Top="36" Bottom="36" Left="36" Right="36" Column Direction="Horizontal" Columns Positions="0 540"/>
|
|
1364
|
+
```
|
|
1365
|
+
|
|
1366
|
+
### 10.3.8 Guides
|
|
1367
|
+
|
|
1368
|
+
In addition to page items, In Design spreads can contain guides. For more on using guides to align page items and to mark areas of the page, refer to the In Design online help.
|
|
1369
|
+
|
|
1370
|
+
**Schema Example 76. Guide**
|
|
1371
|
+
|
|
1372
|
+
```rnc
|
|
1373
|
+
Guide_Object = element Guide { attribute Self { xsd:string }, attribute Orientation { HorizontalOrVertical_EnumValue }?, attribute Location { xsd:double }?, attribute FitToPage { xsd:boolean }?, attribute ViewThreshold { xsd:double {minInclusive="5" maxInclusive="4000"} }?, attribute Locked { xsd:boolean }?, attribute ItemLayer { xsd:string }?, attribute PageIndex { xsd:short }?, attribute GuideType { GuideTypeOptions_EnumValue }?, attribute GuideZone { xsd:double }?, element Properties { element GuideColor { InDesignUIColorType_TypeDef }?& element Label { element KeyValuePair { KeyValuePair_TypeDef }* }? } ? }
|
|
1374
|
+
```
|
|
1375
|
+
|
|
1376
|
+
**IDML Example 43. Guide**
|
|
1377
|
+
```xml
|
|
1378
|
+
<Guide elf="ue4" Orientation="Horizontal" Location="72" Fit To Page="true" View Threshold="5" Locked="false" Item Layer="ub1" Page Index="1"> <Properties> <Guide olor type="enumeration">Cyan</Guide> Color> </Properties> </Guide>>
|
|
1379
|
+
```
|
|
1380
|
+
|
|
1381
|
+
**Table 102**: Guide Properties Represented as Attributes
|
|
1382
|
+
|
|
1383
|
+
| Name | Type | Req | Description |
|
|
1384
|
+
| --------------- | ------------------------------------ | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1385
|
+
| FitToPage | boolean | no | If true, horizontal orientation guides stop at the edges of the specified page. If false, the guides extends across the width of the spread and into the pasteboard area. |
|
|
1386
|
+
| ItemLayer | string | no | The layer that the guide is on. |
|
|
1387
|
+
| Location | double | no | The location at which to place the guide relative to the current ruler zero point. |
|
|
1388
|
+
| Locked | boolean | no | If true, the guide is locked. |
|
|
1389
|
+
| Orientation | HorizontalOr Vertical_EnumValue | no | The orientation of the guide. Can be Horizontal or Vertical . |
|
|
1390
|
+
| PageIndex | short | no | The index of the page containing the guide. |
|
|
1391
|
+
| ViewThreshold | double | no | The view magnification as a percentage below which guides are no longer displayed. (Range: 5.0 to 4000.0) |
|
|
1392
|
+
| GuideType | GuideTypeOptions _EnumValue | no | The type of the guide. |
|
|
1393
|
+
| GuideZone | double | no | The zone of the guide. |
|
|
1394
|
+
|
|
1395
|
+
**Table 103**: Guide Properties Represented as Elements
|
|
1396
|
+
|
|
1397
|
+
| Name | Type | Req | Description |
|
|
1398
|
+
|------------ | ---------------------------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
1399
|
+
| GuideColor | list of doubles orUIColors_EnumValue | no | The color of the guide, specified either as an array of three ListItem elements, each contain- ing a value from 0 to 255 and representing R, G, and B values, or as a UIColor enumeration. |
|
|
1400
|
+
|
|
1401
|
+
### 10.3.9 Transparency Flattener Settings
|
|
1402
|
+
|
|
1403
|
+
The appearance of transparency (including the Drop Shadow, Inner Shadow, Outer Glow, Inner Glow, Bevel and Emboss, Satin, and Feather effects) when you print or export an In Design document depends on the flattener settings for the spread and/or the document (the exact appearance of the transparent objects on the printed pages or in the exported file depends on the capabilities of the printer or file format). The flattener settings of the document apply to all objects unless the objects exist on a spread which has been assigned its own flattener settings; in that case, the flattener settings of the spread override those of the document. In IDML, these settings are represented by the <FlattenerPreference> element.
|
|
1404
|
+
|
|
1405
|
+
**Schema Example 77. FlattenerPreference**
|
|
1406
|
+
|
|
1407
|
+
```
|
|
1408
|
+
FlattenerPreference_Object = element FlattenerPreference { attribute LineArtAndTextResolution { xsd:double }?, attribute GradientAndMeshResolution { xsd:double }?, attribute ClipComplexRegions { xsd:boolean }?, attribute ConvertAllStrokesToOutlines { xsd:boolean }?, attribute ConvertAllTextToOutlines { xsd:boolean }?, element Properties { element RasterVectorBalance { (enum_type, FlattenerLevel_EnumValue ) | (double_type, xsd:double {minInclusive="0" maxInclusive="100"} ) }? } ? }
|
|
1409
|
+
```
|
|
1410
|
+
|
|
1411
|
+
The following example shows a custom flattener setting applied to a spread.
|
|
1412
|
+
|
|
1413
|
+
**IDML Example 44. FlattenerPreference**
|
|
1414
|
+
|
|
1415
|
+
```xml
|
|
1416
|
+
<Spread Self="ub8" Flattener Override="Custom"> <FlattenerPreference Line Art And Text Resolution="300" Gradient And Mesh Resolution="150" Clip Complex Regions="true" Convert All Strokes To Outlines="true" Convert All Text To Outlines="false"> <Properties> <RasterVectorBalance type="double">75</RasterVectorBalance> </Properties> </FlattenerPreference> </Spread>
|
|
1417
|
+
```
|
|
1418
|
+
|
|
1419
|
+
Figure 29. FlattenerPreference
|
|
1420
|
+
|
|
1421
|
+

|