mysticfall / pivot4j

Pivot4J provides a common API for OLAP servers which can be used to build an analytical service frontend with pivot style GUI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add image into header when export to PDF

jlctmaster opened this issue · comments

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.

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.