import { NodeContext } from "../../types/node"; import { TableGridType, TablePropsType, TableStyle, TableTdType, TableTrType } from "../../types/table"; import { ParagraphRowType, ParagraphType } from "../../types/text"; import { XMLElementsJson } from "../../utils/xml"; import Group from "../Group"; import PPTX from "../PPTX"; import Node from "./Node"; export default class TableNode extends Node { pptx: PPTX; userDrawn: boolean; props: TablePropsType; tableGrid: TableGridType; tr: Array; tableStyles: { wholeTbl?: TableStyle; band1H?: TableStyle; band2H?: TableStyle; band1V?: TableStyle; band2V?: TableStyle; lastCol?: TableStyle; firstCol?: TableStyle; lastRow?: TableStyle; firstRow?: TableStyle; }; constructor(source: any, pptx: PPTX, ctx: NodeContext, group?: Group); _parseTableProps(): void; _parseTableGrid(): void; _parseTr(): void; _parseTd(el: XMLElementsJson): TableTdType; _parseParagraph(el: XMLElementsJson): ParagraphType; _parseRow(el: XMLElementsJson): ParagraphRowType; _isLastCol(tds: TableTdType[], index: number): boolean; _isBandRow(index: number): boolean; _isBandCol(index: number): boolean; _parseInheritStyles(): void; }