Where are /images/Italic20.gif etc.?

Oxygen general issues.
dcramer
Posts: 163
Joined: Sat Aug 28, 2010 1:23 am

Where are /images/Italic20.gif etc.?

Post by dcramer »

Hi there,
I notice in the Document Type Association editing window where you configure Actions, there are references to icons that appear in the toolbars in the GUI like "/images/Italic20.gif". However, I can't find any of those images in the Oxygen installation directory. I wanted to look at existing ones and craft some of my own based on them.

In particular, I want to add a menu button similar to the current Link button for monospace elements.

Thanks,
David
Radu
Posts: 9446
Joined: Fri Jul 09, 2004 5:18 pm

Re: Where are /images/Italic20.gif etc.?

Post by Radu »

Hi David,

Most of the images we use in the bundled frameworks are in the OXYGEN_INSTALL_DIR/lib/oxygen.jar library in the images folder.
We took this decision because we were reusing the same image for different frameworks.
You can either look inside the oxygen.jar and use an image you like or specify the path like:
${frameworks}\docbook\images\your_image.gif
so that it points to a custom image you can place in the docbook frameworks directory.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
patrick
Posts: 96
Joined: Mon May 09, 2011 11:54 am

Re: Where are /images/Italic20.gif etc.?

Post by patrick »

Hi,

is it possible to get access to images in my framework.jar on this way? If I place images in the package images in my framework, I cannot access to this.

Thanks,
Patrick
Radu
Posts: 9446
Joined: Fri Jul 09, 2004 5:18 pm

Re: Where are /images/Italic20.gif etc.?

Post by Radu »

Hi Patrick,

The /images/... construct for referring images is just something we support for getting access to images from inside the oxygen.jar.
So you will need to have a separate images folder (not inside the JAR) and reference images like ${frameworks}/your_custom_framework_dir_name/images/your_image.png.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply