UNPKG

asposewordscloud

Version:
58 lines (57 loc) 1.89 kB
import { AttributeInfo } from '../internal/attributeInfo'; import { DocumentPosition } from './documentPosition'; import { FootnoteLink } from './footnoteLink'; import { StoryChildNodes } from './storyChildNodes'; export declare const importsMapFootnote: { DocumentPosition: typeof DocumentPosition; FootnoteLink: typeof FootnoteLink; StoryChildNodes: typeof StoryChildNodes; }; /** * DTO container with a footnote. */ export declare class Footnote extends FootnoteLink { /** * Attribute type map */ static attributeTypeMap: Array<AttributeInfo>; /** * Returns attribute type map */ static getAttributeTypeMap(): AttributeInfo[]; /** * Gets or sets the link to comment range start node. */ position: DocumentPosition; /** * Gets or sets the value, that specifies whether this is a footnote or endnote. */ footnoteType: Footnote.FootnoteTypeEnum; /** * Gets or sets the custom reference mark to be used for this footnote. * Default value is Empty, meaning auto-numbered footnotes are used. * RTF-format can only store 1 symbol as custom reference mark, so upon export only the first symbol will be written others will be discard. */ referenceMark: string; /** * Gets or sets text of the footnote. * This method allows to quickly set text of a footnote from a string. The string can contain paragraph breaks, this will create paragraphs of text in the footnote accordingly. */ text: string; /** * Gets or sets the content of the footnote. */ content: StoryChildNodes; constructor(init?: Partial<Footnote>); collectFilesContent(_resultFilesContent: Array<any>): void; validate(): void; } /** * Enums for Footnote */ export declare namespace Footnote { enum FootnoteTypeEnum { Footnote, Endnote } }