Skip to content

Commit 0b31e52

Browse files
committed
Support 3D and dash-dot stripe border styles in DOCX to RTF converter
1 parent c1523ea commit 0b31e52

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/DocSharp.Docx/DocxToRtf/RtfBorderMapper.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ internal static string GetBorderType(BorderValues borderValue)
5555
return @"\brdrtnthtnmg";
5656
else if (borderValue == BorderValues.ThinThickThinLargeGap)
5757
return @"\brdrtnthtnlg";
58+
else if (borderValue == BorderValues.ThreeDEmboss)
59+
return @"\brdremboss";
60+
else if (borderValue == BorderValues.ThreeDEngrave)
61+
return @"\brdrengrave";
62+
else if (borderValue == BorderValues.DashDotStroked)
63+
return @"\brdrdashdotstr";
5864
else if (borderValue == BorderValues.Nil)
5965
// return @"\brdrnil";
6066
// In DOCX nil means no border.
14.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)