[Libreoffice-bugs] [Bug 137469] New: Text filter doesn't hide hidden paragraphs
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Oct 14 07:29:54 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=137469
Bug ID: 137469
Summary: Text filter doesn't hide hidden paragraphs
Product: LibreOffice
Version: 6.4.6.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: olegshtch at yandex.ru
When I choose to export writer document as Text hidden paragraphs which was
hidden in PDF are shown in TXT file:
Example template: https://ask.libreoffice.org/upfiles/15929228703192809.odt
Example python3 code: https://pastebin.com/i7u7X9gB
PDF contains:
Simple paragraphs with variable abc
Hidden paragraph if abc
Simple paragraph with variable 3.65
Hidden paragraph if greater 5
Numeric user field 123,458.67
but TXT file contains:
Simple paragraphs with variable abc
Hidden paragraph if abc
Hidden paragrap if not abc
Simple paragraph with variable 3.65
Hidden paragraph if less 5
Hidden paragraph if greater 5
Numeric user field 123,458.67
To generate TXT file replace last script line with
model.storeToURL("file:///tmp/output/test1.txt", [PropertyValue("FilterName",
-1, "Text", 0)])
--
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/20201014/719c34d5/attachment.htm>
More information about the Libreoffice-bugs
mailing list