/** * PdfCompositeField.ts class for EJ2-PDF */ import { PdfMultipleValueField } from './multiple-value-field'; import { PdfAutomaticField } from './automatic-field'; import { PdfFont, PdfBrush, PdfGraphics } from '../../graphics'; /** * Represents class which can concatenate multiple automatic fields into single string. */ export declare class PdfCompositeField extends PdfMultipleValueField { /** * Stores the array of automatic fields. * @private */ private internalAutomaticFields; /** * Stores the text value of the field. * @private */ private internalText; /** * Initialize a new instance of `PdfCompositeField` class. * @param font Font of the field. * @param brush Color of the field. * @param text Content of the field. * @param list List of the automatic fields in specific order based on the text content. */ constructor(font: PdfFont, brush: PdfBrush, text: string, ...list: PdfAutomaticField[]); /** * Gets and sets the content of the field. * @public */ get text(): string; set text(value: string); /** * Gets and sets the list of the field to drawn. * @public */ get automaticFields(): PdfAutomaticField[]; set automaticFields(value: PdfAutomaticField[]); /** * Return the actual value generated from the list of automatic fields. * @public */ getValue(graphics: PdfGraphics): string; }