Jump to content

BIRT Developer Center Download

- - - - -

Master page - top margin as 0 still provides some empty space in the top

  • Please log in to reply
2 replies to this topic

#1 bcmp


    Advanced Member

  • Members
  • PipPipPip
  • 83 posts

Posted 10 August 2017 - 07:37 AM

When setting master page top margin as 0, it produces some empty space in the top of  report in the web viewer. But when exported to pdf, there are no empty spaces.


Any inputs to avoid the empty spaces in the top of report in the web viewer, would be great.

#2 mblock


    Expert Member

  • BIRT Experts
  • 1888 posts

Posted 12 August 2017 - 06:30 PM

This is due to the fact that we need to keep a margin for interactive Viewer. To get rid of this you need to set the following on the viewer object


If you want to do this in the report use onContentUpdate method.


Mica J. Block

Principal Analytics Architect

OpenText Corporation

#3 bcmp


    Advanced Member

  • Members
  • PipPipPip
  • 83 posts

Posted 15 August 2017 - 06:24 AM

Added the following the lines of code in the report design onContentUpdate section and getting the space between the toolbar and the report.




Attaching the image for your reference. If sample can be shared, it would be great

Attached Files