borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2010 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Next Topic (Enhanced SQL Server 2008 R2 Support & Exporting Report to PPT) New Topic New Poll Post Reply
AndreaVB Forum : News : Convert DOC, DOCX, RTF, ODT & HTML to PDF in Java Applications
Poster Message
aspose_seo
Level: VB Lord

Registered: 11-02-2008
Posts: 167

Ads by Lake Quincy Media
icon Convert DOC, DOCX, RTF, ODT & HTML to PDF in Java Applications

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@aspose.com
Phone: 888.277.6734
Fax: 866.810.94651

17-12-2009 at 09:33 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
yao847zi
Level: Trainee

Registered: 29-11-2010
Posts: 1
icon Re: Convert DOC, DOCX, RTF, ODT & HTML to PDF in Java Applications

HTML-to-RTF Pro DLL .Net is a component for developers that enables application convert XHTML,ASPX, HTML to RTF, DOC, plain Text. The component has own HTML parser and RTF creator written in C# for .Net.

Our library is absolutely standalone, it does't require Microsoft Office or Internet Explorer. We don't use any third-party software. It's completelly written in C# in Visual Studio

Ads by Lake Quincy Media
29-11-2010 at 04:21 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
AndreaVB Forum : News : Convert DOC, DOCX, RTF, ODT & HTML to PDF in Java Applications
Next Topic (Enhanced SQL Server 2008 R2 Support & Exporting Report to PPT) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2010 Andrea Tincaniborder