For AI agents: the complete documentation index is available at https://a3s-lab.github.io/Office/docs/0.1.0/en/llms.txt, the full documentation bundle is available at https://a3s-lab.github.io/Office/docs/0.1.0/en/llms-full.txt, and this page is available as Markdown at https://a3s-lab.github.io/Office/docs/0.1.0/en/components/index.md.
  • English
  • 0.1.0
  • Component integration

    All bindings expose the same controlled content model. Framework adapters translate naming and event conventions without creating a second editor implementation.

    Framework bindings

    FrameworkImportContent binding
    React@a3s-lab/office/reactcontent and onChange
    Vue@a3s-lab/office/vuev-model:content or content and @change
    Web Component@a3s-lab/office/web-component.content and the change event

    Available editors

    ProductComponentContent contract
    DocumentDocumentEditorDocumentContent
    MarkdownMarkdownEditorMarkdownContent
    SpreadsheetSpreadsheetEditorSpreadsheetContent
    PresentationPresentationEditorPresentationContent
    PDFPdfViewerBlob input and output ports

    Shared surface properties

    PropertyTypeDefaultDescription
    theme'light' | 'dark' | 'system''system'Editor color mode.
    classNamestringReact host class name. Vue and custom elements use normal class.
    styleCSSPropertiesReact host inline style. The editor fills this host.
    previewbooleanfalseRead-only surface for controlled editors.
    saveStatusstringeditor-specificHost-owned save status shown in the file surface.
    fileActionsreadonly OfficeFileAction[][]Host file actions such as save, export, history, or approval.