https://bugs.documentfoundation.org/show_bug.cgi?id=159289
Bug ID: 159289
Summary: Libre Office Writer does not handle/render Watermark B
for Legal Pleadings when opening WPD Files (FILEOPEN)
Product: LibreOffice
Version: 7.6.4.1 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Description:
WP6 (2021) files with autobuilt "legal pleadings" vertical lines and line
numbers in the left margin and single vertical line on the right margin
generated by WordPerfect (tools>legal pleadings) do not appear when opening the
.wpd file in LibreOffice.
libwpd sees the "Watermark B" style object the graphic lines and line numbers
are nested in as a "HeaderFooter group" and doesn't appear to see anything
nested therein. This appears to match the hex of the wpd file, but the Corel
SDK documents seem to indicate that the object should actually be
Steps to Reproduce:
1. Find or create a WP6 (2021) .wpd from Corel WordPerfect which has standard
legal pleadings styling
2. Open the document in LibreOffice Writer
3. Note all the legal pleading styling is missing
Actual Results:
Legal pleading style elements of the wpd file were missing in LibreOFfice
Expected Results:
Rendered the legal pleading style elements the same as WordPerfect does, using
librevenge, libwpd, and libwpg. Libwpd is almost certainly the source of the
problem.
Reproducible: Always
User Profile Reset: Yes
Additional Info:
Libwpd doesn't appear to support the sort of style object hierarchy/nesting
which is actually possible in WordPerfect and WP6 (2021) files. The actual
style elements to be displayed are nested 2 levels deep. First they are within
a global style object denoted by 0xDD 0x0A (global style "on") and then within
what should be a 0xDD 0x0A 0x2C (global style "on" system type 44 "Watermark
B"), followed by the text content, graphics, and closing tags.
However, the "Watermark B" actually appears to be a 0xD6 0x05 Header/Footer
element type 5 "Watermark B" which doesn't have closing or opening
components/markers for nesting of styles in the same way as the global style
object.
--
You are receiving this mail because:
You are the assignee for the bug.