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

frederic.ouellet at desjardins.com frederic.ouellet at desjardins.com
Tue Dec 21 07:24:44 PST 2004





<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 at renderx.com>                                                                                                                       
             Envoyé par : owner-xep-support at renderx.com                                                                                                                   
                                                                                                                                                                     Pour 
                                                                             "frederic.ouellet at desjardins.com" <xep-support at renderx.com>                                  
             2004-12-21 04:38                                                                                                                                          cc 
                                                                                                                                                                          
                                                                                                                                                                    Objet 
                               Veuillez répondre à                           Re: [xep-support] PDF File Name Generation?                                                  
                             xep-support at 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 at renderx.com

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at 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 at 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



More information about the Xep-support mailing list