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 | 2311. Create a new directory with full write access somewhere on your local drive which will contain the <strong>Oxygen</strong>project file and associated document type resources (CSS files, new file templates, schemas used for validation,catalogs).2. From the <strong>Oxygen</strong> Project view create a new project and save it in the newly created directory.3. In the <strong>Oxygen</strong> Preferences Document Type Association page switch the radio button at the bottom of the pageto Project Options.4. Create your new custom document type using the default internal storage for it. It will actually be saved in thepreviously chosen <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> project .xpr file.5. Configure the custom document type according to your needs, take special care to make all file references relativeto the project directory by using the ${pd} editor variable. The <strong>Author</strong> Developer Guide contains all detailsnecessary for creating and configuring a new document type.6. You can then share the new project directory with other users and if they open in the Project view the customizedproject then the new document type will be available in the list of Document Types.Other <strong>Author</strong> FeaturesThe following features can be found in the <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> <strong>Author</strong> SDK:Persistent HighlightsYou can create or remove custom persistent highlights, set their properties, and customize their appearance. They getserialized in the <strong>XML</strong> document as processing instructions, having the following format: xml content The functionality is available in the <strong>Author</strong>PersistentHighlighter class, accessible through<strong>Author</strong>EditorAccess#getPersistentHighlighter() method. For more information, see JavaDoc onlineat: http://www.oxygenxml.com/InstData/Editor/SDK/javadoc/index.htmlCSS Support in <strong>Author</strong><strong>Author</strong> editing mode supports most CSS 2.1 selectors, a lot of CSS 2.1 properties and a few CSS 3 selectors. Also somecustom functions and properties that extend the W3C CSS specification and are useful for URL and string manipulationare available to the developer who creates an <strong>Author</strong> editing framework.CSS 2.1 FeaturesThis section enumerates the CSS 2.1 features that are supported by <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> .Supported CSS 2.1 SelectorsExpression*EE FE > FE:first-childNameUniversal selectorType selectorDescendant selectorChild selectorsThe :first-child pseudo-classDescription / ExampleMatches any elementMatches any E element (i. e. an element with the localname E)Matches any F element that is a descendant of an Eelement.Matches any F element that is a child of an elementE.Matches element E when E is the first child of itsparent.

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

Saved successfully!

Ooh no, something went wrong!