[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] oXygen 9 beta with WYSIWYG-like editing supportfor DocBook
Elliotte Harold wrote: > P.S. FWIW, I've actually gone so far as to hack WordPress to fix its > buttons along the lines I describe. I might do it for Oxygen too except > it's not open source. :-( The actions for DocBook are all custom actions and are fully configurable from the oXygen preferences: See Options->Preferences -- Document Type Association Select User role to "Developer" Click on "DocBook 5" for instance and the "Edit" button Select the "Author" tab and there look at "3. Actions" You are able to edit, add or remove actions An action is defined as a set of operations, each operation having some XPath conditions so that the same action can do different things depending on context. The operations are Java classes and we have a public API for them so one can implement whatever operation. We provide already a set of operations that can be configured by specifying values for their parameters that should cover many of the usual needs: Insert fragment Insert or replace fragment Insert or replace text Surround with fragment Surround with text etc. Then you can specify contributions with those actions to the menu, contextual menu or tool bar. All the configuration is stored in a file, in this case in the docbook5.framework (in oxygen/frameworks/docbook) that can be distributed to share the customization with other users. In the meanwhile I asked my colleague Dan Caprioara to put online the author developer guide documentation he is working on as I write that explains in detail how to create a customization including Java operations and the sources for two operations, one inserts an image and another one that queries a database and inserts a table with the data extracted from the database: http://www.oxygenxml.com/beta/tutorial/authorDeveloperGuide.html Best Regards, George --------------------------------------------------------------------- George Cristian Bina - http://aboutxml.blogspot.com/ <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]