On 06/23/2011 11:44 AM, Spijkerman, Gerhard wrote: > > For one of our customers who are using XMLmind we are building > stylesheets to produce PDF (with XEP from RenderX). > > We transform some XML data with XSLT, run a FO process and they produce > PDF automatically. To run this stylesheet the customer like to have a > button to start this action. > > -Can we implement a button or start a macro within the XMLmind interface? > > -Just by a simple click >
Sure. If, for example, you are creating a configuration named foo.xxe, add to it a <toolbar> configuration element and in this <toolbar>, add a <button>. The <button> must invoke a command of any kind. Transforming some XML data with XSLT, running a FO process and then producing PDF automatically must be specified in as a *process* *command*. Please take a look at any of the stock configurations to quickly understand what I mean. For example, take a look at XXE_install_dir/addon/config/docbook/toolBar.incl, xslMenu.incl. References: * http://www.xmlmind.com/xmleditor/_distrib/doc/configure/toolBar.html * http://www.xmlmind.com/xmleditor/_distrib/doc/commands/process.html -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

