API Reference

Class

TableStyles

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers static

Friendly presets for common table appearances.

Inheritance

  • Object
  • TableStyles

Methods

public static PdfTableStyle Compact() #
Returns: PdfTableStyle

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

public static PdfTableStyle FromWordTableStyle(String styleName) #
Returns: PdfTableStyle

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

Parameters

styleName System.String requiredposition: 0
public static String GetCanonicalWordStyleName(String styleName) #
Returns: String

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

Parameters

styleName System.String requiredposition: 0
public static PdfTableStyle GridTable1Light() #
Returns: PdfTableStyle

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

public static PdfTableStyle Light() #
Returns: PdfTableStyle

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

public static PdfTableStyle ListTable1Light() #
Returns: PdfTableStyle

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

public static PdfTableStyle Minimal() #
Returns: PdfTableStyle

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

public static PdfTableStyle PlainTable1() #
Returns: PdfTableStyle

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

public static PdfTableStyle Report() #
Returns: PdfTableStyle

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

public static PdfTableStyle RightAlignedNumbers() #
Returns: PdfTableStyle

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

public static PdfTableStyle TableGrid() #
Returns: PdfTableStyle

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

public static PdfTableStyle TableGridLight() #
Returns: PdfTableStyle

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

public static PdfTableStyle TechnicalDocument() #
Returns: PdfTableStyle

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

public static Boolean TryFromWordTableStyle(String styleName, out PdfTableStyle style) #
Returns: Boolean

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

Parameters

styleName System.String requiredposition: 0
style OfficeIMO.Pdf.PdfTableStyle@ requiredposition: 1
public static Boolean TryGetCanonicalWordStyleName(String styleName, out String canonicalStyleName) #
Returns: Boolean

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

Parameters

styleName System.String requiredposition: 0
canonicalStyleName System.String@ requiredposition: 1

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.