[ODF] Gradient fill for backgrounds of text documents and spreadsheets

classic Classic list List threaded Threaded
2 messages Options
Regina Henschel Regina Henschel
Reply | Threaded
Open this post in threaded view
|

[ODF] Gradient fill for backgrounds of text documents and spreadsheets

Hi all,

currently LibreOffice writes invalid documents, in case you set the
background of a text document to a gradient fill. That is
https://bugs.documentfoundation.org/show_bug.cgi?id=103602

I suggest not to use the loext namespace to solve the problem, but to
handle it this way:

Add the attribute draw:style-name to the element <style:master-page> and
let is refer a <style:style> element with style:family="drawing-page".
This family allows all the needed attributes.

Advantage:
(1) No private namespace needed. The document validates against the
ODF1.2 schema.
(2) The style family "drawing-page" provides the attribute
draw:background-size. With its value "full" it would be possible to
implement the long demanded background fill till page edge without any
change to ODF1.2.

It might be needed to make some additions to the textual part in the
ODF1.2 specification in "19.219.27<style:master-page>" to explicitly
allow this for text documents and spreadsheets too.

What do you think about this approach?

Kind regards
Regina
_______________________________________________
LibreOffice mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/libreoffice
Regina Henschel Regina Henschel
Reply | Threaded
Open this post in threaded view
|

Re: [ODF] Gradient fill for backgrounds of text documents and spreadsheets

Hi all,

the same problem of allowing gradient fill exists for paragraph, table
and header/footer. I have attached an analysis text and some variants of
changes to the schema to
https://bugs.documentfoundation.org/show_bug.cgi?id=103602. So if you
are interested in extending the Area tab to these objects, please have a
look and comment.

Kind regards
Regina

Regina Henschel schrieb:

> Hi all,
>
> currently LibreOffice writes invalid documents, in case you set the
> background of a text document to a gradient fill. That is
> https://bugs.documentfoundation.org/show_bug.cgi?id=103602
>
> I suggest not to use the loext namespace to solve the problem, but to
> handle it this way:
>
> Add the attribute draw:style-name to the element <style:master-page> and
> let is refer a <style:style> element with style:family="drawing-page".
> This family allows all the needed attributes.
>
> Advantage:
> (1) No private namespace needed. The document validates against the
> ODF1.2 schema.
> (2) The style family "drawing-page" provides the attribute
> draw:background-size. With its value "full" it would be possible to
> implement the long demanded background fill till page edge without any
> change to ODF1.2.
>
> It might be needed to make some additions to the textual part in the
> ODF1.2 specification in "19.219.27<style:master-page>" to explicitly
> allow this for text documents and spreadsheets too.
>
> What do you think about this approach?
>
> Kind regards
> Regina
> _______________________________________________
> LibreOffice mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/libreoffice

_______________________________________________
LibreOffice mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/libreoffice