Skip to content
OFD Editor
Developer docs

Public API reference

Find public entry points and their source-derived signatures for sessions, templates, HTTP and printing.

Signatures below come from the public package exports. Mount the workspace in the browser. Template, HTTP and print subpaths are also available to backend integrations. Mounting example · Workstation HTTP

Browser workspace

Editor

@quirekit/ofd-editorCommercial license

Commercial OFD workspace with its own browser session and view lifecycle.

Editorts

OFDMountedEditorSession

@quirekit/ofd-editorCommercial license

File operations attached to the particular editor currently observed by the host.

OFDMountedEditorSessionts

Templates and fill services

instantiateOFDTemplate

@quirekit/ofd-editor/templatesCommercial license

Creates a separate native document, leaving the stored master and its object/resource references intact. @param bytes - Editable master OFD package. @param prepare - Optional domain initialization after assigning file identities. @param reference - Registered source edition persisted for shared field mappings. @returns Independent package, with a fresh DocID for each document body.

instantiateOFDTemplatets

describeOFDTemplateFields

@quirekit/ofd-editor/httpCommercial license

@param source - Versioned native master. @returns Portable controls and a value-free request example.

describeOFDTemplateFieldsts

fillOFDTemplate

@quirekit/ofd-editor/httpCommercial license

Fills a new editable file without opening a window or changing the source template. @param master - Immutable bytes from an authorized versioned store. @param input - Portable fill record or a previous snapshot. @param fallbackFont - Complete font to cover new characters absent from an embedded subset. @param reference - Exact source edition to retain on the generated document. @returns Independent native document and any outstanding completion checks.

fillOFDTemplatets

handleOFDHttpRequest

@quirekit/ofd-editor/httpCommercial license

Handles one request with services already scoped to the calling tenant, including print receipt access. @param request - Web-standard request, including the current user's abort signal. @param services - Authorized stores for this request. @param mount - Absolute path prefix configured by the host. @returns JSON metadata, OFD bytes, or an HTTP error.

handleOFDHttpRequestts

parseOFDPrintRange

@quirekit/ofd-editor/printCommercial license

@param text - One-based page ranges, for example 1,3-5. @param count - Source page count. @returns Unique physical page numbers in source order.

parseOFDPrintRangets

OFDPrintService

@quirekit/ofd-editor/printCommercial license

Host integration for a native print queue or authenticated backend.

OFDPrintServicets
OFD Editor · QuireKitGuides and developer interfaces for the QuireKit OFD Editor.