Ken Doran wrote:
> Are there any XXE functions that let the user scale graphics in the
> document?  Thanks.

If you ask this question as an end-user, the answer is yes for XHTML and 
DocBook documents:

The basic idea is to click on the ``image element'' and to change some 
of its attributes.

DocBook example:
* Open <XXE_install_dir>/demo/docbook-image.xml.
* Click on first (fish) image: an imagedata element.
* In the Attribute Editor, click on attribute "scale" and change "25" to 
"50".
* The document view is immediately updated to reflect the change.

XXE fully supports *all* the attributes related to the size of a DocBook 
image. The values of these attributes are used by XXE to render the 
image on screen  but also by a FO-processor such as RenderX XEP to 
convert the document to PostScript and PDF.

Recommended reading: <XXE_install_dir>/demo/docbook-image.xml!

Downloading these plug-ins:
* batik_imagetoolkit-29.tar.gz
* jimi_imagetoolkit-29.zip
from:
http://www.xmlmind.com/xmleditor/plugins.shtml
may be useful too.

----------------------------------------
If you ask this question as a local guru, which is working on a custom 
configuration, see
http://www.xmlmind.com/xmleditor/_distrib/docs/csssupport/ch05s22.html

If you don't like the idea of teaching your users how to change the 
attribute values, you'll have to write a custom command in Java[tm] 
which displays a nice dialog box and which uses the input of the user to 
change the attributes related to the size of the image. This is simple 
to do but requires you to program in Java.


Reply via email to