工具箱

The Toolbox is a set of panes that offers different methods to help you design and configure your templates and data entry forms.

The following Toolbox panes are available:

Closed组件窗格(模板设计视图)

在设计需要向添加对象的模板时,有时对象的属性可能会与您以前创建的其他对象的属性(在同一模板上或在不同模板上)大体相同。 您可以在“组件”窗格中创建和存储预先配置的对象(甚至对象组)。 通过将此类组件从窗格拖到模板上,可以对其进行重复使用。

在窗格中组织和浏览

组件窗格的工作方式与标准 Windows 目录很相似。 使用上下文菜单中的“查看”选项,可以在树、图标和列表之间切换。 任何视图都将提供标准上下文菜单选项,可剪切、复制、粘贴、重命名和删除组件。 您可以在文件夹之间浏览、移动或复制项目,就像在任何目录中一样进行操作。 若要在图标或列表视图中上移到父文件夹,请双击标有 [上移组件] 的图标。 上下文菜单还提供用于创建新文件夹的选项,以便您可以将组件组织成逻辑集合和子集。

创建和存储可重复使用的组件

在向模板添加新对象并配置新对象的属性后,可以通过将其添加到“组件”窗格中来存储该对象以供重复使用。 To do this, right-click the object and then click Create Component from the context menu. An icon that represents the component will appear in the Components pane (in the currently selected folder) with the temporary name "Component". You can overwrite the temporary name with a new name by typing in the name that you want.

If you plan to reuse an entire set of objects, you can create a component that consists of a group of objects. After you have grouped objects, right-click the group and then click Create Component from the context menu. 有关将对象编组的更多信息,请参见创建对象组

Closed图层窗格(模板设计视图)

图层”窗格列出所有可用的图层;此外,您可以轻松创建新的图层和修改现有的图层。 在向模板中添加新对象时,BarTender 将在工具箱的所选图层上自动插入该对象。 每个列出的图层都包含预览图像、图层的名称和以下按钮:

/ 锁定所选的图层,从而防止进一步的更改或添加。

/ 切换屏幕上图层的可见性。 Note that this setting does not affect whether the layer gets printed. 此选项主要用来通过隐藏与您目前所使用的图层不直接相关的那些图层,使得编辑模板变得更加容易。

双击某个图层即会打开“图层属性”对话框,您可以在该对话框中配置所选图层的屏幕表示形式和打印的输出。

You can change the order of the layers in your document by dragging a selected layer to the position that you want in the layers list. The layer at the top of the list will be printed on top of all the layers below it.

At the bottom of the Layers pane, the Layers Toolbar enables you to create new layers and manage the order of existing layers. For more information, refer to Using the Layers Toolbar.

Closed数据源窗格(模板设计视图)

模板设计视图”中的“数据源”窗格,列出了可在模板上使用的所有数据源,包括具名数据源和全局数据字段。 By using this pane, you can assign any of these data sources to existing objects by dragging them to the object that you want.

数据源”窗格按类型对数据源进行分组:

如果在模板中使用了数据源,那么可以通过在“数据源”窗格中双击数据源以直接在“数据源属性”对话框中对其进行修改。 如果一个数据源附加到多个对象,通过此方法编辑数据源将更新其所连接的所有对象的值。

Closed数据源窗格(数据输入表单)

数据输入表单”的“数据源”窗格用于将模板中的数据源和/或对象轻松链接到表单上的数据输入控件。 使用“数据源”窗格,您可以查看模板上的数据源,并将现有数据源的值与数据输入表单上的响应框连接起来。

打印对话框数据源”目录用于将份数或序列化的项数与数据输入表单上的控件链接起来。 This enables you to ask users for the number of copies they want to print each time BarTender runs the print job.

只要您为数据源指定名称,该数据源就会出现在“具名数据源”目录中。 After the data source is listed in this directory, you can link it to a control on the data entry form. 而且,还可以使用“模板对象数据源”目录链接到任何其他对象值。

Closed使用工具箱将数据源链接至控件

  1. Click the data source in the Data Sources pane of the Toolbox.

  2. Drag the pointer to the control on the data entry form.

  3. 释放鼠标按钮,将数据源链接到该控件。

Alternatively, you can link a data source to a control by using the Linked Data Source property page of the control.

本部分内容