In Your App
Open, edit, and preview Office files in your iPhone, iPad, and Mac apps.
ComOfficeKit SDK
ComOfficeKit is the document engine behind LynxOffice. It reads, edits, saves, and renders .docx, .xlsx, and .pptx files on the device, for your apps, your internal tools, and your AI.
Swift
import DocumentCore
try SDKLicense.activate(key: licence)
// paragraphs, runs, tables and sections
let scene = try DocumentParser.parse(docxAt: url)
print(scene.body.count, "body elements")
// only the parts you changed are rewritten
try DocumentWriter.save(document: scene,
originalURL: url,
destinationURL: out)
The files your customers already use, read, changed, and drawn inside your own software, with nothing sent to a server.
Open, edit, and preview Office files in your iPhone, iPad, and Mac apps.
Fill templates, generate reports, and read the numbers out of workbooks inside your own tools. On macOS and Windows today; Windows Server and Linux are in development.
Give your AI assistant Office files it can read and edit, with every change saved back into the real file.
Four jobs customers build on the engine. Each animation replays a real run of the code beside it, on the files it shows.
Document generation
For CRM, HR, legal, and internal tools.
Swift
try SDKLicense.activate(key: licence)
var scene = try DocumentParser.parse(
docxAt: template)
for (placeholder, value) in values {
scene = WordSceneEditor.replaceAll(
placeholder, with: value, in: scene,
caseSensitive: true).scene
}
try DocumentWriter.save(
document: scene, originalURL: template,
destinationURL: output)
Previews
For file managers, cloud drives, and chat apps.
Swift
try SDKLicense.activate(key: licence)
let files: [ParsedDocument] = [
.word(try DocumentParser.parse(
docxAt: docx)),
.workbook(try SpreadsheetParser.parse(
xlsxAt: xlsx, rasterizer: nil)),
.slides(try SlideParser.parse(
pptxAt: pptx)),
]
for file in files {
let pages = try DocumentRenderer
.pageCount(of: file)
let thumbnail = try DocumentRenderer
.image(of: file, page: 0, scale: 0.5)
show(thumbnail, pages)
}
let pdf = try DocumentRenderer.pdfData(
of: files[0])
Spreadsheet calculation
For quotes, finance, and inventory.
Swift
try SDKLicense.activate(key: licence)
var book = try SpreadsheetParser.parse(
xlsxAt: quote, rasterizer: nil)
book = WorkbookSceneEditor.settingCellValue(
.number(25), formula: nil, at: quantity,
sheetIndex: 0, in: book)!
// A cached result is never recomputed, so
// clear each formula's, then evaluate them.
let formulas = book.sheets[0].cells.filter {
$0.formula != nil }
for cell in formulas {
book = WorkbookSceneEditor.settingCellValue(
.empty, formula: cell.formula,
at: cell.reference, sheetIndex: 0,
in: book)!
}
let context = SceneWorkbookContext(
scene: book, homeSheetIndex: 0)
for cell in formulas {
let value = Formula.evaluate(
cell.formula!, in: context)
book = WorkbookSceneEditor.settingCellValue(
value, formula: cell.formula,
at: cell.reference, sheetIndex: 0,
in: book)!
}
try SpreadsheetWriter.save(
workbook: book, originalURL: quote,
destinationURL: output)
AI integration
For anyone wiring documents into an AI assistant.
An assistant connected to an MCP server built on the engine lists a contract’s tracked changes and comments, accepts the changes, and answers a comment. Every call and reply on the right is recorded from the server, verbatim.
The server is LynxOffice’s own; your team wires the same engine into your own AI.
Every value, image, and line of code above comes from a real run of DocumentCore and AppleRender at engine 1.1.0.
LynxOffice, KDAN's office suite for the Mac, opens, edits, and saves Word, Excel, and PowerPoint files with this engine. Its MCP server, which lets AI assistants read and edit documents, is built on it too.
Each platform has its own SDK, built on the same engine.
Two Swift frameworks for iPhone, iPad, and Mac apps: read, edit, save, and render .docx, .xlsx, and .pptx on the device.
Available · iOS and iPadOS 16+ · macOS 13+
Learn moreA .NET library for Windows apps and tools: open, edit, save, and render .docx, .xlsx, and .pptx, and export PDF.
Available · Windows 11 x64 · .NET 8+
Learn moreLinux, Windows Server, and the Web. Tell us which one you need, and we will write to you when it ships.
In development
The same engine LynxOffice runs on, without the app around it.
Opens .docx, .xlsx, and .pptx into a structured model and saves them back in the same format. Parts you did not change are carried over untouched.
Draws any page of a document, workbook, or deck to an image or to PDF.
Evaluates spreadsheet formulas, with Excel-style error values returned as values.
No network calls, including for the licence check, so documents never leave your software.
Developers who need to read, create, or show Office documents inside their own app, teams building internal tools that generate or read those files, and companies connecting those files to their own AI.
Evaluate it free for about 60 days under the Service Terms, with the key each release publishes for iOS and macOS and for Windows. For a licence, tell us what you are building on the contact form, or write to support@comofficekit.com.
iOS, iPadOS, macOS, and Windows today. Windows Server, Linux, and the Web are in development.
Today it runs on macOS and Windows 11, so a Mac or a Windows 11 PC can run it inside your own systems. Windows Server and Linux are in development.
Yes. Your AI assistant or agent can read and edit Word, Excel, and PowerPoint files through it, and every change is saved back into the real file. LynxOffice's MCP server, which lets AI assistants read and edit documents, is built on the same engine.
It does not open or edit PDF files, although it renders documents to PDF, and it has no user interface of its own: you build the screens, and the SDK supplies the document model and draws the pages.
Tell us what you are building and which platforms you need, and our sales team will get back to you. You can also write to support@comofficekit.com.