RE: Invoking FOP from C++

2004-07-12 Thread Šoltís Ján
> > Has anyone else had any experience calling FOP from C++? > I can only confirm the recommendations to embed the FOP into > some sort of Java Daemon or Servlet. We are calling FOP from C++ without any problems. But we are also considering to use some daemon/servlet for the same reasons Ander

Re: Invoking FOP from C++

2004-07-12 Thread anders . malmborg
> Has anyone else had any experience calling FOP from C++? I am working on an existing product with a lot of C++ code. We are about to change the "printing engine" from something homegrown to FOP. I can only confirm the recommendations to embed the FOP into some sort of Java Daemon or Servlet.

Re: Invoking FOP from C++

2004-07-11 Thread Steve Afdahl
Have you looked into the Java Native Interface (JNI)? It works both ways. You can use it in Java to call native libraries and you can also use it to call Java code from C/C++. This should give you access to the page count property as well as controlling output creation. This link might help

Re: Invoking FOP from C++

2004-07-10 Thread Gunnar Liljas
At 20:08 2004-07-09, you wrote: Has anyone else had any experience calling FOP from C++? Thanks. No, but I'm using it very successfully from a C# application, by executing the binary. Of course there is a performance penalty, and the level of control isn't fine grain, but it's stable. /Gunnar