Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Page break in DOC export(Page breaks do not appear when I export to DOC format.)
Page break in DOC export [message #842351] Thu, 12 April 2012 08:06 Go to next message
David B. is currently offline David B.Friend
Messages: 24
Registered: February 2012
Junior Member
Hi,

When I export my report to PDF, the page breaks are displayed correctly (after charts where I set "page break after" to "always" for example). But when I export the report to DOC, the page breaks I set are not taken into account.

Is it a bug and is there a way around to have page breaks working in DOC exports?

Thanks.
David
Re: Page break in DOC export [message #843054 is a reply to message #842351] Thu, 12 April 2012 19:01 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

David,

What version of BIRT are you using? I just tried this in 3.7.1 and it
worked.

Jason

On 4/12/2012 4:06 AM, David B. wrote:
> Hi,
> When I export my report to PDF, the page breaks are displayed correctly
> (after charts where I set "page break after" to "always" for example).
> But when I export the report to DOC, the page breaks I set are not taken
> into account.
>
> Is it a bug and is there a way around to have page breaks working in DOC
> exports?
>
> Thanks.
> David
Re: Page break in DOC export [message #843087 is a reply to message #842351] Thu, 12 April 2012 19:01 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

David,

What version of BIRT are you using? I just tried this in 3.7.1 and it
worked.

Jason

On 4/12/2012 4:06 AM, David B. wrote:
> Hi,
> When I export my report to PDF, the page breaks are displayed correctly
> (after charts where I set "page break after" to "always" for example).
> But when I export the report to DOC, the page breaks I set are not taken
> into account.
>
> Is it a bug and is there a way around to have page breaks working in DOC
> exports?
>
> Thanks.
> David
Re: Page break in DOC export [message #843622 is a reply to message #843054] Fri, 13 April 2012 07:55 Go to previous messageGo to next message
David B. is currently offline David B.Friend
Messages: 24
Registered: February 2012
Junior Member
Hi Jason,

I'm using BIRT 3.7.1 as well.

Here is an Eclipse project with a simple report that shows the problem:
dl.dropbox.com/u/70923442/BirtTestProject.zip

Maybe I am doing something wrong in my BirtEdition class?
Re: Page break in DOC export [message #844017 is a reply to message #843622] Fri, 13 April 2012 15:49 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Add this to your render options:
options.setOption(IRenderOption.HTML_PAGINATION, true);

Jason

On 4/13/2012 3:55 AM, David B. wrote:
> Hi Jason,
> I'm using BIRT 3.7.1 as well.
>
> Here is an Eclipse project with a simple report that shows the problem:
> dl.dropbox.com/u/70923442/BirtTestProject.zip
>
> Maybe I am doing something wrong in my BirtEdition class?
>
Re: Page break in DOC export [message #846558 is a reply to message #844017] Mon, 16 April 2012 07:05 Go to previous message
David B. is currently offline David B.Friend
Messages: 24
Registered: February 2012
Junior Member
Thank you Jason! Smile
Previous Topic:Include BIRT dependencies into Maven project
Next Topic:Table inside a Grid (pagination problem)
Goto Forum:
  


Current Time: Tue Apr 23 16:56:13 GMT 2024

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

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

Back to the top