[Libreoffice-bugs] [Bug 108086] New: conditional format not working due to direct formating with style: data-style-name

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu May 25 15:56:33 UTC 2017


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

            Bug ID: 108086
           Summary: conditional format not working due to direct formating
                    with style:data-style-name
           Product: LibreOffice
           Version: 5.3.3.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: oliver.brinzing at gmx.de

Created attachment 133576
  --> https://bugs.documentfoundation.org/attachment.cgi?id=133576&action=edit
demo_conditional_format_aoo

i have several spreadsheet documents originally created with aoo, where zero
values will be hidden using conditional formating - but LO will show zero
values.

steps to reproduce:
- open attached spreadsheet with LO
  -> cell A2 will show 0,00
- open same spreadsheet with aoo412 
  -> cell A2 is empty

the problems is caused due to an existing "style:data-style-name="N4""
attribute:

<office:automatic-styles>
 <style:style style:name="ce3" style:family="table-cell" 
  style:parent-style-name="DecimalNumber" style:data-style-name="N4">
  <style:map style:condition="cell-content()=0" 
   style:apply-style-name="HideEmptyValues" 
   style:base-cell-address="Tabelle1.A2"/>
 </style:style>
</office:automatic-styles>

the attribute seems to override the conditional formating data style.

-- 
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/20170525/968ce6fe/attachment.html>


More information about the Libreoffice-bugs mailing list