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.

Profiling / Conditional TextThe <strong>Author</strong> Profiling/Conditional Text preferences panel is opened from menu Window > Preferences > <strong>Author</strong> >Editor > Edit modes > <strong>Author</strong> > Profiling/Conditional Text.Two tables contain the profiling attributes and condition sets defined for the supported document types. You can customizeyour profiling attributes and condition sets, but <strong>Oxygen</strong> <strong>XML</strong> comes with predefined ones.If you have two or more identically named entries that match the same document type, <strong>Oxygen</strong> <strong>XML</strong> uses the one thatis positioned highest in the table. Use the Up / Down buttons to alter the priority of the entries.FormatThe Format preferences panel is opened from menu Window > Preferences > <strong>Author</strong> > Editor > Format.The following options are available:• Detect indent on open - The editor detects the indent settings of the open <strong>XML</strong> document. This way you can correctlyformat (pretty-print) files that were created with different settings, without changing your options every time youedit such a file. Besides, you can activate the option for detecting the maximum line width used by the formattingand hard wrap mechanism. These features were designed to minimize the differences created by the Format andIndent operation when working with a versioning system, like CVS for example.Note: If the document contains different-size indents, the application computes a weighted average value.• Indent with tabs - When checked, sets the indent size to a tab unit. When unchecked, the application uses spacecharacters to form an indent. The number of space characters that form a tab is defined by the Indent size option.• Indent size - Sets the number of space characters or the tab size that equals a single indent. An indent can be anumber of spaces or a tab, selectable using the Indent With Tabs option. For example, if set to 4, one tab equals:• either 4 space characters, if the Indent With Tabs option is unchecked;• or one tab that spans 4 characters, if the Indent With Tabs option is checked.• Hard line wrap - When enabled, <strong>Oxygen</strong> <strong>XML</strong> breaks the edited line automatically when its length exceeds themaximum set line width. This feature allows you to neatly edit a document.• Indent on Enter - If enabled, <strong>Oxygen</strong> <strong>XML</strong> indents the new line introduced when pressing the Enter key.• Enable Smart Enter - If you press the Enter key between a start and an end tag, <strong>Oxygen</strong> <strong>XML</strong> places the cursor inan indented position on the empty line formed between the start and end tag.• Detect line width on open - Detects the line width automatically when the document is opened.• Format and indent the document on open - When enabled, an <strong>XML</strong> document is formatted and indented beforeopening it in the editor panel. This option applies only to documents associated with the <strong>XML</strong> editor.• Line width - Format and Indent - Defines the point at which the Format and Indent (pretty-print) functionperforms hard line wrapping. For example, if set to 100, after a Format and Indent action, the longest line will haveat most 100 characters.• Clear undo buffer before Format and Indent - If checked, you cannot undo anymore editing actions that precededthe Format and Indent operation. Only modifications performed after you have performed the operation can beundone. Check this option if you encounter out of memory problems (OutOfMemoryError) when performing theFormat and Indent operation.<strong>XML</strong>The <strong>XML</strong> Format preferences panel is opened from menu Window > Preferences > <strong>Author</strong> > Editor > Format ><strong>XML</strong>.The following options are available:Configuring the Application | 394• Preserve empty lines - The Format and Indent operation preserves all empty lines found in the document. Enabledby default.• Preserve text as it is - The Format and Indent operation preserves text content as it is, without removing or addingany whitespace.• Preserve line breaks in attributes - Line breaks found in attribute values are preserved. Enabled by default.

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

Saved successfully!

Ooh no, something went wrong!