Page tree
Skip to end of metadata
Go to start of metadata

Sections

  • AbsolutePositioningThis 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.
  • AutoFormatterWhen 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.
  • BookmarkThis 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.
  • BorderThis class is used to specify border settings for various entities in a Word document.
  • CharacterRunThe CharacterRun class represents a contiguous run of characters in the document, all of which have the same formatting.
  • CompatibilitySettingsThis class contains various settings so imported documents from other versions of Word and competing products will look the way they were intended to.
  • DataImportPropertiesThis class is used to control settings for importing data into a table or table cell.
  • DocumentRepresents a Word document.
  • DocumentPropertiesThis 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.
  • DocumentProtectionThis class is used to get and set document protection settings for a document.
  • ElementThis 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.
  • FieldThis 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.
  • FontThe 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.
  • HyperlinkThis class represents a hyperlink field in a document.
  • InlineImageThis 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.
  • ListThis 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.
  • ListEntryThis class is used to represent an entry in a List inside a Word document. A list entry in Word is basically a numbered paragraph.
  • ListLevelThis 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.
  • MergeFieldThis class represents a merge field in a document. Merge fields are used in WordWriter templates as data placeholders.
  • NamedStyleThe NamedStyle class represents a named style, such as "Normal", "Heading 1", etc., that is embedded in a Word document.
  • ParagraphRepresents a paragraph in the Word document. Technically, a paragraph is a block of text that ends with a carriage return.
  • ParagraphFormattingThe 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.
  • PositionThis 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.
  • SearchMatchA SearchMatch object represents a match in the document found by using the method Element.Search.
  • SectionThis 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:
  • ShadingThis class is represents background shading for text, table cells, etc.
  • StylesThis class is used to store the styles of a document. It is essentially a collection of named styles.
  • TableRepresents a table in the Word document.
  • TableCellRepresents a table cell in a table in the Word document.
  • TableFormattingThe 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.
  • TwipsConverterTwips 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.
  • UnitsThe different types of units used by WordWriter
  • WatermarkA 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.
  • WordApplicationis 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.
  • WordChangeTrackingThis class is used to get and set Word change tracking settings for a document.
  • WordHyphenSettingsThis class is used to get and set Word hyphen settings for a document.
  • WordNumberFormatThis 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.
  • WordViewSettingsThis class is used manipulate the View settings for a document.
  • WordWriterExceptionWordWriterException is thrown by the Element.Search() and Element.SearchAndReplace() methods.
  • No labels