diff --git a/Plugins/Aspose_Cells_Java_for_PHP/README.md b/Plugins/Aspose_Cells_Java_for_PHP/README.md
new file mode 100644
index 00000000..dbd29754
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/README.md
@@ -0,0 +1,20 @@
+# Aspose.Cells Java for PHP
+Aspose Cells Java for PHP is a PHP project that demonstrates / provides the Aspose.Cells for Java API usage examples in PHP by using PHP/JAVA Bridge.
+
+You will need to configure PHP/Java Bridge before using any of the Aspose provided Java APIs in PHP e.g Aspose.Words, Aspose.Cells and Aspose.Slides etc.
+
+For the configuration/setup of PHP/Java Bridge, please see:
+
+http://php-java-bridge.sourceforge.net/pjb/index.php
+
+To download Aspose.Cells for Java API to be used with these examples through PHP/Java Bridge
+Please navigate to:
+
+http://www.aspose.com/community/files/72/java-components/aspose.cells-for-java/
+
+For most complete documentation of the project, check Aspose.Words Java for PHP confluence wiki link:
+
+http://www.aspose.com/docs/display/cellsjava/5.+Aspose.Cells+Java+for+PHP
+
+
+
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/composer.json b/Plugins/Aspose_Cells_Java_for_PHP/composer.json
new file mode 100644
index 00000000..a74ed300
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/composer.json
@@ -0,0 +1,21 @@
+{
+ "name": "asposecells/aspose_cells_java_for_php",
+ "description": "Aspose Cells Java Examples for PHP Developers. Helps you understand how to use Aspose.Cells Java classes in your PHP Projects.",
+ "type": "library",
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "Fahad Adeel",
+ "email": "fahadadeel@gmail.com"
+ }
+ ],
+ "minimum-stability": "dev",
+ "require": {
+ "php": ">=5.3.0"
+ },
+ "autoload": {
+ "psr-4": {
+ "Aspose\\Cells\\": "src/aspose/cells"
+ }
+ }
+}
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/composer.lock b/Plugins/Aspose_Cells_Java_for_PHP/composer.lock
new file mode 100644
index 00000000..46941d5b
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/composer.lock
@@ -0,0 +1,19 @@
+{
+ "_readme": [
+ "This file locks the dependencies of your project to a known state",
+ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
+ "This file is @generated automatically"
+ ],
+ "hash": "9c4084c23ceb6dc753b1717757bcf7ee",
+ "packages": [],
+ "packages-dev": [],
+ "aliases": [],
+ "minimum-stability": "dev",
+ "stability-flags": [],
+ "prefer-stable": false,
+ "prefer-lowest": false,
+ "platform": {
+ "php": ">=5.3.0"
+ },
+ "platform-dev": []
+}
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/FileHandlingFeatures/OpeningFiles.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/FileHandlingFeatures/OpeningFiles.php
new file mode 100644
index 00000000..ca045d3b
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/FileHandlingFeatures/OpeningFiles.php
@@ -0,0 +1,135 @@
+");
+ print ("Workbook opened using path successfully.");
+
+ // 2.
+ // Opening workbook from stream
+ //Create a Stream object
+ $fstream = new FileInputStream($dataDir . "Book2.xls");
+
+ //Creating an Workbook object with the stream object
+ $workbook2 = new Workbook($fstream);
+
+ $fstream->close();
+
+ // Print message
+ print(" ");
+ print ("Workbook opened using stream successfully.");
+
+
+ // 3.
+ // Opening Microsoft Excel 97 Files
+ //Createing and EXCEL_97_TO_2003 LoadOptions object
+ $loadOptions1 = new LoadOptions($fileFormatType->EXCEL_97_TO_2003);
+
+ //Creating an Workbook object with excel 97 file path and the loadOptions object
+ $workbook3 = new Workbook($dataDir . "Book_Excel97_2003.xls", $loadOptions1);
+
+ // Print message
+ print(" ");
+ print("Excel 97 Workbook opened successfully.");
+
+
+
+ // 4.
+ // Opening Microsoft Excel 2007 XLSX Files
+ //Createing and XLSX LoadOptions object
+ $loadOptions2 = new LoadOptions($fileFormatType->XLSX);
+
+ //Creating an Workbook object with 2007 xlsx file path and the loadOptions object
+ $workbook4 = new Workbook($dataDir . "Book_Excel2007.xlsx", $loadOptions2);
+
+ // Print message
+ print(" ");
+ print ("Excel 2007 Workbook opened successfully.");
+
+
+
+ // 5.
+ // Opening SpreadsheetML Files
+ //Creating and EXCEL_2003_XML LoadOptions object
+ $loadOptions3 = new LoadOptions($fileFormatType->EXCEL_2003_XML);
+
+ //Creating an Workbook object with SpreadsheetML file path and the loadOptions object
+ $workbook5 = new Workbook($dataDir . "Book3.xml", $loadOptions3);
+
+ // Print message
+ print(" ");
+ print ("SpreadSheetML format workbook has been opened successfully.");
+
+ // 6.
+ // Opening CSV Files
+ //Creating and CSV LoadOptions object
+ $loadOptions4 = new LoadOptions($fileFormatType->CSV);
+
+ //Creating an Workbook object with CSV file path and the loadOptions object
+ $workbook6 = new Workbook($dataDir . "Book_CSV.csv", $loadOptions4);
+
+ // Print message
+ print(" ");
+ print ("CSV format workbook has been opened successfully.");
+
+
+
+ // 7.
+ // Opening Tab Delimited Files
+ //Creating and TAB_DELIMITED LoadOptions object
+ $loadOptions5 = new LoadOptions($fileFormatType->TAB_DELIMITED);
+
+ //Creating an Workbook object with Tab Delimited text file path and the loadOptions object
+ $workbook7 = new Workbook($dataDir . "Book1TabDelimited.txt", $loadOptions5);
+
+ // Print message
+ print(" ");
+ print ("Tab Delimited workbook has been opened successfully.");
+
+
+
+ // 8.
+ // Opening Encrypted Excel Files
+ //Creating and EXCEL_97_TO_2003 LoadOptions object
+ $loadOptions6 = new LoadOptions($fileFormatType->EXCEL_97_TO_2003);
+
+ //Setting the password for the encrypted Excel file
+ $loadOptions6->setPassword("1234");
+
+ //Creating an Workbook object with file path and the loadOptions object
+ $workbook8 = new Workbook($dataDir . "encryptedBook.xls", $loadOptions6);
+
+ // Print message
+ print(" ");
+ print ("Encrypted workbook has been opened successfully.");
+
+
+ }
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/FileHandlingFeatures/SavingFiles.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/FileHandlingFeatures/SavingFiles.php
new file mode 100644
index 00000000..7f42c758
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/FileHandlingFeatures/SavingFiles.php
@@ -0,0 +1,42 @@
+save($dataDir . "book.default.out.xls");
+
+ //Save in Excel2003 format
+ $workbook->save($dataDir . "book.out.xls",$fileFormatType->EXCEL_97_TO_2003);
+
+ //Save in Excel2007 xlsx format
+ $workbook->save($dataDir . "book.out.xlsx", $fileFormatType->XLSX);
+
+ //Save in SpreadsheetML format
+ $workbook->save($dataDir . "book.out.xml", $fileFormatType->EXCEL_2003_XML);
+
+ //Print Message
+ print(" ");
+ print("Worksheets are saved successfully.");
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/UtilityFeatures/ChartToImage.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/UtilityFeatures/ChartToImage.php
new file mode 100644
index 00000000..b9b73406
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/UtilityFeatures/ChartToImage.php
@@ -0,0 +1,114 @@
+getWorksheets()->get(0);
+
+ //Set the name of worksheet
+ $sheet->setName("Data");
+
+ //Get the cells collection in the sheet.
+ $cells = $workbook->getWorksheets()->get(0)->getCells();
+
+ //Put some values into a cells of the Data sheet.
+ $cells->get("A1")->setValue("Region");
+ $cells->get("A2")->setValue("France");
+ $cells->get("A3")->setValue("Germany");
+ $cells->get("A4")->setValue("England");
+ $cells->get("A5")->setValue("Sweden");
+ $cells->get("A6")->setValue("Italy");
+ $cells->get("A7")->setValue("Spain");
+ $cells->get("A8")->setValue("Portugal");
+ $cells->get("B1")->setValue("Sale");
+ $cells->get("B2")->setValue(70000);
+ $cells->get("B3")->setValue(55000);
+ $cells->get("B4")->setValue(30000);
+ $cells->get("B5")->setValue(40000);
+ $cells->get("B6")->setValue(35000);
+ $cells->get("B7")->setValue(32000);
+ $cells->get("B8")->setValue(10000);
+
+ //Create chart
+ $chartIndex = $sheet->getCharts()->add($chartType->COLUMN, 12, 1, 33, 12);
+ $chart = $sheet->getCharts()->get($chartIndex);
+
+ //Set properties of chart title
+ $chart->getTitle()->setText("Sales By Region");
+ $chart->getTitle()->getFont()->setBold(true);
+ $chart->getTitle()->getFont()->setSize(12);
+
+ //Set properties of nseries
+ $chart->getNSeries()->add("Data!B2:B8", true);
+ $chart->getNSeries()->setCategoryData("Data!A2:A8");
+
+ //Set the fill colors for the series's data points (France - Portugal(7 points))
+ $chartPoints = $chart->getNSeries()->get(0)->getPoints();
+
+ $point = $chartPoints->get(0);
+ $point->getArea()->setForegroundColor(java_values($color->getCyan()));
+
+ $point = $chartPoints->get(1);
+ $point->getArea()->setForegroundColor($color->getBlue());
+
+ $point = $chartPoints->get(2);
+ $point->getArea()->setForegroundColor($color->getYellow());
+
+ $point = $chartPoints->get(3);
+ $point->getArea()->setForegroundColor($color->getRed());
+
+ $point = $chartPoints->get(4);
+ $point->getArea()->setForegroundColor($color->getBlack());
+
+ $point = $chartPoints->get(5);
+ $point->getArea()->setForegroundColor($color->getGreen());
+
+ $point = $chartPoints->get(6);
+ $point->getArea()->setForegroundColor($color->getMaroon());
+
+ //Set the legend invisible
+ $chart->setShowLegend(false);
+
+
+
+ //Get the Chart image
+ $imgOpts = new ImageOrPrintOptions();
+ $imgOpts->setImageFormat($imageFormat->getEmf());
+
+ $fs = new FileOutputStream($dataDir . "Chart.emf");
+
+ //Save the chart image file.
+ $chart->toImage($fs, $imgOpts);
+
+ $fs->close();
+
+ // Print message
+ print(" ");
+ print("Processing performed successfully.");
+
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/UtilityFeatures/ConvertingExcelFilesToHtml.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/UtilityFeatures/ConvertingExcelFilesToHtml.php
new file mode 100644
index 00000000..519ca818
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/UtilityFeatures/ConvertingExcelFilesToHtml.php
@@ -0,0 +1,30 @@
+save($dataDir . "OutBook1.html", $saveFormat->HTML);
+
+ // Print message
+ echo "\n Excel to HTML conversion performed successfully.";
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/UtilityFeatures/ConvertingToMhtmlFiles.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/UtilityFeatures/ConvertingToMhtmlFiles.php
new file mode 100644
index 00000000..c056fe47
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/UtilityFeatures/ConvertingToMhtmlFiles.php
@@ -0,0 +1,43 @@
+M_HTML);
+
+ //Instantiate a workbook and open the template XLSX file
+ $wb = new Workbook($filePath);
+
+ //Save the MHT file
+ $wb->save($filePath . ".out.mht", $sv);
+
+ // Print message
+ print " ";
+ print " ";
+ print "Excel to MHTML conversion performed successfully.";
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/UtilityFeatures/ConvertingToXPS.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/UtilityFeatures/ConvertingToXPS.php
new file mode 100644
index 00000000..93a54326
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/UtilityFeatures/ConvertingToXPS.php
@@ -0,0 +1,45 @@
+getWorksheets()->get(0);
+
+ //Apply different Image and Print options
+ $options = new ImageOrPrintOptions();
+
+ //Set the Format
+ $options->setSaveFormat($saveFormat->XPS);
+
+ // Render the sheet with respect to specified printing options
+ $sr = new SheetRender($sheet, $options);
+ $sr->toImage(0, $dataDir . "out_printingxps.xps");
+
+ //Save the complete Workbook in XPS format
+ $workbook->save($dataDir . "out_whole_printingxps", $saveFormat->XPS);
+
+ // Print message
+ print "Excel to XPS conversion performed successfully.";
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/UtilityFeatures/ConvertingWorksheetToSVG.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/UtilityFeatures/ConvertingWorksheetToSVG.php
new file mode 100644
index 00000000..48f847ed
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/UtilityFeatures/ConvertingWorksheetToSVG.php
@@ -0,0 +1,50 @@
+setSaveFormat($saveFormat->SVG);
+ $imgOptions->setOnePagePerSheet(true);
+
+ //Convert each worksheet into svg format
+ $sheetCount = $workbook->getWorksheets()->getCount();
+
+ for($i=0; $i < $sheetCount; $i++)
+ {
+ $sheet = $workbook->getWorksheets()->get($i);
+
+ $sr = new SheetRender($sheet, $imgOptions);
+
+ $pageCount = $sr->getPageCount();
+ for ($k = 0; $k < $pageCount; $k++)
+ {
+ //Output the worksheet into Svg image format
+ $sr->toImage($k, $path . $sheet->getName() . $k . ".out.svg");
+ }
+ }
+
+ // Print message
+ print "Excel to SVG conversion completed successfully.";
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/UtilityFeatures/Excel2PdfConversion.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/UtilityFeatures/Excel2PdfConversion.php
new file mode 100644
index 00000000..0d2e8784
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/UtilityFeatures/Excel2PdfConversion.php
@@ -0,0 +1,25 @@
+save($dataDir . "OutBook1.pdf", $saveFormat->PDF);
+
+ // Print message
+ echo "\n Excel to PDF conversion performed successfully.";
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/UtilityFeatures/ManagingDocumentProperties.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/UtilityFeatures/ManagingDocumentProperties.php
new file mode 100644
index 00000000..df8835f8
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/UtilityFeatures/ManagingDocumentProperties.php
@@ -0,0 +1,47 @@
+getWorksheets()->getCustomDocumentProperties();
+
+ //Accessing a custom document property by using the property index
+ $customProperty1 = $customProperties->get(3);
+
+ //Accessing a custom document property by using the property name
+ $customProperty2 = $customProperties->get("Owner");
+
+
+ //Adding a custom document property to the Excel file
+ $publisher = $customProperties->add("Publisher", "Aspose");
+
+ //Save the file
+ $workbook->save($dataDir . "Test_Workbook.xls");
+
+ //Removing a custom document property
+ $customProperties->remove("Publisher");
+
+ //Save the file
+ $workbook->save($dataDir . "Test_Workbook_RemovedProperty.xls");
+
+ // Print message
+ print "Excel file's custom properties accessed successfully." . PHP_EOL;
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/UtilityFeatures/WorksheetToImage.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/UtilityFeatures/WorksheetToImage.php
new file mode 100644
index 00000000..53eec68b
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithFiles/UtilityFeatures/WorksheetToImage.php
@@ -0,0 +1,48 @@
+setImageFormat($imageFormat->getPng());
+
+ //Get the first worksheet.
+ $sheet = $book->getWorksheets()->get(0);
+
+ //Create a SheetRender object for the target sheet
+ $sr = new SheetRender($sheet, $imgOptions);
+ for ($j = 0; $j < $sr->getPageCount(); $j++)
+ {
+ //Generate an image for the worksheet
+ $sr->toImage($j, $dataDir . "mysheetimg" . $j . ".png");
+
+ }
+
+ // Print message
+ print "Images generated successfully." . PHP_EOL;
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithRowsAndColumns/RowsAndColumns.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithRowsAndColumns/RowsAndColumns.php
new file mode 100644
index 00000000..d2003ade
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithRowsAndColumns/RowsAndColumns.php
@@ -0,0 +1,417 @@
+getWorksheets()->get(0);
+
+ # Inserting a row into the worksheet at 3rd position
+ $worksheet->getCells()->insertRows(2,1);
+
+ # Saving the modified Excel file in default (that is Excel 2003) format
+ $workbook->save($dataDir . "Insert Row.xls");
+
+ print "Insert Row Successfully." . PHP_EOL;
+
+ }
+
+ public static function insert_multiple_rows($dataDir)
+ {
+
+ # Instantiating a Workbook object by excel file path
+ $workbook = new Workbook($dataDir . 'Book1.xls');
+
+ # Accessing the first worksheet in the Excel file
+ $worksheet = $workbook->getWorksheets()->get(0);
+
+ # Inserting a row into the worksheet at 3rd position
+ $worksheet->getCells()->insertRows(2,10);
+
+ # Saving the modified Excel file in default (that is Excel 2003) format
+ $workbook->save($dataDir . "Insert Multiple Rows.xls");
+
+ print "Insert Multiple Rows Successfully." . PHP_EOL;
+
+ }
+
+ public static function delete_row($dataDir)
+ {
+ # Instantiating a Workbook object by excel file path
+ $workbook = new Workbook($dataDir . 'Book1.xls');
+
+ # Accessing the first worksheet in the Excel file
+ $worksheet = $workbook->getWorksheets()->get(0);
+
+ # Deleting 3rd row from the worksheet
+ $worksheet->getCells()->deleteRows(2,1,true);
+
+ # Saving the modified Excel file in default (that is Excel 2003) format
+ $workbook->save($dataDir . "Delete Row.xls");
+
+ print "Delete Row Successfully." . PHP_EOL;
+
+ }
+
+ public static function delete_multiple_rows($dataDir)
+ {
+
+ # Instantiating a Workbook object by excel file path
+ $workbook = new Workbook($dataDir . 'Book1.xls');
+
+ # Accessing the first worksheet in the Excel file
+ $worksheet = $workbook->getWorksheets()->get(0);
+
+ # Deleting 10 rows from the worksheet starting from 3rd row
+ $worksheet->getCells()->deleteRows(2,10,true);
+
+ # Saving the modified Excel file in default (that is Excel 2003) format
+ $workbook->save($dataDir . "Delete Multiple Rows.xls");
+
+ print "Delete Multiple Rows Successfully." . PHP_EOL;
+
+ }
+
+ public static function insert_column($dataDir)
+ {
+
+ # Instantiating a Workbook object by excel file path
+ $workbook = new Workbook($dataDir . 'Book1.xls');
+
+ # Accessing the first worksheet in the Excel file
+ $worksheet = $workbook->getWorksheets()->get(0);
+
+ # Inserting a column into the worksheet at 2nd position
+ $worksheet->getCells()->insertColumns(1,1);
+
+ # Saving the modified Excel file in default (that is Excel 2003) format
+ $workbook->save($dataDir . "Insert Column.xls");
+
+ print "Insert Column Successfully." . PHP_EOL;
+
+ }
+
+ public static function delete_column($dataDir)
+ {
+
+ # Instantiating a Workbook object by excel file path
+ $workbook = new Workbook($dataDir . 'Book1.xls');
+
+ # Accessing the first worksheet in the Excel file
+ $worksheet = $workbook->getWorksheets()->get(0);
+
+ # Deleting a column from the worksheet at 2nd position
+ $worksheet->getCells()->deleteColumns(1,1,true);
+
+ # Saving the modified Excel file in default (that is Excel 2003) format
+ $workbook->save($dataDir . "Delete Column.xls");
+
+ print "Delete Column Successfully." . PHP_EOL;
+
+ }
+
+ public static function hide_rows_columns($dataDir)
+ {
+
+ # Instantiating a Workbook object by excel file path
+ $workbook = new Workbook($dataDir . 'Book1.xls');
+
+ # Accessing the first worksheet in the Excel file
+ $worksheet = $workbook->getWorksheets()->get(0);
+ $cells = $worksheet->getCells();;
+
+ # Hiding the 3rd row of the worksheet
+ $cells->hideRow(2);
+
+ # Hiding the 2nd column of the worksheet
+ $cells->hideColumn(1);
+
+ # Saving the modified Excel file in default (that is Excel 2003) format
+ $workbook->save($dataDir . "Hide Rows And Columns.xls");
+
+ print "Hide Rows And Columns Successfully." . PHP_EOL;
+
+ }
+
+ public static function unhide_rows_columns($dataDir)
+ {
+
+ # Instantiating a Workbook object by excel file path
+ $workbook = new Workbook($dataDir . 'Book1.xls');
+
+ # Accessing the first worksheet in the Excel file
+ $worksheet = $workbook->getWorksheets()->get(0);
+ $cells = $worksheet->getCells();;
+
+ # Unhiding the 3rd row and setting its height to 13.5
+ $cells->unhideRow(2,13.5);
+
+ # Unhiding the 2nd column and setting its width to 8.5
+ $cells->unhideColumn(1,8.5);
+
+ # Saving the modified Excel file in default (that is Excel 2003) format
+ $workbook->save($dataDir . "Unhide Rows And Columns.xls");
+
+ print "Unhide Rows And Columns Successfully." . PHP_EOL;
+
+ }
+
+ public static function group_rows_columns($dataDir)
+ {
+
+ # Instantiating a Workbook object by excel file path
+ $workbook = new Workbook($dataDir . 'Book1.xls');
+
+ # Accessing the first worksheet in the Excel file
+ $worksheet = $workbook->getWorksheets()->get(0);
+ $cells = $worksheet->getCells();;
+
+ # Grouping first six rows (from 0 to 5) and making them hidden by passing true
+ $cells->groupRows(0,5,true);
+
+ # Grouping first three columns (from 0 to 2) and making them hidden by passing true
+ $cells->groupColumns(0,2,true);
+
+ # Saving the modified Excel file in default (that is Excel 2003) format
+ $workbook->save($dataDir . "Group Rows And Columns.xls");
+
+ print "Group Rows And Columns Successfully." . PHP_EOL;
+
+ }
+
+ public static function ungroup_rows_columns($dataDir)
+ {
+
+ # Instantiating a Workbook object by excel file path
+ $workbook = new Workbook($dataDir . 'Group Rows And Columns.xls');
+
+ # Accessing the first worksheet in the Excel file
+ $worksheet = $workbook->getWorksheets()->get(0);
+ $cells = $worksheet->getCells();;
+
+ # Ungrouping first six rows (from 0 to 5)
+ $cells->ungroupRows(0,5);
+
+ # Ungrouping first three columns (from 0 to 2)
+ $cells->ungroupColumns(0,2);
+
+ # Saving the modified Excel file in default (that is Excel 2003) format
+ $workbook->save($dataDir . "Ungroup Rows And Columns.xls");
+
+ print "Ungroup Rows And Columns Successfully." . PHP_EOL;
+
+ }
+
+ public static function set_row_height($dataDir)
+ {
+
+ # Instantiating a Workbook object by excel file path
+ $workbook = new Workbook($dataDir . 'Book1.xls');
+
+ # Accessing the first worksheet in the Excel file
+ $worksheet = $workbook->getWorksheets()->get(0);
+ $cells = $worksheet->getCells();
+
+ # Setting the height of the second row to 13
+ $cells->setRowHeight(1, 13);
+
+ # Saving the modified Excel file in default (that is Excel 2003) format
+ $workbook->save($dataDir . "Set Row Height.xls");
+
+ print "Set Row Height Successfully." . PHP_EOL;
+
+ }
+
+ public static function set_column_width($dataDir)
+ {
+
+ # Instantiating a Workbook object by excel file path
+ $workbook = new Workbook($dataDir . 'Book1.xls');
+
+ # Accessing the first worksheet in the Excel file
+ $worksheet = $workbook->getWorksheets()->get(0);
+ $cells = $worksheet->getCells();
+
+ # Setting the width of the second column to 17.5
+ $cells->setColumnWidth(1, 17.5);
+
+ # Saving the modified Excel file in default (that is Excel 2003) format
+ $workbook->save($dataDir . "Set Column Width.xls");
+
+ print "Set Column Width Successfully." . PHP_EOL;
+
+ }
+
+ public static function autofit_row($dataDir)
+ {
+
+ # Instantiating a Workbook object by excel file path
+ $workbook = new Workbook($dataDir . 'Book1.xls');
+
+ # Accessing the first worksheet in the Excel file
+ $worksheet = $workbook->getWorksheets()->get(0);
+
+ # Auto-fitting the 3rd row of the worksheet
+ $worksheet->autoFitRow(2);
+
+ # Auto-fitting the 3rd row of the worksheet based on the contents in a range of
+ # cells (from 1st to 9th column) within the row
+ #$worksheet->autoFitRow(2,0,8) # Uncomment this line if you to do AutoFit Row in a Range of Cells. Also, comment line 288.
+
+ # Saving the modified Excel file in default (that is Excel 2003) format
+ $workbook->save($dataDir . "Autofit Row.xls");
+
+ print "Autofit Row Successfully." . PHP_EOL;
+
+ }
+
+ public static function autofit_column($dataDir)
+ {
+
+ # Instantiating a Workbook object by excel file path
+ $workbook = new Workbook($dataDir . 'Book1.xls');
+
+ # Accessing the first worksheet in the Excel file
+ $worksheet = $workbook->getWorksheets()->get(0);
+
+ # Auto-fitting the 4th column of the worksheet
+ $worksheet->autoFitColumn(3);
+
+ # Auto-fitting the 4th column of the worksheet based on the contents in a range of
+ # cells (from 1st to 9th row) within the column
+ #$worksheet->autoFitColumn(3,0,8) #Uncomment this line if you to do AutoFit Column in a Range of Cells. Also, comment line 310.
+
+ # Saving the modified Excel file in default (that is Excel 2003) format
+ $workbook->save($dataDir . "Autofit Column.xls");
+
+ print "Autofit Column Successfully." . PHP_EOL;
+
+ }
+
+ public static function copy_rows($dataDir)
+ {
+
+ # Instantiating a Workbook object by excel file path
+ $workbook = new Workbook($dataDir . 'Book1.xls');
+
+ # Accessing the first worksheet in the Excel file
+ $worksheet = $workbook->getWorksheets()->get(0);
+
+ # Copy the second row with data, formattings, images and drawing objects
+ # to the 12th row in the $worksheet->
+ $worksheet->getCells()->copyRow($worksheet->getCells(),1,11);
+
+ # Saving the modified Excel file in default (that is Excel 2003) format
+ $workbook->save($dataDir . "Copy Rows.xls");
+
+ print "Copy Rows Successfully." . PHP_EOL;
+
+ }
+
+ public static function copy_columns($dataDir)
+ {
+
+ # Instantiating a Workbook object by excel file path
+ $workbook = new Workbook();
+
+ # Accessing the first worksheet in the Excel file
+ $worksheet = $workbook->getWorksheets()->get(0);
+
+ # Put some data into header rows (A1:A4)
+ $i = 0;
+ while($i < 5)
+ {
+ $worksheet->getCells()->get($i, 0)->setValue("Header Row #$i");
+ $i++;
+
+ }
+
+
+ # Put some detail data (A5:A999)
+ $i = 5;
+ while ($i < 1000) {
+
+ $worksheet->getCells()->get($i, 0)->setValue("Detail Row #$i");
+ $i++;
+ }
+
+ # Create another Workbook.
+ $workbook1 = new Workbook();
+
+ # Get the first worksheet in the book.
+ $worksheet1 = $workbook1->getWorksheets()->get(0);
+
+ # Copy the first column from the first worksheet of the first workbook into
+ # the first worksheet of the second workbook.
+ $worksheet1->getCells()->copyColumn($worksheet->getCells(),0,2);
+
+ # Autofit the column.
+ $worksheet1->autoFitColumn(2);
+
+ # Saving the modified Excel file in default (that is Excel 2003) format
+ $workbook->save($dataDir . "Copy Columns.xls");
+
+ print "Copy Columns Successfully." . PHP_EOL;
+
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/DisplayFeatures/DisplayHideGridlines.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/DisplayFeatures/DisplayHideGridlines.php
new file mode 100644
index 00000000..400aa911
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/DisplayFeatures/DisplayHideGridlines.php
@@ -0,0 +1,36 @@
+getWorksheets();
+
+ $worksheet = $worksheets->get(0);
+
+ //Hiding the grid lines of the first worksheet of the Excel file
+ $worksheet->setGridlinesVisible(false);
+
+ //Saving the modified Excel file in default (that is Excel 2000) format
+ $workbook->save($dataDir . "output.xls");
+
+ // Print message
+ print "Grid lines are now hidden on sheet 1, please check the output document." . PHP_EOL;
+
+ }
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/DisplayFeatures/DisplayHideScrollBars.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/DisplayFeatures/DisplayHideScrollBars.php
new file mode 100644
index 00000000..50c77e2a
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/DisplayFeatures/DisplayHideScrollBars.php
@@ -0,0 +1,35 @@
+getSettings()->setVScrollBarVisible(false);
+
+ //Hiding the horizontal scroll bar of the Excel file
+ $workbook->getSettings()->setHScrollBarVisible(false);
+
+ //Saving the modified Excel file in default (that is Excel 2003) format
+ $workbook->save($dataDir . "output.xls");
+
+ // Print message
+ print "Scroll bars are now hidden, please check the output document.";
+
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/DisplayFeatures/DisplayHideTabs.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/DisplayFeatures/DisplayHideTabs.php
new file mode 100644
index 00000000..5f0b10f6
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/DisplayFeatures/DisplayHideTabs.php
@@ -0,0 +1,33 @@
+getSettings()->setShowTabs(false);
+
+ //Saving the modified Excel file in default (that is Excel 2003) format
+ $workbook->save($dataDir + "output.xls");
+
+ // Print message
+ print "Tabs are now hidden, please check the output file." . PHP_EOL;
+
+
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/DisplayFeatures/FreezePanes.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/DisplayFeatures/FreezePanes.php
new file mode 100644
index 00000000..2e24f930
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/DisplayFeatures/FreezePanes.php
@@ -0,0 +1,34 @@
+getWorksheets();
+ $worksheet = $worksheets->get(0);
+
+ //Applying freeze panes settings
+ $worksheet->freezePanes(3,2,3,2);
+
+ //Saving the modified Excel file in default format
+ $workbook->save($dataDir . "book.out.xls");
+
+ //Print Message
+ print "Panes freeze successfull." . PHP_EOL;
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/DisplayFeatures/HideUnhideWorksheet.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/DisplayFeatures/HideUnhideWorksheet.php
new file mode 100644
index 00000000..dc35c414
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/DisplayFeatures/HideUnhideWorksheet.php
@@ -0,0 +1,29 @@
+getWorksheets();
+ $worksheet = $worksheets->get(0);
+
+ //Hiding the first worksheet of the Excel file
+ $worksheet->setVisible(false);
+
+ //Saving the modified Excel file in default (that is Excel 2003) format
+ $workbook->save($dataDir . "output.xls");
+
+ // Print message
+ print "Worksheet 1 is now hidden, please check the output document." . PHP_EOL;
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/DisplayFeatures/PageBreakPreview.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/DisplayFeatures/PageBreakPreview.php
new file mode 100644
index 00000000..bebe6816
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/DisplayFeatures/PageBreakPreview.php
@@ -0,0 +1,35 @@
+getWorksheets();
+
+ $worksheet = $worksheets->get(0);
+
+ //Displaying the worksheet in page break preview
+ $worksheet->setPageBreakPreview(true);
+
+ //Saving the modified Excel file in default format
+ $workbook->save($dataDir . "output.xls");
+
+ // Print message
+ print "Page break preview is enabled for sheet 1, please check the output document." . PHP_EOL;
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/DisplayFeatures/SplitPanes.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/DisplayFeatures/SplitPanes.php
new file mode 100644
index 00000000..182459e5
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/DisplayFeatures/SplitPanes.php
@@ -0,0 +1,32 @@
+getWorksheets()->get(0)->setActiveCell("A20");
+
+ //Split the worksheet window
+ $book->getWorksheets()->get(0)->split();
+
+ //Save the excel file
+ $book->save($dataDir . "book.out.xls", $saveFormat->EXCEL_97_TO_2003);
+
+ //Print Message
+ print "Panes split successfully." . PHP_EOL;
+
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/DisplayFeatures/ZoomFactor.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/DisplayFeatures/ZoomFactor.php
new file mode 100644
index 00000000..c0614ae7
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/DisplayFeatures/ZoomFactor.php
@@ -0,0 +1,29 @@
+getWorksheets();
+ $worksheet = $worksheets->get(0);
+
+ //Setting the zoom factor of the worksheet to 75
+ $worksheet->setZoom(75);
+
+ //Saving the modified Excel file in default format
+ $workbook->save($dataDir . "output.xls");
+
+ // Print message
+ print "Zoom factor set to 75% for sheet 1, please check the output document.";
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/ManagementFeatures/ManagingWorksheets/AddingWorksheetstoNewExcelFile.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/ManagementFeatures/ManagingWorksheets/AddingWorksheetstoNewExcelFile.php
new file mode 100644
index 00000000..ae9d97eb
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/ManagementFeatures/ManagingWorksheets/AddingWorksheetstoNewExcelFile.php
@@ -0,0 +1,32 @@
+getWorksheets();
+
+ $sheetIndex = $worksheets->add();
+ $worksheet = $worksheets->get($sheetIndex);
+
+ //Setting the name of the newly added worksheet
+ $worksheet->setName("My Worksheet");
+
+ //Saving the Excel file
+ $workbook->save($dataDir . "book.out.xls");
+
+ //Print Message
+ print "Sheet added successfully.";
+
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/ManagementFeatures/ManagingWorksheets/RemovingWorksheetsusingSheetIndex.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/ManagementFeatures/ManagingWorksheets/RemovingWorksheetsusingSheetIndex.php
new file mode 100644
index 00000000..b120d9cf
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/ManagementFeatures/ManagingWorksheets/RemovingWorksheetsusingSheetIndex.php
@@ -0,0 +1,33 @@
+getWorksheets()->removeAt(0);
+
+ //Saving the Excel file
+ $workbook->save($dataDir . "book.out.xls");
+
+ //Closing the file stream to free all resources
+ $fstream->close();
+
+
+ //Print Message
+ print "Sheet removed successfully.";
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/ManagementFeatures/ManagingWorksheets/RemovingWorksheetsusingSheetName.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/ManagementFeatures/ManagingWorksheets/RemovingWorksheetsusingSheetName.php
new file mode 100644
index 00000000..391f03e5
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/ManagementFeatures/ManagingWorksheets/RemovingWorksheetsusingSheetName.php
@@ -0,0 +1,32 @@
+getWorksheets()->removeAt("Sheet1");
+
+ //Saving the Excel file
+ $workbook->save($dataDir . "book.out.xls");
+
+ //Closing the file stream to free all resources
+ $fstream->close();
+
+ //Print Message
+ print "Sheet removed successfully.";
+
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/PageSetupFeatures/SettingPageOptions.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/PageSetupFeatures/SettingPageOptions.php
new file mode 100644
index 00000000..b50930d9
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/PageSetupFeatures/SettingPageOptions.php
@@ -0,0 +1,65 @@
+getWorksheets();
+ $sheet_index = $worksheets->add();
+ $sheet = $worksheets->get($sheet_index);
+
+ # Setting the orientation to Portrait
+ $page_setup = $sheet->getPageSetup();
+ $page_orientation_type = new PageOrientationType();
+ $page_setup->setOrientation($page_orientation_type->PORTRAIT);
+
+ # Saving the modified Excel file in default (that is Excel 2003) format
+ $workbook->save($dataDir . "Page Orientation.xls");
+
+ print "Set page orientation, please check the output file." . PHP_EOL;
+ }
+
+ public static function scaling($dataDir=null)
+ {
+
+ # Instantiating a Workbook object by excel file path
+ $workbook = new Workbook($dataDir . 'Book1.xls');
+
+ # Accessing the first worksheet in the Excel file
+ $worksheets = $workbook->getWorksheets();
+ $sheet_index = $worksheets->add();
+ $sheet = $worksheets->get($sheet_index);
+
+ # Setting the scaling factor to 100
+ $page_setup = $sheet->getPageSetup();
+ $page_setup->setZoom(100);
+
+ # Saving the modified Excel file in default (that is Excel 2003) format
+ $workbook->save($dataDir . "Scaling.xls");
+
+ print "Set scaling, please check the output file." . PHP_EOL;
+
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/SecurityFeatures/ProtectingWorksheet.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/SecurityFeatures/ProtectingWorksheet.php
new file mode 100644
index 00000000..fd38ec3a
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/SecurityFeatures/ProtectingWorksheet.php
@@ -0,0 +1,35 @@
+getWorksheets();
+ $worksheet = $worksheets->get(0);
+
+ $protection = $worksheet->getProtection();
+
+ //The following 3 methods are only for Excel 2000 and earlier formats
+ $protection->setAllowEditingContent(false);
+ $protection->setAllowEditingObject(false);
+ $protection->setAllowEditingScenario(false);
+
+ //Protects the first worksheet with a password "1234"
+ $protection->setPassword("1234");
+
+ //Saving the modified Excel file in default format
+ $excel->save($dataDir . "output.xls");
+
+ //Print Message
+ print "Sheet protected successfully." . PHP_EOL;
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/SecurityFeatures/UnprotectingPasswordProtectedWorksheet.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/SecurityFeatures/UnprotectingPasswordProtectedWorksheet.php
new file mode 100644
index 00000000..2c0914ad
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/SecurityFeatures/UnprotectingPasswordProtectedWorksheet.php
@@ -0,0 +1,34 @@
+getWorksheets();
+ $worksheet = $worksheets->get(0);
+
+ $protection = $worksheet->getProtection();
+
+ //Unprotecting the worksheet with a password
+ $worksheet->unprotect("aspose");
+
+ // Save the excel file.
+ $workbook->save($dataDir . "output.xls", $filesFormatType->EXCEL_97_TO_2003);
+
+ //Print Message
+ print "Worksheet unprotected successfully.";
+
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/SecurityFeatures/UnprotectingSimplyProtectedWorksheet.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/SecurityFeatures/UnprotectingSimplyProtectedWorksheet.php
new file mode 100644
index 00000000..4b6148f7
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/SecurityFeatures/UnprotectingSimplyProtectedWorksheet.php
@@ -0,0 +1,39 @@
+getWorksheets();
+ $worksheet = $worksheets->get(0);
+
+ $protection = $worksheet->getProtection();
+
+ //The following 3 methods are only for Excel 2000 and earlier formats
+ $protection->setAllowEditingContent(false);
+ $protection->setAllowEditingObject(false);
+ $protection->setAllowEditingScenario(false);
+
+ //Unprotecting the worksheet
+ $worksheet->unprotect();
+
+ // Save the excel file.
+ $workbook->save($dataDir . "output.xls", $filesFormatType->EXCEL_97_TO_2003);
+
+ //Print Message
+ print "Worksheet unprotected successfully." . PHP_EOL;
+
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/ValueFeatures/CopyingAndMovingWorksheets.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/ValueFeatures/CopyingAndMovingWorksheets.php
new file mode 100644
index 00000000..d7bec466
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/ValueFeatures/CopyingAndMovingWorksheets.php
@@ -0,0 +1,54 @@
+getWorksheets();
+
+ # Copy data to a new sheet from an existing sheet within the Workbook.
+ $sheets->addCopy("Sheet1");
+
+ # Saving the modified Excel file in default (that is Excel 2003) format
+ $workbook->save($dataDir . "Copy Worksheet.xls");
+
+ print "Copy worksheet, please check the output file." . PHP_EOL;
+
+ }
+
+ public static function move_worksheet($dataDir=null, $workbook=null)
+ {
+
+ # Get the first worksheet in the book.
+ $sheet = $workbook->getWorksheets()->get(0);
+
+ # Move the first sheet to the third position in the workbook.
+ $sheet->moveTo(2);
+
+ # Saving the modified Excel file in default (that is Excel 2003) format
+ $workbook->save($dataDir . "Move Worksheet.xls");
+
+ print "Move worksheet, please check the output file." . PHP_EOL;
+
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/ValueFeatures/ManagingPageBreaks.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/ValueFeatures/ManagingPageBreaks.php
new file mode 100644
index 00000000..7ae623e3
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/WorkingWithWorksheets/ValueFeatures/ManagingPageBreaks.php
@@ -0,0 +1,75 @@
+getWorksheets();
+ $worksheet = $worksheets->get(0);
+
+ $h_page_breaks = $worksheet->getHorizontalPageBreaks();
+ $h_page_breaks->add("Y30");
+
+ $v_page_breaks = $worksheet->getVerticalPageBreaks();
+ $v_page_breaks->add("Y30");
+
+ # Saving the modified Excel file in default (that is Excel 2003) format
+ $workbook->save($dataDir . "Add Page Breaks.xls");
+
+ print "Add page breaks, please check the output file." . PHP_EOL;
+
+ }
+
+ public static function clear_all_page_breaks($dataDir=null, $workbook)
+ {
+
+ $workbook->getWorksheets()->get(0)->getHorizontalPageBreaks()->clear();
+ $workbook->getWorksheets()->get(0)->getVerticalPageBreaks()->clear();
+
+ # Saving the modified Excel file in default (that is Excel 2003) format
+ $workbook->save($dataDir . "Clear All Page Breaks.xls");
+
+ print "Clear all page breaks, please check the output file." . PHP_EOL;
+
+ }
+
+ public static function remove_page_break($dataDir=null, $workbook)
+ {
+
+ $worksheets = $workbook->getWorksheets();
+ $worksheet = $worksheets->get(0);
+
+ $h_page_breaks = $worksheet->getHorizontalPageBreaks();
+ $h_page_breaks->removeAt(0);
+
+ $v_page_breaks = $worksheet->getVerticalPageBreaks();
+ $v_page_breaks->removeAt(0);
+
+ # Saving the modified Excel file in default (that is Excel 2003) format
+ $workbook->save($dataDir . "Remove Page Break.xls");
+
+ print "Remove page break, please check the output file." . PHP_EOL;
+
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/quickstart/HelloWorld.php b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/quickstart/HelloWorld.php
new file mode 100644
index 00000000..ed733fe5
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/src/aspose/cells/quickstart/HelloWorld.php
@@ -0,0 +1,44 @@
+Document = $doc;
+
+ $builder->Write("Hello world!");
+
+ $doc->Save("./data/HelloWorld Out.docx");
+
+
+ /*$ptr= new \COM("Aspose.Words.ComHelper")or die('Unable to load helper');
+
+ $doc = $ptr->New("Document",array());
+
+ $builder = $ptr->New("Aspose.Words.DocumentBuilder",array($doc));
+
+ $builder->Writeln("Hello World!");
+
+ $doc->Save("./data/HelloWorld Out.docx");*/
+
+
+ }
+
+}
\ No newline at end of file
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/Book1.xls b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/Book1.xls
new file mode 100755
index 00000000..6321698b
Binary files /dev/null and b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/Book1.xls differ
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/Book1.xlsx b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/Book1.xlsx
new file mode 100755
index 00000000..69a9cb55
Binary files /dev/null and b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/Book1.xlsx differ
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/Book1TabDelimited.txt b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/Book1TabDelimited.txt
new file mode 100755
index 00000000..9eb1f3d6
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/Book1TabDelimited.txt
@@ -0,0 +1,10 @@
+My Data
+
+Items A Items B Items C Items D Items E Items F Items G Items H
+12 23 33 66 11 87 99 33
+23 22 33 77 31 22 45 56
+34 11 12 23 22 34 11 12
+45 43 54 88 36 45 45 37
+65 65 65 65 13 65 9 35
+34 22 27 22 32 23 23 32
+213 186 224 341 145 276 232 205
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/Book2.xls b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/Book2.xls
new file mode 100755
index 00000000..94cebf76
Binary files /dev/null and b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/Book2.xls differ
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/Book3.xml b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/Book3.xml
new file mode 100755
index 00000000..201fb53a
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/Book3.xml
@@ -0,0 +1,237 @@
+
+
+
+
+ Amjad
+ iqbal
+ 2009-01-28T10:29:45Z
+ 2009-01-28T10:29:21Z
+ 2013-04-02T05:54:03Z
+ pc
+ 15.00
+
+
+
+
+
+ 8955
+ 13275
+ 480
+ 120
+ 2
+ False
+ False
+
+
+
+
+
+
+
+
+
+
+
+
+
+ My Data |
+
+
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+
+
+ Items A |
+ Items B |
+ Items C |
+ Items D |
+ Items E |
+ Items F |
+ Items G |
+ Items H |
+
+
+ 12 |
+ 23 |
+ 33 |
+ 66 |
+ 11 |
+ 87 |
+ 99 |
+ 33 |
+
+
+ 23 |
+ 22 |
+ 33 |
+ 77 |
+ 31 |
+ 22 |
+ 45 |
+ 56 |
+
+
+ 34 |
+ 11 |
+ 12 |
+ 23 |
+ 22 |
+ 34 |
+ 11 |
+ 12 |
+
+
+ 45 |
+ 43 |
+ 54 |
+ 88 |
+ 36 |
+ 45 |
+ 45 |
+ 37 |
+
+
+ 65 |
+ 65 |
+ 65 |
+ 65 |
+ 13 |
+ 65 |
+ 9 |
+ 35 |
+
+
+ 34 |
+ 22 |
+ 27 |
+ 22 |
+ 32 |
+ 23 |
+ 23 |
+ 32 |
+
+
+ 213 |
+ 186 |
+ 224 |
+ 341 |
+ 145 |
+ 276 |
+ 232 |
+ 205 |
+
+
+
+
+
+ 300
+ 300
+
+
+
+ 3
+ 16
+ 7
+
+
+ False
+ False
+
+
+
+
+
+ Sheet 2 Contents go here … |
+
+
+
+
+
+ 3
+ 10
+ 2
+
+
+ False
+ False
+
+
+
+
+
+ Sheet 3 Contents go here … |
+
+
+
+
+
+
+ 3
+ 3
+
+
+ False
+ False
+
+
+
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/Book_CSV.csv b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/Book_CSV.csv
new file mode 100755
index 00000000..1fe48d12
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/Book_CSV.csv
@@ -0,0 +1,10 @@
+My Data,,,,,,,
+,,,,,,,
+Items A,Items B,Items C,Items D,Items E,Items F,Items G,Items H
+12,23,33,66,11,87,99,33
+23,22,33,77,31,22,45,56
+34,11,12,23,22,34,11,12
+45,43,54,88,36,45,45,37
+65,65,65,65,13,65,9,35
+34,22,27,22,32,23,23,32
+213,186,224,341,145,276,232,205
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/Book_Excel2007.xlsx b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/Book_Excel2007.xlsx
new file mode 100755
index 00000000..69a9cb55
Binary files /dev/null and b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/Book_Excel2007.xlsx differ
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/Book_Excel97_2003.xls b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/Book_Excel97_2003.xls
new file mode 100755
index 00000000..5ddb78de
Binary files /dev/null and b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/Book_Excel97_2003.xls differ
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/encryptedBook.xls b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/encryptedBook.xls
new file mode 100755
index 00000000..a3ac0bf7
Binary files /dev/null and b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/OpeningFiles/encryptedBook.xls differ
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/SavingFiles/book.default.out.xls b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/SavingFiles/book.default.out.xls
new file mode 100644
index 00000000..77747122
Binary files /dev/null and b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/SavingFiles/book.default.out.xls differ
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/SavingFiles/book.out.xls b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/SavingFiles/book.out.xls
new file mode 100644
index 00000000..667ceee1
Binary files /dev/null and b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/SavingFiles/book.out.xls differ
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/SavingFiles/book.out.xlsx b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/SavingFiles/book.out.xlsx
new file mode 100644
index 00000000..7bf7a189
Binary files /dev/null and b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/SavingFiles/book.out.xlsx differ
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/SavingFiles/book.out.xml b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/SavingFiles/book.out.xml
new file mode 100644
index 00000000..f7977198
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/SavingFiles/book.out.xml
@@ -0,0 +1,357 @@
+
+
+ 6
+
+
+ Amjad
+ pc
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ My Data
+ |
+
+
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+
+
+ Items A
+ |
+ Items B
+ |
+ Items C
+ |
+ Items D
+ |
+ Items E
+ |
+ Items F
+ |
+ Items G
+ |
+ Items H
+ |
+
+
+ 12
+ |
+ 23
+ |
+ 33
+ |
+ 66
+ |
+ 11
+ |
+ 87
+ |
+ 99
+ |
+ 33
+ |
+
+
+ 23
+ |
+ 22
+ |
+ 33
+ |
+ 77
+ |
+ 31
+ |
+ 22
+ |
+ 45
+ |
+ 56
+ |
+
+
+ 34
+ |
+ 11
+ |
+ 12
+ |
+ 23
+ |
+ 22
+ |
+ 34
+ |
+ 11
+ |
+ 12
+ |
+
+
+ 45
+ |
+ 43
+ |
+ 54
+ |
+ 88
+ |
+ 36
+ |
+ 45
+ |
+ 45
+ |
+ 37
+ |
+
+
+ 65
+ |
+ 65
+ |
+ 65
+ |
+ 65
+ |
+ 13
+ |
+ 65
+ |
+ 9
+ |
+ 35
+ |
+
+
+ 34
+ |
+ 22
+ |
+ 27
+ |
+ 22
+ |
+ 32
+ |
+ 23
+ |
+ 23
+ |
+ 32
+ |
+
+
+ 213
+ |
+ 186
+ |
+ 224
+ |
+ 341
+ |
+ 145
+ |
+ 276
+ |
+ 232
+ |
+ 205
+ |
+
+
+
+
+
+
+ 119
+
+
+
+ 3
+ 16
+ 7
+ R17C8
+
+
+
+
+
+
+
+
+ Sheet 2 Contents go here …
+ |
+
+
+
+
+
+ 9
+ 2
+ 2
+
+
+
+ 3
+ 10
+ 2
+ R11C3
+
+
+
+
+
+
+
+
+ Sheet 3 Contents go here …
+ |
+
+
+
+
+
+ 9
+ 2
+ 2
+
+
+
+ 3
+ 3
+ R4C1
+
+
+
+
+
+
+
+
+ Evaluation Only. Created with Aspose.Cells for Java.Copyright 2003 - 2015 Aspose Pty Ltd.
+ |
+
+
+
+
+
+ 9
+
+
+
+
+
+
+
+ Evaluation Only. Created with Aspose.Cells for Java.Copyright 2003 - 2015 Aspose Pty Ltd.
+ |
+
+
+
+
+
+ 9
+
+
+
+
+
+
+
+ Evaluation Only. Created with Aspose.Cells for Java.Copyright 2003 - 2015 Aspose Pty Ltd.
+ |
+
+
+
+
+
+ 9
+
+
+
+
+
+
+
+ Evaluation Only. Created with Aspose.Cells for Java.Copyright 2003 - 2015 Aspose Pty Ltd.
+ |
+
+
+
+
+
+ 9
+
+
+
+
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/SavingFiles/book.xls b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/SavingFiles/book.xls
new file mode 100755
index 00000000..4c0508ac
Binary files /dev/null and b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/FileHandlingFeatures/SavingFiles/book.xls differ
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/UtilityFeatures/ChartToImage/Chart.emf b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/UtilityFeatures/ChartToImage/Chart.emf
new file mode 100755
index 00000000..b6bd1946
Binary files /dev/null and b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/UtilityFeatures/ChartToImage/Chart.emf differ
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/UtilityFeatures/ConvertingExcelFilesToHtml/Book1.xls b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/UtilityFeatures/ConvertingExcelFilesToHtml/Book1.xls
new file mode 100644
index 00000000..cfb06816
Binary files /dev/null and b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/UtilityFeatures/ConvertingExcelFilesToHtml/Book1.xls differ
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/UtilityFeatures/ConvertingExcelFilesToHtml/OutBook1.html b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/UtilityFeatures/ConvertingExcelFilesToHtml/OutBook1.html
new file mode 100644
index 00000000..5f0ae8e4
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/UtilityFeatures/ConvertingExcelFilesToHtml/OutBook1.html
@@ -0,0 +1,342 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ This page uses frames, but your browser doesn't support them.
+
+
+
+
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/UtilityFeatures/ConvertingToMhtmlFiles/Book1.xlsx b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/UtilityFeatures/ConvertingToMhtmlFiles/Book1.xlsx
new file mode 100755
index 00000000..69a9cb55
Binary files /dev/null and b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/UtilityFeatures/ConvertingToMhtmlFiles/Book1.xlsx differ
diff --git a/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/UtilityFeatures/ConvertingToMhtmlFiles/Book1.xlsx.out.mht b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/UtilityFeatures/ConvertingToMhtmlFiles/Book1.xlsx.out.mht
new file mode 100644
index 00000000..0ba40c69
--- /dev/null
+++ b/Plugins/Aspose_Cells_Java_for_PHP/tests/data/WorkingWithFiles/UtilityFeatures/ConvertingToMhtmlFiles/Book1.xlsx.out.mht
@@ -0,0 +1,2040 @@
+MIME-Version: 1.0
+X-Document-Type: Workbook
+Content-Type: multipart/related; boundary="----=_NextPart_aspose01.20120615"
+
+This document is a Single File Web Page, also known as a Web Archive file. If you are seeing this message, your browser or editor doesn't support Web Archive files. Please download a browser that supports Web Archive, such as Windows Internet Explorer.
+
+------=_NextPart_aspose01.20120615
+Content-Location:file:///C:/aspose01/Book1.xlsx.out.htm
+Content-Transfer-Encoding:quoted-printable
+Content-Type:text/html; charset="UTF-8"
+
+
+
+
+
+
+
+
+
+
+<=
+link rel=3dFile-List href=3d"Book1.xlsx.out_files/filelist.xml">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ This page uses frames, but your browser doesn't support them.<=
+/p>
+
+
+
+