PDA

View Full Version : KoTextDocument & KoTextDocumentLayout from kotext (kword/koffice)



patrik08
13th October 2008, 11:48
I have write OpenDocument (ODF) reader to QT4

http://www.qt-apps.org/content/show.php/OpenDocument+format+Reader%2BWriter+odt?content=80 650

now i like to place "QTextFrame / KoTextBlockData " floating (top,left y,x) not inline ...
To make this i say to subclass QTextDocument / KoTextDocumentLayout like KoTextDocument from Kword / koffice-1.9.98.0

Or port KoTextDocumentLayout to QT can you please tell me if is better
1- port kotext to qt ?
or
2- subclass QTextDocument and and take KoTextDocument as example ?

or is here other way to absolute position textframe data?

Is this true taht is in planing shedule to write koffice indipendend from kdelibs?