Here is a brief summary of Spire.Doc for Java features.
Generating, Writing, Editing and Saving
Spire.Doc for Java enables quick generating, saving, writing and editing Word documents.- Generate and save Word documents (Word 97-2003, Word 2007, Word 2010, Word 2013 and Word 2016).
- Load and save document with macros, including .doc (Word 97-2003) document with macros and .docm(Word 2007, Word 2010, Word 2013 and Word 2016) document.
- Write and edit text and paragraphs.
Converting
Spire.Doc for Java enables converting Word documents to most common and popular formats.- Bi-directional conversion Doc-Docx: Convert .doc document (Word 97-2003) to .docx document (Word 2007, Word 2010, Word 2013 and Word 2016) and vice versa.
- Bi-directional conversion Doc(x)-RTF: Convert .doc(x) document to RTF (Rich Text Format) and vice versa.
- Bi-directional conversion Doc(x)-TXT: Convert .doc(x) document to TXT (Plain Text) and enable to load TXT file and save as .doc(x) document.
- Bi-directional conversion Doc(x)-HTML: Convert .doc(x) document to HTML file and enable to load HTML file and save as .doc(x) document.
- Bi-directional conversion Doc(x)-Dot: Convert .doc(x) document to Dot and vice versa.
- Bi-directional conversion Doc(x)-XML: Convert .doc(x) document to XML and enable to load XML file and save as .doc(x) document.
- Unidirectional Conversion Doc(x)-XPS: Convert .doc(x) document to XPS document.
- Unidirectional Conversion: Doc(x)-EPUB: Convert .doc(x) document to EPUB (Digital Publishing).
- Unidirectional Conversion: Doc(x)-PDF: Convert .doc(x) document to PDF in high quality, including contents and formats.
Inserting, Editing and Removing Objects
Spire.Doc for Java enables to inserting, editing and removing external objects in Word.- Find and replace specified strings.
- Copy and remove comment, bookmark, table, texts, paragraph or sections.
- Merge multiple Word documents into one.
- Protect documents to prevent from opening, editing, printing etc.
- Open and decrypt documents in protection.
- Extract texts, comments, images etc. from document.
- Load and save document with macros. Remove macros in document.
- Create form field including elements: cells, texts, radio button, dropdown list, checkbox etc.
- Fill form field by connecting data from xml file.
- Create and edit document properties.
- Clear macros in .doc and .docm document.
Formatting
Spire.Doc for Java enables formatting contents in documents, including character, paragraphs, pages and whole document.- Format all characters in document, including fonts, sizes, colors, effects etc.
- Format paragraphs, including built-in styles, indents, spacing, bullets, alignment, headings and number list style etc.
- Format Word tables, including cell fonts and colors, cell background color, cell alignment, cell borders and column width/row height setting.
- Format Word page, including page breaks, border, margins, paper size and orientation.
- View document with different document view types, zoom percent and zoom types.
Mail Merge
Spire.Doc for Java enables executing mail merge function to create records, orders and reports.- Perform simple mail merge fields (name and value) to create single item.
- Execute mail merge to create a group of data records with connecting customized data source.
Feature Details
Support | Word97~2003 | Word2007 | Word2010 | Word2013 | Word2016 | |||||||
Operation | Create New Document | Edit Existing Document | ||||||||||
Save to file | Save to stream | Save as web response | ||||||||||
Document Properties Setup | Document Print Setup | |||||||||||
Multiple Section | Page Break | |||||||||||
Document Copy | Multiple Document Concatenate | |||||||||||
Encrypt Document | Decrypt Document | |||||||||||
Globally Search | Globally Replace | |||||||||||
Mail Merge | Nested Mail Merge | Customize Mail Merge | Fill Field | |||||||||
Format and Style | Font | Color | Highlight | |||||||||
Indent | List | Text Alignment | ||||||||||
Building Style | Named Style | |||||||||||
Content | Image | Hyperlink | Comments | Bookmark | ||||||||
Table | Table of Content | Foot Note | Ole Object | |||||||||
Header (Text/Image/Table) | Footer (Text/Image/Table) | |||||||||||
CheckBoxFormField | DropDownFormField | TextFormField | Textbox | |||||||||
TextWaterMark | ImageWaterMark | Field (91 types) | HTML | |||||||||
Convert | Src Type | Open | Save | Dest Type | ||||||||
Doc | Dot | Docx | Xml | Txt | Html | Rtf | EPUB | |||||
Doc | √ | √ | √ | √ | √ | √ | √ | √ | √ | √ | √ | |
Dot | √ | √ | √ | √ | √ | √ | √ | √ | √ | √ | √ | |
Docx | √ | √ | √ | √ | √ | √ | √ | √ | √ | √ | √ | |
Xml | √ | √ | √ | √ | √ | √ | √ | √ | √ | √ | √ | |
Txt | √ | √ | √ | √ | √ | √ | √ | √ | √ | √ | √ | |
Html | √ | √ | √ | √ | √ | √ | √ | √ | √ | √ | √ | |
× | √ | × | × | × | × | × | × | × | × | × | ||
Rtf | √ | √ | √ | √ | √ | √ | √ | √ | √ | √ | √ | |
EPUB | × | √ | × | × | × | × | × | × | × | × | × |
Not supported in Standard Edition |