On 01/30/2013 04:04 PM, Camille Bégnis wrote:
we are trying to make it easy for a user to insert a new module in a
DocBook 5 document.
We have modules (<section>) stored at a specific WebDAV URL.
We would like to offer the user the following interface:
1) user selects the element (typically a section) standing before the
module he wants to inserts
2) he clicks a new icon in the interface ("Insert module after")
3) this opens the "Remote Browsing" dialog showing the files at a
predefined location
4) the user selects the file to be inserted in that dialog, presses OK
5) the file is included as a reference after the context defined on step 1)
Ideally, there would be various icons for various module types.
Does that seems feasible to you making a UI configuration, or through
the API?
A few pointers would be appreciated.
It should be possible to use command "include" for that. Excerpts from
http://www.xmlmind.com/xmleditor/_distrib/doc/commands/include.html
---
When parameters referenced_document_URL and reference_id are specified,
command include may be used in macro-commands to automate tasks.
---
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support