[Libreoffice-bugs] [Bug 82802] FORMATTING: custom conditional style lost on saving

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri May 5 22:50:46 UTC 2017


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

Regina Henschel <rb.henschel at t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rb.henschel at t-online.de
            Summary|FORMATTING: custom          |FORMATTING: custom
                   |conditional style           |conditional style lost on
                   |                            |saving

--- Comment #8 from Regina Henschel <rb.henschel at t-online.de> ---
I see the problem even the condition is set immediately and works while first
working on the document. After save and reload the condition is gone.

To reproduce:
Define a style "Red" from Default, that has a red font color.
Define a style "Blue" from Default, that has a blue font color.
Start defining a style "ConditionCaller" from Default. Go to tab Condition and
mark "Conditional Style". Apply the style "Red" to the condition "Table Header"
and the style "Blue" to "Table". OK
Insert a table e.g. 2 columns and 4 rows with table header and some dummy text.
Mark the whole table and apply your newly defined style "ConditionCaller".
Notice that the text in the first row of the table becomes red and in the other
cells blue.
Save the document.
Reload.
Notice that the colors are lost.

If you look into the file, you will see, that there are no <style:map>
elements, which would be needed for a conditional style.

This happens too, if you the set the conditions in the style "Text body".

I have used Version: 5.2.6.2
Build ID: a3100ed2409ebf1c212f5048fbe377c281438fdc
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
Locale: de-DE (de_DE); Calc: group

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170505/6c2693a2/attachment.html>


More information about the Libreoffice-bugs mailing list