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

List:       koffice-devel
Subject:    Re: KDataTool working on richtext
From:       David Faure <dfaure () klaralvdalens-datakonsult ! se>
Date:       2003-06-26 13:04:55
[Download RAW message or body]

On Thursday 26 June 2003 14:57, Daniel Naber wrote:
> How difficult is it to give XML (richtext or whatever) to my data tool? Any 
> easy way to add this, maybe so easy that I can do it myself? (I'm not 
> going to commit this to CVS if it's not a clean solution, but I need it 
> for personal use).

Right: you could save the paragraph to XML (kword's native XML)
and send that to the datatool. This should be quite easy.
Paragraph is much easier than sentence (since the internal model
in kotext is based on paragraphs). The only trick is that currently
saving is in KWord, not in libkotext, so you'll need to extend the
datatool handling in kword (it's mostly in kotext currently),
or to add pure virtuals in libkotext for saving/loading, and to make the
kword & kpresenter implementations match that signature.

-- 
David Faure -- faure@kde.org, dfaure@klaralvdalens-datakonsult.se
Qt/KDE/KOffice developer
Klardlvdalens Datakonsult AB, Platform-independent software solutions
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://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