
Author Developer Guide | Contents | 2 Contents Author Developer Guide...........................................................................................4 Simple Customization Tutorial..............................................................................................................................4 XML Schema............................................................................................................................................5 CSS Stylesheet..........................................................................................................................................5 The XML Instance Template.....................................................................................................................7 Advanced Customization Tutorial - Document Type Associations.......................................................................8 Document Type.........................................................................................................................................8 Editing attributes in-place using form controls.......................................................................................28 Localizing Frameworks...........................................................................................................................28 How to deploy a framework as an add-on...............................................................................................29 Creating the Basic Association................................................................................................................30 Configuring New File Templates............................................................................................................36 Configuring XML Catalogs.....................................................................................................................39 Configuring Transformation Scenarios...................................................................................................40 Configuring Validation Scenarios............................................................................................................42 Configuring Extensions...........................................................................................................................43 Customizing the Default CSS of a Document Type................................................................................65 Document Type Sharing..........................................................................................................................66 Adding Custom Persistent Highlights.....................................................................................................66 CSS Support in Author........................................................................................................................................66 Handling CSS Imports............................................................................................................................66 Media Type oxygen..............................................................................................................................67 Standard W3C CSS Supported Features.................................................................................................67 Oxygen CSS Extensions..........................................................................................................................77 Example Files Listings - The Simple Documentation Framework Files..........................................................104 XML Schema files.................................................................................................................................104 CSS Files...............................................................................................................................................106 XML Files.............................................................................................................................................107 XSL Files...............................................................................................................................................108 Author Component............................................................................................................................................109 Licensing...............................................................................................................................................109 Installation Requirements......................................................................................................................110 Customization........................................................................................................................................110 Deployment...........................................................................................................................................112 Sample SharePoint Integration of the Author Component....................................................................117 Frequently Asked Questions .................................................................................................................122 Creating and Running Automated Tests............................................................................................................125 | Contents | 3 API Frequently Asked Questions (API FAQ).....................................................127 Difference Between a Document Type (Framework) and a Plugin Extension..................................................127 Dynamically Modify the Content Inserted by the Writer..................................................................................128 Split Paragraph on Enter (Instead of Showing Content Completion List)........................................................129 Impose Custom Options for Writers..................................................................................................................129 Highlight Content..............................................................................................................................................129 How Do I Add My Custom Actions to the Contextual Menu?..........................................................................130 Adding Custom Callouts...................................................................................................................................131 Change the DOCTYPE of an Opened XML Document...................................................................................134 Customize the Default Application Icons for Toolbars/Menus.........................................................................134 Disable Context-Sensitive Menu Items for Custom Author Actions.................................................................134 Dynamic Open File in Distributed via JavaWebStart.......................................................................................135 Change the Default Track Changes (Review) Author Name.............................................................................136 Multiple Rendering Modes for the Same Author Document............................................................................136 Obtain a DOM Element from an AuthorNode or AuthorElement..........................................................136 Print Document Within the Author Component................................................................................................137 Running XSLT or XQuery Transformations.....................................................................................................137 Use Different Rendering Styles for Entity References, Comments or Processing Instructions........................137 Insert an Element with all the Required Content..............................................................................................140 Obtain the Current Selected Element Using the Author API............................................................................140 Debugging a Plugin Using the Eclipse Workbench...........................................................................................141 Debugging an SDK Extension Using the Eclipse Workbench..........................................................................141 Extending the Java Functionality of an Existing Framework (Document Type)..............................................142 Controlling XML Serialization in the Author Component................................................................................142 How can I add a custom Outline view for editing XML documents in the Text mode?...................................143 Dynamically Adding Form Controls Using a StylesFilter...........................................................................145 Modifying the XML content on open................................................................................................................146 Save a new document with a predefined file name pattern...............................................................................147 Auto-generate an ID when a document is opened or created............................................................................148 Use a custom view with the Oxygen Eclipse plugin distribution......................................................................149 | Author Developer Guide | 4 Author Developer Guide The Author editor of was designed to bridge the gap between the XML source editing and a
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages150 Page
-
File Size-