@@ -912,6 +912,7 @@ private static float ParseVmlPointLength(Dictionary<string, string> style, strin
912912 float spacingAfter = - 1 ;
913913 bool spacingAfterExplicit = false ;
914914 bool spacingBeforeExplicit = false ;
915+ float paragraphMarkFontSize = 0 ;
915916 float lineSpacing = 0 ;
916917 bool lineSpacingAbsolute = false ;
917918 bool lineSpacingExact = false ;
@@ -1183,7 +1184,10 @@ private static float ParseVmlPointLength(Dictionary<string, string> style, strin
11831184 {
11841185 var sz = rPr . Element ( W + "sz" ) ? . Attribute ( W + "val" ) ? . Value ;
11851186 if ( float . TryParse ( sz , out var s ) )
1187+ {
11861188 fontSize = s / 2f ; // half-points to points
1189+ paragraphMarkFontSize = fontSize ;
1190+ }
11871191 // Paragraph-level character spacing
11881192 var spacingEl2 = rPr . Element ( W + "spacing" ) ;
11891193 if ( spacingEl2 != null && int . TryParse ( spacingEl2 . Attribute ( W + "val" ) ? . Value , out var pcs ) )
@@ -1509,7 +1513,8 @@ private static float ParseVmlPointLength(Dictionary<string, string> style, strin
15091513 ListSuff : listSuff ,
15101514 ListTabStop : listTabStop ,
15111515 OutlineLevel : ReadOutlineLevel ( pPr ) ,
1512- StyleIndentFirstLine : styleIndentFirstLineForListLabel ) ;
1516+ StyleIndentFirstLine : styleIndentFirstLineForListLabel ,
1517+ ParagraphMarkFontSize : paragraphMarkFontSize ) ;
15131518 }
15141519
15151520 private static void EmitPageFieldPlaceholder ( string instruction , List < DocxRun > runs , bool bold , bool italic , float fontSize , PdfColor ? color )
@@ -5286,7 +5291,8 @@ internal sealed record DocxParagraph(
52865291 // not position the automatic-numbering suffix.
52875292 float ? ListTabStop = null ,
52885293 int OutlineLevel = - 1 ,
5289- float StyleIndentFirstLine = 0
5294+ float StyleIndentFirstLine = 0 ,
5295+ float ParagraphMarkFontSize = 0
52905296) : DocxElement ;
52915297
52925298/// <summary>Represents a single border edge. Width=0 is a sentinel for an
0 commit comments