
Hi Jirka, You seem to have a point here. I added this as an improvement request. Does anybody else on the list have some input on this? So what would be more useful when dropping files (which are not images) in a Docbook document? Adding links or xi:includes to them? We are also considering adding some actions for easier insertion of XIncludes in any opened XML document. Yes, the "ro.sync.ecss.extensions.docbook.Docbook5ExternalObjectInsertionHandler" class is the one responsible for this behavior within Docbook 5 documents. Our SDK includes the Java sources for the entire Docbook framework implementation: http://www.oxygenxml.com/developer.html#XML_Editor_Authoring_SDK So you can either : Replace the library "OXYGEN_INSTALL_DIR\frameworks\docbook\docbook.jar" with a version recompiled from our sources and containg your modifications. Or You can create a patch library "patch.jar" containing only the recompiled modified class, edit the Docbook 5 Document Type Association from the Oxygen Preferences and in the "Classpath" tab add the path to the patch library before the entry pointing to the "docbook.jar". Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 5/3/2011 11:38 AM, Jirka Kosek wrote:
Hi,
I was looking for user friendly ways of inserting xi:include into document opened in Author view. I have realized that closest functionality to this is dragging file from project view to Author view. For some document types (e.g. DocBook) this includes<link> element pointing to this file. I can't imagine use of such<link> elements. Wouldn't it be better to insert xi:include instead? Maybe this could be improvement for future versions.
Am I right that in order to modify this behavior I have to make my own implementation ro.sync.ecss.extensions.docbook.Docbook5ExternalObjectInsertionHandler class?
Thanks,
Jirka
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user