[Libreoffice-bugs] [Bug 120211] New: Display none para with text:bookmark-start tag displayed

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Sep 30 10:52:11 UTC 2018


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

            Bug ID: 120211
           Summary: Display none para with text:bookmark-start tag
                    displayed
           Product: LibreOffice
           Version: 6.1.0.3 release
          Hardware: x86 (IA32)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: antoine.pourchez at kelis.fr

Description:
In this case, first hidden para is displayed despite the style
"text:display="none"" :
```
<style:style style:name="testHidden" style:family="paragraph" >
   <style:text-properties text:display="none"/>
</style:style>
...
<text:p text:style-name="testHidden"><text:bookmark-start
text:name="idAaa"/></text:p>
<text:p>Inner test 1 : preceding empty para show KO</text:p>
<text:p text:style-name="testHidden"><text:bookmark-end
text:name="idAaa"/></text:p>
```

Note : in this case (with cdata in para), the paragraph is correctly hidden
```
 <text:p text:style-name="testHidden">Bbb<text:bookmark-start
text:name="idBbb"/></text:p>
```

bugHiddenPara.odt show the pb

Steps to Reproduce:
cf desription

Actual Results:
show para

Expected Results:
mask para


Reproducible: Always


User Profile Reset: Yes



Additional Info:

-- 
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/20180930/a736551f/attachment.html>


More information about the Libreoffice-bugs mailing list