Skip to end of metadata
Go to start of metadata
Sections
- AbsolutePositioning — This class is used to specify the position of tables and paragraphs in a Word document. Although the term "absolute" is used, the position is relative to some location in the document or page. Absolute positioning is set in twips. 1 twip = 1/20 pt = 1/1440 in.
- AutoFormatter — When you import data to a table in your document, you can use the AutoFormatter interface to specify how the imported data should be formatted in the table. AutoFormatter contains a single method - FormatCell - which must be implemented in a class that you will use as an AutoFormatter. When you import data, set DataImportProperties.AutoFormatter to the class that you created.
- Bookmark — This class is used to represent a bookmark in the document. Bookmarks can be added to a document in Word or programmatically using WordWriter. They can only be retrieved form an existing document.
- Border — This class is used to specify border settings for various entities in a Word document.
- CharacterRun — The CharacterRun class represents a contiguous run of characters in the document, all of which have the same formatting.
- CompatibilitySettings — This class contains various settings so imported documents from other versions of Word and competing products will look the way they were intended to.
- DataImportProperties — This class is used to control settings for importing data into a table or table cell.
- Document — Represents a Word document.
- DocumentProperties — This class contains all file properties that are used by Word and Windows Explorer to display and store metadata about documents. None of these properties will affect the content of a document.
- DocumentProtection — This class is used to get and set document protection settings for a document.
- Element — This class is used to represent a region of the document that can be edited. This is the main class for manipulating the Word object model. Most elements of a Document inherit from the Element class.
- Field — This class is a low level representation of a field. This encompasses many objects in Word, such as merge fields, hyperlinks, TOC entries, etc. Fields are the generic form of what are contained in a Element's inline elements.
- Font — The Font class is used to specify formatting that should be applied to a character run. It also represents the fonts of named styles in the document.
- Hyperlink — This class represents a hyperlink field in a document.
- InlineImage — This class is used to represent an inline image in a Word document. The types of images that Word supports are jpg, png, bmp, and gif. Inline images are part of the InlineElement objects of an Element.
- List — This class is used to represent a list in a Word document. Lists are part of the BlockElement objects of an Element. Using this class, Lists can be read and written. Lists contain list entries, which are basically paragraphs with additional features.
- ListEntry — This class is used to represent an entry in a List inside a Word document. A list entry in Word is basically a numbered paragraph.
- ListLevel — This class is used to manipulate settings for a particular indent level. Things such as number and bullet text and indent change with each indent level in Word.
- MergeField — This class represents a merge field in a document. Merge fields are used in WordWriter templates as data placeholders.
- NamedStyle — The NamedStyle class represents a named style, such as "Normal", "Heading 1", etc., that is embedded in a Word document.
- Paragraph — Represents a paragraph in the Word document. Technically, a paragraph is a block of text that ends with a carriage return.
- ParagraphFormatting — The ParagraphFormatting class is used to specify formatting that should be applied to a paragraph. It also represents the paragraph formatting of named styles in the document.
- Position — This class is used to represent a cursor position in the document. It sits between two characters and its position is represented as the index of the character it sits behind. A Position object can be obtained from an Element.
- SearchMatch — A SearchMatch object represents a match in the document found by using the method Element.Search.
- Section — This class is used to represent a section of the document. Many documents will only contain one section. More complex documents will divide the document into multiple sections. A section can be roughly correlated to a chapter in a book. Each section can have different formatting settings, including:
- Shading — This class is represents background shading for text, table cells, etc.
- Styles — This class is used to store the styles of a document. It is essentially a collection of named styles.
- Table — Represents a table in the Word document.
- TableCell — Represents a table cell in a table in the Word document.
- TableFormatting — The TableFormatting class is used to specify formatting that should be applied to a table. It also represents the table formatting of some named styles in the document.
- TwipsConverter — Twips are the units of measurement used by the WordWriter API. A single twip represents 1/1440 of an inch. TwipsConverter is a utility class that converts between twips and other units of measurement.
- Units — The different types of units used by WordWriter
- Watermark — A Watermark object represents a document's watermark, which is an image or text that when printed appears in the background of a document. The property Document.Watermark returns a Watermark object.
- WordApplication — WordApplication is the main class for pure code-based Word document generation (for information about template-based workbook generation, see WordTemplate ). This class is an engine used to open, create, and write (save to disk or stream to a browser) Word documents. A single instance of WordApplication can generate multiple documents.
- WordChangeTracking — This class is used to get and set Word change tracking settings for a document.
- WordHyphenSettings — This class is used to get and set Word hyphen settings for a document.
- WordNumberFormat — This class is used to enumerate the set of Word's built-in number formats Word. It is used for setting how List elements, footnote numbers, and endnote numbers will appear.
- WordViewSettings — This class is used manipulate the View settings for a document.
- WordWriterException — WordWriterException is thrown by the Element.Search() and Element.SearchAndReplace() methods.