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.

<strong>Author</strong> Developer Guide | 176Figure 95: Insert action dialog3. If you want to exclude a certain item from the Content Completion items list, you can use the Add button fromthe Filter - Remove content completion items list. The following dialog is displayed, allowing you to input theitem name and to choose the controls that filter it.Figure 96: Remove item dialog<strong>Author</strong> Default OperationsBelow are listed all the operations and their arguments.InsertFragmentOperationInserts an <strong>XML</strong> fragment at the current cursor position. Theselection - if there is one, remains unchanged. The fragment willbe inserted in the current context of the cursor position meaningthat if the current <strong>XML</strong> document uses some namespace declarationsthen the inserted fragment must use the same declarations. Theinserted fragment will not be copied and pasted to the cursorposition, but the namespace declarations of the fragment will beadapted if needed to the existing namespace declarations of the<strong>XML</strong> document.InsertOrReplaceFragmentOperationInsertOrReplaceTextOperationSurroundWithFragmentOperationSurroundWithTextOperationSimilar to InsertFragmentOperation, except it removesthe selected content before inserting the fragment.Inserts a text at current position removing the selected content, ifany.textThe text section to insert.Surrounds the selected content with a text fragment. Since thefragment can have multiple nodes, the surrounded content will bealways placed in the first leaf element. If there is no selection, theoperation will simply insert the fragment at the caret position.This operation has two arguments (two text values) that will beinserted before and after the selected content. If there is no selectedcontent, the two sections will be inserted at the caret position. Thearguments of the operation are:

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

Saved successfully!

Ooh no, something went wrong!