iMyth / flying-saucer

Automatically exported from code.google.com/p/flying-saucer
1 stars 0 forks source link

SWT rendering - headers and footers #143

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I was using flyingsaucer R8 in an SWT application, and i wanted to try the SWT 
component so I downloaded current version of flyingsaucer sources from GitHub 
(in the "Can I use Flying Saucer in an SWT application?" section of FAQ, we can 
read that the SWT component has been merged into R8, but it doesn't appears to, 
and the link for the mailing list thread is dead).

So i want to provide a paginated view in my application, and display headers 
and footers. So I used sharedContext().setPrint(true) for that. I attached the 
example file I used : it defines one footer and one header and rules to test 
table-headers repeat.

That works very well in Swing XHTMLPanel, but not in SWTXHTMLRenderer : I get 
no headers, neither footers. 

There is not a lot of info about SWT integration in Flying Saucer, can you tell 
me if it is a known issue, or if the sub-project has been forsaken ?

I am working on Windows XP, Eclipse 3.5, JDK 1.6.

Original issue reported on code.google.com by leroux.c...@gmail.com on 19 Apr 2011 at 12:42

Attachments: