フレームスクリプトとドキュメントプロパティのエクスポートを無効にする

フレームスクリプトとドキュメントプロパティのエクスポートを無効にする

以下のサンプルコードを使用すると、フレームスクリプトとドキュメントプロパティのエクスポートを無効にできます。ワークブックをHTMLに変換すると、出力ファイルにフレームスクリプトとドキュメントプロパティは含まれません。

from aspose.cells import HtmlSaveOptions, Workbook
# For complete examples and data files, please go to https:# github.com/aspose-cells/Aspose.Cells-for-.NET
# The path to the documents directory.
dataDir = RunExamples.GetDataDir(".")
# Open the required workbook to convert
w = Workbook(dataDir + "Sample1.xlsx")
# Disable exporting frame scripts and document properties
options = HtmlSaveOptions()
options.export_frame_scripts_and_properties = False
# Save workbook as HTML
w.save(dataDir + "output.out.html", options)