docx
    Preparing search index...

    Type Alias ITableCellBorders

    Options for configuring table cell borders.

    Defines border settings for individual edges of a table cell. Border settings can be specified for top, bottom, left, right, start, and end edges, and for the two lines that cross the cell from corner to corner.

    type ITableCellBorders = {
        bottom?: IBorderOptions;
        diagonalDown?: IBorderOptions;
        diagonalUp?: IBorderOptions;
        end?: IBorderOptions;
        left?: IBorderOptions;
        right?: IBorderOptions;
        start?: IBorderOptions;
        top?: IBorderOptions;
    }
    Index

    Border for the bottom edge of the cell

    diagonalDown?: IBorderOptions

    A line across the cell from its top left corner to its bottom right (w:tl2br), Word's "Diagonal Down Border". It splits a header cell into a label for its row, below the line, and one for its column, above it.

    diagonalUp?: IBorderOptions

    A line across the cell from its bottom left corner to its top right (w:tr2bl), Word's "Diagonal Up Border"

    Border for the end edge (right in LTR, left in RTL)

    Border for the left edge of the cell

    Border for the right edge of the cell

    Border for the start edge (left in LTR, right in RTL)

    Border for the top edge of the cell