Skip to main content
Glama
islide.d.ts•1.2 kB
import { RootPresTemplate } from './root-pres-template'; import { FindElementSelector, ModificationCallback, SlideModificationCallback, SourceIdentifier } from '../types/types'; import IArchive from './iarchive'; import { ElementInfo } from '../types/xml-types'; export interface ISlide { sourceArchive: IArchive; sourceNumber: SourceIdentifier; modify(callback: SlideModificationCallback): void; modifyRelations(callback: SlideModificationCallback): void; append(targetTemplate: RootPresTemplate): Promise<void>; addElement(presName: string, slideNumber: number, selector: FindElementSelector, callback?: ModificationCallback | ModificationCallback[]): ISlide; modifyElement(selector: FindElementSelector, callback: ModificationCallback | ModificationCallback[]): ISlide; removeElement(selector: FindElementSelector): ISlide; useSlideLayout(targetLayout?: number | string): ISlide; getAllElements(filterTags?: string[]): Promise<ElementInfo[]>; getAllTextElementIds(): Promise<string[]>; /** * Asynchronously retrieves the dimensions of a slide. */ getDimensions(): Promise<{ width: number; height: 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