hyunsikki / xdocreport

Automatically exported from code.google.com/p/xdocreport
0 stars 0 forks source link

Next page section break not supported? #441

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Tested with:
- xdocreport-1.0.3
- Microsoft Word 2010
- Velocity

Attachments:
1. test_page_break.docx (template file)
2. test_next_page_section_break (template file)
3. test_page_break_output.docx (output file)
4. test_next_page_section_break_output.docx (output file)

I have created two template files (attachments 1 and 2) that contain the 
following Velocity template codes:
#set($pages=[1..3])
#foreach($page in $pages)
 Page $page
#end

When inserting a page break into the #foreach loop pages 2 and 3 are displayed 
on the next page as expected (see attechment 3). However, when inserting a next 
page section break into the #foreach loop pages 2 and 3 are displayed on the 
same page (see attachment 4).

With kind regards,
Bob

Additional information:
- How to insert a page break: Click Page Layout > Breaks > Page.
- How to insert a next page section break: Click Page Layout > Breaks > Next 
page

Original issue reported on code.google.com by bob.arts...@gmail.com on 15 Sep 2014 at 2:22

Attachments:

GoogleCodeExporter commented 9 years ago
At first last version of XDocReport is 1.0.4. 

Thank's for your attachment, I will study your problem when I will hav etime.

Regard's Angelo

Original comment by angelo.z...@gmail.com on 15 Sep 2014 at 2:26

GoogleCodeExporter commented 9 years ago
Hi Angelo,

Thank you for your reply. It would be great if you can fix this. In the 
meanwhile, I have asked our development department to update to the latest 
version.

Kind regards,
Bob

Original comment by bob.arts...@gmail.com on 16 Sep 2014 at 8:26