Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: ODF 1.3
    • Component/s: Part 1 (Schema), Styles, Text
    • 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:p> 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 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:p> 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 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:p> 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:p> 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 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:p> 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 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:p> 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.

        Activity

        Hide
        Patrick Durusau added a comment -
        Opening the issue and I have a separate comment.
        Show
        Patrick Durusau added a comment - Opening the issue and I have a separate comment.
        Hide
        Patrick Durusau added a comment -
        How does this interact with style:writing-mode attribute values:

        lr-tb, rl-tb, tb-rl, tb-lr, lr, rl, tb or page, for determination of "first page?"

        Thinking it would be best to declare the "first page" than to allow implementations to work it out for themselves.
        Show
        Patrick Durusau added a comment - How does this interact with style:writing-mode attribute values: lr-tb, rl-tb, tb-rl, tb-lr, lr, rl, tb or page, for determination of "first page?" Thinking it would be best to declare the "first page" than to allow implementations to work it out for themselves.
        Hide
        Regina Henschel added a comment -
        OOXML uses a different concept. It describes the page style as part of a section. And for each section it can define three type of headers: first, default (=odd) and even. That is done in the attribute w:type in the element w:headerReference.
         
        It seems, it would help to have not only style:header (=default) and style:header-left (=even) but style:header-first (=first) too. But that would not solve all interoperability problems: (1) In Word a section can continue header from the previous section. Such inheritance is not available in ODF. (2) In Word the attribute w:type=“first“ is not only applied to the first page of a document, but on the first page of a section inside a document too.

        I think, in addition it would be necessary to extend ODF to allow inheritance on page-layout (which is a user request anyway). But having page-layout inheritance, an new element style:header-first might not be needed at all.

        Show
        Regina Henschel added a comment - OOXML uses a different concept. It describes the page style as part of a section. And for each section it can define three type of headers: first, default (=odd) and even. That is done in the attribute w:type in the element w:headerReference.   It seems, it would help to have not only style:header (=default) and style:header-left (=even) but style:header-first (=first) too. But that would not solve all interoperability problems: (1) In Word a section can continue header from the previous section. Such inheritance is not available in ODF. (2) In Word the attribute w:type=“first“ is not only applied to the first page of a document, but on the first page of a section inside a document too. I think, in addition it would be necessary to extend ODF to allow inheritance on page-layout (which is a user request anyway). But having page-layout inheritance, an new element style:header-first might not be needed at all.
        Hide
        Camilla Boemann added a comment -
        My Comment on the phone conf that Calligra will have trouble implementing it was wrong.

        As to the relevance of this feature my first thought was that it would be better to use the work around, but after thinking it occured to me that it is then not possible to a have paragraph flowing from the first to second page, as setting a new pagestyle will force a page break.

        Therefore I actually supportthis new feature.

        As for it being optional, it's like "yeah you can obmit a headers and footers completely". Hardly good for interoperability and I'm sure most users will demand it to be there. Certainly if some form of headers/footers are supported the users would be right to expect this first page variant to be supported too.

        Next question I have: Why only the first, why not optionally 2 first ?. Maybe call it initial headers/footers and a setting to say 1,2, untilFirstEven, untilFirst. Something like that possibly also have odd and even variants possible. Just brainstorming here
        Show
        Camilla Boemann added a comment - My Comment on the phone conf that Calligra will have trouble implementing it was wrong. As to the relevance of this feature my first thought was that it would be better to use the work around, but after thinking it occured to me that it is then not possible to a have paragraph flowing from the first to second page, as setting a new pagestyle will force a page break. Therefore I actually supportthis new feature. As for it being optional, it's like "yeah you can obmit a headers and footers completely". Hardly good for interoperability and I'm sure most users will demand it to be there. Certainly if some form of headers/footers are supported the users would be right to expect this first page variant to be supported too. Next question I have: Why only the first, why not optionally 2 first ?. Maybe call it initial headers/footers and a setting to say 1,2, untilFirstEven, untilFirst. Something like that possibly also have odd and even variants possible. Just brainstorming here

          People

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

            Dates

            • Created:
              Updated: