Getting Started
Introducing Aspose.Words for Java
Aspose.Words Features
Feature Overview
Supported Platforms
Java
File Formats and Conversions
High-Quality Conversions
Microsoft Word (DOC)
WordprocessingML (DOCX, XML)
Rich Text Format (RTF)
HTML, XHTML and MHTML
OpenDocument (ODT)
Adobe Portable Document Format (PDF)
XML Paper Specification (XPS)
Macromedia Flash File Format (SWF)
Plain Text (TXT)
Digital Publishing (EPUB)
Known Issues in Aspose.Words for Java
Why not Automation?
Why not Open XML SDK?
What Document Features are Supported?
Document Interoperability
Supported Features on Document Load
Document Loading Overview
Load in the Microsoft Word Document 97-2003 Document (.DOC, .DOT) Format
Load in the Open Office XML 2007/2010 (.DOCX, .DOTX, .DOCM, .DOTM) Format
Load in the Rich Text Format 1.9 (.RTF) Format
Load in the OpenDocument Text (.ODT, .OTT) Format
Load in the Microsoft Word 2003 WordprocessingML (.XML) Format
Load in the FlatOPC OOXML Document (.XML) Format
Load in the Plain Text (.TXT) Format
Load in the HTML (.HTML, .XHTML, .MHTML) Format
Supported Features on Document Save
Document Saving Overview
Save in the Microsoft Word Document 97-2003 Document (.DOC, .DOT) Format
Save in the Open Office XML (.DOCX, .DOTX, .DOCM, .DOTM) Format
Save in the Rich Text Format 1.9 (.RTF) Format
Save in the OpenDocument Text (.ODT, .OTT) Format
Save in the Microsoft Word 2003 WordprocessingML (.XML) Format
Save in the FlatOPC OOXML Document (.XML) Format
Save in the Plain Text (.TXT) Format
Save in the HTML (.HTML, .XHTML, .MHTML) Format
Save in the IDPF EPUB Document (.EPUB) Format
Save in the Adobe Portable Document (.PDF) Format
Save in the Open XML Paper Specification (.XPS) Format
Save in the Macromedia Flash File (.SWF) Format
Save in the Image (.JPEG, .BMP, .PNG, .EMF, .TIFF, .SVG) Format
Export to a Printing Device
System Requirements
Install Aspose.Words for Java
Evaluate Aspose.Words
License Aspose.Words
Applying a License
When to Apply a License
You can Change the License File Name
Exception: Cannot find license 'filename'.
Using Multiple Products from Aspose
Technical Support
Programmer's Guide
About this Programmer's Guide
Overview of Aspose.Words in Java
Loading, Saving and Converting
About Document Conversions in Aspose.Words
Load or Create a Document
Save a Document
Working with Digital Signatures
How-to: Convert a Document to PDF
How-to: Convert a Document to MHTML and Email
How-to: Convert an Image to PDF
How-to: Convert a Document to EPUB
How-to: Detect the File Format
How-to: Check Format Compatibility
How-to: Convert a Document to a Byte Array
How-to: Load and Save a Document to Database
Supported Features on Loading Plain Text (TXT) Files
Programming with Documents
Aspose.Words Document Object Model
Object Model Overview
Node Classes
Composition Diagrams
Document Tree Navigation
Design Patterns in Aspose.Words
Working with Document
Document Overview
Working with Document Properties
Cloning a Document
Protecting Documents
Accessing Styles
Getting Document Variables
Manage Tracking Changes
Setting View Options
Working with Sections
Sections Overview
Sections in Microsoft Word
Sections in Aspose.Words
Working with Tables
Tables Overview
Tables in Microsoft Word
Tables in Aspose.Words
Creating Tables
Applying Formatting to Table, Row and Cell
Specifying Table and Cell Widths
Specifying Row Heights
Working with Table Styles
Extracting Plain Text from a Table
Replacing Text in a Table
Finding the Index of Table Elements
Working with Columns
Working with Merged Cells
Specifying Rows to Repeat on Subsequent Pages as Header Rows
Keeping Tables and Rows from Breaking across Pages
Joining and Splitting Tables
Working with Bookmarks
Bookmarks Overview
Bookmarks in Microsoft Word
Bookmarks in Aspose.Words
Working with Fields
About Field Update
How to Update Fields
Differences in Field Update in Aspose.Words 10.0 and Above
Working with Form Fields
Form Fields Overview
Form Fields in Microsoft Word
Form Fields in Aspose.Words
Using DocumentBuilder to Modify a Document Easily
DocumentBuilder Overview
Inserting Document Elements
Specifying Formatting
Moving the Cursor
Using Find and Replace
Find and Replace Overview
Working with Ranges
Ranges Overview
Retrieving Plain Text
Deleting Text
Joining and Appending Documents
Appending Documents Overview
Join a Document onto another Document
How the AppendDocument Method Works
Differences between ImportFormat Modes
Specifying How a Document is Joined Together
Controlling How Header and Footers Appear
Controlling How Page Numbering is Handled
Controlling How Lists are Handled
Common Issues When Appending Documents
How-to: Add a Watermark to a Document
How-to: Apply Different AutoFit Settings to a Table
How-to: Build a Table from a DataTable
How-to: Create Headers/Footers using DocumentBuilder
How-to: Extract Content Based on Styles
How-to: Extract Content using DocumentVisitor
How-to: Extract Images from a Document
How-to: Extract Selected Content Between Nodes in a Document
How-to: Extract Text Only
How-to: Extract or Remove Comments
How-to: Find and Highlight Text
How-to: Insert a Document into another Document
How-to: Remove Footers but Leave Headers Intact
How-to: Remove Page and Section Breaks
How-to: Rename Merge Fields
How-to: Replace Fields with Static Text
How-to: Replace or Modify Hyperlinks
How-to: Use Control Characters
How-to: Convert Between Measurement Units
Mail Merge and Reporting
About Mail Merge in Aspose.Words
Prepare a Document
Merge Field Formatting
Simple Mail Merge Explained
Mail Merge with Regions Explained
How-to: Execute Simple Mail Merge
How-to: Execute Mail Merge with Regions
How-to: Use Nested Mail Merge Regions
How-to: Set up Relations for use in Nested Mail Merge with Regions
How-to: Mail Merge from XML using IMailMergeDataSource
How-to: Apply Custom Formatting during Mail Merge
How-to: Insert Check Boxes during Mail Merge
How-to: Insert Images from a Database
How-to: Control New Pages during Mail Merge
How-to: Remove Unmerged Fields and Empty Paragraphs during Mail Merge
How-to: Remove Unmerged Regions from a Document
How-to: Apply Custom Logic to Unmerged Regions
How-to: Produce Multiple Documents during Mail Merge
How-to: Use Advanced Mail Merge Features
Rendering and Printing
About Rendering in Aspose.Words
How Aspose.Words Uses True Type Fonts
How-to: Specify True Type Fonts Location
How-to: Install True Type Fonts on Linux
How-to: Print a Document with Settings and Print Preview Dialog
How-to: Print Multiple Pages on One Sheet
How-to: Save Document as a Multipage TIFF
Utilize Aspose.Words in other Programming Languages
Choose the Platform and Interoperability Technology
ColdFusion - Aspose.Words for Java
Perl - Aspose.Words for Java
PHP - Aspose.Words for Java
Python - Aspose.Words for Java
Migrating from Earlier Versions of Aspose.Words
How-to: Migrate to Aspose.Words 10.5 or Higher
How-to: Migrate to Aspose.Words 10.0 or Higher
Aspose.Words for Java API Reference
com.aspose.words Package
Classes
AbsolutePositionTab
AsposeWordsPrintDocument
Body
Bookmark
BookmarkCollection
BookmarkEnd
BookmarkStart
Border
BorderCollection
BuildingBlock
BuildingBlockCollection
BuildVersionInfo
BuiltInDocumentProperties
Cell
CellCollection
CellFormat
Comment
CommentRangeEnd
CommentRangeStart
CompatibilityOptions
CompositeNode
ConvertUtil
CssSavingArgs
CustomDocumentProperties
CustomPart
CustomPartCollection
CustomXmlMarkup
CustomXmlPart
CustomXmlPartCollection
CustomXmlProperty
CustomXmlPropertyCollection
CustomXmlSchemaCollection
DataRelation
DataRelationCollection
DataSet
DataTable
DataTableCollection
DigitalSignature
DigitalSignatureCollection
DocSaveOptions
Document
DocumentBase
DocumentBuilder
DocumentPartSavingArgs
DocumentProperty
DocumentPropertyCollection
DocumentVisitor
DrawingML
DrawingMLImageData
DropDownItemCollection
Field
FieldChar
FieldCollection
FieldEnd
FieldMergingArgs
FieldMergingArgsBase
FieldOptions
FieldSeparator
FieldStart
FileCorruptedException
FileFontSource
FileFormatInfo
FileFormatUtil
Fill
FolderFontSource
Font
FontInfo
FontInfoCollection
FontSavingArgs
FontSettings
FontSourceBase
Footnote
FootnoteOptions
FormField
FormFieldCollection
GlossaryDocument
GroupShape
HeaderFooter
HeaderFooterCollection
HtmlSaveOptions
ICssSavingCallback
IDocumentPartSavingCallback
IFieldMergingCallback
IFieldUserPromptRespondent
IFontSavingCallback
IImageData
IImageSavingCallback
ImageData
ImageFieldMergingArgs
ImageSaveOptions
ImageSavingArgs
ImageSize
IMailMergeDataSource
IMailMergeDataSourceRoot
IncorrectPasswordException
Inline
InlineStory
INodeChangingCallback
IReplacingCallback
IResourceLoadingCallback
IWarningCallback
LayoutCollector
LayoutEnumerator
License
List
ListCollection
ListFormat
ListLabel
ListLevel
ListLevelCollection
LoadOptions
MailMerge
MailMergeSettings
MappedDataFieldCollection
MemoryFontSource
MergeFieldImageDimension
MetafileRenderingOptions
Node
NodeChangingArgs
NodeCollection
NodeImporter
NodeList
Odso
OdsoFieldMapData
OdsoFieldMapDataCollection
OdsoRecipientData
OdsoRecipientDataCollection
OdtSaveOptions
OfficeMath
OleFormat
OoxmlSaveOptions
PageInfo
PageSetup
Paragraph
ParagraphCollection
ParagraphFormat
PdfDigitalSignatureDetails
PdfEncryptionDetails
PdfSaveOptions
PreferredWidth
Range
ReplacingArgs
ResourceLoadingArgs
Revision
RevisionCollection
Row
RowCollection
RowFormat
RtfSaveOptions
Run
RunCollection
SaveOptions
SaveOutputParameters
SdtListItem
SdtListItemCollection
Section
SectionCollection
Shading
Shape
ShapeBase
ShapeRenderer
SmartTag
SpecialChar
Story
Stroke
StructuredDocumentTag
Style
StyleCollection
SubDocument
SvgSaveOptions
SwfSaveOptions
SwfToolTips
SystemFontSource
Table
TableCollection
TableStyle
TabStop
TabStopCollection
TextBox
TextColumn
TextColumnCollection
TextPath
ThumbnailGeneratingOptions
TxtSaveOptions
UnsupportedFileFormatException
VariableCollection
ViewOptions
WarningInfo
WarningInfoCollection
WordML2003SaveOptions
WriteProtection
XamlFixedSaveOptions
XamlFlowSaveOptions
XpsSaveOptions
Constants
ArrowLength
ArrowType
ArrowWidth
AutoFitBehavior
BorderType
BreakType
BuildingBlockBehavior
BuildingBlockGallery
BuildingBlockType
CellMerge
CellVerticalAlignment
ContentDisposition
ControlChar
CssStyleSheetType
DashStyle
DigitalSignatureType
DocumentSecurity
DocumentSplitCriteria
DropCapPosition
EmbeddedFontFormat
EmbeddedFontStyle
EmfPlusDualRenderingMode
EndCap
ExportHeadersFootersMode
ExportListLabels
FieldType
FieldUpdateCultureSource
FlipOrientation
FontFamily
FontPitch
FontSourceType
FootnoteLocation
FootnoteNumberingRule
FootnoteType
HeaderFooterType
HeightRule
HorizontalAlignment
HtmlElementSizeOutputMode
ImageColorMode
ImagePixelFormat
ImageType
ImportFormatMode
JoinStyle
LayoutEntityType
LayoutFlow
LineNumberRestartMode
LineSpacingRule
LineStyle
ListLevelAlignment
ListTemplate
ListTrailingCharacter
LoadFormat
MailMergeCheckErrors
MailMergeCleanupOptions
MailMergeDataType
MailMergeDestination
MailMergeMainDocumentType
MailMergeRtlCleanupMode
MarkupLevel
MergeFieldImageDimensionUnit
NodeChangingAction
NodeType
NumberStyle
NumeralFormat
OdsoDataSourceType
OdsoFieldMappingType
OoxmlCompliance
Orientation
OutlineLevel
PageBorderAppliesTo
PageBorderDistanceFrom
PageVerticalAlignment
PaperSize
ParagraphAlignment
PdfCompliance
PdfDigitalSignatureHashAlgorithm
PdfEncryptionAlgorithm
PdfImageCompression
PdfPermissions
PdfTextCompression
PdfZoomBehavior
PreferredWidthType
PropertyType
ProtectionType
RelativeHorizontalPosition
RelativeVerticalPosition
ReplaceAction
ResourceLoadingAction
ResourceType
RevisionType
RowAlignment
SaveFormat
SdtCalendarType
SdtDateStorageFormat
SdtType
SectionStart
ShapeLineStyle
ShapeType
StoryType
StyleIdentifier
StyleType
SvgTextOutputMode
SwfLeftPaneControlFlags
SwfTopPaneControlFlags
SwfViewerControlIdentifier
TabAlignment
TabLeader
TableAlignment
TableStyleOptions
TextBoxWrapMode
TextEffect
TextFormFieldType
TextOrientation
TextPathAlignment
TextureIndex
TiffCompression
Underline
VerticalAlignment
ViewType
VisitorAction
WarningSource
WarningType
WrapSide
WrapType
ZoomType