[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: Interesting QDomDocument::setContent variant
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2004-02-16 11:28:32
Message-ID: 200402161226.51749.nicolasg () snafu ! de
[Download RAW message or body]

On Monday 16 February 2004 11:39, David Faure wrote:
> On Monday 16 February 2004 11:33, Nicolas Goutte wrote:
> > On Monday 16 February 2004 11:17, David Faure wrote:
> > > The OASIS format has a special tag for whitespace to ensure whitespace
> > > is preserved. This is more reliable than using real whitespace and
> > > depending on the XML parser to respect it.
> >
> > Something like:
> > <text:span> </text:span>
> > too?
>
> No, <text:s text:c="4"> for 4 spaces.

Yes, but you do not write:
<text:span><text:s text:c="1"/></text:span>
but
<text:span> </text:span>

(At least the KWord 1.3 import filter does so for now, because I had forgotten 
this problem.)

> See liboofilter/ooutils.cc, OoUtils::expandWhiteSpace().

Have a nice day!

_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic