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, Word 2016 and Word 2019).
- Load and save document with macros, including .doc (Word 97-2003) document with macros and .docm(Word 2007, Word 2010, Word 2013, Word 2016 and Word 2019) 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, Word 2016 and Word 2019) 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 string.
- Insert and remove comment, bookmark, table, text, paragraph or section.
- Merge multiple Word documents into one.
- Protect documents to prevent from opening, editing, printing etc.
- Open and decrypt documents in protection.
- Extract text, 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.