Konvertieren von Excel-Dateien in HTML in Jython
Contents
[
Hide
]
Aspose.Cells – Konvertieren von Excel-Dateien in HTML
Zum Anhängen von Dokumenten mitAspose.Cells Java für Jython. Hier sehen Sie Beispielcode.
Jython-Code
from aspose-cells import Settings
from com.aspose.cells import Workbook
from com.aspose.cells import SaveFormat
class ConvertingExcelFilesToHtml:
def __init__(self):
dataDir = Settings.dataDir + 'WorkingWithFiles/ConvertingExcelFilesToHtml/'
saveFormat = SaveFormat
workbook = Workbook(dataDir + "Book1.xls")
#Save the document in PDF format
workbook.save(dataDir + "OutBook1.html", saveFormat.HTML)
# Print message
print "\n Excel to HTML conversion performed successfully."
if __name__ == '__main__':
ConvertingExcelFilesToHtml()
Laufcode herunterladen
Download**Dokumente anhängen (Aspose.Cells)**von einer der unten genannten Social-Coding-Sites: