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

new text field to get page count in current page number range

    XMLWordPrintable

    Details

    • Proposal:
      Hide

      2. REQUESTED CHANGES TO THE ODF STANDARD

      Add a new 7.5.18.x <text:page-count-range>

      The element displays the number of pages in the current page numbering range. A page numbering range starts with the use of 20.328 style:page-number, and at the start of the document.

      (automatically generated text should look like this: )

      The element is usable within the following elements: 6.1.8, 5.1.2, 6.1.9, 7.5.19, 5.1.3, 6.4.2 and 6.1.7.

      The element has the following attributes: style:num-format 19.504 and style:num-letter-sync 19.505.

      The element has no child elements. The element has character data content.

      diff --git a/schema/odf1.4/OpenDocument-v1.4-schema.rng b/schema/odf1.4/OpenDocument-v1.4-schema.rng
      index c444dd15e52c..47bb6e774ab2 100644
      --- a/schema/odf1.4/OpenDocument-v1.4-schema.rng
      +++ b/schema/odf1.4/OpenDocument-v1.4-schema.rng
      @@ -8832,6 +8832,7 @@
             <rng:element>
               <rng:choice>
                 <rng:name>text:page-count</rng:name>
      +          <rng:name>text:page-count-range</rng:name>
                 <rng:name>text:paragraph-count</rng:name>
                 <rng:name>text:word-count</rng:name>
                 <rng:name>text:character-count</rng:name>
      
      Show
      2. REQUESTED CHANGES TO THE ODF STANDARD Add a new 7.5.18.x <text:page-count-range> The element displays the number of pages in the current page numbering range. A page numbering range starts with the use of 20.328 style:page-number, and at the start of the document. (automatically generated text should look like this: ) The element is usable within the following elements: 6.1.8, 5.1.2, 6.1.9, 7.5.19, 5.1.3, 6.4.2 and 6.1.7. The element has the following attributes: style:num-format 19.504 and style:num-letter-sync 19.505. The element has no child elements. The element has character data content. diff --git a/schema/odf1.4/OpenDocument-v1.4-schema.rng b/schema/odf1.4/OpenDocument-v1.4-schema.rng index c444dd15e52c..47bb6e774ab2 100644 --- a/schema/odf1.4/OpenDocument-v1.4-schema.rng +++ b/schema/odf1.4/OpenDocument-v1.4-schema.rng @@ -8832,6 +8832,7 @@ <rng:element> <rng:choice> <rng:name>text:page-count</rng:name> + <rng:name>text:page-count-range</rng:name> <rng:name>text:paragraph-count</rng:name> <rng:name>text:word-count</rng:name> <rng:name>text:character-count</rng:name>

      Description

      1. RATIONALE

      1.1 Use cases:

      Page count field (7.5.18.2) is already supported by ODF, but sometimes
      it is desirable to show the page count within the current section instead of the complete document.

      A section is defined as the area of common page counting determined by the attribute style:page-number in text or table styles.

      1.2 Alternatives considered:
      None.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              michaelstahl michaelstahl
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: