Skip to content

Commit 71050bb

Browse files
committed
Justification added
1 parent a1bae29 commit 71050bb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

FileFormat.Words/OpenXML.Words.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,9 +532,11 @@ private string MapJustificationToAlignment(WP.JustificationValues justificationV
532532
case WP.JustificationValues.Center:
533533
return "Center";
534534
case WP.JustificationValues.Right:
535-
return "Right";
535+
return "Right";
536+
case WP.JustificationValues.Both
537+
return "Justify"
536538
default:
537-
return "Justify";
539+
return "Left";
538540
}
539541
}
540542

0 commit comments

Comments
 (0)