Summary: | hidden text is not actually hidden | ||
---|---|---|---|
Product: | [Applications] calligrawords | Reporter: | Lassi Nieminen <lassi.ta.nieminen> |
Component: | opendocument | Assignee: | Calligra Words Bugs <calligra-words-bugs-null> |
Status: | CONFIRMED --- | ||
Severity: | wishlist | CC: | cbo, mail, matus.uzak |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | All | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
msword 2007 test document to be opened in kword
screenshot of the document in kword screenshot of the document in msword |
Description
David Faure
2010-05-28 03:11:43 UTC
The filter is fine text:display="none", tested with LO. Proper support of the text:display attribute is required. Git commit 838ba003218b92092a6344f01456651584a022e6 by Matus Uzak. Committed on 30/03/2012 at 15:14. Pushed by uzak into branch 'master'. docx: Added a workaround until text:display="none" support. According to MSWord 2007: - Ignoring text:span elements with text:display="none" in the TextStyle. - Ignoring text:a elements containing only hidden text:span elements. - Ignoring empty text:p elements with text:display="none" in text-properties of the paragraph mark. TODO: If the content of a list-item is hidden, then content of the first NOT hidden paragraph replaces it. From the implementation point of view that paragraph inherits list related properties. M +36 -13 filters/words/docx/DocxXmlDocumentReader.cpp http://commits.kde.org/calligra/838ba003218b92092a6344f01456651584a022e6 |