DocLangLoadOptions

DocLangLoadOptions class

Options for loading DocLang documents: bare DocLang markup (.dclg) or a DocLang archive (.dclx).

public class DocLangLoadOptions : LoadOptions

Constructors

Name Description
DocLangLoadOptions() Initializes new instance of DocLangLoadOptions class.

Properties

Name Description
Format { get; set; } Input document file type. Is null until a format has been set, so test it for null rather than against Unknown, which it never equals. Set it to load a stream without a name as Dclg or Dclx whatever its content.
virtual Format { get; } Input document file type.

Methods

Name Description
override Equals(object) Determines whether two object instances are equal.
virtual Equals(ValueObject) Determines whether two object instances are equal.
override GetHashCode() Serves as the default hash function.

Remarks

A DocLang document is read into a Word document and then converts to every format a DOCX converts to, DocLang excepted. Input that is not valid DocLang 0.9 is refused with CorruptOrDamagedFileException. External resources a DocLang document names are never loaded.

See Also