[Okular-devel] [PATCH] OOO Generator
Tobias Koenig
tokoe at kde.org
Mon Dec 4 09:00:32 CET 2006
On Sun, Dec 03, 2006 at 11:24:49PM -0300, Leandro Emanuel Lopez wrote:
> Hi okular developers,
Hi Leandro,
> This patch set the correct page layout.
> @tokoe should I commit this patch?
Thank you very much, I've already commited this patch with some small
coding style adaptions.
> About ooo generator, I have some ideas to fix current problems for the page formats:
> * Create a new document layout class (QAbstractTextDocumentLayout), a new
> QTextDocument class and a new QTextFrame class . Like koffice. This is to
> more difficult for me.
Yes, that would be the best way, however here we would have double
effort. I hope that we can use the code from KOffice when it is
finished.
> * Or use one QTextFrame or one QTextDocument per page. ( not is the best way
> but is more easy that the previous point )
That doesn't work, because you can have different styles for every
paragraph, so you need a separated QTextBlock for every paragraph as
well.
The most annoying thing is that the font size/family is buggy somehow.
I've not figured out yet whether the size of the family is the problem,
should be investigated at some point.
Ciao,
Tobias
--
Separate politics from religion and economy!
The Council of the European Union is an undemocratic and illegal institution!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.kde.org/pipermail/okular-devel/attachments/20061204/9f411f2c/attachment.pgp
More information about the Okular-devel
mailing list