What’s new in this release?
Aspose.Words for Java 4.0 now makes it possible for you to convert DOC, DOCX, RTF, ODT and HTML documents to PDF within Java applications by adding just a few lines of code.
How to Save to PDF
com.aspose.words.Document doc = new com.aspose.words.Document(“C:
MyDoc.docx”);
PdfOptions options = new PdfOptions();
options.setHeadingsOutlineLevels(3);
options.setExpandedOutlineLevels(1);
// Aspose.Words for Java requires that you specify the true type fonts directory explicitly before attempting to convert any documents to PDF.
// It does not have to be an OS fonts folder. You can create your own folder and copy all the fonts there you think might ever be required.
options.setTrueTypeFontDirectory(“/usr/share/fonts/ttf”);
doc.saveToPdf(0, doc.getPageCount(), “C:
MyDoc Out.pdf”, options);
-or-
doc.saveToPdf(0, doc.getPageCount(), myStream, options);
Along with supporting new features, we have improved and fine tuned plenty of the following features in previous versions also.
- DOCX, ODT and HTML network performance tune up
- Create/Remove/Preserve Mail Merge Data Source in Documents
Overview about Aspose.Words for Java
Aspose.Words is a Java word processing component to read, write, modify & convert Word documents without using MS Word. It supports all java applications and works with J2SE 1.4.x and higher. Other features include content & formatting manipulation, smart tags, mail merge abilities with images and support of DrawingML, PDF, DOC, OOXML, RTF, ODT, HTML & XHTML formats. The drawing objects like shapes, images, textboxes, OLE objects and ActiveX controls in documents are also supported.
Read more about Aspose.Words for Java
- Homepage of Aspose.Words for Java.
- Download of Aspose.Words for Java.
- Online documentation of Aspose.Words for Java.
- Demos of Aspose.Words for Java.
- Post your technical questions/queries to Aspose.Words for Java Forum.
- Receive notifications about latest news and supported features by subscribing to Aspose.Words for Java blog.
Contact Information
Suite 119, 272 Victoria Avenue
Chatswood, NSW, 2067
Australia
Aspose - The .NET and Java component publisher
sales at aspose dot com
Phone: 888.277.6734
Fax: 866.810.9465l
-
Convert DOC, DOCX, RTF, ODT & HTML to PDF in Java Applications (3 messages)
- Posted by: Usman Sarfraz
- Posted on: December 17 2009 16:51 EST
Threaded Messages (3)
- recommend by Wayne Chang on December 23 2009 15:33 EST
- No Open Office Server required for conversion? by S V on June 15 2010 20:31 EDT
- only Aspose.Words is required by Roman Korchagin on August 17 2010 07:28 EDT
- No Open Office Server required for conversion? by S V on June 15 2010 20:31 EDT
-
recommend[ Go to top ]
- Posted by: Wayne Chang
- Posted on: December 23 2009 15:33 EST
- in response to Usman Sarfraz
do you know that there is a web reporting tool call RAQ Report also provide this function you should give it a try -
No Open Office Server required for conversion?[ Go to top ]
- Posted by: S V
- Posted on: June 15 2010 20:31 EDT
- in response to Wayne Chang
Does ODT -> PDF conversion work with out OpenOffice server in the background. We want to get rid of Office Server.
-
only Aspose.Words is required[ Go to top ]
- Posted by: Roman Korchagin
- Posted on: August 17 2010 19:28 EDT
- in response to S V
Yes, Aspose.Words performs all converions itself. No other software is required.