Aspose.Words Namespace |
The Aspose.Words namespace provides classes for generating, converting, modifying, rendering and printing Microsoft Word documents without utilizing Microsoft Word.
Aspose.Words is written completely in C#, CLS compliant and contains only safe managed code. Microsoft Word is not required in order to use Aspose.Words.
The classes in the Aspose.Words namespace borrow best practices from two well-known frameworks: Microsoft Word Automation and System.Xml. A document in Aspose.Words is represented by a tree of nodes, much like in XML DOM. Where possible, class, method and property names match those found in Microsoft Word Automation.
The main classes in this namespace are:
| Class | Description | |
|---|---|---|
| AbsolutePositionTab |
An absolute position tab is a character which is used to advance the position on
the current line of text when displaying this WordprocessingML content.
| |
| Body |
Represents a container for the main text of a section.
| |
| Bookmark |
Represents a single bookmark.
| |
| BookmarkCollection |
A collection of Bookmark objects that represent the bookmarks in the specified range.
| |
| BookmarkEnd |
Represents an end of a bookmark in a Word document.
| |
| BookmarkStart |
Represents a start of a bookmark in a Word document.
| |
| Border |
Represents a border of an object.
| |
| BorderCollection |
A collection of Border objects.
| |
| BuildVersionInfo |
Provides information about the current product name and version.
| |
| CleanupOptions |
Allows to specify options for document cleaning.
| |
| ComHelper |
Provides methods for COM clients to load a document into Aspose.Words.
| |
| Comment |
Represents a container for text of a comment.
| |
| CommentCollection |
Provides typed access to a collection of Comment nodes.
| |
| CommentRangeEnd |
Denotes the end of a region of text that has a comment associated with it.
| |
| CommentRangeStart |
Denotes the start of a region of text that has a comment associated with it.
| |
| CompositeNode |
Base class for nodes that can contain other nodes.
| |
| ConditionalStyle |
Represents special formatting applied to some area of a table with assigned table style.
| |
| ConditionalStyleCollection |
Represents a collection of ConditionalStyle objects.
| |
| ControlChar |
Control characters often encountered in documents.
| |
| ConvertUtil |
Provides helper functions to convert between various measurement units.
| |
| Document |
Represents a Word document.
| |
| DocumentBase |
Provides the abstract base class for a main document and a glossary document of a Word document.
| |
| DocumentBuilder |
Provides methods to insert text, images and other content, specify font, paragraph and section formatting.
| |
| DocumentReaderPluginLoadException |
Thrown during document load, when the plugin required for reading the document format cannot be loaded.
| |
| DocumentVisitor |
Base class for custom document visitors.
| |
| EditableRange |
Represents a single editable range.
| |
| EditableRangeEnd |
Represents an end of an editable range in a Word document.
| |
| EditableRangeStart |
Represents a start of an editable range in a Word document.
| |
| FileCorruptedException |
Thrown during document load, when the document appears to be corrupted and impossible to load.
| |
| FileFormatInfo |
Contains data returned by FileFormatUtil document format detection methods.
| |
| FileFormatUtil |
Provides utility methods for working with file formats, such as detecting file format
or converting file extensions to/from file format enums.
| |
| Font |
Contains font attributes (font name, font size, color, and so on) for an object.
| |
| FrameFormat |
Represents frame related formatting for a paragraph.
| |
| HeaderFooter |
Represents a container for the header or footer text of a section.
| |
| HeaderFooterCollection |
Provides typed access to HeaderFooter nodes of a Section.
| |
| Hyphenation |
Provides methods for working with hyphenation dictionaries. These dictionaries prescribe where words of a specific language can be hyphenated.
| |
| ImageWatermarkOptions |
Contains options that can be specified when adding a watermark with image.
| |
| ImportFormatOptions |
Allows to specify various import options to format output.
| |
| IncorrectPasswordException |
Thrown if a document is encrypted with a password and the password specified when opening the document is incorrect or missing.
| |
| Inline |
Base class for inline-level nodes that can have character formatting associated with them, but cannot have child nodes of their own.
| |
| InlineStory |
Base class for inline-level nodes that can contain paragraphs and tables.
| |
| InternableComplexAttr |
Base class for internable complex attribute.
Internable complex attribute should notify parent collection when going to be changed.
| |
| InterruptionToken | Obsolete.
This class is obsolete. Use IPageLayoutCallback instead.
Provides method to manually interrupt Aspose.Words while page layout model is built.
| |
| License |
Provides methods to license the component.
| |
| Metered |
Provides methods to set metered key.
| |
| Node |
Base class for all nodes of a Word document.
| |
| NodeChangingArgs |
Provides data for methods of the INodeChangingCallback interface.
| |
| NodeCollection |
Represents a collection of nodes of a specific type.
| |
| NodeImporter |
Allows to efficiently perform repeated import of nodes from one document to another.
| |
| NodeList |
Represents a collection of nodes matching an XPath query executed using the SelectNodes(String) method.
| |
| PageSetup |
Represents the page setup properties of a section.
| |
| Paragraph |
Represents a paragraph of text.
| |
| ParagraphCollection |
Provides typed access to a collection of Paragraph nodes.
| |
| ParagraphFormat |
Represents all the formatting for a paragraph.
| |
| PlainTextDocument |
Allows to extract plain-text representation of the document's content.
| |
| Range |
Represents a contiguous area in a document.
| |
| Revision |
Represents a revision (tracked change) in a document node or style.
Use RevisionType to check the type of this revision.
| |
| RevisionCollection |
A collection of Revision objects that represent revisions in the document.
| |
| RevisionGroup |
Represents a group of sequential Revision objects.
| |
| RevisionGroupCollection |
A collection of RevisionGroup objects that represent revision groups in the document.
| |
| Run |
Represents a run of characters with the same font formatting.
| |
| RunCollection |
Provides typed access to a collection of Run nodes.
| |
| Section |
Represents a single section in a document.
| |
| SectionCollection |
A collection of Section objects in the document.
| |
| Shading |
Contains shading attributes for an object.
| |
| SignatureLineOptions |
Allows to specify options for signature line being inserted. Used in DocumentBuilder.
| |
| SpecialChar |
Base class for special characters in the document.
| |
| Story | ||
| Style |
Represents a single built-in or user-defined style.
| |
| StyleCollection |
A collection of Style objects that represent both the built-in and user-defined styles in a document.
| |
| SubDocument |
Represents a SubDocument - which is a reference to an externally stored document.
| |
| TableStyle |
Represents a table style.
| |
| TabStop |
Represents a single custom tab stop. The TabStop object is a member of the
TabStopCollection collection.
| |
| TabStopCollection |
A collection of TabStop objects that represent custom tabs for a paragraph or a style.
| |
| TextColumn |
Represents a single text column. TextColumn is a member of the TextColumnCollection collection.
The TextColumns collection includes all the columns in a section of a document.
| |
| TextColumnCollection |
A collection of TextColumn objects that represent all the columns of text in a section of a document.
| |
| TextWatermarkOptions |
Contains options that can be specified when adding a watermark with text.
| |
| UnsupportedFileFormatException |
Thrown during document load, when the document format is not recognized or not supported by Aspose.Words.
| |
| VariableCollection |
A collection of document variables.
| |
| WarningInfo |
Contains information about a warning that Aspose.Words issued during document loading or saving.
| |
| WarningInfoCollection |
Represents a typed collection of WarningInfo objects.
| |
| Watermark |
Represents class to work with document watermark.
|
| Interface | Description | |
|---|---|---|
| IDocumentReaderPlugin |
Defines an interface for external reader plugins that can read a file into a document.
| |
| IHyphenationCallback |
Implemented by classes which can register hyphenation dictionaries.
| |
| INodeChangingCallback |
Implement this interface if you want to receive notifications when nodes are inserted or removed in the document.
| |
| IWarningCallback |
Implement 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 | Description | |
|---|---|---|
| BorderType |
Specifies sides of a border.
| |
| BreakType |
Specifies type of a break inside a document.
| |
| CalendarType |
Specifies the type of a calendar.
| |
| ChapterPageSeparator |
Defines the separator character that appears between the chapter and page number.
| |
| ConditionalStyleType |
Represents possible table areas to which conditional formatting may be defined in a table style.
| |
| ContentDisposition |
Enumerates different ways of presenting the document at the client browser.
| |
| DropCapPosition |
Specifies the position for a drop cap text.
| |
| EditorType |
Specifies 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.
| |
| EmphasisMark |
Specifies possible types of emphasis mark.
| |
| HeaderFooterType |
Identifies the type of header or footer found in a Word file.
| |
| HeightRule |
Specifies the rule for determining the height of an object.
| |
| HtmlInsertOptions |
Specifies options for the InsertHtml(String, HtmlInsertOptions) method.
| |
| ImportFormatMode |
Specifies how formatting is merged when importing content from another document.
| |
| LineNumberRestartMode |
Determines when automatic line numbering restarts.
| |
| LineSpacingRule |
Specifies line spacing values for a paragraph.
| |
| LineStyle |
Specifies line style of a Border.
| |
| LoadFormat |
Indicates the format of the document that is to be loaded.
| |
| MeasurementUnits |
Specifies the unit of measurement.
| |
| NodeChangingAction |
Specifies the type of node change.
| |
| NodeType |
Specifies the type of a Word document node.
| |
| NumberStyle |
Specifies the number style for a list, footnotes and endnotes, page numbers.
| |
| Orientation |
Specifies page orientation.
| |
| OutlineLevel |
Specifies the outline level of a paragraph in the document.
| |
| PageBorderAppliesTo |
Specifies which pages the page border is printed on.
| |
| PageBorderDistanceFrom |
Specifies the positioning of the page border relative to the page margin.
| |
| PageVerticalAlignment |
Specifies vertical justification of text on each page.
| |
| PaperSize |
Specifies paper size.
| |
| ParagraphAlignment |
Specifies text alignment in a paragraph.
| |
| ProtectionType |
Protection type for a document.
| |
| RevisionsView |
Allows to specify whether to work with the original or revised version of a document.
| |
| RevisionType |
Specifies the type of change being tracked in Revision.
| |
| SaveFormat |
Indicates the format in which the document is saved.
| |
| SectionLayoutMode |
Specifies the layout mode for a section allowing to define the document grid behavior.
| |
| SectionStart |
The type of break at the beginning of the section.
| |
| StoryType |
Text of a Word document is stored in stories. StoryType identifies a story.
| |
| StyleIdentifier |
Locale independent style identifier.
| |
| StyleType |
Represents type of the style.
| |
| TabAlignment |
Specifies the alignment/type of a tab stop.
| |
| TabLeader |
Specifies the type of the leader line displayed under the tab character.
| |
| TextDmlEffect |
Dml text effect for text runs.
| |
| TextEffect |
Animation effect for text runs.
| |
| TextOrientation |
Specifies orientation of text on a page, in a table cell or a text frame.
| |
| TextureIndex |
Specifies shading texture.
| |
| Underline |
Indicates type of the underline applied to a font.
| |
| VisitorAction |
Allows the visitor to control the enumeration of nodes.
| |
| WarningSource |
Specifies the module that produces a warning during document loading or saving.
| |
| WarningType |
Specifies the type of a warning that is issued by Aspose.Words during document loading or saving.
| |
| WatermarkLayout |
Defines layout of the watermark relative to the watermark center.
| |
| WatermarkType |
Specifies the watermark type.
|