Visio to PDF API for Linux and Windows - java

I'm evaluating transformers to find visio to pdf transformer. I found there is none. Is there any external third party api that can convert visio to pdf(Both Linux and Windows). I found easyPDF api, but it only support windows platform.
Any kind help is appreciated.

Related

Create thumbnail image for PDF in Android

I'm looking for a Java library that can take a PDF and create a thumbnail image (PNG) from the first page in an Android Mobile Device.
I found this Create thumbnail image for PDF in Java but this will not work for android as it is dependent on AWT.
Please help me with the free support lib in android.
Apache PDFBox.
The Apache PDFBox™ library is an open source Java tool for working
with PDF documents. This project allows creation of new PDF documents,
manipulation of existing documents and the ability to extract content
from documents. Apache PDFBox also includes several command line
utilities. Apache PDFBox is published under the Apache License v2.0.
In itself, it is not compatible with Android so you may want to have a look at the Android port - PdfBox-Android library.
If you want a web service, Datalogics PDF WebAPI is an option.

Java API for vsd or vdx file generation

Is there any library to generate Visio files from Java?
DatadiagramML schema (vdx) is availible on http://www.microsoft.com/en-us/download/details.aspx?id=23976, but it looks very complicated and I hope for any API?
Some Options for You:
VisioAutomation.VDX
I wrote a library called "VisioAutomation.VDX" that may be of some help to you. It is written in C# but should be a straightforward conversion to Java.
You can get the source code here: https://github.com/saveenr/VisioAutomation
pkgVisio
http://pkgvisio.codeplex.com/
For the Visio 2013 XML format
Visio's own API is a COM API therefore if your application is on Windows you could use a Java to COM bridge and use Visio to generate the drawings. You may have to purchase a Visio license for each PC running you application and there are licensing restrictions on using this method in a server scenario.
An alternative which you may want to consider is using a library which generates a non-Visio file format Visio supports such as SVG.

Convert Lotus Notes RichText to PDF programmatically

I want to convert Notes Richtext into PDF in a server program (preferably Java). Is there any sample code how to do that. Converting to HTML/MIME isn't an option since the conversion process is too lossy.
I did some tests with DXL, some XSLT code and XSL:FO, via FOP. It produced some PDF output. Project abandoned due to lack of funding (read: no customer).
The basics, in a recent document: http://www.ibm.com/developerworks/xml/library/x-xslfo/
You'll need to find some third-party software to help, as this isn't possible out of the box. Here's one that looks promising: SWING Software's Lotus Notes Export to PDF

Powerpoint Preview and Thumbnail

We are providing a thumbnail & preview functionality for rich powerpoint documents on our Java based site.
Currently, we are using iSpringConverter tool for converting the powerpoint documents to swf file.
The tool is licensed and windows based, and allows interaction through java.
This swf file is then launched on the client side as popups.
Can anyone suggest any other tools/frameworks/options/approaches used for implementing
- Generation of thumbnails and preview for powerpoints
- Viewers used, in case the preview is generated in some formats.
Any more ideas/suggestions.
Try SWFTOOLS, it works very well :)
You can make calls to it running command lines (using Process class).
I dont know if it transparently make thumbnails and etc... but I think you can done it by yourself using it.
hope it helps.
http://www.swftools.org/
You may try Aspose.Slides for Java to create thumbnails of the PowerPoint slides in your Java application. You can then show those images as a preview using any image control. This component doesn't require MS Office/Open Office etc. to be installed on your development or deployment machines for processing PowerPoint files. The API is quite simple and provides detailed documentation and help. Please see if this might help in your scenario.
Disclosure: I work as a developer evangelist at Aspose.

Native Java document parser and converter library / linux based document converters

I'm looking for a Java library which can do the following:
parse emails in *.eml or *.msg format for attachments of type DOC,DOCX,JPEG,PNG,GIF,TXT,XLS,XLSX,PPT,PDF and convert the attachmens to the TIFF format.
It can be either open source or a comercial library. Alternatively I'm looking for command line tools for linux doing this. We already tried open office, but there are too many problems with some document formats.
UPDATE:
What I found out by research up to now:
For parsing emails and extracting attachments, JavaMail (http://www.oracle.com/technetwork/java/javamail/index.html) is a good choice.
For converting documents, JodConverter (http://code.google.com/p/jodconverter/) is a confortable library. However it's only a wrapper for open office, so if there are issues with open office (and I do have often trouble with openoffice) to convert a document, you will have them also with JodConcerter.
In conclusion I had no luck (up to now) to find any document conversion library implemented in native java, which handels all common document formats, neither open source or even commercial. It seems to be a real market gap.
RainbowPDF may fit: its a commercial server based conversion tool with Java API.
If you've got a Windows server, have a look at NEEVIA Document Converter Pro. It has some mail functionality.
Apace POI is an interface to read the content of Microsoft Office documents. You will have to code the image generating and layouting components on your own. Nervertheless it reads Outlook MSG format.
Apache POI - the Java API for Microsoft Documents. However I don't know how to easily convert parsed document to TIFF.
May be a mix of different approaches could be useful? Depending on your requirements, could be possible to use several libraries to convert all the formats you need to manage: Microsoft Office, Adobe PDF, some different image formats and simple text files.
I mean, you can create a process that, depending on the type of the file extracted (using Java Mail), you could recognize what kind of format the file has and continue processing with the right conversion mechanism using the suitable library. Then you will idenfity if a file it's an image to convert, try Java Advanced Imaging, if it's a Microsoft Office file, try Apache POI and so on. For managing PDF files, you can try Apache PDFBox it's another good and opensource solution.
By the way, if you are looking not only for a Java approach, may be this thread may help you.
I don't know if there are better commercial solutions than #ChrisGer commented.
Do not waste your time looking at Apache POI, as it can only parse the content of the Office files but is not suitable for rendering it.
Since there are OpenOffice servers available, I suggest you do this. I also know you can easily use DCOM to talk with Microsoft Office apps, maybe a Java->DCOM bridge is more up to the task. However, this is not even recommended by Microsoft (so I suppose the JodConverter thing is equally unstable).

Categories

Resources