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.

Editing Documents | 74example the custom property called custom with the possible values customValue1 and customValue2 is specifiedwith the following configuration file customProperties.xml:Description for custom property.Content Completion in CSS StylesheetsA content completion assistant like the one available for <strong>XML</strong> documents offers the CSS properties and the valuesavailable for each property. It is activated on the (CTRL - Space) shortcut and it is context-sensitive when invoked forthe value of a property.The properties and the values offered as proposals are dependent on the CSS Profile selected in the Options > Preferences> CSS Validator page, Profile combo box. The CSS 2.1 set of properties and property values is used for most of theprofiles, excepting CSS 1 and CSS 3. For these two, specific proposal sets are used.The profile CSS 3 with <strong>Oxygen</strong> extensions includes all the CSS 3 standard properties and the CSS extensions specificfor <strong>Oxygen</strong> that can be used in <strong>Author</strong> mode.You can add custom CSS properties with a file called customProperties.xml located in the folder[<strong>Oxygen</strong>-install-folder]/endorsed/builtin/css-validator. The custom properties and their valuesare accepted by the CSS validator and are listed in the content completion window when editing a CSS stylesheet. Forexample the custom property called custom with the possible values customValue1 and customValue2 is specifiedwith the following configuration file customProperties.xml:Description for custom property.CSS Outline ViewThe CSS Outline view presents the import declarations for other CSS stylesheet files and all the selectors defined inthe current CSS document. The selector entries can be presented as follows:• in the order they appear in the document;• sorted by element name used in the selector;• sorted by the entire selector string representation.The selection in the Outline view can be synchronized with the caret moves or the changes made in the stylesheetdocument. When selecting an entry from the Outline view, the corresponding import or selector is highlighted in theCSS editor.The selectors presented in this view can be quickly found using the key search field. When you press a sequence ofcharacter keys while the focus is in the view, the first selector that starts with that sequence is selected automatically.Folding in CSS StylesheetsIn a large CSS stylesheet document, some styles can be collapsed so that only the needed styles remain in focus. Thesame folding features available for <strong>XML</strong> documents are also available in CSS stylesheets.

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

Saved successfully!

Ooh no, something went wrong!