/** * PdfGridStyleBase.ts class for EJ2-PDF */ import { PdfBrush } from './../../../graphics/brushes/pdf-brush'; import { PdfPen } from './../../../graphics/pdf-pen'; import { PdfFont } from './../../../graphics/fonts/pdf-font'; import { PdfBorders, PdfPaddings } from './pdf-borders'; import { PdfBorderOverlapStyle } from './../../tables/light-tables/enum'; import { PdfStringFormat } from './../../../graphics/fonts/pdf-string-format'; import { PdfGridRow } from './../pdf-grid-row'; import { PdfImage } from './../../../graphics/images/pdf-image'; /** * Base class for the `grid style`, */ export declare abstract class PdfGridStyleBase { /** * @hidden * @private */ private gridBackgroundBrush; /** * @hidden * @private */ private gridTextBrush; /** * @hidden * @private */ private gridTextPen; /** * @hidden * @private */ private gridFont; /** * @hidden * @private */ private gridBackgroundImage; /** * Gets or sets the `background brush`. * @private */ get backgroundBrush(): PdfBrush; set backgroundBrush(value: PdfBrush); /** * Gets or sets the `text brush`. * @private */ get textBrush(): PdfBrush; set textBrush(value: PdfBrush); /** * Gets or sets the `text pen`. * @private */ get textPen(): PdfPen; set textPen(value: PdfPen); /** * Gets or sets the `font`. * @private */ get font(): PdfFont; set font(value: PdfFont); /** * Gets or sets the `background Image`. * @private */ get backgroundImage(): PdfImage; set backgroundImage(value: PdfImage); } /** * `PdfGridStyle` class provides customization of the appearance for the 'PdfGrid'. */ export declare class PdfGridStyle extends PdfGridStyleBase { /** * @hidden * @private */ private gridBorderOverlapStyle; /** * @hidden * @private */ private gridHorizontalOverflowType; /** * @hidden * @private */ private bAllowHorizontalOverflow; /** * @hidden * @private */ private gridCellPadding; /** * @hidden * @private */ private gridCellSpacing; /** * Initialize a new instance for `PdfGridStyle` class. * @private */ constructor(); /** * Gets or sets the `cell spacing` of the 'PdfGrid'. * @private */ get cellSpacing(): number; set cellSpacing(value: number); /** * Gets or sets the type of the `horizontal overflow` of the 'PdfGrid'. * @private */ get horizontalOverflowType(): PdfHorizontalOverflowType; set horizontalOverflowType(value: PdfHorizontalOverflowType); /** * Gets or sets a value indicating whether to `allow horizontal overflow`. * @private */ get allowHorizontalOverflow(): boolean; set allowHorizontalOverflow(value: boolean); /** * Gets or sets the `cell padding`. * @private */ get cellPadding(): PdfPaddings; set cellPadding(value: PdfPaddings); /** * Gets or sets the `border overlap style` of the 'PdfGrid'. * @private */ get borderOverlapStyle(): PdfBorderOverlapStyle; set borderOverlapStyle(value: PdfBorderOverlapStyle); } /** * `PdfGridCellStyle` class provides customization of the appearance for the 'PdfGridCell'. */ export declare class PdfGridCellStyle extends PdfGridStyleBase { /** * @hidden * @private */ private gridCellBorders; /** * @hidden * @private */ private gridCellPadding; /** * @hidden * @private */ private format; /** * Gets the `string format` of the 'PdfGridCell'. * @private */ get stringFormat(): PdfStringFormat; set stringFormat(value: PdfStringFormat); /** * Gets or sets the `border` of the 'PdfGridCell'. * @private */ get borders(): PdfBorders; set borders(value: PdfBorders); /** * Gets or sets the `cell padding`. * @private */ get cellPadding(): PdfPaddings; set cellPadding(value: PdfPaddings); /** * Initializes a new instance of the `PdfGridCellStyle` class. * @private */ constructor(); } /** * `PdfGridRowStyle` class provides customization of the appearance for the `PdfGridRow`. */ export declare class PdfGridRowStyle { /** * @hidden * @private */ private gridRowBackgroundBrush; /** * @hidden * @private */ private gridRowTextBrush; /** * @hidden * @private */ private gridRowTextPen; /** * @hidden * @private */ private gridRowFont; /** * Specifies the `border` value of the current row. * @private */ private gridRowBorder; /** * Specifies the `parent row` of the current object. * @private */ private parent; /** * @hidden * @private */ private gridRowBackgroundImage; /** * Gets or sets the `background brush`. * @private */ get backgroundBrush(): PdfBrush; setBackgroundBrush(value: PdfBrush): void; /** * Gets or sets the `text brush`. * @private */ get textBrush(): PdfBrush; setTextBrush(value: PdfBrush): void; /** * Gets or sets the `text pen`. * @private */ get textPen(): PdfPen; setTextPen(value: PdfPen): void; /** * Gets or sets the `font`. * @private */ get font(): PdfFont; setFont(value: PdfFont): void; /** * Gets or sets the `border` of the current row. * @private */ get border(): PdfBorders; setBorder(value: PdfBorders): void; /** * sets the `parent row` of the current object. * @private */ setParent(parent: PdfGridRow): void; /** * Gets or sets the `backgroundImage` of the 'PdfGridCell'. * @private */ get backgroundImage(): PdfImage; /** * sets the `backgroundImage` of the 'PdfGridCell'. * @private */ setBackgroundImage(value: PdfImage): void; /** * Initializes a new instance of the `PdfGridRowStyle` class. * @private */ constructor(); } /** * public Enum for `PdfHorizontalOverflowType`. * @private */ export declare enum PdfHorizontalOverflowType { /** * Specifies the type of `NextPage`. * @private */ NextPage = 0, /** * Specifies the type of `LastPage`. * @private */ LastPage = 1 }