Last active
May 25, 2021 12:09
-
-
Save aspose-com-gists/1b7e9c7d97807626c16302c2b4f67ad5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require_once("Java.inc"); | |
require_once("lib/aspose.cells.php"); | |
use aspose\cells; | |
use aspose\cells\Workbook; | |
use aspose\cells\HtmlSaveOptions; | |
// load document to be converted | |
$wkbk = new Workbook("Book.xlsx"); | |
// create and set HTML save options | |
$options = new HtmlSaveOptions(); | |
$options->setAddTooltipText(true); | |
// save as HTML | |
$wkbk->save("output.html", $options); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require_once("Java.inc"); | |
require_once("lib/aspose.cells.php"); | |
use aspose\cells; | |
use aspose\cells\Workbook; | |
// load document to be converted | |
$wkbk = new Workbook("Book.xlsx"); | |
// save as HTML | |
$wkbk->save("output.html", SaveFormat::HTML); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment