com.aspose.words.Document doc = new com.aspose.words.Document(“C:\\MyDoc.docx”);
PdfOptions options = new PdfOptions();
// 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.
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.