Automate documents with code
Office SDK provides a consistent programming model for Word, Cell, and Show while the Thinkfree Office runtime preserves document fidelity.
import { ThinkfreeClient } from "@thinkfree/tfo-sdk";
const tfo = new ThinkfreeClient({baseUrl: "http://localhost:8080"});
const document = await tfo.documents.open("./proposal.docx");
Word
Edit text, paragraphs, styles, lists, tables, headers, comments, and tracked changes.
Cell
Read and write values and formulas, format ranges, and manage worksheets, filters, and validation.
Show
Create slides, apply layouts, edit shapes and tables, and manage transitions and comments.