Catalogen

XSSFPrintSetup @Cluster 4 (01, assertequals, printsetup)


PageLayoutTest.java

test that we can read existing time , eg not

95. XSSFPrintSetup printSetup = sheet0.getPrintSetup();
96. assertEquals( PaperSize.A4_PAPER,  printSetup.getPaperSizeEnum() );
97. assertEquals( PrintOrientation.LANDSCAPE, printSetup.getOrientation() );
98. assertEquals( 0.3, printSetup.getHeaderMargin(), 0.01 );
99. assertEquals( 0.3, printSetup.getFooterMargin(), 0.01 );

PageLayoutTest.java

test that we can read existing time , eg not

108. XSSFPrintSetup printSetup = sheet0.getPrintSetup();
109. assertEquals( PaperSize.A4_PAPER,  printSetup.getPaperSizeEnum() );
110. assertEquals( PrintOrientation.LANDSCAPE, printSetup.getOrientation() );
111. assertEquals( 0.3, printSetup.getHeaderMargin(), 0.01 );
112. assertEquals( 0.3, printSetup.getFooterMargin(), 0.01 );

PageLayoutTest.java

test that we can read existing time , eg not

117. XSSFPrintSetup printSetup = sheet0.getPrintSetup();
118. assertEquals( PaperSize.A4_PAPER,  printSetup.getPaperSizeEnum() );
119. assertEquals( PrintOrientation.LANDSCAPE, printSetup.getOrientation() );
120. assertEquals( 0.3, printSetup.getHeaderMargin(), 0.01 );
121. assertEquals( 0.3, printSetup.getFooterMargin(), 0.01 );