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

List:       koffice-devel
Subject:    Re: Interesting QDomDocument::setContent variant
From:       David Faure <faure () kde ! org>
Date:       2004-06-07 19:40:15
Message-ID: 200406072140.15452.faure () kde ! org
[Download RAW message or body]

On Monday 07 June 2004 21:13, till busch wrote:
> On Monday 07 June 2004 20:36, David Faure wrote:
> > On Monday 07 June 2004 20:05, Thomas Zander wrote:
> > > > , or getting rid of all newlines and
> > > > indentation in the generated XML files (now I see why the OO files have
> > > > none!).
> > > 
> > > I doubt that; its hard work to create nicely indented XML files; my guess
> > > is that they were just lazy :)
> 
> there is an option in ooo. see Tools->Options->Load/Save->General:
> "size optimization for xml fomat (no pretty printing)"
> 
> i guess this is about indention.

Thanks for the info! Indeed it indents the XML file - except inside text:p :)

   <text:sequence-decl text:display-outline-level="0" text:name="Drawing"/>
  </text:sequence-decls>
  <text:p text:style-name="P1">Bold<text:span text:style-name="T1"> \
</text:span><text:span text:style-name="T2">italic</text:span><text:span  \
text:style-name="T3"> <text:s text:c="23"/>.</text:span></text:p>  <text:p \
text:style-name="P2"><text:tab-stop/>a tab.</text:p>  </office:body>

I'll do the same then.

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
_______________________________________________
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