Export existing Notepad documents(导出现有的 Notepad 文档)¶
To allow others to export existing documents as PDFs from within workshop, use the Notepad: Export Button widget. This can be used in conjunction with the Notepad: Embedded Document widget to enable edit and export workflows.
Notepad: Export Button widget¶
After adding the Notepad: Export Button to your Workshop application, create or reference a variable containing the document RID. This variable can optionally be the output document RID of the Notepad: Linked Documents, Notepad: New Notepad Button, or Notepad: Embedded Document widgets.
Options¶
- Output Filename: Define the file name of the downloaded PDF document. Defaults to the name of the Notepad document if empty.
- Button Display: Define layout options for the export button.
- Button Text: Define the text for the export button. Defaults to
Exportif empty.
Notepad: New Notepad Button widget¶
The Notepad: New Notepad Button widget allows a user to generate a new Notepad document and optionally export it from within Workshop.
中文翻译¶
导出现有的 Notepad 文档¶
若要让其他用户能够从 Workshop 中将现有文档导出为 PDF,请使用 Notepad: Export Button(导出按钮) 组件。该组件可与 Notepad: Embedded Document(嵌入文档) 组件配合使用,实现编辑与导出工作流。
Notepad: Export Button(导出按钮)组件¶
将 Notepad: Export Button 添加到 Workshop 应用后,需创建或引用一个包含文档 RID 的变量。该变量可选为 Notepad: Linked Documents(关联文档)、Notepad: New Notepad Button(新建 Notepad 按钮) 或 Notepad: Embedded Document(嵌入文档) 组件的输出文档 RID。
选项¶
- Output Filename(输出文件名): 定义下载的 PDF 文档的文件名。若留空,则默认使用 Notepad 文档的名称。
- Button Display(按钮显示): 定义导出按钮的布局选项。
- Button Text(按钮文本): 定义导出按钮的显示文本。若留空,则默认显示为
Export。
Notepad: New Notepad Button(新建 Notepad 按钮)组件¶
Notepad: New Notepad Button 组件允许用户在 Workshop 中生成新的 Notepad 文档,并可选择将其导出。