Download XML Editor 10.3 User Manual
Transcript
Author Developer Guide
<jar destfile="sdf.jar" basedir="classes">
<fileset dir="classes">
<include name="**/*"/>
</fileset>
</jar>
</target>
</project>
4.
Copy the sdf.jar file into the frameworks/sdf directory.
5.
Add the sdf.jar to the Author class path. To do this, Open the options Document Type Dialog, select SDF
and press the Edit button.
Select the Classpath tab in the lower part of the dialog.
Press the Add button . In the displayed dialog enter the location of the jar file, relative to the <oXygen/>
frameworks directory:
Figure 7.21. Adding a classpath entry
6.
Let's create now the action which will use the defined operation. Click on the Actions label.
We assume the icon files Image16.gif for the menu item and
available. Place these files in the frameworks/sdf directory.
Image20.gif for the toolbar are already
Define the action properties:
ID
An unique identifier for the action. Use insert_image.
Name
The name of the action. Use Insert image.
Menu access key
Use the i letter.
Description
Enter the text Inserts an image.
Toolbar icon
Enter here: ${frameworks}/sdf/Image20.gif
Menu icon
Enter here: ${frameworks}/sdf/Image16.gif
Shortcut key
We will use: Ctrl+Shift+i.
Now let's set up the operation.
We are adding images only if the current element is a section, book or article.
XPath expression
Set the value to:
300
Related documents
XML Author 10.3 User Manual
XML Editor 11.2 User Manual
XML Editor 10.3 User Manual for Eclipse
XML Author 10.3 User Manual for Eclipse
Oxygen XML Author 12.2
XML Editor 11.2 User Manual for Eclipse
XML Editor User Manual
XML Author 11.2 User Manual for Eclipse
Oxygen XML Author Eclipse Plugin 15.2
XML Author 11.2 User Manual
User Manual
Oxygen XML Editor 16.1