Page 1 of 1

Buton Image in the Tollbar

Posted: Wed Jun 21, 2023 5:10 pm
by Antoineflg35
Hello

. I have a question about the toolbar. We using the ATA2300 framework, and in Oxygen XML Author, we have several possibilities for customizing the toolbar (for example insert a table) but not the button to insert an image. How can we create a button for insert an image ?

Regards,
Antoine

Re: Buton Image in the Tollbar

Posted: Wed Jun 21, 2023 7:48 pm
by cristi_talau
One way to implement the button to insert an image is to use the Document Type Configuration dialog box [1] (in the Oxygen XML Author or Editor desktop app) to define an action (or use the equivalent approach if you are using an EXF [2]). In this action you can use ${ask} Editor Variables to let the user choose the relative URL of the image and InsertFragmentOperation to insert an XML fragment that contains that URL.

If you decided whether to use an EXF script or the Document Type Configuration dialog box please let us know such that in future communications we can give you the relevant instructions for your case.

[1] https://www.oxygenxml.com/doc/versions/ ... ialog.html
[2] https://www.oxygenxml.com/doc/versions/ ... zt_5ry_jnb