Aspose.Words

The Aspose.Words namespace provides classes for generating, converting, modifying, rendering and printing Microsoft Word documents without utilizing Microsoft Word.

Classes

ClassDescription
AbsolutePositionTabAn absolute position tab is a character which is used to advance the position on the current line of text when displaying this WordprocessingML content.
BodyRepresents a container for the main text of a section.
BookmarkRepresents a single bookmark.
BookmarkCollectionA collection of Bookmark objects that represent the bookmarks in the specified range.
BookmarkEndRepresents an end of a bookmark in a Word document.
BookmarkStartRepresents a start of a bookmark in a Word document.
BorderRepresents a border of an object.
BorderCollectionA collection of Border objects.
BuildVersionInfoProvides information about the current product name and version.
CleanupOptionsAllows to specify options for document cleaning.
ComHelperProvides methods for COM clients to load a document into Aspose.Words.
CommentRepresents a container for text of a comment.
CommentCollectionProvides typed access to a collection of Comment nodes.
CommentRangeEndDenotes the end of a region of text that has a comment associated with it.
CommentRangeStartDenotes the start of a region of text that has a comment associated with it.
CompositeNodeBase class for nodes that can contain other nodes.
ConditionalStyleRepresents special formatting applied to some area of a table with assigned table style.
ConditionalStyleCollectionRepresents a collection of ConditionalStyle objects.
ControlCharControl characters often encountered in documents.
ConvertUtilProvides helper functions to convert between various measurement units.
DocumentRepresents a Word document.
DocumentBaseProvides the abstract base class for a main document and a glossary document of a Word document.
DocumentBuilderProvides methods to insert text, images and other content, specify font, paragraph and section formatting.
DocumentReaderPluginLoadExceptionThrown during document load, when the plugin required for reading the document format cannot be loaded.
DocumentVisitorBase class for custom document visitors.
EditableRangeRepresents a single editable range.
EditableRangeEndRepresents an end of an editable range in a Word document.
EditableRangeStartRepresents a start of an editable range in a Word document.
FileCorruptedExceptionThrown during document load, when the document appears to be corrupted and impossible to load.
FileFormatInfoContains data returned by FileFormatUtil document format detection methods.
FileFormatUtilProvides utility methods for working with file formats, such as detecting file format or converting file extensions to/from file format enums.
FontContains font attributes (font name, font size, color, and so on) for an object.
FrameFormatRepresents frame related formatting for a paragraph.
HeaderFooterRepresents a container for the header or footer text of a section.
HeaderFooterCollectionProvides typed access to HeaderFooter nodes of a Section.
HyphenationProvides methods for working with hyphenation dictionaries. These dictionaries prescribe where words of a specific language can be hyphenated.
ImageWatermarkOptionsContains options that can be specified when adding a watermark with image.
ImportFormatOptionsAllows to specify various import options to format output.
IncorrectPasswordExceptionThrown if a document is encrypted with a password and the password specified when opening the document is incorrect or missing.
InlineBase class for inline-level nodes that can have character formatting associated with them, but cannot have child nodes of their own.
InlineStoryBase class for inline-level nodes that can contain paragraphs and tables.
InternableComplexAttrBase class for internable complex attribute. Internable complex attribute should notify parent collection when going to be changed.
LicenseProvides methods to license the component.
MeteredProvides methods to set metered key.
NodeBase class for all nodes of a Word document.
NodeChangingArgsProvides data for methods of the INodeChangingCallback interface.
NodeCollectionRepresents a collection of nodes of a specific type.
NodeImporterAllows to efficiently perform repeated import of nodes from one document to another.
NodeListRepresents a collection of nodes matching an XPath query executed using the SelectNodes method.
PageSetupRepresents the page setup properties of a section.
ParagraphRepresents a paragraph of text.
ParagraphCollectionProvides typed access to a collection of Paragraph nodes.
ParagraphFormatRepresents all the formatting for a paragraph.
PhoneticGuideRepresents Phonetic Guide.
PlainTextDocumentAllows to extract plain-text representation of the document’s content.
RangeRepresents a contiguous area in a document.
RevisionRepresents a revision (tracked change) in a document node or style. Use RevisionType to check the type of this revision.
RevisionCollectionA collection of Revision objects that represent revisions in the document.
RevisionGroupRepresents a group of sequential Revision objects.
RevisionGroupCollectionA collection of RevisionGroup objects that represent revision groups in the document.
RunRepresents a run of characters with the same font formatting.
RunCollectionProvides typed access to a collection of Run nodes.
SectionRepresents a single section in a document.
SectionCollectionA collection of Section objects in the document.
ShadingContains shading attributes for an object.
SignatureLineOptionsAllows to specify options for signature line being inserted. Used in DocumentBuilder.
SpecialCharBase class for special characters in the document.
StoryBase class for elements that contain block-level nodes Paragraph and Table.
StyleRepresents a single built-in or user-defined style.
StyleCollectionA collection of Style objects that represent both the built-in and user-defined styles in a document.
SubDocumentRepresents a SubDocument - which is a reference to an externally stored document.
TableStyleRepresents a table style.
TabStopRepresents a single custom tab stop. The TabStop object is a member of the TabStopCollection collection.
TabStopCollectionA collection of TabStop objects that represent custom tabs for a paragraph or a style.
TextColumnRepresents a single text column. TextColumn is a member of the TextColumnCollection collection. The TextColumn collection includes all the columns in a section of a document.
TextColumnCollectionA collection of TextColumn objects that represent all the columns of text in a section of a document.
TextWatermarkOptionsContains options that can be specified when adding a watermark with text.
UnsupportedFileFormatExceptionThrown during document load, when the document format is not recognized or not supported by Aspose.Words.
VariableCollectionA collection of document variables.
WarningInfoContains information about a warning that Aspose.Words issued during document loading or saving.
WarningInfoCollectionRepresents a typed collection of WarningInfo objects.
WatermarkRepresents class to work with document watermark.

