@antv/s2
Version:
effective spreadsheet render core lib
30 lines (29 loc) • 1.51 kB
TypeScript
import { ColCell } from '../cell/col-cell';
import type { FormatResult } from '../common/interface';
import type { BaseHeaderConfig } from '../facet/header';
export declare class TableColCell extends ColCell {
protected handleRestOptions(...[headerConfig]: [BaseHeaderConfig]): void;
protected getFormattedFieldValue(): FormatResult;
protected isSortCell(): boolean;
protected showSortIcon(): boolean | undefined;
protected getTextStyle(): {
fontSize: number;
fill: string;
linkTextFill: string;
textAlign: NonNullable<import("../common/interface").TextAlign | undefined>;
textBaseline: NonNullable<import("../common/interface").TextBaseline | undefined>;
opacity: NonNullable<string | number | undefined>;
fontFamily: string;
fontWeight: NonNullable<number | "bold" | import("@antv/g-lite/types/css").CSSGlobalKeywords | "normal" | "bolder" | "lighter" | undefined>;
fontStyle: NonNullable<import("@antv/g-lite/types/css").CSSGlobalKeywords | "normal" | "italic" | "oblique" | undefined>;
fontVariant: string;
lineHeight: NonNullable<string | number | undefined>;
maxLinesByField?: Record<string, number> | null | undefined;
textOverflow?: string | undefined;
maxLines?: number | undefined;
wordWrap?: boolean | undefined;
};
protected getHorizontalResizeAreaName(): string;
protected drawBackgroundShape(): void;
drawTextOrCustomRenderer(): void;
}