diff --git a/Plugins/Aspose-Cells-Java-for-Python/README.md b/Plugins/Aspose-Cells-Java-for-Python/README.md
new file mode 100644
index 00000000..49f438a2
--- /dev/null
+++ b/Plugins/Aspose-Cells-Java-for-Python/README.md
@@ -0,0 +1,22 @@
+## Aspose.Cells Java for Python
+
+Aspose.Cells Java for Python is a project that demonstrates / provides the Aspose.Cells for Java API usage examples in Python.
+
+## Download
+
+* To download Aspose.Cells for Java API to be used with these examples, Please navigate to [Aspose.Cells for Java](http://www.aspose.com/community/files/72/excel-components/aspose.cells-for-java/)
+* Place downloaded jar file into "lib" directory.
+
+## Documentation
+
+For most complete documentation of the project, check [Aspose.Cells Java For Python confluence wiki](http://www.aspose.com/docs/display/cellsjava/Aspose.Cells+Java+for+Python).
+
+## Download Latest Versions?
+
+* [Latest Releases on Codeplex](http://asposecellsjavapython.codeplex.com/releasesce)
+
+## Clone Plugin SourceCodes?
+
+This project is also hosted and maintained at CodePlex. To clone navigate to:
+
+* [Aspose.Cells Java for Python on CodePlex - click here](https://asposecellsjavapython.codeplex.com/SourceControl/latest)
diff --git a/Plugins/Aspose-Cells-Java-for-Python/WorkingWithFiles/__init__.py b/Plugins/Aspose-Cells-Java-for-Python/WorkingWithFiles/__init__.py
new file mode 100644
index 00000000..e8f669bc
--- /dev/null
+++ b/Plugins/Aspose-Cells-Java-for-Python/WorkingWithFiles/__init__.py
@@ -0,0 +1,494 @@
+__author__ = 'fahadadeel'
+import jpype
+
+class ChartToImage:
+
+ def __init__(self,dataDir):
+
+ self.dataDir = dataDir
+ self.Workbook = jpype.JClass("com.aspose.cells.Workbook")
+ self.ChartType = jpype.JClass("com.aspose.cells.ChartType")
+ self.ImageOrPrintOptions = jpype.JClass("com.aspose.cells.ImageOrPrintOptions")
+ self.ImageFormat = jpype.JClass("com.aspose.cells.ImageFormat")
+ self.FileOutputStream = jpype.JClass("java.io.FileOutputStream")
+ self.Color = jpype.JClass("java.awt.Color")
+
+ def main(self):
+
+ chartType = self.ChartType
+ color = self.Color
+ imageFormat = self.ImageFormat
+
+ #Create a Workbook+
+ workbook = self.Workbook()
+
+ #Get the first worksheet+
+ sheet = workbook.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)
+ #print(self.Color.getWhite())
+
+ point.getArea().setForegroundColor(self.Color.white())
+
+ point = chartPoints.get(1)
+ point.getArea().setForegroundColor(self.Color.getBlue())
+
+ point = chartPoints.get(2)
+ point.getArea().setForegroundColor(self.Color.getYellow())
+
+ point = chartPoints.get(3)
+ point.getArea().setForegroundColor(self.Color.getRed())
+
+ point = chartPoints.get(4)
+ point.getArea().setForegroundColor(self.Color.getBlack())
+
+ point = chartPoints.get(5)
+ point.getArea().setForegroundColor(self.Color.getGreen())
+
+ point = chartPoints.get(6)
+ point.getArea().setForegroundColor(self.Color.getMaroon())
+
+ #Set the legend invisible
+ chart.setShowLegend(false)
+
+
+
+ #Get the Chart image
+ imgOpts = self.ImageOrPrintOptions()
+ imgOpts.setImageFormat(imageFormat.getEmf())
+
+ fs = FileOutputStream(dataDir + "Chart.emf")
+
+ #Save the chart image file+
+ chart.toImage(fs, imgOpts)
+
+ fs.close()
+
+ # Print message
+ print("
")
+ print("Processing performed successfully")
+
+class ConvertingExcelFilesToHtml:
+
+ def __init__(self,dataDir):
+
+ self.dataDir = dataDir
+ self.Workbook = jpype.JClass("com.aspose.cells.Workbook")
+ self.SaveFormat = jpype.JClass("com.aspose.cells.SaveFormat")
+
+
+ def main(self):
+
+ saveFormat = self.SaveFormat
+
+ workbook = self.Workbook(self.dataDir + "Book1.xls")
+
+ #Save the document in PDF format
+ workbook.save(self.dataDir + "OutBook1.html", saveFormat.HTML)
+
+ # Print message
+ print "\n Excel to HTML conversion performed successfully."
+
+class ConvertingToMhtmlFiles:
+
+ def __init__(self,dataDir):
+ self.dataDir = dataDir
+ self.Workbook = jpype.JClass("com.aspose.cells.Workbook")
+ self.HtmlSaveOptions = jpype.JClass("com.aspose.cells.HtmlSaveOptions")
+ self.SaveFormat = jpype.JClass("com.aspose.cells.SaveFormat")
+
+ def main(self):
+
+ saveFormat = self.SaveFormat
+
+ #Specify the file path
+ filePath = self.dataDir + "Book1.xlsx"
+
+ #Specify the HTML saving options
+ sv = self.HtmlSaveOptions(saveFormat.M_HTML)
+
+ #Instantiate a workbook and open the template XLSX file
+ wb = self.Workbook(filePath)
+
+ #Save the MHT file
+ wb.save(filePath + ".out.mht", sv)
+
+ # Print message
+ print "Excel to MHTML conversion performed successfully."
+
+class ConvertingToXPS:
+
+ def __init__(self,dataDir):
+ self.dataDir = dataDir
+ self.Workbook = jpype.JClass("com.aspose.cells.Workbook")
+ self.ImageFormat = jpype.JClass("com.aspose.cells.ImageFormat")
+ self.ImageOrPrintOptions = jpype.JClass("com.aspose.cells.ImageOrPrintOptions")
+ self.SheetRender = jpype.JClass("com.aspose.cells.SheetRender")
+ self.SaveFormat = jpype.JClass("com.aspose.cells.SaveFormat")
+
+ def main(self):
+
+ saveFormat = self.SaveFormat
+
+ workbook = self.Workbook(self.dataDir + "Book1.xls")
+
+ #Get the first worksheet.
+ sheet = workbook.getWorksheets().get(0)
+
+ #Apply different Image and Print options
+ options = self.ImageOrPrintOptions()
+
+ #Set the Format
+ options.setSaveFormat(saveFormat.XPS)
+
+ # Render the sheet with respect to specified printing options
+ sr = self.SheetRender(sheet, options)
+ sr.toImage(0, self.dataDir + "out_printingxps.xps")
+
+ #Save the complete Workbook in XPS format
+ workbook.save(self.dataDir + "out_whole_printingxps", saveFormat.XPS)
+
+ # Print message
+ print "Excel to XPS conversion performed successfully."
+
+class ConvertingWorksheetToSVG:
+
+ def __init__(self,dataDir):
+ self.dataDir = dataDir
+ self.Workbook = jpype.JClass("com.aspose.cells.Workbook")
+ self.ImageFormat = jpype.JClass("com.aspose.cells.ImageFormat")
+ self.ImageOrPrintOptions = jpype.JClass("com.aspose.cells.ImageOrPrintOptions")
+ self.SheetRender = jpype.JClass("com.aspose.cells.SheetRender")
+ self.SaveFormat = jpype.JClass("com.aspose.cells.SaveFormat")
+
+ def main(self):
+
+ saveFormat = self.SaveFormat
+
+ workbook = self.Workbook(self.dataDir + "Book1.xls")
+
+ #Convert each worksheet into svg format in a single page.
+ imgOptions = ImageOrPrintOptions()
+ imgOptions.setSaveFormat(saveFormat.SVG)
+ imgOptions.setOnePagePerSheet(True)
+
+ #Convert each worksheet into svg format
+ sheetCount = workbook.getWorksheets().getCount()
+
+ #for(i=0; i
");
+ print ("Encrypted workbook has been opened successfully.");
+
+class SavingFiles:
+ def __init__(self,dataDir):
+ self.dataDir = dataDir
+ self.Workbook = jpype.JClass("com.aspose.cells.Workbook")
+ self.FileFormatType = jpype.JClass("com.aspose.cells.FileFormatType")
+
+ def main(self):
+
+ fileFormatType = self.FileFormatType
+
+
+ #Creating an Workbook object with an Excel file path
+ workbook = self.Workbook(self.dataDir + "Book1.xls")
+ #Save in default (Excel2003) format
+ workbook.save(self.dataDir + "book.default.out.xls")
+
+ #Save in Excel2003 format
+ workbook.save(self.dataDir + "book.out.xls", fileFormatType.EXCEL_97_TO_2003)
+
+ #Save in Excel2007 xlsx format
+ workbook.save(self.dataDir + "book.out.xlsx", fileFormatType.XLSX)
+
+ #Save in SpreadsheetML format
+ workbook.save(self.dataDir + "book.out.xml", fileFormatType.EXCEL_2003_XML)
+
+ #Print Message
+ print("
")
+ print("Worksheets are saved successfully.")
+
+class WorksheetToImage:
+
+ def __init__(self,dataDir):
+ self.dataDir = dataDir
+ self.Workbook = jpype.JClass("com.aspose.cells.Workbook")
+ self.ImageFormat = jpype.JClass("com.aspose.cells.ImageFormat")
+ self.ImageOrPrintOptions = jpype.JClass("com.aspose.cells.ImageOrPrintOptions")
+ self.SheetRender = jpype.JClass("com.aspose.cells.SheetRender")
+
+ def main(self):
+
+ imageFormat = self.ImageFormat
+
+ #Instantiate a workbook with path to an Excel file
+ book = self.Workbook(self.dataDir + "Book1.xls")
+
+ #Create an object for ImageOptions
+ imgOptions = self.ImageOrPrintOptions()
+
+ #Set the image type
+ imgOptions.setImageFormat(imageFormat.getPng())
+
+ #Get the first worksheet.
+ sheet = book.getWorksheets().get(0)
+
+ #Create a SheetRender object for the target sheet
+ sr =self.SheetRender(sheet, imgOptions)
+ for i in range(sr.getPageCount()):
+
+ #Generate an image for the worksheet
+ sr.toImage(i, self.dataDir + "mysheetimg" + ".png")
+
+
+ # Print message
+ print "Images generated successfully."
\ No newline at end of file
diff --git a/Plugins/Aspose-Cells-Java-for-Python/WorkingWithFiles/__init__.pyc b/Plugins/Aspose-Cells-Java-for-Python/WorkingWithFiles/__init__.pyc
new file mode 100644
index 00000000..85cc3e91
Binary files /dev/null and b/Plugins/Aspose-Cells-Java-for-Python/WorkingWithFiles/__init__.pyc differ
diff --git a/Plugins/Aspose-Cells-Java-for-Python/WorkingWithRowsAndColumns/__init__.py b/Plugins/Aspose-Cells-Java-for-Python/WorkingWithRowsAndColumns/__init__.py
new file mode 100644
index 00000000..0ac2cb35
--- /dev/null
+++ b/Plugins/Aspose-Cells-Java-for-Python/WorkingWithRowsAndColumns/__init__.py
@@ -0,0 +1,397 @@
+__author__ = 'fahadadeel'
+import jpype
+
+class RowsAndColumns:
+
+ def __init__(self,dataDir):
+
+ self.dataDir = dataDir
+ self.Workbook = jpype.JClass("com.aspose.cells.Workbook")
+
+ def main(self):
+
+ # Inserting a Row
+ self.insert_row()
+
+ # Inserting Multiple Rows
+ self.insert_multiple_rows()
+
+ # Deleting a Row
+ self.delete_row()
+
+ # Deleting Multiple Rows
+ self.delete_multiple_rows()
+
+ # Inseting one or Multiple Columns
+ self.insert_column()
+
+ # Deleting a Column
+ self.delete_column()
+
+ # Hiding Rows and Columns
+ self.hide_rows_columns()
+
+ # Showing Rows and Columns
+ self.unhide_rows_columns()
+
+ # Grouping Rows & Columns
+ self.group_rows_columns()
+
+ # Ungrouping Rows & Columns
+ self.ungroup_rows_columns()
+
+ # Setting the Row Height
+ self.set_row_height()
+
+ # Setting the Width of a Column
+ self.set_column_width()
+
+ # Auto Fit Row
+ self.autofit_row()
+
+ # Auto Fit Column
+ self.autofit_column()
+
+ # Copying Rows
+ self.copy_rows()
+
+ # Copying Columns
+ self.copy_columns()
+
+ def insert_row(self):
+
+ # Instantiating a Workbook object by excel file path
+ workbook = self.Workbook(self.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,1)
+
+ # Saving the modified Excel file in default (that is Excel 2003) format
+ workbook.save(self.dataDir + "Insert Row.xls")
+
+ print "Insert Row Successfully."
+
+
+
+ def insert_multiple_rows(self):
+
+ # Instantiating a Workbook object by excel file path
+ workbook = self.Workbook(self.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(self.dataDir + "Insert Multiple Rows.xls")
+
+ print "Insert Multiple Rows Successfully."
+
+
+
+ def delete_row(self):
+
+ # Instantiating a Workbook object by excel file path
+ workbook = self.Workbook(self.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(self.dataDir + "Delete Row.xls")
+
+ print "Delete Row Successfully."
+
+
+
+ def delete_multiple_rows(self):
+
+ # Instantiating a Workbook object by excel file path
+ workbook = self.Workbook(self.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(self.dataDir + "Delete Multiple Rows.xls")
+
+ print "Delete Multiple Rows Successfully."
+
+
+
+ def insert_column(self):
+
+ # Instantiating a Workbook object by excel file path
+ workbook = self.Workbook(self.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(self.dataDir + "Insert Column.xls")
+
+ print "Insert Column Successfully."
+
+
+
+ def delete_column(self):
+
+ # Instantiating a Workbook object by excel file path
+ workbook = self.Workbook(self.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(self.dataDir + "Delete Column.xls")
+
+ print "Delete Column Successfully."
+
+
+
+ def hide_rows_columns(self):
+
+ # Instantiating a Workbook object by excel file path
+ workbook = self.Workbook(self.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(self.dataDir + "Hide Rows And Columns.xls")
+
+ print "Hide Rows And Columns Successfully."
+
+
+
+ def unhide_rows_columns(self):
+
+ # Instantiating a Workbook object by excel file path
+ workbook = self.Workbook(self.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(self.dataDir + "Unhide Rows And Columns.xls")
+
+ print "Unhide Rows And Columns Successfully."
+
+
+
+ def group_rows_columns(self):
+
+ # Instantiating a Workbook object by excel file path
+ workbook = self.Workbook(self.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(self.dataDir + "Group Rows And Columns.xls")
+
+ print "Group Rows And Columns Successfully."
+
+
+
+ def ungroup_rows_columns(self):
+
+ # Instantiating a Workbook object by excel file path
+ workbook = self.Workbook(self.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(self.dataDir + "Ungroup Rows And Columns.xls")
+
+ print "Ungroup Rows And Columns Successfully."
+
+
+
+ def set_row_height(self):
+
+ # Instantiating a Workbook object by excel file path
+ workbook = self.Workbook(self.self.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(self.dataDir + "Set Row Height.xls")
+
+ print "Set Row Height Successfully."
+
+
+
+ def set_column_width(self):
+
+ # Instantiating a Workbook object by excel file path
+ workbook = self.Workbook(self.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(self.dataDir + "Set Column Width.xls")
+
+ print "Set Column Width Successfully."
+
+
+
+ def autofit_row(self):
+
+ # Instantiating a Workbook object by excel file path
+ workbook = self.Workbook(self.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(self.dataDir + "Autofit Row.xls")
+
+ print "Autofit Row Successfully."
+
+
+
+ def autofit_column(self):
+
+ # Instantiating a Workbook object by excel file path
+ workbook = self.Workbook(self.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(self.dataDir + "Autofit Column.xls")
+
+ print "Autofit Column Successfully."
+
+
+
+ def copy_rows(self):
+
+ # Instantiating a Workbook object by excel file path
+ workbook = self.Workbook(self.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(self.dataDir + "Copy Rows.xls")
+
+ print "Copy Rows Successfully."
+
+
+
+ def copy_columns(self):
+
+ # Instantiating a Workbook object by excel file path
+ workbook = self.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")
+
+
+
+
+
+ # Put some detail data (A5:A999)
+ i = 5
+ while i < 1000:
+ worksheet.getCells().get(i, 0).setValue("Detail Row #i")
+
+
+ # Create another Workbook.
+ workbook1 = 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(self.dataDir + "Copy Columns.xls")
+
+ print "Copy Columns Successfully."
\ No newline at end of file
diff --git a/Plugins/Aspose-Cells-Java-for-Python/WorkingWithRowsAndColumns/__init__.pyc b/Plugins/Aspose-Cells-Java-for-Python/WorkingWithRowsAndColumns/__init__.pyc
new file mode 100644
index 00000000..dee067b3
Binary files /dev/null and b/Plugins/Aspose-Cells-Java-for-Python/WorkingWithRowsAndColumns/__init__.pyc differ
diff --git a/Plugins/Aspose-Cells-Java-for-Python/WorkingWithWorksheets/__init__.py b/Plugins/Aspose-Cells-Java-for-Python/WorkingWithWorksheets/__init__.py
new file mode 100644
index 00000000..09b1b15e
--- /dev/null
+++ b/Plugins/Aspose-Cells-Java-for-Python/WorkingWithWorksheets/__init__.py
@@ -0,0 +1,556 @@
+__author__ = 'fahadadeel'
+import jpype
+
+class AddingWorksheetstoNewExcelFile:
+
+ def __init__(self,dataDir):
+
+ self.dataDir = dataDir
+ self.Workbook = jpype.JClass("com.aspose.cells.Workbook")
+ self.SaveFormat = jpype.JClass("com.aspose.cells.SaveFormat")
+
+ def main(self):
+
+ workbook = self.Workbook(self.dataDir + "Book1.xls")
+
+ #Adding a new worksheet to the Workbook object
+ worksheets = workbook.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(self.dataDir + "book.out.xls")
+
+ #Print Message
+ print "Sheet added successfully."
+
+class CopyingAndMovingWorksheets:
+
+ def __init__(self,dataDir):
+
+ self.dataDir = dataDir
+ self.Workbook = jpype.JClass("com.aspose.cells.Workbook")
+ self.SaveFormat = jpype.JClass("com.aspose.cells.SaveFormat")
+
+ def main(self):
+
+ # Copy Worksheets within a Workbook
+ self.copy_worksheet()
+
+ # Move Worksheets within Workbook
+ self.move_worksheet()
+
+ def copy_worksheet(self):
+
+ # Instantiating a Workbook object by excel file path
+ workbook = self.Workbook(self.dataDir + "Book1.xls")
+
+
+ # Create a Worksheets object with reference to the sheets of the Workbook.
+ sheets = workbook.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(self.dataDir + "Copy Worksheet.xls")
+
+ print "Copy worksheet, please check the output file."
+
+
+
+ def move_worksheet(self):
+
+ # Instantiating a Workbook object by excel file path
+ workbook = self.Workbook(self.dataDir + "Book1.xls")
+
+
+ # 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(self.dataDir + "Move_Worksheet.xls")
+
+ print "Move worksheet, please check the output file."
+
+class DisplayHideGridlines:
+
+ def __init__(self,dataDir):
+
+ self.dataDir = dataDir
+ self.Workbook = jpype.JClass("com.aspose.cells.Workbook")
+ self.SaveFormat = jpype.JClass("com.aspose.cells.SaveFormat")
+
+ def main(self):
+
+ workbook = self.Workbook(self.dataDir + "Book1.xls")
+
+ #Accessing the first worksheet in the Excel file
+ worksheets = workbook.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(self.dataDir + "output.xls")
+
+ # Print message
+ print "Grid lines are now hidden on sheet 1, please check the output document."
+
+class DisplayHideScrollBars:
+
+ def __init__(self,dataDir):
+
+ self.dataDir = dataDir
+ self.Workbook = jpype.JClass("com.aspose.cells.Workbook")
+
+ def main(self):
+
+ workbook = self.Workbook(self.dataDir + "Book1.xls")
+
+ #Hiding the vertical scroll bar of the Excel file
+ workbook.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(self.dataDir + "output.xls")
+
+ # Print message
+ print "Scroll bars are now hidden, please check the output document."
+
+class DisplayHideTabs:
+
+ def __init__(self,dataDir):
+
+ self.dataDir = dataDir
+ self.Workbook = jpype.JClass("com.aspose.cells.Workbook")
+
+ def main(self):
+
+ workbook = self.Workbook(self.dataDir + "Book1.xls")
+
+ #Hiding the tabs of the Excel file
+ workbook.getSettings().setShowTabs(False)
+
+ #Saving the modified Excel file in default (that is Excel 2003) format
+ workbook.save(self.dataDir + "output.xls")
+
+ # Print message
+ print "Tabs are now hidden, please check the output file."
+
+class FreezePanes:
+
+ def __init__(self,dataDir):
+
+ self.dataDir = dataDir
+ self.Workbook = jpype.JClass("com.aspose.cells.Workbook")
+
+ def main(self):
+
+ workbook = self.Workbook(self.dataDir + "Book1.xls")
+
+ #Accessing the first worksheet in the Excel file
+ worksheets = workbook.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(self.dataDir + "book.out.xls")
+
+ #Print Message
+ print "Panes freeze successfull."
+
+class HideUnhideWorksheet:
+
+ def __init__(self,dataDir):
+
+ self.dataDir = dataDir
+ self.Workbook = jpype.JClass("com.aspose.cells.Workbook")
+
+ def main(self):
+
+ workbook = self.Workbook(self.dataDir + "Book1.xls")
+
+ #Accessing the first worksheet in the Excel file
+ worksheets = workbook.getWorksheets()
+ worksheet = worksheets.get(0)
+
+ #Hiding the first worksheet of the Excel file
+ worksheet.setVisible(True)
+
+ #Saving the modified Excel file in default (that is Excel 2003) format
+ workbook.save(self.dataDir + "output.xls")
+
+ # Print message
+ print "Worksheet 1 is now hidden, please check the output document."
+
+class ManagingPageBreaks:
+
+ def __init__(self,dataDir):
+
+ self.dataDir = dataDir
+ self.Workbook = jpype.JClass("com.aspose.cells.Workbook")
+ self.SaveFormat = jpype.JClass("com.aspose.cells.SaveFormat")
+
+ def main(self):
+
+ # Adding Page Breaks
+ self.add_page_breaks()
+
+ # Clearing All Page Breaks
+ self.clear_all_page_breaks()
+
+ # Removing Specific Page Break
+ self.remove_page_break()
+
+ def add_page_breaks(self):
+
+ # Instantiating a Workbook object
+ workbook = self.Workbook(self.dataDir + "Book1.xls")
+
+ worksheets = workbook.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(self.dataDir + "Add Page Breaks.xls")
+
+ print "Add page breaks, please check the output file."
+
+
+
+ def clear_all_page_breaks(self):
+
+ # Instantiating a Workbook object
+ workbook = self.Workbook(self.dataDir + "Book1.xls")
+
+
+ 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(self.dataDir + "Clear All Page Breaks.xls")
+
+ print "Clear all page breaks, please check the output file."
+
+
+
+ def remove_page_break(self):
+
+ # Instantiating a Workbook object
+ workbook = self.Workbook(self.dataDir + "Book1.xls")
+
+ 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(self.dataDir + "Remove Page Break.xls")
+
+ print "Remove page break, please check the output file."
+
+class PageBreakPreview:
+
+ def __init__(self,dataDir):
+
+ self.dataDir = dataDir
+ self.Workbook = jpype.JClass("com.aspose.cells.Workbook")
+
+ def main(self):
+
+ workbook = self.Workbook(self.dataDir + "Book1.xls")
+
+ #Adding a new worksheet to the Workbook object
+ worksheets = workbook.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(self.dataDir + "output.xls")
+
+ # Print message
+ print "Page break preview is enabled for sheet 1, please check the output document."
+
+class ProtectingWorksheet:
+
+ def __init__(self,dataDir):
+
+ self.dataDir = dataDir
+ self.Workbook = jpype.JClass("com.aspose.cells.Workbook")
+ self.SaveFormat = jpype.JClass("com.aspose.cells.SaveFormat")
+
+ def main(self):
+
+ #Instantiating a Excel object by excel file path
+ excel = self.Workbook(self.dataDir + "Book1.xls")
+
+ #Accessing the first worksheet in the Excel file
+ worksheets = excel.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(self.dataDir + "output.xls")
+
+ #Print Message
+ print "Sheet protected successfully."
+
+class RemovingWorksheetsusingSheetIndex:
+
+ def __init__(self,dataDir):
+
+ self.dataDir = dataDir
+ self.Workbook = jpype.JClass("com.aspose.cells.Workbook")
+ self.FileInputStream = jpype.JClass("java.io.FileInputStream")
+
+ def main(self):
+
+ fstream=self.FileInputStream(self.dataDir + "Book1.xls");
+
+ #Instantiating a Workbook object with the stream
+ workbook = self.Workbook(fstream)
+
+ #Removing a worksheet using its sheet index
+ workbook.getWorksheets().removeAt(0)
+
+ #Saving the Excel file
+ workbook.save(self.dataDir + "book.out.xls")
+
+ #Closing the file stream to free all resources
+ fstream.close()
+
+
+ #Print Message
+ print "Sheet removed successfully."
+
+class RemovingWorksheetsusingSheetName:
+
+ def __init__(self,dataDir):
+
+ self.dataDir = dataDir
+ self.Workbook = jpype.JClass("com.aspose.cells.Workbook")
+ self.FileInputStream = jpype.JClass("java.io.FileInputStream")
+
+ def main(self):
+
+ #Creating a file stream containing the Excel file to be opened
+ fstream = self.FileInputStream(self.dataDir + "Book1.xls");
+
+ #Instantiating a Workbook object with the stream
+ workbook = self.Workbook(fstream);
+
+ #Removing a worksheet using its sheet name
+ workbook.getWorksheets().removeAt("Sheet1");
+
+ #Saving the Excel file
+ workbook.save(self.dataDir + "book.out.xls");
+
+ #Closing the file stream to free all resources
+ fstream.close();
+
+ #Print Message
+ print "Sheet removed successfully.";
+
+class SettingPageOptions:
+
+ def __init__(self,dataDir):
+
+ self.dataDir = dataDir
+ self.Workbook = jpype.JClass("com.aspose.cells.Workbook")
+ self.PageOrientationType = jpype.JClass("com.aspose.cells.PageOrientationType")
+ self.FileInputStream = jpype.JClass("java.io.FileInputStream")
+
+ def main(self):
+
+ self.page_orientation()
+
+ self.scaling()
+
+ def page_orientation(self):
+
+ # Instantiating a Workbook object by excel file path
+ workbook = self.Workbook()
+
+ # Accessing the first worksheet in the Excel file
+ worksheets = workbook.getWorksheets()
+ sheet_index = worksheets.add()
+ sheet = worksheets.get(sheet_index)
+
+ # Setting the orientation to Portrait
+ page_setup = sheet.getPageSetup()
+ page_orientation_type = self.PageOrientationType
+ page_setup.setOrientation(page_orientation_type.PORTRAIT)
+
+ # Saving the modified Excel file in default (that is Excel 2003) format
+ workbook.save(self.dataDir + "Page_Orientation.xls")
+
+ print "Set page orientation, please check the output file."
+
+ def scaling(self):
+ # Instantiating a Workbook object by excel file path
+ workbook = self.Workbook(self.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(self.dataDir + "Scaling.xls")
+
+ print "Set scaling, please check the output file."
+
+class SplitPanes:
+
+ def __init__(self,dataDir):
+
+ self.dataDir = dataDir
+ self.Workbook = jpype.JClass("com.aspose.cells.Workbook")
+ self.SaveFormat = jpype.JClass("com.aspose.cells.SaveFormat")
+
+ def main(self):
+
+ saveFormat = self.SaveFormat;
+
+ workbook = self.Workbook(self.dataDir + "Book1.xls")
+
+ #Set the active cell
+ workbook.getWorksheets().get(0).setActiveCell("A20");
+
+ #Split the worksheet window
+ workbook.getWorksheets().get(0).split();
+
+ #Save the excel file
+ workbook.save(self.dataDir + "book.out.xls", saveFormat.EXCEL_97_TO_2003);
+
+ #Print Message
+ print "Panes split successfully."
+
+class UnprotectingPasswordProtectedWorksheet:
+
+ def __init__(self,dataDir):
+
+ self.dataDir = dataDir
+ self.Workbook = jpype.JClass("com.aspose.cells.Workbook")
+ self.SaveFormat = jpype.JClass("com.aspose.cells.SaveFormat")
+ self.FileFormatType = jpype.JClass("com.aspose.cells.FileFormatType")
+
+ def main(self):
+
+ filesFormatType = self.FileFormatType
+
+ #Instantiating a Workbook object
+ workbook = self.Workbook(self.dataDir + "book1.xls")
+
+ worksheets = workbook.getWorksheets()
+ worksheet = worksheets.get(0)
+
+ protection = worksheet.getProtection()
+
+ #Unprotecting the worksheet with a password
+ worksheet.unprotect("aspose")
+
+ # Save the excel file.
+ workbook.save(self.dataDir + "output.xls", filesFormatType.EXCEL_97_TO_2003)
+
+ #Print Message
+ print "Worksheet unprotected successfully."
+
+class UnprotectingSimplyProtectedWorksheet:
+
+ def __init__(self,dataDir):
+
+ self.dataDir = dataDir
+ self.Workbook = jpype.JClass("com.aspose.cells.Workbook")
+ self.SaveFormat = jpype.JClass("com.aspose.cells.SaveFormat")
+ self.FileFormatType = jpype.JClass("com.aspose.cells.FileFormatType")
+
+ def main(self):
+
+ filesFormatType = self.FileFormatType
+
+ #Instantiating a Workbook object
+ workbook = self.Workbook(self.dataDir + "Book1.xls")
+
+ worksheets = workbook.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(self.dataDir + "output.xls", filesFormatType.EXCEL_97_TO_2003)
+
+ #Print Message
+ print "Worksheet unprotected successfully."
+
+class ZoomFactor:
+
+ def __init__(self,dataDir):
+
+ self.dataDir = dataDir
+ self.Workbook = jpype.JClass("com.aspose.cells.Workbook")
+ self.SaveFormat = jpype.JClass("com.aspose.cells.SaveFormat")
+
+ def main(self):
+
+ workbook = self.Workbook(self.dataDir + "Book1.xls")
+
+ #Accessing the first worksheet in the Excel file
+ worksheets = workbook.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(self.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-Python/WorkingWithWorksheets/__init__.pyc b/Plugins/Aspose-Cells-Java-for-Python/WorkingWithWorksheets/__init__.pyc
new file mode 100644
index 00000000..b6a86920
Binary files /dev/null and b/Plugins/Aspose-Cells-Java-for-Python/WorkingWithWorksheets/__init__.pyc differ
diff --git a/Plugins/Aspose-Cells-Java-for-Python/aspose_cells_java_for_python.egg-info/PKG-INFO b/Plugins/Aspose-Cells-Java-for-Python/aspose_cells_java_for_python.egg-info/PKG-INFO
new file mode 100644
index 00000000..cd59110a
--- /dev/null
+++ b/Plugins/Aspose-Cells-Java-for-Python/aspose_cells_java_for_python.egg-info/PKG-INFO
@@ -0,0 +1,14 @@
+Metadata-Version: 1.1
+Name: aspose-cells-java-for-python
+Version: 1.0
+Summary: Aspose.cells Java for Python is a project that demonstrates / provides the Aspose.Cells for Java API usage examples in Python.
+Home-page: https://github.com/asposecells/Aspose_Cells_Java/tree/master/Plugins/Aspose-Cells-Java-for-Python
+Author: Fahad Adeel
+Author-email: cells@aspose.com
+License: UNKNOWN
+Description: UNKNOWN
+Platform: UNKNOWN
+Classifier: Programming Language :: Python
+Classifier: Programming Language :: Python :: 2
+Classifier: License :: OSI Approved :: MIT License
+Classifier: Operating System :: OS Independent
diff --git a/Plugins/Aspose-Cells-Java-for-Python/aspose_cells_java_for_python.egg-info/SOURCES.txt b/Plugins/Aspose-Cells-Java-for-Python/aspose_cells_java_for_python.egg-info/SOURCES.txt
new file mode 100644
index 00000000..8cbcf625
--- /dev/null
+++ b/Plugins/Aspose-Cells-Java-for-Python/aspose_cells_java_for_python.egg-info/SOURCES.txt
@@ -0,0 +1,9 @@
+setup.py
+WorkingWithFiles/__init__.py
+WorkingWithRowsAndColumns/__init__.py
+WorkingWithWorksheets/__init__.py
+aspose_cells_java_for_python.egg-info/PKG-INFO
+aspose_cells_java_for_python.egg-info/SOURCES.txt
+aspose_cells_java_for_python.egg-info/dependency_links.txt
+aspose_cells_java_for_python.egg-info/top_level.txt
+quickstart/__init__.py
\ No newline at end of file
diff --git a/Plugins/Aspose-Cells-Java-for-Python/aspose_cells_java_for_python.egg-info/dependency_links.txt b/Plugins/Aspose-Cells-Java-for-Python/aspose_cells_java_for_python.egg-info/dependency_links.txt
new file mode 100644
index 00000000..8b137891
--- /dev/null
+++ b/Plugins/Aspose-Cells-Java-for-Python/aspose_cells_java_for_python.egg-info/dependency_links.txt
@@ -0,0 +1 @@
+
diff --git a/Plugins/Aspose-Cells-Java-for-Python/aspose_cells_java_for_python.egg-info/top_level.txt b/Plugins/Aspose-Cells-Java-for-Python/aspose_cells_java_for_python.egg-info/top_level.txt
new file mode 100644
index 00000000..813db9d1
--- /dev/null
+++ b/Plugins/Aspose-Cells-Java-for-Python/aspose_cells_java_for_python.egg-info/top_level.txt
@@ -0,0 +1,4 @@
+WorkingWithWorksheets
+quickstart
+WorkingWithFiles
+WorkingWithRowsAndColumns
diff --git a/Plugins/Aspose-Cells-Java-for-Python/aspose_cells_java_for_python.py b/Plugins/Aspose-Cells-Java-for-Python/aspose_cells_java_for_python.py
new file mode 100644
index 00000000..dfa49771
--- /dev/null
+++ b/Plugins/Aspose-Cells-Java-for-Python/aspose_cells_java_for_python.py
@@ -0,0 +1,21 @@
+# To change this license header, choose License Headers in Project Properties.
+# To change this template file, choose Tools | Templates
+# and open the template in the editor.
+
+#if __name__ == "__main__":
+# print "Hello World"
+
+from quickstart import HelloWorld
+import jpype
+import os.path
+
+asposeapispath = os.path.join(os.path.abspath("./"), "lib/")
+dataDir = os.path.join(os.path.abspath("./"), "tests/")
+
+print "You need to put your Aspose.Cells for Java APIs .jars in this folder:\n"+asposeapispath
+
+#print dataDir
+jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.ext.dirs=%s" % asposeapispath)
+
+hw = HelloWorld(dataDir)
+hw.main()
\ No newline at end of file
diff --git a/Plugins/Aspose-Cells-Java-for-Python/dist/aspose-cells-java-for-python-1.0.tar.gz b/Plugins/Aspose-Cells-Java-for-Python/dist/aspose-cells-java-for-python-1.0.tar.gz
new file mode 100644
index 00000000..02c4979d
Binary files /dev/null and b/Plugins/Aspose-Cells-Java-for-Python/dist/aspose-cells-java-for-python-1.0.tar.gz differ
diff --git a/Plugins/Aspose-Cells-Java-for-Python/quickstart/__init__.py b/Plugins/Aspose-Cells-Java-for-Python/quickstart/__init__.py
new file mode 100644
index 00000000..040a6ec5
--- /dev/null
+++ b/Plugins/Aspose-Cells-Java-for-Python/quickstart/__init__.py
@@ -0,0 +1,26 @@
+__author__ = 'fahadadeel'
+import jpype
+
+class HelloWorld:
+
+ def __init__(self,dataDir):
+
+ self.dataDir = dataDir
+ self.Workbook = jpype.JClass("com.aspose.cells.Workbook")
+ self.FileFormatType = jpype.JClass("com.aspose.cells.FileFormatType")
+
+ def main(self):
+
+ workbook = self.Workbook()
+
+ sheet = workbook.getWorksheets().get(0)
+
+ cell = sheet.getCells().get("A1")
+
+ cell.setValue("Hello World!")
+
+ file_format_type = self.FileFormatType
+
+ workbook.save(self.dataDir + "HelloWorld.xls" , file_format_type.EXCEL_97_TO_2003 )
+
+ print "Document has been saved, please check the output file.";
\ No newline at end of file
diff --git a/Plugins/Aspose-Cells-Java-for-Python/quickstart/__init__.pyc b/Plugins/Aspose-Cells-Java-for-Python/quickstart/__init__.pyc
new file mode 100644
index 00000000..e890ca30
Binary files /dev/null and b/Plugins/Aspose-Cells-Java-for-Python/quickstart/__init__.pyc differ
diff --git a/Plugins/Aspose-Cells-Java-for-Python/setup.py b/Plugins/Aspose-Cells-Java-for-Python/setup.py
new file mode 100644
index 00000000..49e93716
--- /dev/null
+++ b/Plugins/Aspose-Cells-Java-for-Python/setup.py
@@ -0,0 +1,19 @@
+__author__ = 'fahadadeel'
+
+from setuptools import setup, find_packages
+
+setup(
+ name = 'aspose-cells-java-for-python',
+ packages = find_packages(),
+ version = '1.0',
+ description = 'Aspose.cells Java for Python is a project that demonstrates / provides the Aspose.Cells for Java API usage examples in Python.',
+ author='Fahad Adeel',
+ author_email='cells@aspose.com',
+ url='https://github.com/asposecells/Aspose_Cells_Java/tree/master/Plugins/Aspose-Cells-Java-for-Python',
+ classifiers=[
+ 'Programming Language :: Python',
+ 'Programming Language :: Python :: 2',
+ 'License :: OSI Approved :: MIT License',
+ 'Operating System :: OS Independent'
+ ]
+)
diff --git a/Plugins/Aspose-Cells-Java-for-Python/tests/HelloWorld.xls b/Plugins/Aspose-Cells-Java-for-Python/tests/HelloWorld.xls
new file mode 100644
index 00000000..6e3f4c4f
Binary files /dev/null and b/Plugins/Aspose-Cells-Java-for-Python/tests/HelloWorld.xls differ
diff --git a/Plugins/Aspose-Cells-Java-for-Python/tests/WorkingWithFiles/ChartToImage/ChartToImage.py b/Plugins/Aspose-Cells-Java-for-Python/tests/WorkingWithFiles/ChartToImage/ChartToImage.py
new file mode 100644
index 00000000..4b31b62e
--- /dev/null
+++ b/Plugins/Aspose-Cells-Java-for-Python/tests/WorkingWithFiles/ChartToImage/ChartToImage.py
@@ -0,0 +1,21 @@
+# To change this license header, choose License Headers in Project Properties.
+# To change this template file, choose Tools | Templates
+# and open the template in the editor.
+
+#if __name__ == "__main__":
+# print "Hello World"
+
+from WorkingWithFiles import ChartToImage
+import jpype
+import os.path
+
+asposeapispath = os.path.join(os.path.abspath("../../../"), "lib/")
+dataDir = os.path.join(os.path.abspath("./"), "data/")
+
+print "You need to put your Aspose.Cells for Java APIs .jars in this folder:\n"+asposeapispath
+
+#print dataDir
+jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.ext.dirs=%s" % asposeapispath)
+
+hw = ChartToImage(dataDir)
+hw.main()
\ No newline at end of file
diff --git a/Plugins/Aspose-Cells-Java-for-Python/tests/WorkingWithFiles/ConvertingExcelFilesToHtml/ConvertingExcelFilesToHtml.py b/Plugins/Aspose-Cells-Java-for-Python/tests/WorkingWithFiles/ConvertingExcelFilesToHtml/ConvertingExcelFilesToHtml.py
new file mode 100644
index 00000000..932ce6b0
--- /dev/null
+++ b/Plugins/Aspose-Cells-Java-for-Python/tests/WorkingWithFiles/ConvertingExcelFilesToHtml/ConvertingExcelFilesToHtml.py
@@ -0,0 +1,21 @@
+# To change this license header, choose License Headers in Project Properties.
+# To change this template file, choose Tools | Templates
+# and open the template in the editor.
+
+#if __name__ == "__main__":
+# print "Hello World"
+
+from WorkingWithFiles import ConvertingExcelFilesToHtml
+import jpype
+import os.path
+
+asposeapispath = os.path.join(os.path.abspath("../../../"), "lib/")
+dataDir = os.path.join(os.path.abspath("./"), "data/")
+
+print "You need to put your Aspose.Cells for Java APIs .jars in this folder:\n"+asposeapispath
+
+#print dataDir
+jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.ext.dirs=%s" % asposeapispath)
+
+hw = ConvertingExcelFilesToHtml(dataDir)
+hw.main()
\ No newline at end of file
diff --git a/Plugins/Aspose-Cells-Java-for-Python/tests/WorkingWithFiles/ConvertingExcelFilesToHtml/data/Book1.xls b/Plugins/Aspose-Cells-Java-for-Python/tests/WorkingWithFiles/ConvertingExcelFilesToHtml/data/Book1.xls
new file mode 100644
index 00000000..cfb06816
Binary files /dev/null and b/Plugins/Aspose-Cells-Java-for-Python/tests/WorkingWithFiles/ConvertingExcelFilesToHtml/data/Book1.xls differ
diff --git a/Plugins/Aspose-Cells-Java-for-Python/tests/WorkingWithFiles/ConvertingExcelFilesToHtml/data/OutBook1.html b/Plugins/Aspose-Cells-Java-for-Python/tests/WorkingWithFiles/ConvertingExcelFilesToHtml/data/OutBook1.html
new file mode 100644
index 00000000..5f0ae8e4
--- /dev/null
+++ b/Plugins/Aspose-Cells-Java-for-Python/tests/WorkingWithFiles/ConvertingExcelFilesToHtml/data/OutBook1.html
@@ -0,0 +1,342 @@
+
+
+
+