add test case for "page break before" property of paragraph
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160263 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f375297e20
commit
ca2e6c13df
@ -125,6 +125,14 @@ public class TestWordToFoConverter extends TestCase
|
||||
"padding-end=\"0.0in\" padding-start=\"0.0in\" width=\"1.0770833in\"" );
|
||||
}
|
||||
|
||||
public void testPageBreakBefore() throws Exception
|
||||
{
|
||||
final String sampleFileName = "page-break-before.doc";
|
||||
String result = getFoText( sampleFileName );
|
||||
|
||||
assertContains( result, "<fo:block break-before=\"page\"" );
|
||||
}
|
||||
|
||||
public void testPageref() throws Exception
|
||||
{
|
||||
final String sampleFileName = "pageref.doc";
|
||||
|
BIN
test-data/document/page-break-before.doc
Normal file
BIN
test-data/document/page-break-before.doc
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user