igniteui-angular
Version:
Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps
29 lines (28 loc) • 891 B
TypeScript
/** @hidden */
export declare class WorksheetDataDictionary {
private static DEFAULT_FONT;
private static TEXT_PADDING;
private _dictionary;
private _widthsDictionary;
private _sortedKeysByValue;
private _sortedKeysByValueAreValid;
private _keys;
private _keysAreValid;
private _counter;
private _calculateColumnWidth;
private _columnWidths;
private _context;
private _columnTypeInfo;
hasNonStringValues: boolean;
stringsCount: number;
constructor(columnCount: number, columnWidth: number);
readonly columnWidths: number[];
saveValue(value: any, column: number, isHeader: boolean): number;
getValue(value: string): number;
getSanitizedValue(sanitizedValue: string): number;
getKeys(): string[];
private getTextWidth;
private getContext;
private sanitizeValue;
private dirtyKeyCollections;
}