Skip to main content



      Home
Home » Archived » BIRT » PDF Layout
PDF Layout [message #71049] Fri, 02 September 2005 04:22 Go to next message
Eclipse UserFriend
Hi!
I have a layout question regarding PDF files.
To prevent my report from being too 'tight', I currently insert empty
rows in my report design. I am not satisfied with this way of working,
so I tried using the sytles.

I am trying to use box style properties (margin Top and margin Bottom)
to get a space before and after a Label, a List or a Table.
Margin-top and margin-bottom are both set to 4 mm for these three
blocs.

Unfortunately, the layout doesn't seem to work as it should:
- In the design view, the items are well-spaced.
- In the preview view, the vertical spacing is correct but I get some
horizontal mismatch.
- When a PDF is generated, no vertical margin at all is displayed...
The blocs are sticked together (no more space)...

So, my qiestions are:
Do the margin-top and margin-bottom properties work correctly when
generating a pdf report? If not, is it planned (since the options are
available in the eclipse design tool)? Or did I miss something (use a
bad jar file, miss any settings configuration...)?
Can anyone help?
Re: PDF Layout - news about FOP [message #71091 is a reply to message #71049] Fri, 02 September 2005 05:34 Go to previous message
Eclipse UserFriend
I think I found the answer myself...

Birt uses FOP to generate pdf files.
According to apache, the current released version of FOP is 0.20.5,
released in july 2003 (see
http://xmlgraphics.apache.org/fop/status.html for FOP Status
information), but it is a maintenance version.
A new version (sometimes called trunk) is being developped, and a
release might happen soon ("However, we think that at the current rate
of progress we can start releasing again in the second half of 2005")

The fop 0.20.5 version only supports margin-top and margin-bottom
properties for pages and regions. The new ("trunk") version does (see
http://xmlgraphics.apache.org/fop/compliance.html for info regarding
compilance with the XSL-FO standard).

So, I hope the"trunk" version will be released soon, I might as well
try building it from the source (see
http://xmlgraphics.apache.org/fop/download.html), allthough I'm not
very experienced with this...

If anyone has some advice regarding the use of another pdf generator,
or regarding the way to use birt with this new 'trunk' version, please
feel free to answer...

Have a nice day!
Previous Topic:working with ArrayList n Iterator in Scripted Data Source
Next Topic:Algum Brasileiro!?
Goto Forum:
  


Current Time: Mon Sep 15 00:15:47 EDT 2025

Powered by FUDForum. Page generated in 0.30177 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top