Page 1 of 1

too many lastRenderedPageBreak

PostPosted: Sat Mar 10, 2012 4:07 am
by emiliano
Hi all,

I'm facing a strange problem.

The paragraph:

<w:p w:rsidR="008F7897" w:rsidRPr="00BB7E19" w:rsidRDefault="008F7897" w:rsidP="00BB7E19">
<w:pPr>
<w:pStyle w:val="Style2"/>
</w:pPr>
<w:r w:rsidRPr="00BB7E19">
<w:t>In July 2007, stock options were granted to certain employees and Directors under the 2007 Plan. The 2007 Plan permits options to be granted up to a maximum contractual term of 10 years. The Company’s policy is to use shares of unissued common stock upon exercise of stock options.</w:t>
</w:r>
</w:p>


of my document is unmarshalled by docx4j into two run :

<w:p>

<w:pPr>
<w:pStyle w:val="Style2"/>
</w:pPr>

<w:r w:rsidRPr="00BB7E19">
<w:t xml:space="preserve">In July 2007, stock options were granted to certain employees and Directors under the 2007 Plan. The 2007 Plan permits options to be granted up to a maximum contractual term of 10 years. The </w:t>
</w:r>

<w:r w:rsidRPr="00BB7E19">
<w:lastRenderedPageBreak/>
<w:t>Company’s policy is to use shares of unissued common stock upon exercise of stock options.</w:t>
</w:r>

</w:p>


introducing a lastRenderedPageBreak node.

Why does it happen?

Thanks,
Emiliano

Re: too many lastRenderedPageBreak

PostPosted: Sat Mar 10, 2012 4:19 pm
by jason
docx4j is not doing that; you have opened and saved it in Word.