On Friday 29 of July 2011, Caolán McNamara wrote:
On Thu, 2011-07-28 at 17:14 +0200, Lubos Lunak wrote:
- // Find another way for hyperlinks
- RunText( rInfos.pField->GetFieldName() );
+ String sExpand( rInfos.pField->ExpandField( true ) );
+ sExpand.SearchAndReplaceAll( 0x0A, 0x0B );
This line looks strange. What is the reason for this?
You'll find the same pattern in the binary .doc import/export. Newlines
embedded in fields are 0x0B in .doc and 0x0A for us. Presumably the same
is true in .docx
I've noticed it in .doc as well, but .docx is XML, so this doesn't look right
there. That's why I'm asking if there's any specific reason for this.
--
Lubos Lunak
l.lunak@suse.cz
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.