public static function run($dataDir = null)
 {
     # Inserting a Row
     RowsAndColumns::insert_row($dataDir);
     # Inserting Multiple Rows
     RowsAndColumns::insert_multiple_rows($dataDir);
     # Deleting a Row
     RowsAndColumns::delete_row($dataDir);
     # Deleting Multiple Rows
     RowsAndColumns::delete_multiple_rows($dataDir);
     # Inseting one or Multiple Columns
     RowsAndColumns::insert_column($dataDir);
     # Deleting a Column
     RowsAndColumns::delete_column($dataDir);
     # Hiding Rows and Columns
     RowsAndColumns::hide_rows_columns($dataDir);
     # Showing Rows and Columns
     RowsAndColumns::unhide_rows_columns($dataDir);
     # Grouping Rows & Columns
     RowsAndColumns::group_rows_columns($dataDir);
     # Ungrouping Rows & Columns
     RowsAndColumns::ungroup_rows_columns($dataDir);
     # Setting the Row Height
     RowsAndColumns::set_row_height($dataDir);
     # Setting the Width of a Column
     RowsAndColumns::set_column_width($dataDir);
     # Auto Fit Row
     RowsAndColumns::autofit_row($dataDir);
     # Auto Fit Column
     RowsAndColumns::autofit_column($dataDir);
     # Copying Rows
     RowsAndColumns::copy_rows($dataDir);
     # Copying Columns
     RowsAndColumns::copy_columns($dataDir);
 }
Example #2
0
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/');