Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » "vertical" page breaks(how to print out of page columns on the next page (pdf export))
"vertical" page breaks [message #788150] Wed, 01 February 2012 07:07 Go to next message
Maksym Pendyschhuk is currently offline Maksym Pendyschhuk
Messages: 2
Registered: February 2012
Junior Member
Hello!

I have the following problem, my report is wide enough (say it contains 10 columns). When I export it to pdf I see just 3 of them, and 4th column seems to be cut). I see I can check "fit to page" option, but then everything is too small to read. I see I can select another page format (e.g. custom one and set 19in width), but that's also is not good, as I need to generate A4 PDF pages.

Is here any way to print first 3 columns on the first page, and tell BIRT that columns which are out (or will be cut showing on the first page) should be moved to the second page (starting from 4th), then if needed third page. Then again we print first columns on the 4th page and so on. his way I will have all columns printed in right order.

Btw, if there is a way to solve the problem described above, I would like also to ask one more related issue: can I tell somehow that first column should be repeated on each page with "out of first page" columns? I.e. to get pdf pages with such a structure:

1st page:
1st column | 2nd column | 3rd column

2nd page:
1st column | 4th column | 5th column | 6th column | 7th column

3rd page:
1st column | 8th column | 9th column | 10th column

- I assume that this way everything fits page.

thank you in advance for any information...
Max
Re: "vertical" page breaks [message #789232 is a reply to message #788150] Thu, 02 February 2012 14:07 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Take a look at this:
http://www.eclipse.org/birt/phoenix/project/notable2.3.php#jump_10

Note that to get the first column to repeat you will have to add it
multiple times.

Jason

On 2/1/2012 7:07 AM, Maksym Pendyschhuk wrote:
> Hello!
>
> I have the following problem, my report is wide enough (say it contains
> 10 columns). When I export it to pdf I see just 3 of them, and 4th
> column seems to be cut). I see I can check "fit to page" option, but
> then everything is too small to read. I see I can select another page
> format (e.g. custom one and set 19in width), but that's also is not
> good, as I need to generate A4 PDF pages.
>
> Is here any way to print first 3 columns on the first page, and tell
> BIRT that columns which are out (or will be cut showing on the first
> page) should be moved to the second page (starting from 4th), then if
> needed third page. Then again we print first columns on the 4th page and
> so on. his way I will have all columns printed in right order.
>
> Btw, if there is a way to solve the problem described above, I would
> like also to ask one more related issue: can I tell somehow that first
> column should be repeated on each page with "out of first page" columns?
> I.e. to get pdf pages with such a structure:
>
> 1st page:
> 1st column | 2nd column | 3rd column
>
> 2nd page:
> 1st column | 4th column | 5th column | 6th column | 7th column
>
> 3rd page:
> 1st column | 8th column | 9th column | 10th column
>
> - I assume that this way everything fits page.
> thank you in advance for any information...
> Max
Re: "vertical" page breaks [message #789743 is a reply to message #789232] Fri, 03 February 2012 05:53 Go to previous messageGo to next message
Maksym Pendyschhuk is currently offline Maksym Pendyschhuk
Messages: 2
Registered: February 2012
Junior Member
Thank you very much! It helps at least somehow... what is not expected (maybe can be controlled), at my test report first 8 pages have 1st and 2nd column, then next 8 pages have 3rd and 4th. I think it is natural to get pages from left to right and then top down, meaning that second page should extend 1st page horizontally.

by default this property is set to "auto". so as I understand it when next column can't be "published" to this page, it automatically goes to next, but I don't see it working. So what's the difference between "auto" and "avoid"? Do I misunderstand the context?
Re: "vertical" page breaks [message #789987 is a reply to message #789743] Fri, 03 February 2012 11:56 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Can you post a report that uses the sample db that illustrates the issue?
"Auto" means that the report engine will use the layout engine to
determine when a page break should happen and "Avoid" attempts to keep
content together on a page.

Jason

On 2/3/2012 5:53 AM, Maksym Pendyschhuk wrote:
> Thank you very much! It helps at least somehow... what is not expected
> (maybe can be controlled), at my test report first 8 pages have 1st and
> 2nd column, then next 8 pages have 3rd and 4th. I think it is natural to
> get pages from left to right and then top down, meaning that second page
> should extend 1st page horizontally.
> by default this property is set to "auto". so as I understand it when
> next column can't be "published" to this page, it automatically goes to
> next, but I don't see it working. So what's the difference between
> "auto" and "avoid"? Do I misunderstand the context?
Previous Topic:how to set data set column as label for value series in a pie chart
Next Topic:how to bring values from multidimentional java script array in 'initialize block' to dynamic text
Goto Forum:
  


Current Time: Fri Jul 25 21:04:39 EDT 2014

Powered by FUDForum. Page generated in 0.03555 seconds