24.08.2015 Views

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

• Refactoring - Contains a series of actions designed to alter the document's structure:• Toggle Comment - Encloses the currently selected text in an <strong>XML</strong> comment, or removes the comment if it iscommented.• Split Element - Splits the content of the closest element that contains the caret's position. Thus, if the caret ispositioned at the beginning or at the end of the element, the newly created sibling will be empty.• Join Elements - Joins two adjacent elements that have the same name. The action is available only when thecaret position is between the two adjacent elements. Also, joining two elements can be done by pressing theDelete or Backspace keys and the caret is positioned between the boundaries of these two elements.• Surround with Tag... - Selected text in the editor is marked with the specified start and end tags.• Surround with '' - Selected text in the editor is marked with start and end tags used by the last'Surround with Tag...' action.• Rename Element - The element from the caret position and the elements that have the same name as the currentelement can be renamed according with the options from the Rename dialog.• Delete Element Tags - Deletes the tags of the closest element that contains the caret's position. This operationis also executed if the start or end tags of an element are deleted by pressing the (Delete) or (Backspace) keys.• Review - Provides access to Track Changes and Manage Comments actions.• Insert Entity - Allows the user to insert a predefined entity or a character entity. Surrogate character entities (range#x10000 to #x10FFFF) are also accepted. Character entities can be entered in one of the following forms:• # - e. g. #65• &#; - e. g. &#65;• #x - e. g. #x41• &#x; - e. g. &#x41;• Open File at Caret - Opens in a new editor panel the file with the path under the caret position. If the path representsa directory path, it will be opened in system file browser. If the file does not exist at the specified location, the errordialog that is displayed contains a Create new file action which displays the New file dialog. This allows you tochoose the type or the template for the file. If the action succeeds, the file is created with the referred location andname and is opened in a new editor panel. This is useful when you decide first on the file name and after that youwant to create it in the exact location specified at the current cursor position.• Options - Opens the <strong>Author</strong> options page.Document type actions are specific to some document type. Examples of such actions can be found in section Predefineddocument types.Editing <strong>XML</strong> Documents in <strong>Author</strong>This section details how to edit the text content and the markup of <strong>XML</strong> documents in <strong>Author</strong> mode. It explains alsohow to edit tables and MathML content in <strong>Author</strong> mode.Editing the <strong>XML</strong> MarkupOne of the most useful feature in <strong>Author</strong> editor is the content completion support. The fastest way to invoke it is to press(Enter) or (Ctrl + Space) (on Mac OS X the shortcut is (Meta + Space)) in the editor panel.Content completion window offers the following types of actions:• inserting allowed elements for the current context according to the associated schema, if any;• inserting element values if such values are specified in the schema for the current context;• inserting new undeclared elements by entering their name in the text field;• inserting CDATA sections, comments, processing instructions;• inserting code templates.<strong>Author</strong>ing in the Visual Editor | 89

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!