User login

Languages

Donate

Donate for a MSI Installer Package [more]

Target:
$ 1200
Achieved:
$ 1036.55
Fees:
$ 52.53
86.4 %
Donate
SourceForge.net Logo

Java API

6 replies [Last post]
grimsell
User offline. Last seen 6 weeks 6 days ago. Offline
Joined: 08/24/2009

I would like tor create a Java API on top of PDFCreator. What I have in thought is to call the COM API via Jacob.

Is this the preferd way to use PDFCreator from Java? Has this already been done by someonelse?

Where should I start? Is there any documentation on the COM API or is the samples the place to start looking?

Thanks,

Magnus Grimsell

philip
philip's picture
User offline. Last seen 6 hours 43 min ago. Offline
DeveloperTranslator
Joined: 03/22/2009

Hello,

as far as I know there is noone working on a Java API so far. Using Jacob (or a similar COM Wrapper) is the right way, I would think.

Probably it is a good start to have a look at the COM samples, that give a general overview on the COM Interface. After that, it probably makes sense to look at the VB code of the COM Class itself and then start doing the Wrapper with Jacob.

kind regards,

Philip

__________________

Philip
Team pdfforge

sippi77
User offline. Last seen 27 weeks 3 days ago. Offline
Joined: 09/03/2009

I' also quite interested in calling pdfcreator form Java. Do you already have any results? Will you open source your Java API?

grimsell
User offline. Last seen 6 weeks 6 days ago. Offline
Joined: 08/24/2009

 No, we havn't started on this yet. We will probably have something working in a couple of weeks.

Yes, our plan is to open source the Java API. Either if the PDFCreator wants it as a part of the main project or as an own project (PDFCreator4J).

I'll let you know when we have made som progress.

 

grimsell
User offline. Last seen 6 weeks 6 days ago. Offline
Joined: 08/24/2009

Our Java API is now available at sourceforge: https://sourceforge.net/projects/pdfcreator4j/ 

philip
philip's picture
User offline. Last seen 6 hours 43 min ago. Offline
DeveloperTranslator
Joined: 03/22/2009

That's great news!

I have added your project to the newly created page of PDFCreator-related projects: http://en.pdfforge.org/pdfcreator/related-projects

kind regards,
Philip

PS: for all: if there are other projects to be mentioned here, just let me know and I will add them (surely have forgotten some)

__________________

Philip
Team pdfforge

ccharlottenz33
User offline. Last seen 2 weeks 6 days ago. Offline
Joined: 02/22/2010

Unfortunately, this has to work on Linux so I can't use any printer driver solution. Besides that, this is a J2EE web application, so what I need it to do is, when the user clicks a button a Struts Action is called that loads any number of Word docs from the database and converts them to PDF. So what I really need is an API, not a driver or a 3rd-party application.

---------------

denver cheap flights

© pdfforge.org :: Contact us :: Sitemap :: Design by Daniela Martin

Validate XHTML or CSS.