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-3789

[text] Proposal: special header/footer style on first page

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: ODF 1.3
    • Labels:
      None
    • Environment:

      This is an enhancement, described in terms of changes to OpenDocument-v1.2

    • Proposal:
      Hide

      1. RATIONALE
      1.1 Use cases:
      Sometimes users want different header/footer not only on left/right pages, but
      also on the first page. If style:header-first/style:footer-first elements are
      present, then the fist page with which the master-page is rendered get the
      header/footer defined by style:header-first resp. style:footer-first.
      1.2 Alternatives considered:
      Right now a possible workaround is to use one page style on the first
      page, and an other on the left/right pages, but that is clumsy.

      2. REQUESTED CHANGES TO THE ODF STANDARD
      2.1 Text changes/additions:
      In section 5.1.3 <text> append to the end of "usable within the following elements":
      style:header-first, style:footer-first

      In section 5.3.1 <text:list> append to the end of "usable within the following elements":
      style:header-first, style:footer-first

      In section 5.4.1 <text:section> append to the end of "usable within the following elements":
      style:header-first, style:footer-first

      In section 5.5.1 <text:tracked-changes> append to the end of "usable within the following elements":
      style:header-first, style:footer-first

      In section 5.5.7.2 <text:change-start> append to the end of "usable within the following elements":
      style:header-first, style:footer-first

      In section 5.5.7.3 <text:change-end> append to the end of "usable within the following elements":
      style:header-first, style:footer-first

      In section 5.5.7.4 <text:change> append to the end of "usable within the following elements":
      style:header-first, style:footer-first

      In section 7.4.2 <text:variable-decls> append to the end of "usable within the following elements":
      style:header-first, style:footer-first

      In section 7.4.7 <text:user-field-decls> append to the end of "usable within the following elements":
      style:header-first, style:footer-first

      In section 7.4.11 <text:sequence-decls> append to the end of "usable within the following elements":
      style:header-first, style:footer-first

      In section 8.2.3 <text:index-title> append to the end of "usable within the following elements":
      style:header-first, style:footer-first

      In section 8.3.1 <text:table-of-content> append to the end of "usable within the following elements":
      style:header-first, style:footer-first

      In section 8.4.1 <text:illustration-index> append to the end of "usable within the following elements":
      style:header-first, style:footer-first

      In section 8.5.1 <text:table-index> append to the end of "usable within the following elements":
      style:header-first, style:footer-first

      In section 8.6.1 <text:object-index> append to the end of "usable within the following elements":
      style:header-first, style:footer-first

      In section 8.7.1 <text:user-index> append to the end of "usable within the following elements":
      style:header-first, style:footer-first

      In section 8.8.1 <text:alphabetical-index> append to the end of "usable within the following elements":
      style:header-first, style:footer-first

      In section 8.8.3 <text:alphabetical-index-auto-mark-file> append to the end of "usable within the following elements":
      style:header-first, style:footer-first

      In section 8.9.1 <text:bibliography> append to the end of "usable within the following elements":
      style:header-first, style:footer-first

      In section 9.1.2 <table:table> append to the end of "usable within the following elements":
      style:header-first, style:footer-first

      In section 14.6.2 <text:dde-connection-decls> append to the end of "usable within the following elements":
      style:header-first, style:footer-first

      In section 16.9 <style:master-page> append to the end of child elements:
      style:header-first, style:footer-first

      16.x: style:header-first (new section)

      The <style:header-first> element represents the content for a header for a
      first page, if different from the left/right page in a <style:master-page>
      element.

      The <style:header-first> element represents the content for a header for a first page. Hereby the term "first page" means the first page to which the page style is applied, regardless of any numbering. If a different page style is applied in between two applications of the page style, that has the <style:header-first> element, each of the applications of the page style has its own first page.

      The <style:header-first> element is usable within the following element:
      <style:master- page>16.9.

      The <style:header-first> element has the following attribute: style:display
      19.471.

      The <style:header-first> element has the following child elements:
      <style:region- center> 16.15, <style:region-left> 16.14,
      <style:region-right> 16.16, <table:table> 9.1.2,
      <text:alphabetical-index> 8.8, <text:alphabetical-index-auto-mark-file> 8.8.3,
      <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3,
      <text:change-start> 5.5.7.2, <text:dde-connection- decls> 14.6.2, <text:h> 5.1.2,
      <text:illustration-index> 8.4, <text:index- title> 8.2.3, <text:list> 5.3.1,
      <text:object-index> 8.6, <text> 5.1.3, <text:section> 5.4,
      <text:sequence-decls> 7.4.11, <text:table-index> 8.5,
      <text:table-of-content> 8.3, <text:tracked-changes> 5.5.1,
      <text:user-field- decls> 7.4.7, <text:user-index> 8.7 and
      <text:variable-decls> 7.4.2.

      16.x: style:footer-first (new section)

      The <style:footer-first> element represents the content for a footer for a
      first page, if different from the left/right page in a <style:master-page>
      element.

      The <style:footer-first> element represents the content for a footer for a first page. Hereby the term "first page" means the first page to which the page style is applied, regardless of any numbering. If a different page style is applied in between two applications of the page style, that has the <style:footer-first> element, each of the applications of the page style has its own first page.

      The <style:footer-first> element is usable within the following element:
      <style:master- page>16.9.

      The <style:footer-first> element has the following attribute: style:display
      19.471.

      The <style:footer-first> element has the following child elements:
      <style:region- center> 16.15, <style:region-left> 16.14,
      <style:region-right> 16.16, <table:table> 9.1.2,
      <text:alphabetical-index> 8.8, <text:alphabetical-index-auto-mark-file> 8.8.3,
      <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3,
      <text:change-start> 5.5.7.2, <text:dde-connection- decls> 14.6.2, <text:h> 5.1.2,
      <text:illustration-index> 8.4, <text:index- title> 8.2.3, <text:list> 5.3.1,
      <text:object-index> 8.6, <text> 5.1.3, <text:section> 5.4,
      <text:sequence-decls> 7.4.11, <text:table-index> 8.5,
      <text:table-of-content> 8.3, <text:tracked-changes> 5.5.1,
      <text:user-field- decls> 7.4.7, <text:user-index> 8.7 and
      <text:variable-decls> 7.4.2.

      2.2 Schema changes/additions:
      See patch at https://www.oasis-open.org/apps/org/workgroup/office/download.php/47159/12-10-11-proposal00093

      3. IMPACTS
      3.1 Conformance:
      This proposal will not add any mandatory features or behaviors.

      3.2 Backwards compatibility:
      This element was not used in previous versions and is optional.
      Existing ODF processors may ignore it, still displaying the left (if
      present) or right header/footer, as before.

      3.3 Accessibility impact:
      None.

      Show
      1. RATIONALE 1.1 Use cases: Sometimes users want different header/footer not only on left/right pages, but also on the first page. If style:header-first/style:footer-first elements are present, then the fist page with which the master-page is rendered get the header/footer defined by style:header-first resp. style:footer-first. 1.2 Alternatives considered: Right now a possible workaround is to use one page style on the first page, and an other on the left/right pages, but that is clumsy. 2. REQUESTED CHANGES TO THE ODF STANDARD 2.1 Text changes/additions: In section 5.1.3 <text > append to the end of "usable within the following elements": style:header-first, style:footer-first In section 5.3.1 <text:list> append to the end of "usable within the following elements": style:header-first, style:footer-first In section 5.4.1 <text:section> append to the end of "usable within the following elements": style:header-first, style:footer-first In section 5.5.1 <text:tracked-changes> append to the end of "usable within the following elements": style:header-first, style:footer-first In section 5.5.7.2 <text:change-start> append to the end of "usable within the following elements": style:header-first, style:footer-first In section 5.5.7.3 <text:change-end> append to the end of "usable within the following elements": style:header-first, style:footer-first In section 5.5.7.4 <text:change> append to the end of "usable within the following elements": style:header-first, style:footer-first In section 7.4.2 <text:variable-decls> append to the end of "usable within the following elements": style:header-first, style:footer-first In section 7.4.7 <text:user-field-decls> append to the end of "usable within the following elements": style:header-first, style:footer-first In section 7.4.11 <text:sequence-decls> append to the end of "usable within the following elements": style:header-first, style:footer-first In section 8.2.3 <text:index-title> append to the end of "usable within the following elements": style:header-first, style:footer-first In section 8.3.1 <text:table-of-content> append to the end of "usable within the following elements": style:header-first, style:footer-first In section 8.4.1 <text:illustration-index> append to the end of "usable within the following elements": style:header-first, style:footer-first In section 8.5.1 <text:table-index> append to the end of "usable within the following elements": style:header-first, style:footer-first In section 8.6.1 <text:object-index> append to the end of "usable within the following elements": style:header-first, style:footer-first In section 8.7.1 <text:user-index> append to the end of "usable within the following elements": style:header-first, style:footer-first In section 8.8.1 <text:alphabetical-index> append to the end of "usable within the following elements": style:header-first, style:footer-first In section 8.8.3 <text:alphabetical-index-auto-mark-file> append to the end of "usable within the following elements": style:header-first, style:footer-first In section 8.9.1 <text:bibliography> append to the end of "usable within the following elements": style:header-first, style:footer-first In section 9.1.2 <table:table> append to the end of "usable within the following elements": style:header-first, style:footer-first In section 14.6.2 <text:dde-connection-decls> append to the end of "usable within the following elements": style:header-first, style:footer-first In section 16.9 <style:master-page> append to the end of child elements: style:header-first, style:footer-first 16.x: style:header-first (new section) The <style:header-first> element represents the content for a header for a first page, if different from the left/right page in a <style:master-page> element. The <style:header-first> element represents the content for a header for a first page. Hereby the term "first page" means the first page to which the page style is applied, regardless of any numbering. If a different page style is applied in between two applications of the page style, that has the <style:header-first> element, each of the applications of the page style has its own first page. The <style:header-first> element is usable within the following element: <style:master- page>16.9. The <style:header-first> element has the following attribute: style:display 19.471. The <style:header-first> element has the following child elements: <style:region- center> 16.15, <style:region-left> 16.14, <style:region-right> 16.16, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:dde-connection- decls> 14.6.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:index- title> 8.2.3, <text:list> 5.3.1, <text:object-index> 8.6, <text > 5.1.3, <text:section> 5.4, <text:sequence-decls> 7.4.11, <text:table-index> 8.5, <text:table-of-content> 8.3, <text:tracked-changes> 5.5.1, <text:user-field- decls> 7.4.7, <text:user-index> 8.7 and <text:variable-decls> 7.4.2. 16.x: style:footer-first (new section) The <style:footer-first> element represents the content for a footer for a first page, if different from the left/right page in a <style:master-page> element. The <style:footer-first> element represents the content for a footer for a first page. Hereby the term "first page" means the first page to which the page style is applied, regardless of any numbering. If a different page style is applied in between two applications of the page style, that has the <style:footer-first> element, each of the applications of the page style has its own first page. The <style:footer-first> element is usable within the following element: <style:master- page>16.9. The <style:footer-first> element has the following attribute: style:display 19.471. The <style:footer-first> element has the following child elements: <style:region- center> 16.15, <style:region-left> 16.14, <style:region-right> 16.16, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:dde-connection- decls> 14.6.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:index- title> 8.2.3, <text:list> 5.3.1, <text:object-index> 8.6, <text > 5.1.3, <text:section> 5.4, <text:sequence-decls> 7.4.11, <text:table-index> 8.5, <text:table-of-content> 8.3, <text:tracked-changes> 5.5.1, <text:user-field- decls> 7.4.7, <text:user-index> 8.7 and <text:variable-decls> 7.4.2. 2.2 Schema changes/additions: See patch at https://www.oasis-open.org/apps/org/workgroup/office/download.php/47159/12-10-11-proposal00093 3. IMPACTS 3.1 Conformance: This proposal will not add any mandatory features or behaviors. 3.2 Backwards compatibility: This element was not used in previous versions and is optional. Existing ODF processors may ignore it, still displaying the left (if present) or right header/footer, as before. 3.3 Accessibility impact: None.

      Description

      Improve interoperability with other text processors, by enabling round-trip of additional page style properties.

        Attachments

          Activity

            People

            • Assignee:
              timar Andras Timar (Inactive)
              Reporter:
              tbehrens Thorsten Behrens (Inactive)
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: