Skip to main content
Glama
modify-table.d.ts•1.13 kB
import ModifyXmlHelper from '../helper/modify-xml-helper'; import { TableData, TableRowStyle } from '../types/table-types'; import { Modification, ModificationTags } from '../types/modify-types'; import { XmlDocument, XmlElement } from '../types/xml-types'; export declare class ModifyTable { data: TableData; table: ModifyXmlHelper; xml: XmlDocument | XmlElement; constructor(table: XmlDocument | XmlElement, data?: TableData); modify(): ModifyTable; setRows(): void; setGridCols(): void; sliceRows(): void; sliceCols(): void; row: (index: number, children: ModificationTags) => ModificationTags; column: (index: number, children: ModificationTags) => ModificationTags; cell: (value: number | string, style?: TableRowStyle) => ModificationTags; setCellStyle(style: any): { modify: any[]; children: {}; }; setCellBorder(style: any): {}; slice(tag: string, length: number): Modification; adjustHeight(): this; adjustWidth(): this; setSize(orientation: 'cx' | 'cy', size: number): void; getTableSize(orientation: string): number; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/guangxiangdebizi/PPT-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server