XML 窗体文档 (XForms)
XForms are a new type of web form that was developed by the World Wide Web Consortium. The XForm model is defined in Extensible Markup Language (XML). The model uses separate sections to describe what a form does and what a form looks like. You can view the specification for XForms at: https://www.w3.org/MarkUp/Forms/.
使用 XForms
In LibreOffice, an XForms document is a special type of Writer document. The Design Mode for an XForm document has additional toolbars and panes.
创建和保存 XForms 文档后,您可以打开文档、填写窗体、将修改提交到服务器。
创建新的 XForms 文档
-
选择「文件 - 新建 - XML 窗体文档」。
XForms 设计窗口可在空白的 Writer 文档中打开。
-
设计窗体。
-
插入控件,在属性浏览器中选择默认模型,并输入绑定语句。
-
In the Data Navigator, add an element to the instance.
-
从 XML 文件加载新实例,并将控件添加到相关的 XML 元素或特性。
打开 XForms 文档
-
选择「文件 - 打开」,然后选择 XForms 文档。XForm 文档与 Writer 文本文档 (*.odt) 具有相同的扩展名。
编辑 XForms 文档
打开 XForms 文档,并使用下列工具栏和窗口: