Releases: aspose-words/Aspose.Words-for-Java
Export to Word Plugin for dotCMS - v1.0.0
Export to Word Plugin for dotCMS allow users to export online content into Word Processing document using Aspose.Words for Java. It dynamically exports the content of the Web page to a Word Processing document and then automatically downloads the file to the disk location selected by the user in just couple of seconds. The generated Word processing document can then be opened using any Word Processing Application such as Microsoft Word or Apache OpenOffice etc.
Installing
Once downloaded, please follow these steps to install the plugin into your dotCMS website:
- Log into your site as either admin or another super-user level account.
- Go to the dotCMS Dynamic Plugin portlet under the System tab and click on the "Upload Plugin" button and then choose the AsposeDotCMSExportToWord JAR file.
OR
Copy the AsposeDotCMSExportToWord JAR file inside the Felix OSGI container (dotCMS/felix/load). - Please add the following 2 exported packages either by changing the file: dotCMS/WEB-INF/felix/osgi-extra.conf or using the dotCMS UI (System -> Dynamic Plugins -> Exported Packages).
- javax.xml.stream
- javax.xml.namespace
Using
After you have installed the Export to Word OSGI plugin, it is really simple to start using it on your website. Please follow these simple steps to get started:
- Make sure you are logged-in to dotCMS with a Host or Admin level account.
- Navigate to the page whose content you want to export to a Word Processing document.
- Add following HTML code in your page content.
<form action="/app/exporttoword" method="POST">
<input type="hidden" name="page_url" value=$dotPageContent.url />
<input type="submit" value="Export to Word" style="float: right;" />
</form>
This will add Export to Word button on the page and clicking a button will dynamically exports the content of the page into a Word Processing document.
How to apply Aspose License?
This Plugin uses an evaluation version of Aspose.Words. Once you are happy with your evaluation, you can purchase a license at the Aspose website.
To remove evaluation message and feature limitations, product license should be applied. You will receive a license file after you have purchased the product. Please follow the steps below to apply the license
- Make sure the license file is named as Aspose.Words.Java.lic.
- Place Aspose.Words.Java.lic file in the folder that contains the Aspose.Words.jar
- Use following code for activating the license:
License license = new License();
license.setLicense("Aspose.Words.Java.lic");
Please check this article for further details.
Supported Platforms
In order to deploy Export to Word OSGI/Dynamic Plugin you need to have the following requirements met:
- dotCMS 2.2 +
Please feel free to contact us if you wish to install this plugin on older versions of dotCMS.
Aspose.Words Java for Eclipse (Maven) Plugin - v1.0.0
This is new Plugin for Eclipse IDE by Aspose. The Plugin intended for developers using Maven platform for Java developments and want to use Aspose.Words for Java in their projects.
NOTE: Aspose.Words for Java is Java API developed by Aspose that offers easy Microsoft Word document creation and manipulation right from within Java Projects. For the API detailed features list check the link.
The release contains the following features:
Aspose.Words Maven Project (wizard)
- By using this wizard plugin creates Maven project for using Aspose.Words for Java from New -> Project -> Maven-> Aspose.Words Maven Project
- The wizard will also give option for downloading latest available Code Examples for using the API.
Aspose.Words Code Example (wizard)
- By using this wizard plugin lets you copy the downloaded Code Examples into your project for using Aspose.Words for Java from New -> Other -> Java -> Aspose.Words Code Example
- The wizard will also look for and updates for newly available Code Examples from Aspose.Words for Java examples repository.
(Selected Code Examples (category) source codes will be copied under "com.aspose.words.examples" package. Resources needed for running examples will be copied to the corresponding directory (package) within "src/main/resources").
Other Features
- Supports latest Eclipse Mars.1 (4.5.1) version
- Compatible with Mac, Linux Flavors and Windows
- Native IDE user experience
- Open Source
Code Examples
The Aspose.Words Code Example wizard currently integrates the following Aspose.Words Code Examples with the Eclipse IDE
- Quick Start
- Append Documents
- Apply License
- Find And Replace
- Hello World
- Load And Save To Disk
- Load And Save To Stream
- Simple MailMerge
- Update Fields
- Loading and Saving
- Check Format
- Image To PDF
- Load Text
- Page Splitter
- Split Into HTML Pages
- Word 2 Help
- Programming Documents
- Bookmarks
- Comments
- Document
- Fields
- Find & Replace
- Images
- Joining Appending
- Styles
- Tables
- Mail Merge
- Apply Custom Logic To Empty Regions
- MailMerge Form Fields
- Multiple Docs In MailMerge
- MustacheTemplate Syntax
- Nested MailMerge
- Remove Empty Regions
- XML MailMerge
- Rendering and Printing
- Document Preview And Print.
- Print Preview Dialog
- Print Preview Dialog
- Render Shapes
- Save As Multipage TIFF
- Document Explorer (Gui Based)
Aspose.Words Java for Jython - v1.0.0
Demonstrates the Aspose.Words for Java API usage within Jython.
Aspose.Words for Java API is very rich in features, however this release provides usage examples for following features:
Quick Start
- Append Documents
- DocToPdf
- Apply License
- Find And Replace
- Hello World
- Load And Save To Disk
- Load And Save To Stream
- Simple Mail Merge
- Update Fields
- Working With Nodes
Programming with Document
- Joining And Appending
- Working With Comments
- Working With Bookmarks
- Working With Document
- Working With Fields
- Working With Images
- Working With Styles
- Working With Tables
Loading And Saving
- Check File Format
- Convert To Other Formats
- Check Digital Signatures
- Load Text File
Rendering and Printing
- Render Shapes
- Save Document as Multipage TIFF
Aspose.Words Java for NetBeans 8.1 (Maven) Plugin - v1.0.0
This is new Plugin for NetBeans IDE by Aspose. The Plugin intended for developers using Maven platform for Java developments and want to use Aspose.Words for Java in their projects.
NOTE: Aspose.Words for Java is Java API developed by Aspose that offers easy Microsoft Word document creation and manipulation right from within Java Projects. For the API detailed features list check the link.
The release contains the following features:
Aspose.Words Maven Project (wizard)
- By using this wizard plugin creates Maven project for using Aspose.Words for Java from New Project -> Maven-> Aspose.Words Maven Project
- The wizard will also give option for downloading latest available Code Examples for using the API.
Aspose.Words Code Example (wizard)
- By using this wizard plugin lets you copy the downloaded Code Examples into your project for using Aspose.Words for Java from New File -> Java -> Aspose.Words Code Example
- The wizard will also look for and updates for newly available Code Examples from Aspose.Words for Java examples repository.
(Selected Code Examples (category) source codes will be copied under "com.aspose.words.examples" package. Resources needed for running examples will be copied to the corresponding directory (package) within "src/main/resources").
Other Features
- Supports latest NetBeans 8.1 version
- Compatible with Mac, Linux Flavors and Windows
- Native IDE user experience
- Open Source
Code Examples
The Aspose.Words Code Example wizard currently integrates the following Aspose.Words Code Examples with the NetBeans IDE
- Quick Start
- Append Documents
- Apply License
- Find And Replace
- Hello World
- Load And Save To Disk
- Load And Save To Stream
- Simple MailMerge
- Update Fields
- Loading and Saving
- Check Format
- Image To PDF
- Load Text
- Page Splitter
- Split Into HTML Pages
- Word 2 Help
- Programming Documents
- Bookmarks
- Comments
- Document
- Fields
- Find & Replace
- Images
- Joining Appending
- Styles
- Tables
- Mail Merge
- Apply Custom Logic To Empty Regions
- MailMerge Form Fields
- Multiple Docs In MailMerge
- MustacheTemplate Syntax
- Nested MailMerge
- Remove Empty Regions
- XML MailMerge
- Rendering and Printing
- Document Preview And Print.
- Print Preview Dialog
- Print Preview Dialog
- Render Shapes
- Save As Multipage TIFF
- Document Explorer (Gui Based)
Aspose.Words Java for NetBeans 8.0 (Maven) Plugin - v1.0.0
This is new Plugin for NetBeans IDE by Aspose. The Plugin intended for developers using Maven platform for Java developments and want to use Aspose.Words for Java in their projects.
NOTE: Aspose.Words for Java is Java API developed by Aspose that offers easy Microsoft Word document creation and manipulation right from within Java Projects. For the API detailed features list check the link.
The release contains the following features:
Aspose.Words Maven Project (wizard)
- By using this wizard plugin creates Maven project for using Aspose.Words for Java from New Project -> Maven-> Aspose.Words Maven Project
- The wizard will also give option for downloading latest available Code Examples for using the API.
Aspose.Words Code Example (wizard)
- By using this wizard plugin lets you copy the downloaded Code Examples into your project for using Aspose.Words for Java from New File -> Java -> Aspose.Words Code Example
- The wizard will also look for and updates for newly available Code Examples from Aspose.Words for Java examples repository.
(Selected Code Examples (category) source codes will be copied under "com.aspose.words.examples" package. Resources needed for running examples will be copied to the corresponding directory (package) within "src/main/resources").
Other Features
- Supports NetBeans 8.0 version
- Compatible with Mac, Linux Flavors and Windows
- Native IDE user experience
- Open Source
Code Examples
The Aspose.Words Code Example wizard currently integrates the following Aspose.Words Code Examples with the NetBeans IDE
- Quick Start
- Append Documents
- Apply License
- Find And Replace
- Hello World
- Load And Save To Disk
- Load And Save To Stream
- Simple MailMerge
- Update Fields
- Loading and Saving
- Check Format
- Image To PDF
- Load Text
- Page Splitter
- Split Into HTML Pages
- Word 2 Help
- Programming Documents
- Bookmarks
- Comments
- Document
- Fields
- Find & Replace
- Images
- Joining Appending
- Styles
- Tables
- Mail Merge
- Apply Custom Logic To Empty Regions
- MailMerge Form Fields
- Multiple Docs In MailMerge
- MustacheTemplate Syntax
- Nested MailMerge
- Remove Empty Regions
- XML MailMerge
- Rendering and Printing
- Document Preview And Print.
- Print Preview Dialog
- Print Preview Dialog
- Render Shapes
- Save As Multipage TIFF
- Document Explorer (Gui Based)
Aspose.Words Java for Docx4j - v1.0.0
This version of the plugin is enriched with the following examples that are helpful for developers who want to compare Docx4j with Aspose.Words OR migrate from Docx4j to Aspose.Words. We have restructured examples and now developers can use it via Maven.
Aspose.Words vs Docx4j
Examples for code comparison in Aspose.Words and Docx4j:
Working with Bookmarks
Working with Document
- Accessing Document Properties
- Convert Document to HTML
- Working with Comments
- Insert Image
- Merge Documents
- Create New Document
- Add Watermark in Document
- Insert Hyperlink to Document
- Convert Document to PDF
- Insert Table of Contents in Document
Working with Header and Footer
Missing Features of Docx4j
Examples for code with missing features in Docx4j in comparison with Aspose.Words:
Working with Documents
- Clone Documents
- Moving the Cursor in Document
- Protect Documents
- Check Format Compatibility
- Working with Digital Signatures
- Load Text File
- Specify Default Fonts
- Set Page Borders
- Track Changes in Documents
- Using Control Characters
Working with Tables
Mail Merge
Aspose.Words Java for Apache POI WP - v1.0.0
This initial version is enriched with the following examples that are helpful for developers who want to compare Apache POI WP with Aspose.Words for Java OR migrate from Apache POI WP to Aspose.Words for Java.
Aspose.Words vs Apache POI WP
Working with Documents
- Create New Word Document
- Convert Word Doc to Other Formats
- Get Document Properties
- Format Text in Document
- Open Existing Document
- Save Document
Working with Images
Working with Headers and Footers
Working with Ranges
Working with Tables
Features of Aspose.Words missing in Apache POI WP
Working with Document
- Append Documents
- Clone Documents
- Protect Documents
- Track Changes in Documents
- Working with Bookmarks
- Add Watermark
- Check Format Compatibility
- Working with Digital Signatures
- Insert Picture in Word Document
- Insert Barcode on Each Page
Working with Text
- Find and Replace Text in Documents
- Insert Comments
- Specify Default Fonts
- Extract Comments from Document
- Remove Comments from Document
Working with Tables
Mail Merge
Working with Fields
Other Examples
Aspose.Words Java for IntelliJ IDEA(Maven) Plugin - v1.0.0
✨ What's New
The release contains the following wizards:
- Aspose.Words Maven Project wizard
- Aspose.Words Examples wizard
Aspose.Words Maven Project wizard creates Aspose.Words for Java API Maven project for using Aspose.Words for Java API.
Aspose.Words Examples wizard lets you import / copy downloaded Examples Source Codes into the project along with the required resources for the execution of examples.
The wizard currently integrates the following Aspose.Words examples with the IntelliJ IDEA:
- Quick Start
- Loading and Saving
- Programming Documents
- Bookmarks
- Comments
- Document
- Fields
- Find and Replace
- Images
- Joining and Appending
- Styles
- Tables
- Mail Merge
- Rendering and Printing
- Document Explorer (Gui Based)
Please also check this Blog Post on Aspose blogs for the plugin release v1.0.0.0
Aspose.Words Java vs Docx4j - v 1.2
Release contain the open source code comparison examples among features of Aspose.Words Java and Docx4j - Dealing Microsoft Word and OpenOffice Documents.
✨ What's New
Following Examples:
- Add Watermark in Document
- Insert Hyperlink to Document
- Convert Document to PDF
- Insert Table of Contents in Document
- Remove Header Footer from Documents
✨ Existing Examples
Working with Bookmarks
Working with Document
- Accessing Document Properties
- Convert Document to HTML
- Working with Comments
- Insert Image
- Merge Documents
- Create New Document
Working with Header and Footer
Feedback and Suggestions
- Many more examples are available at Aspose Docs.
- Raise your queries and suggest more examples via Aspose Forums or via this social coding site.
Aspose Words Java for Python
Aspose.Words Java for Python
Aspose Words Java for Python is a Python project that demonstrates / provides the Aspose.Words for Java API usage examples in Python by using Jpype.
You will need to install Jpype before using any of the Aspose provided Java APIs in Python e.g Aspose.Words, Aspose.Cells and Aspose.Slides etc.
For the configuration/setup of Jpype, please see:
http://jpype.readthedocs.org/en/latest/userguide.html
To download Aspose.Words for Java API to be used with these examples through Jpype
Please navigate to:
http://www.aspose.com/community/files/72/java-components/aspose.words-for-java/
For most complete documentation of the project, check Aspose.Words Java for Python confluence wiki link:
http://www.aspose.com/docs/display/wordsjava/6.+Aspose.Words+Java+For+Python