On 9/19/22 19:52, Jeff Haynes wrote:

We at Oracle are trying to use xmlmind 5.3.0 that we have had implemented for a while to generate a Docx file, but we have come across an issue where a page break is not ending up in the docx file.

In the included FO you will see that on line 80 we have <fo:block page-break-before=”always”/>, then have two more fo:blocks.   But in the resultant docx(Document(59).docx) you will see the lines;  “Line 9” and  “Some Text goes here… bla bla bla” without a page break.

Now if I add the attribute page-break-before=”always” to the fo:block that wraps “Some Text goes here… blab la bla” the page break is added. (Document(64).docx)

I am currently setting up a test environment to test if 6.3.3 changes this behavior, but wanted to know if it was correct of us to assume a page break should be seen in the resultant docx given this FO.



I confirm that XMLmind XSL-FO Converter version 6.3.3 behaves exactly the same.

Yes, it is correct to assume that:

<fo:block page-break-before=”always”/>

should give you a page break at this location in the output DOCX.

My guess is that XMLmind XSL-FO Converter discards all fo:blocks having no content, which is obviously a bug in this case.

We'll try to fix this bug in the next version of XMLmind XSL-FO Converter.




--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support

Reply via email to