Table of Contents

WordProcessingInputOptions Class

Definition

Namespace
GleamTech.DocumentUltimate
Assembly
GleamTech.DocumentUltimate.dll

Represents a set of Word Processing input options used for document conversion.

public class WordProcessingInputOptions : InputOptions
Inheritance
WordProcessingInputOptions

Constructors

WordProcessingInputOptions()

Initializes a new instance of the WordProcessingInputOptions class.

WordProcessingInputOptions(DocumentFormat)

Initializes a new instance of the WordProcessingInputOptions class with a document format.

Properties

Encoding

Gets or sets the encoding that will be used to load an Html or Txt document if the encoding is not specified in the file. If encoding is not specified in HTML/TXT and this property is null, then the converter will try to automatically detect the encoding. The default is null.

FieldFileName

Gets or sets the value to be used for the FileName field in a Word document. When the input is a file on disk, this field is automatically updated to the original file name when saved. However when the input is a stream, the file name will not be known so you can set this property to make sure FileName field contains the correct file name.

UpdateFields

Gets or sets a value indicating if fields should be updated before the document is rendered/converted. The default is true. When set to true, it will mimic default "Save as PDF" or "Print" behaviour in Microsoft Word. For example, if you see "Error! Reference Source Not Found" messages instead of clickable links in the rendered document, you can set this to false (until you actually fix reference errors in your document).