generating pdf with nfop

S

Serge ANTON

Hi,

I try to produce pdf with nfop, J'essaye de générer du pdf avec nfop,
but I not found any tutorial or sample code.

I have a valid fo file (I generate pdf with this file using fop and
java) but I can't generate pdf with the following code :


Driver driver = new Driver(new InputSource("c:\\test.fo"), new
FileOutputStream("c:\\result.pdf"));
driver.setRenderer(Driver.RENDER_PDF);
driver.run();

Compilation is ok (I have the J# library and ApacheFop.Net.dll) but I
have an error in execution :

Logger not set
Screen logger not set.
Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
'nfop.exe' : chargé
'c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll',
aucun symbole chargé.
'nfop.exe' : chargé
'c:\windows\assembly\gac\mscorlib.resources\1.0.5000.0_fr_b77a5c561934e089\mscorlib.resources.dll',
aucun symbole chargé.
Une exception de type org.apache.fop.apps.FOPException a été levée.
Le programme '[1348] nfop.exe' s'est arrêté avec le code 0 (0x0).
(excuse me the message contains french term, because I use a french
version of VS.net)

Is anybidy already use nfop ?

thanks a lot for your help

Serge Anton
 
J

Jeffrey Tan[MSFT]

Hi Serge,

Thanks for using Microsoft newsgroup.
Is your nfop tool the same as NFop Formatting Objects Processor (FOP) on
sourceforge?
If it is, I think you may paste your question on
http://sourceforge.net/projects/nfop to get more information and help.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top