UNPKG

asposewordscloud

Version:
42 lines (41 loc) 1.47 kB
import { AttributeInfo } from '../internal/attributeInfo'; import { ModelInterface } from './modelInterface'; export declare const importsMapCsvDataLoadOptions: {}; /** * Represents options for parsing CSV data. * To learn more, visit the LINQ Reporting Engine documentation article. * An instance of this class can be passed into constructors of CsvDataSource. */ export declare class CsvDataLoadOptions implements ModelInterface { /** * Attribute type map */ static attributeTypeMap: Array<AttributeInfo>; /** * Returns attribute type map */ static getAttributeTypeMap(): AttributeInfo[]; /** * Gets or sets the character that is used to comment lines of CSV data. * The default value is '#' (number sign). */ commentChar: string; /** * Gets or sets the character to be used as a column delimiter. * The default value is ',' (comma). */ delimiter: string; /** * Gets or sets a value indicating whether the first record of CSV data contains column names. * The default value is false. */ hasHeaders: boolean; /** * Gets or sets the character that is used to quote field values. * The default value is '"' (quotation mark).Double the character to place it into quoted text. */ quoteChar: string; constructor(init?: Partial<CsvDataLoadOptions>); collectFilesContent(_resultFilesContent: Array<any>): void; validate(): void; }