karurkarthi / xdocreport

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

Suggestion: docx->pdf reporting: Support for pagination control #321

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Since long texts replaced in merge fields and growing tables move the remaining 
content of a page onto the next, support for Word's pagination control would be 
highly anticipated:

- Keep lines of a paragraph together on a page

- Keep paragraphs together on a page or in a column

- Always force a page break before a paragraph

- Control widow and orphan lines

(In Word: menu "Format", item "Paragraph", tab "Line and Page Breaks")

Original issue reported on code.google.com by jarland...@googlemail.com on 12 Nov 2013 at 1:51

GoogleCodeExporter commented 9 years ago
Could you attach a simple case with your problem please (java main+docx).

If you set this format in the pargraph which hosts the mergefield, it doesn't 
work?

I'm afraid that if XDocReport should manage that, that it's very complex.

Regards Angelo

Original comment by angelo.z...@gmail.com on 13 Nov 2013 at 8:14

GoogleCodeExporter commented 9 years ago
Ooops sorry, I have not seen that it's about docx->pdf. It seems that it's a 
problem with this converter. Please attach a simple docx (or several docx) 
which causes the problem.

Regards Angelo

Original comment by angelo.z...@gmail.com on 13 Nov 2013 at 8:15

GoogleCodeExporter commented 9 years ago
Attached are three files:

1. Word's paragraph formatting options of the paragraph starting with "Wir 
werden den fälligen Betrag..."
2. The docx source file
3. The resulting pdf file
4. Java class including the test data

The mentioned paragraph starts with a single line on the first page. This 
single line should start at the second page. Typing some more lines above this 
paragraph in Word gives the expected result.

Original comment by jarland...@googlemail.com on 13 Nov 2013 at 12:27

Attachments: