You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: OfficeIMO.Pdf/Model/PdfTableStyle.cs
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,7 @@ public class PdfTableStyle {
38
38
privatedouble_cellSpacing;
39
39
privatedouble_minRowHeight;
40
40
privatedouble_spacingBefore;
41
+
privatedouble_pageContinuationSpacingBefore;
41
42
privatedouble?_captionFontSize;
42
43
privatedouble_captionSpacingAfter=4;
43
44
privatedouble_spacingAfter;
@@ -411,6 +412,14 @@ public double SpacingBefore {
411
412
_spacingBefore=value;
412
413
}
413
414
}
415
+
/// <summary>Vertical space to reserve before table content when the same table continues on a new page.</summary>
416
+
publicdoublePageContinuationSpacingBefore{
417
+
get=>_pageContinuationSpacingBefore;
418
+
set{
419
+
ValidateNonNegativeFiniteValue(value,nameof(PageContinuationSpacingBefore),"Table page continuation spacing before must be a non-negative finite value.");
420
+
_pageContinuationSpacingBefore=value;
421
+
}
422
+
}
414
423
/// <summary>Optional text rendered above the table grid as part of the table flow.</summary>
415
424
publicstring?Caption{get;set;}
416
425
/// <summary>Caption alignment inside the rendered table width.</summary>
@@ -463,6 +472,8 @@ public double? MaxWidth {
463
472
_maxWidth=value;
464
473
}
465
474
}
475
+
/// <summary>When true, the resolved table frame width is preserved even if measured columns would otherwise shrink to their content.</summary>
476
+
publicboolPreserveWidth{get;set;}
466
477
/// <summary>Optional left indentation before table placement, in points.</summary>
467
478
publicdoubleLeftIndent{
468
479
get=>_leftIndent;
@@ -581,6 +592,7 @@ public PdfTableStyle Clone() {
0 commit comments