Hi,

Hopefully an easy question, we are currently looking at the XSL-FO converter 
engine for turning XSL-FO into Docx files, the application we are interested in 
using it in is essentially an image database.  The idea here is that we would 
have a docx document with a user defined selection of some of these images in 
it.  The application is web based and due to the number of images we have (and 
security requirements), we dont just save the files on the file system, they 
are 
references via an ImageServlet service with an image ID.  So for example

http://baseurl.com/ImageServlet?image_id=52

When using this with XSL-FO converter it reports the following:

unsupported graphic format (line #9, column #473)

However if I change the URL to be the following it works:

http://baseurl.com/ImageServlet?image_id=52&file=.jpg

However not all of our images are JPEG, we support a number of different image 
formats as the purpose of each image may be different, so the above solution 
does not work when the image is not a JPEG.  Our ImageServlet correctly sets 
the content type of the image in the HTTP headers, so is it possible to have 
XSL-FO converter use the content type in the HTTP header to decide what type 
of file the image is?

Thanks

Scott

-- 
Scott Neville
Software Developer, Bluestar Software
Telephone: +44 (0)1256 882695
Web site: www.bluestar-software.co.uk
Facebook: www.facebook.com/bluestarsoftware
Email: [email protected]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DISCLAIMER: This email message and any attachments is for the sole
use of the intended recipient(s) and may contain confidential and
privileged information.  Any unauthorised review, use, disclosure
or distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply email and destroy all copies of
the original message.

The views expressed in this message may not necessarily reflect the
views of Bluestar Software Ltd.

Bluestar Software Ltd, Registered in England
Company Registration No. 03537860, VAT No. 709 2751 29
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support

Reply via email to