[Libreoffice-ux-advise] [Bug 152712] Support setting style attributes relative to parent style

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jan 16 10:10:24 UTC 2023


https://bugs.documentfoundation.org/show_bug.cgi?id=152712

Eyal Rozenberg <eyalroz1 at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |112703
                 CC|                            |rb.henschel at t-online.de

--- Comment #12 from Eyal Rozenberg <eyalroz1 at gmx.com> ---
(In reply to Heiko Tietze from comment #10)
> we shouldn't invent another wheel on the already six-axle car.

The basic "car" is ODF. At that level, no wheel invention is necessary, just
allowing a little more flexibility in specifying values. Thus, instead of just
allowing an absolute setting, e.g.:

<style:style style:name="my_style" style:family="paragraph"
style:parent-style-name="Standard">
  <style:paragraph-properties fo:margin-bottom="0.15in"/>
</style:style>

We would also allow:

  <style:paragraph-properties fo:margin-bottom="150%"/>

and 

  <style:paragraph-properties fo:margin-bottom="+0.05in"/>

and maybe

  <style:paragraph-properties fo:margin-bottom="+50%"/>


> Please try the Document Theme feature.

How can I do that?

Anyway, that feature would probably be strengthened by this capability: If some
styles are part of the document theme, or take features from the document theme
- inheriting styles could be influenced by the document theme without only
using _identical_ features.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=112703
[Bug 112703] [META] ODF (XML) bug tracker
-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list