We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 945292c commit a1bae29Copy full SHA for a1bae29
1 file changed
FileFormat.Words/OpenXML.Words.cs
@@ -25,7 +25,8 @@ public enum ParagraphAlignment
25
{
26
Left,
27
Center,
28
- Right
+ Right,
29
+ Justify
30
}
31
private OwDocument()
32
@@ -216,7 +217,7 @@ private WP.JustificationValues MapAlignmentToJustification(ParagraphAlignment al
216
217
case ParagraphAlignment.Right:
218
return WP.JustificationValues.Right;
219
default:
- return WP.JustificationValues.Left;
220
+ return WP.JustificationValues.Both;
221
222
223
@@ -533,7 +534,7 @@ private string MapJustificationToAlignment(WP.JustificationValues justificationV
533
534
case WP.JustificationValues.Right:
535
return "Right";
536
- return "Left";
537
+ return "Justify";
538
539
540
0 commit comments