/* Decoded by unphp.net */ load($filename); $sheet = $spreadsheet->getActiveSheet(); $pageSetup = $sheet->getPageSetup(); self::assertSame(PageSetup::PAGEORDER_DOWN_THEN_OVER, $pageSetup->getPageOrder()); $breaks = $sheet->getBreaks(); self::assertCount(2, $breaks); self::assertSame(Worksheet::BREAK_ROW, $breaks['A5']); self::assertSame(Worksheet::BREAK_COLUMN, $breaks['H1']); $newSpreadsheet = $this->writeAndReload($spreadsheet, 'Xls'); $spreadsheet->disconnectWorksheets(); $newSheet = $newSpreadsheet->getActiveSheet(); $newPageSetup = $newSheet->getPageSetup(); self::assertSame(PageSetup::PAGEORDER_DOWN_THEN_OVER, $newPageSetup->getPageOrder()); $newBreaks = $newSheet->getBreaks(); self::assertCount(2, $newBreaks); self::assertSame(Worksheet::BREAK_ROW, $newBreaks['A5']); self::assertSame(Worksheet::BREAK_COLUMN, $newBreaks['H1']); $newSpreadsheet->disconnectWorksheets(); } } ?>