Réf. : Re: [xep-support] PDF File Name Generation?

From: <frederic.ouellet@desjardins.com>
Date: Tue Dec 21 2004 - 07:24:44 PST

<Msul> Using API:
<Msul> out = new java.io.BufferedOutputStream(new java.io.FileOutputStream("path/to/output.pdf"));
<Msul> (e.g. doc/samples/SAXInput/SAXInput.java:68)

Does it strange?? When we create a FileOutputStream, the File must exist or a FileNotFoundException will be throw.

FileOutputStream
public FileOutputStream(String name)
                 throws FileNotFoundException

My file don't exist because I create it with RenderX...

Perhaps the filename could be passed with a XEP options or in a special signature that took it.

I will test it, but I doubt I could pass the thrown exception.

Best Regards,
Frédéric Ouellet

                                                                                                                                                                          
             Michael Sulyaev <msulyaev@renderx.com>
             Envoyé par : owner-xep-support@renderx.com
                                                                                                                                                                     Pour
                                                                             "frederic.ouellet@desjardins.com" <xep-support@renderx.com>
             2004-12-21 04:38 cc
                                                                                                                                                                          
                                                                                                                                                                    Objet
                               Veuillez répondre à Re: [xep-support] PDF File Name Generation?
                             xep-support@renderx.com
                                                                                                                                                                          
                                                                                                                                                                          
                                                                                                                                                                          
                                                                                                                                                                          
                                                                                                                                                                          

Hello Frederic,

Tuesday, December 21, 2004, 1:51:54 AM, you wrote:

fodc> Hello,

fodc> I want to know how to SET the PDF filename that was generated by XEP.

In the command prompt:
   xep -fo infile.fo -pdf outfile.pdf
   (doc/reference.pdf, "8.4. Command-Line Interface to XEP 4.1")
Using API:
   out = new java.io.BufferedOutputStream(new java.io.FileOutputStream("path/to/output.pdf"));
   (e.g. doc/samples/SAXInput/SAXInput.java:68)

fodc> Best Regards,
fodc> Frédéric Ouellet

--
Best regards,
 Michael                            mailto:msulyaev@renderx.com
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
Received on Tue Dec 21 10:23:37 2004

This archive was generated by hypermail 2.1.8 : Tue Dec 21 2004 - 10:23:38 PST