Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfTableStyles

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
e163ccb36643 with working tree changes
Modifiers
static

Friendly presets for common table appearances.

Inheritance

  • object
  • PdfTableStyles

Methods

public static PdfTableStyle Compact() #

Compact preset: dense list-style table rhythm for notes, narrow reports, and space-constrained exports.

public static PdfTableStyle FromWordTableStyle(string styleName) #

Creates a PDF table style from a Word table style name supported by OfficeIMO.Pdf.

Parameters

styleName string required
public static string GetCanonicalWordStyleName(string styleName) #

Returns the canonical Word table style name for a supported style name or alias.

Parameters

styleName string required

Returns

string
public static PdfTableStyle GridTable1Light() #

Word-like Grid Table 1 Light preset: a light neutral grid with a slightly stronger header separator.

public static PdfTableStyle Light() #

Light preset: report-friendly header fill, soft grid, comfortable padding, and gentle row striping.

public static PdfTableStyle ListTable1Light() #

Word-like List Table 1 Light preset: no full grid, a strong header separator, and soft row separators.

public static PdfTableStyle Minimal() #

Minimal preset: grid only with no header or row fills.

public static PdfTableStyle PlainTable1() #

Word-like Plain Table 1 preset: text-only table flow with no visible grid or shading.

public static PdfTableStyle Report() #

Report preset: stronger header hierarchy, calm blue row striping, and automatic column fitting for polished summaries.

public static PdfTableStyle RightAlignedNumbers() #

Light preset with automatic right alignment for numeric-looking values.

public static PdfTableStyle TableGrid() #

Word-like Table Grid preset: a plain automatic-color grid with no shading.

public static PdfTableStyle TableGridLight() #

Word-like Table Grid Light preset: a light neutral grid matching Word's built-in Grid Table Light style.

public static PdfTableStyle TechnicalDocument() #

Technical-document preset: compact readable rows, dark header fill, soft borders, and automatic column fitting for specifications and READMEs.

public static bool TryFromWordTableStyle(string styleName, out PdfTableStyle? style) #

Tries to create a PDF table style from a Word table style name supported by OfficeIMO.Pdf.

Parameters

styleName string required
style OfficeIMO.Pdf.PdfTableStyle? required

Returns

bool
public static bool TryGetCanonicalWordStyleName(string styleName, out string? canonicalStyleName) #

Tries to return the canonical Word table style name for a supported style name or alias.

Parameters

styleName string required
canonicalStyleName string? required

Returns

bool

Properties

public static IReadOnlyList<string> CanonicalWordStyleNames { get; } #

Canonical Word table style names callers can present without duplicate alias spellings.

public static IReadOnlyList<string> SupportedWordStyleNames { get; } #

Word table style names and aliases currently mapped to PDF presets.