@syncfusion/ej2-documenteditor
Version:
Feature-rich document editor control with built-in support for context menu, options pane and dialogs.
41 lines (40 loc) • 1.14 kB
TypeScript
import { CellVerticalAlignment, WidthType } from '../../base/types';
import { WBorders } from './borders';
import { WShading } from './shading';
/**
* @private
*/
export declare class WCellFormat {
private uniqueCellFormat;
private static uniqueCellFormats;
private static uniqueFormatType;
borders: WBorders;
shading: WShading;
ownerBase: Object;
leftMargin: number;
rightMargin: number;
topMargin: number;
bottomMargin: number;
cellWidth: number;
columnSpan: number;
rowSpan: number;
preferredWidth: number;
verticalAlignment: CellVerticalAlignment;
preferredWidthType: WidthType;
constructor(node?: Object);
getPropertyValue(property: string): Object;
private setPropertyValue;
private initializeUniqueCellFormat;
private addUniqueCellFormat;
private static getPropertyDefaultValue;
containsMargins(): boolean;
destroy(): void;
cloneFormat(): WCellFormat;
hasValue(property: string): boolean;
copyFormat(format: WCellFormat): void;
/**
* @private
*/
initializeCellBorders(): void;
static clear(): void;
}