Thanks for your prompt and detailed reply to both end-users (me) and
local gurus.  The <XXE_install_dir>/demo/docbook-image.xml file that
you recommended is an excellent resource on this subject!  I needed to
upgrade from XXE version 2.6 to version 2.9 to get this file, and I'm
glad I did.

I noticed that I can't print beyond section 4.1 of this document,
presumably because section 4.2 and beyond contain certain image formats
that aren't supported in the XXE Standard Edition.  I also can't
convert this document to HTML, probably for the same reason.  (FYI, I
have installed the Batik and Jimi plugins.)  Not being able to print
this file isn't a big deal, except that it would be easier for me to
read the docbook-image.xml document if I could print it.


--- Hussein Shafie <hussein at pixware.fr> wrote:
> 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