Interfaces

InterfaceDescription
IDocumentConverterPluginDefines an interface for external converter plugin.
IDocumentMergerPluginDefines an interface for external merger plugin that can merge Pdf documents.
IDocumentReaderPluginDefines an interface for external reader plugins that can read a file into a document.
IHyphenationCallbackImplemented by classes which can register hyphenation dictionaries.
INodeChangingCallbackImplement this interface if you want to receive notifications when nodes are inserted or removed in the document.
IRevisionCriteriaImplement this interface if you want to control when certain Revision should be accepted/rejected or not by the Accept/Reject methods.
IWarningCallbackImplement this interface if you want to have your own custom method called to capture loss of fidelity warnings that can occur during document loading or saving.

Enumeration

EnumerationDescription
BaselineAlignmentSpecifies fonts vertical position on a line.
BorderTypeSpecifies sides of a border.
BreakTypeSpecifies type of a break inside a document.
CalendarTypeSpecifies the type of a calendar.
ChapterPageSeparatorDefines the separator character that appears between the chapter and page number.
ConditionalStyleTypeRepresents possible table areas to which conditional formatting may be defined in a table style.
ContentDispositionEnumerates different ways of presenting the document at the client browser.
DropCapPositionSpecifies the position for a drop cap text.
EditorTypeSpecifies the set of possible aliases (or editing groups) which can be used as aliases to determine if the current user shall be allowed to edit a single range defined by an editable range within a document.
EmphasisMarkSpecifies possible types of emphasis mark.
HeaderFooterTypeIdentifies the type of header or footer found in a Word file.
HeightRuleSpecifies the rule for determining the height of an object.
HtmlInsertOptionsSpecifies options for the InsertHtml method.
ImportFormatModeSpecifies how formatting is merged when importing content from another document.
LineNumberRestartModeDetermines when automatic line numbering restarts.
LineSpacingRuleSpecifies line spacing values for a paragraph.
LineStyleSpecifies line style of a Border.
LoadFormatIndicates the format of the document that is to be loaded.
MarginsSpecifies preset margins.
MeasurementUnitsSpecifies the unit of measurement.
NodeChangingActionSpecifies the type of node change.
NodeTypeSpecifies the type of a Word document node.
NumberStyleSpecifies the number style for a list, footnotes and endnotes, page numbers.
OrientationSpecifies page orientation.
OutlineLevelSpecifies the outline level of a paragraph in the document.
PageBorderAppliesToSpecifies which pages the page border is printed on.
PageBorderDistanceFromSpecifies the positioning of the page border relative to the page margin.
PageVerticalAlignmentSpecifies vertical justification of text on each page.
PaperSizeSpecifies paper size.
ParagraphAlignmentSpecifies text alignment in a paragraph.
ProtectionTypeProtection type for a document.
RevisionsViewAllows to specify whether to work with the original or revised version of a document.
RevisionTypeSpecifies the type of change being tracked in Revision.
SaveFormatIndicates the format in which the document is saved.
SectionLayoutModeSpecifies the layout mode for a section allowing to define the document grid behavior.
SectionStartThe type of break at the beginning of the section.
StoryTypeText of a Word document is stored in stories. StoryType identifies a story.
StyleIdentifierLocale independent style identifier.
StyleTypeRepresents type of the style.
TabAlignmentSpecifies the alignment/type of a tab stop.
TabLeaderSpecifies the type of the leader line displayed under the tab character.
TextDmlEffectDml text effect for text runs.
TextEffectAnimation effect for text runs.
TextOrientationSpecifies orientation of text on a page, in a table cell or a text frame.
TextureIndexSpecifies shading texture.
UnderlineIndicates type of the underline applied to a font.
VisitorActionAllows the visitor to control the enumeration of nodes.
WarningSourceSpecifies the module that produces a warning during document loading or saving.
WarningTypeSpecifies the type of a warning that is issued by Aspose.Words during document loading or saving.
WatermarkLayoutDefines layout of the watermark relative to the watermark center.
WatermarkTypeSpecifies the watermark type.