mirror of https://github.com/apache/poi.git
add page-break test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160289 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e5654d854b
commit
06f53cd95c
|
@ -125,6 +125,14 @@ public class TestWordToFoConverter extends TestCase
|
|||
"padding-end=\"0.0in\" padding-start=\"0.0in\" width=\"1.0770833in\"" );
|
||||
}
|
||||
|
||||
public void testPageBreak() throws Exception
|
||||
{
|
||||
final String sampleFileName = "page-break.doc";
|
||||
String result = getFoText( sampleFileName );
|
||||
|
||||
assertContains( result, "<fo:block break-before=\"page\"" );
|
||||
}
|
||||
|
||||
public void testPageBreakBefore() throws Exception
|
||||
{
|
||||
final String sampleFileName = "page-break-before.doc";
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue