Table of Contents

Enum MarkupSpelling

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

Which of WordprocessingML's two spellings of one value an element uses, where the format has two that mean the same: the Transitional one (w:ind w:left, a border set's w:left element, w:textDirection lrTb) or the ISO/IEC 29500 Strict one, which a Transitional document may use as well (w:ind w:start, w:start, tb).

public enum MarkupSpelling

Fields

Transitional = 0

The Transitional spelling: left/right sides, lrTb-family text directions. The default.

Strict = 1

The ISO/IEC 29500 Strict spelling: start/end sides, tb-family text directions.

Remarks

Nothing reads the spelling for its meaning: style resolution, layout and every other format read the value alone, and two bags that differ only in spelling compare equal. The DOCX reader records the spelling it read and the DOCX writer writes it back, so a document that is read and saved keeps the tokens it had. A document built in memory has the Transitional spelling unless the property is set.