Lines Matching refs:pageCount
139 int pageCount = SWUtil.getPageCount(textDocument); in testInsertDeletePageBreak() local
140 Assert.assertEquals("page break is inserted when new document", 3,pageCount); in testInsertDeletePageBreak()
143 pageCount = SWUtil.getPageCount(textDocument); in testInsertDeletePageBreak()
144 Assert.assertEquals("page break is deleted when new document", 2,pageCount); in testInsertDeletePageBreak()
151 pageCount = SWUtil.getPageCount(textDocument); in testInsertDeletePageBreak()
152 Assert.assertEquals("Page breaks after open saved odt file", 2,pageCount); in testInsertDeletePageBreak()
154 pageCount = SWUtil.getPageCount(textDocument); in testInsertDeletePageBreak()
155 Assert.assertEquals("page break is inserted after open saved odt file", 3,pageCount); in testInsertDeletePageBreak()
158 pageCount = SWUtil.getPageCount(textDocument); in testInsertDeletePageBreak()
159 Assert.assertEquals("page break is deleted after open saved odt file.", 2,pageCount); in testInsertDeletePageBreak()
166 pageCount = SWUtil.getPageCount(textDocument); in testInsertDeletePageBreak()
167 Assert.assertEquals("Page breaks after open saved doc file", 2,pageCount); in testInsertDeletePageBreak()
170 pageCount = SWUtil.getPageCount(textDocument); in testInsertDeletePageBreak()
171 Assert.assertEquals("page break is deleted after open saved doc file.", 1,pageCount); in testInsertDeletePageBreak()
174 pageCount = SWUtil.getPageCount(textDocument); in testInsertDeletePageBreak()
175 Assert.assertEquals("page break is inserted after open saved doc file", 2,pageCount); in testInsertDeletePageBreak()