draw:background-size" misses default & not available for <style:drawing-page-properties> (ODF 1.2)

    • Hide

      Add: draw:background-size to <style:page-layout-properties>

      Add: Default value for draw:background-size of "border."

      Show
      Add: draw:background-size to <style:page-layout-properties> Add: Default value for draw:background-size of "border."

      Copied from office-comment list
      Original author: "Friedrich W. H. Kossebau" <kossebau@kde.org>
      Original date: 2012 19:16:40 -0700 (PDT)
      Original URL: http://lists.oasis-open.org/archives/office-comment/201207/msg00001.html

      From the post:

      ***
      I have found two issues with the attribute "draw:background-size" (used to define what area the background properties should be applied to (full page or excluding the margins), see §20.93):

      A) it is only available in styles for drawing pages (<style:drawing-page-properties>), and is not available for non-drawing pages (<style:page-layout-properties>).

      While I miss to see a definition what area should be used to paint the background on for non-drawing pages, at least by the implementation in LibreOffice 3.5 the background properties in <style:page-layout-properties> are always applied excluding the margins, so inside the borders.

      I propose to add "draw:background-size" as attribute for <style:page-layout-properties> as well, as it is useful there as well.

      B) §20.93 misses to define a default value for "draw:background-size". At least LibreOffice 3.5 does not store this attribute at all, or does offer a config option for it. LibreOffice 3.5 renders the background only inside the borders.

      So for backward-compatibility with existing files I propose to define a default value and use "border" as that.
      ***

            Assignee:
            Patrick Durusau
            Reporter:
            Robert Weir (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: