Uploaded image for project: 'OASIS Open Document Format for Office Applications (OpenDocument) TC'
  1. OASIS Open Document Format for Office Applications (OpenDocument) TC
  2. OFFICE-3941

text:illustration-index-entry-template: allow hyperlinks (also: text:table-index-entry-template, text:object-index-entry-template, text:user-index-entry-template)

    XMLWordPrintable

    Details

    • Proposal:
      Hide

      1. no change to part 1 should be needed other than updating the list of child/parent elements that is generated from the schema in 8.4.3, 8.5.3, 8.6.3, 8.7.3, 8.13.7, 8.13.8.

      2. change schema to allow hyperlinks in illustration index entry template:

      --- OpenDocument-v1.2-os-schema.rng	2014-11-10 16:37:52.035133745 +0100
      +++ tc/index-schema.rng	2017-12-08 15:44:53.657010629 +0100
      @@ -2813,18 +2813,20 @@
       	<define name="text-illustration-index-entry-content">
       		<ref name="text-illustration-index-entry-template-attrs"/>
       		<zeroOrMore>
       			<choice>
       				<ref name="text-index-entry-chapter"/>
       				<ref name="text-index-entry-page-number"/>
       				<ref name="text-index-entry-text"/>
       				<ref name="text-index-entry-span"/>
       				<ref name="text-index-entry-tab-stop"/>
      +				<ref name="text-index-entry-link-start"/>
      +				<ref name="text-index-entry-link-end"/>
       			</choice>
       		</zeroOrMore>
       	</define>
       	<define name="text-illustration-index-entry-template-attrs">
       		<attribute name="text:style-name">
       			<ref name="styleNameRef"/>
       		</attribute>
       	</define>
       	<define name="text-table-index">
      @@ -2973,18 +2975,20 @@
       		<element name="text:user-index-entry-template">
       			<ref name="text-user-index-entry-template-attrs"/>
       			<zeroOrMore>
       				<choice>
       					<ref name="text-index-entry-chapter"/>
       					<ref name="text-index-entry-page-number"/>
       					<ref name="text-index-entry-text"/>
       					<ref name="text-index-entry-span"/>
       					<ref name="text-index-entry-tab-stop"/>
      +					<ref name="text-index-entry-link-start"/>
      +					<ref name="text-index-entry-link-end"/>
       				</choice>
       			</zeroOrMore>
       		</element>
       	</define>
       	<define name="text-user-index-entry-template-attrs">
       		<interleave>
       			<attribute name="text:outline-level">
       				<ref name="positiveInteger"/>
       			</attribute>
      
      
      Show
      1. no change to part 1 should be needed other than updating the list of child/parent elements that is generated from the schema in 8.4.3, 8.5.3, 8.6.3, 8.7.3, 8.13.7, 8.13.8. 2. change schema to allow hyperlinks in illustration index entry template: --- OpenDocument-v1.2-os-schema.rng 2014-11-10 16:37:52.035133745 +0100 +++ tc/index-schema.rng 2017-12-08 15:44:53.657010629 +0100 @@ -2813,18 +2813,20 @@ <define name="text-illustration-index-entry-content"> <ref name="text-illustration-index-entry-template-attrs"/> <zeroOrMore> <choice> <ref name="text-index-entry-chapter"/> <ref name="text-index-entry-page-number"/> <ref name="text-index-entry-text"/> <ref name="text-index-entry-span"/> <ref name="text-index-entry-tab-stop"/> + <ref name="text-index-entry-link-start"/> + <ref name="text-index-entry-link-end"/> </choice> </zeroOrMore> </define> <define name="text-illustration-index-entry-template-attrs"> <attribute name="text:style-name"> <ref name="styleNameRef"/> </attribute> </define> <define name="text-table-index"> @@ -2973,18 +2975,20 @@ <element name="text:user-index-entry-template"> <ref name="text-user-index-entry-template-attrs"/> <zeroOrMore> <choice> <ref name="text-index-entry-chapter"/> <ref name="text-index-entry-page-number"/> <ref name="text-index-entry-text"/> <ref name="text-index-entry-span"/> <ref name="text-index-entry-tab-stop"/> + <ref name="text-index-entry-link-start"/> + <ref name="text-index-entry-link-end"/> </choice> </zeroOrMore> </element> </define> <define name="text-user-index-entry-template-attrs"> <interleave> <attribute name="text:outline-level"> <ref name="positiveInteger"/> </attribute>

      Description

      In ODF 1.2, the schema does not allow for hyperlinks in illustration index entry templates, they are only allowed in table of content entry templates.

      This means the index entries can't be clicked in applications to jump to the shape.

        Attachments

          Activity

            People

            • Assignee:
              michaelst Michael Stahl [X] (Inactive)
              Reporter:
              mstahl Michael Stahl (Inactive)
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: