[PULL REQUEST] table print implementation

Lubomir I. Ivanov neolit123 at gmail.com
Thu Jul 11 06:09:27 PDT 2013


On 11 July 2013 15:47, Tomaz Canabrava <tcanabrava at kde.org> wrote:
>
>
> On Thu, Jul 11, 2013 at 9:47 AM, Tomaz Canabrava <tcanabrava at kde.org> wrote:
>>
>>
>>
>> On Thu, Jul 11, 2013 at 9:22 AM, Lubomir I. Ivanov <neolit123 at gmail.com>
>> wrote:
>>>
>>> On 11 July 2013 15:18, Tomaz Canabrava <tcanabrava at kde.org> wrote:
>>> >
>>> >
>>> > Wait, Wait. :)
>>> >
>>> > Take a look at here before continuing;
>>> > http://www.gitorious.org/grantlee/pages/Home
>>> >
>>> > \o/
>>>
>>> heh, more stuff to learn...but is that another library that can hardly
>>> build on windows, like marble? :)
>>
>>
>> Most probably, but it's a template library :)
>
>
> Btw, you can use QtWebKit to display a fully featured HTML so you don't
> really need to use QTextDocument.
>

my problem with that is that QWebFrame does not provide a method to
determine how many printer pages the content will eventually span on
and therefor there is no way to put the table header exactly on a
certain page.

https://bugs.webkit.org/show_bug.cgi?id=29863
https://bugs.webkit.org/show_bug.cgi?id=26584
^ these two doesn't seem to be applied in Qt 4.8?

QTextDocument can handle that with setPageSize(), setHtml() pageCount().

lubomir
--


More information about the subsurface mailing list