mysticfall / pivot4j

Pivot4J provides a common API for OLAP servers which can be used to build an analytical service frontend with pivot style GUI.
Other
128 stars 99 forks source link

Add image into header when export to PDF #210

Open jlctmaster opened 7 years ago

jlctmaster commented 7 years ago

Hello, it is possible to add a default or dynamic image when exporting the result of Pivot4j to a PDF, this allows a much more elegant result at the time of exporting the information to be able to add, for example, the logo of the company that uses the Pentaho.

Greetings.

mysticfall commented 7 years ago

It is possible, but requires a bit of custom code to achieve it. You can write a class which extends from FopExporter and override one of those start* callbacks (possibly, startPageSequence, or startRender) to invoke relevant Fop API to render an image header.