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

Page layout allows to set only width or heighth instead of both

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: ODF 1.2
    • Fix Version/s: None
    • Component/s: Formatting Properties
    • Labels:
      None
    • Proposal:
      Hide

      <define name="style-page-layout-properties-attlist">
      <interleave>
      <attribute name="fo:page-width">
      <ref name="length"/>
      </attribute>
      <attribute name="fo:page-height">
      <ref name="length"/>
      </attribute>

      Show
      <define name="style-page-layout-properties-attlist"> <interleave> <attribute name="fo:page-width"> <ref name="length"/> </attribute> <attribute name="fo:page-height"> <ref name="length"/> </attribute>

      Description

      In the ODF RelaxNG XML schema of ODF it is possible to set the width or the height of a page, but both attributes are optional.

      See http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1419862_253892949

      As for the minimum of the two dimensional page both values are mandatory, I suggest for interoperability of page layout to drop their optional usage and make them for every page layout mandatory.

      Or is there a use case known to someone to omit page height / width but using some other value?

      Here the existing description from the ODF 1.2 RelaxNG (see http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-schema.rng)
      <define name="style-page-layout-properties-attlist">
      <interleave>
      <optional>
      <attribute name="fo:page-width">
      <ref name="length"/>
      </attribute>
      </optional>
      <optional>
      <attribute name="fo:page-height">
      <ref name="length"/>
      </attribute>
      </optional>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              svante.schubert#1#1 svante.schubert#1#1
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: