Table of Contents

Enum ParagraphAlignment

Namespace
DocWright.Core.Document
Assembly
DocWright.Core.dll

Paragraph alignment (ECMA-376 Part 1 §17.18.44 ST_Jc). The DOM stores the value as written; Start/End are logical values that the style resolver maps to physical Left/Right using the paragraph's bidirectional setting.

public enum ParagraphAlignment

Fields

Start = 0

Aligned to the leading edge (w:jc "start").

Center = 1

Centered (w:jc "center").

End = 2

Aligned to the trailing edge (w:jc "end").

Justify = 3

Justified with flexible inter-word spacing (w:jc "both").

MediumKashida = 4

Justified with medium kashida length (w:jc "mediumKashida").

Distribute = 5

Justified by expanding inter-character spacing (w:jc "distribute").

NumTab = 6

Aligned to the list tab (w:jc "numTab", legacy).

HighKashida = 7

Justified with widest kashida length (w:jc "highKashida").

LowKashida = 8

Justified with shortest kashida length (w:jc "lowKashida").

ThaiDistribute = 9

Justified per Thai conventions (w:jc "thaiDistribute").

Left = 10

Physically left-aligned (w:jc "left").

Right = 11

Physically right-aligned (w:jc "right").