Customizing the Content Completion Assistant
The Content Completion Assistant can be customized for Oxygen XML Web Author using similar methods that you would use to customize this feature in standalone distributions of Oxygen XML Editor/Author. There are several methods that you can use, including the following:
Customizing Content Completion in the Document Type Configuration Dialog Box
You can use the Document Type configuration dialog
box to specify which elements or actions should be proposed in the Content
Completion Assistant. To use this method, follow this procedure:
- Open the Preferences dialog box and go to Document Type Associations.
- Select your document type and click the Extend button. For more information about extending a framework, see Extending and Sharing a Framework (Document Type).
- Go to the Author tab and Content
Completion subtab. In this subtab, you can specify:
- Elements to remove from the proposals listed in the Content Completion Assistant.
- Actions to be added to the proposals listed in the Content Completion Assistant.
Customizing Content Completion Using a Configuration File
You can use a cc_config.xml configuration file that is specific to
each document type (framework) to configure the values that are proposed in
certain contexts, to customize the attributes or elements that are proposed, or to customize
how certain aspects of the proposals are rendered in the interface.
- To configure the possible elements or attributes that are proposed in the Content Completion Assistant, see Configuring the Proposals for Elements and Attributes.
- To configure the possible values for attributes or elements that are proposed in the Content Completion Assistant, see Configuring the Proposals for Attribute and Element Values.
- To configure how the elements are rendered in the Content Completion Assistant, see Customizing the Rendering of Elements.
Changing the Keyboard Shortcut for Invoking the Content Completion Assistant
By default, the Content Completion Assistant is invoked automatically when you press Enter. For non-technical users, it may be helpful to disable this feature and use the default behavior of typical word processors where pressing Enter will insert a new paragraph. For information about how to achieve this, see Control the Behavior of the Enter Key.