https://bugs.documentfoundation.org/show_bug.cgi?id=120301
Bug ID: 120301
Summary: xml parser preserves whitespace in pretty-formatted
vmlDrawing1.vml
Product: LibreOffice
Version: Inherited From OOo
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Created attachment 145368
--> https://bugs.documentfoundation.org/attachment.cgi?id=145368&action=edit
xmlParsing.xlsx: imported labels contain extra spaces from "pretty formatted"
xml
The label of a vml radio button imports wrongly. All of the indent spacing of
the xml file is added to the label name, instead of treating sequential
whitespace as a single space.
<v:textbox style='mso-direction-alt:auto' o:singleclick="f">
<div style='text-align:left'><font face="Segoe UI" size="160"
color="auto">Check
Box 1</font></div>
</v:textbox>
Reproduce the problem.
1.) open xmlParsing.xlsx.
2.) The button names should be "Check Box 1" and "Option Button 2".
Instead, the names have three spaces added. "Check Box 1". This has been
true from earliest times (testing with bibisect43all.)
The earliest point I got to in debugging was
sax/source/fastparser/fastparser.cxx
FastSaxParserImpl::sendPendingCharacters() where the entire string, including
the extra spaces, can be seen.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs