public static function run($dataDir = null)
 {
     # Instantiating a Workbook object
     $workbook = new Workbook();
     # Adding Page Breaks
     ManagingPageBreaks::add_page_breaks($dataDir = null, $workbook);
     # Clearing All Page Breaks
     ManagingPageBreaks::clear_all_page_breaks($dataDir = null, $workbook);
     # Removing Specific Page Break
     ManagingPageBreaks::remove_page_break($dataDir = null, $workbook);
 }
Пример #2
0
DisplayHideScrollBars::run(__DIR__ . '/data/WorkingWithWorksheets/DisplayFeatures/DisplayHideScrollBars/');
print "Running Aspose\\Cells\\WorkingWithFiles\\UtilityFeatures\\DisplayHideGridlines::run()" . PHP_EOL;
DisplayHideGridlines::run(__DIR__ . '/data/WorkingWithWorksheets/DisplayFeatures/DisplayHideGridlines/');
print "Running Aspose\\Cells\\WorkingWithFiles\\UtilityFeatures\\PageBreakPreview::run()" . PHP_EOL;
PageBreakPreview::run(__DIR__ . '/data/WorkingWithWorksheets/DisplayFeatures/PageBreakPreview/');
print "Running Aspose\\Cells\\WorkingWithFiles\\UtilityFeatures\\ZoomFactor::run()" . PHP_EOL;
ZoomFactor::run(__DIR__ . '/data/WorkingWithWorksheets/DisplayFeatures/ZoomFactor/');
print "Running Aspose\\Cells\\WorkingWithFiles\\UtilityFeatures\\FreezePanes::run()" . PHP_EOL;
FreezePanes::run(__DIR__ . '/data/WorkingWithWorksheets/DisplayFeatures/FreezePanes/');
print "Running Aspose\\Cells\\WorkingWithFiles\\UtilityFeatures\\SplitPanes::run()" . PHP_EOL;
SplitPanes::run(__DIR__ . '/data/WorkingWithWorksheets/DisplayFeatures/SplitPanes/');
print "Running Aspose\\Cells\\WorkingWithWorksheets\\ManagementFeatures\\ManagingWorksheets\\AddingWorksheetstoNewExcelFile::run()" . PHP_EOL;
AddingWorksheetstoNewExcelFile::run(__DIR__ . '/data/WorkingWithWorksheets/ManagementFeatures/ManagingWorksheets/AddingWorksheetstoNewExcelFile/');
print "Running Aspose\\Cells\\WorkingWithWorksheets\\ManagementFeatures\\ManagingWorksheets\\RemovingWorksheetsusingSheetName::run()" . PHP_EOL;
RemovingWorksheetsusingSheetName::run(__DIR__ . '/data/WorkingWithWorksheets/ManagementFeatures/ManagingWorksheets/RemovingWorksheetsusingSheetName/');
print "Running Aspose\\Cells\\WorkingWithWorksheets\\ManagementFeatures\\ManagingWorksheets\\RemovingWorksheetsusingSheetIndex::run()" . PHP_EOL;
RemovingWorksheetsusingSheetIndex::run(__DIR__ . '/data/WorkingWithWorksheets/ManagementFeatures/ManagingWorksheets/RemovingWorksheetsusingSheetIndex/');
print "Running Aspose\\Cells\\WorkingWithWorksheets\\SecurityFeatures\\ProtectingWorksheet::run()" . PHP_EOL;
ProtectingWorksheet::run(__DIR__ . '/data/WorkingWithWorksheets/SecurityFeatures/ProtectingWorksheet/');
print "Running Aspose\\Cells\\WorkingWithWorksheets\\SecurityFeatures\\UnprotectingPasswordProtectedWorksheet::run()" . PHP_EOL;
UnprotectingPasswordProtectedWorksheet::run(__DIR__ . '/data/WorkingWithWorksheets/SecurityFeatures/UnprotectingPasswordProtectedWorksheet/');
print "Running Aspose\\Cells\\WorkingWithWorksheets\\SecurityFeatures\\UnprotectingSimplyProtectedWorksheet::run()" . PHP_EOL;
UnprotectingSimplyProtectedWorksheet::run(__DIR__ . '/data/WorkingWithWorksheets/SecurityFeatures/UnprotectingSimplyProtectedWorksheet/');
print "Running Aspose\\Cells\\WorkingWithWorksheets\\PageSetupFeatures\\SettingPageOptions::run()" . PHP_EOL;
SettingPageOptions::run(__DIR__ . '/data/WorkingWithWorksheets/PageSetupFeatures/SettingPageOptions/');
print "Running Aspose\\Cells\\WorkingWithWorksheets\\ValueFeatures\\ManagingPageBreaks::run()" . PHP_EOL;
ManagingPageBreaks::run(__DIR__ . '/data/WorkingWithWorksheets/ValueFeatures/ManagingPageBreaks/');
print "Running Aspose\\Cells\\WorkingWithWorksheets\\ValueFeatures\\CopyingAndMovingWorksheets::run()" . PHP_EOL;
CopyingAndMovingWorksheets::run(__DIR__ . '/data/WorkingWithWorksheets/ValueFeatures/CopyingAndMovingWorksheets/');
print "Running Aspose\\Cells\\WorkingWithRowsAndColumns\\RowsAndColumns::run()" . PHP_EOL;
RowsAndColumns::run(__DIR__ . '/data/WorkingWithRowsAndColumns/RowsAndColumns/');