John Brown wrote:
> 
>> ---
>> PS: When XMLmind XSL-FO Converter is used in the context of XMLmind XML
>> Editor, there is no problem converting documents including SVG and PDF
>> graphics to .docx, .rtf, etc. XMLmind XML Editor has its own add-ons
>> (called image toolkit plug-ins) which allow to do that. That is, XMLmind
>> XML Editor does not rely on XMLmind XSL-FO Converter ``native support''
>> of advanced graphics formats.
>>
>> See http://www.xmlmind.com/xmleditor/
> 
>> See http://www.xmlmind.com/xmleditor/addons.shtml#imageToolkitPlugin
> 
> I installed XML Editor, and the jimi plugin, but when I try to convert my
> DocBook document to OpenOffice, it complains that no converter exists for
> SVG and PDF.
> 
> How is the plugin used?
> 

--> You picked the wrong plug-in. Please install the plug-in called
"Apache Batik image toolkit plug-in". Other that that, there is nothing
special to do. This should allow you to view and convert documents
containing SVG graphics.



--> Downloading and installing add-ons must be done from within XMLmind
XML Editor using menu item "Options|Install Add-ons". See
http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xmleditapp.app.part.InstallAddonsDialog.html

The "Install Add-ons" dialog box allows you to read a short
documentation before actually installing the add-on. Please take the
time to do that.

The documentation of the Jimi image toolkit plug-in says:
---
Jimi 1.0 adds to XXE the support of many image formats including TIFF
and BMP.
...
---

The documentation of the Batik image toolkit plug-in says:
---
Batik 1.7 adds to XXE the support of SVG graphics.
...
---



--> There is no ready-to-use plug-in for the PDF. However, an external
command-line tool such as Ghostscript (supports both PostScript and PDF)
may be converted to an image toolkit plug-in by the means of a
declaration similar to this one:

Excerpts of my own ~/.xxe4/addon/sample_customize_xxe/imagetoolkits.incl
---
<imageToolkit name="Ghostscript">
  <description>Converts EPS and PDF graphics to PNG.
Important: requires Ghostscript 8+.</description>

  <converter>
    <input extensions="eps epsf ps pdf" magicStrings="%!PS %PDF"/>
    <output extensions="png"/>

    <shell command='gs -q -dBATCH -dNOPAUSE -sDEVICE=png16m
                    -r96 -dTextAlphaBits=4 -dGraphicsAlphaBits=4
                    -dEPSCrop
                    %A "-sOutputFile=%O" "%I"'
           platform="Unix"/>

    <shell command='gswin32c -q -dBATCH -dNOPAUSE -sDEVICE=png16m
                    -r96 -dTextAlphaBits=4 -dGraphicsAlphaBits=4
                    -dEPSCrop
                    %A "-sOutputFile=%O" "%I"'
           platform="Windows"/>
  </converter>
</imageToolkit>
---

If you are willing to install and use Ghostscript
(http://www.ghostscript.com/), if you don't find all this too
complicated and if you are a customer of XMLmind XML Editor Professional
Edition, I can explain how to proceed step by step.




Reply via email to