ONLYOFFICE API updates: What’s new in December 2025

16 December 2025By Ksenija

The end of the year brings a massive wave of updates to the ONLYOFFICE API. Version 9.2 of ONLYOFFICE Docs is here, and with it comes a significant expansion of our Office JavaScript API, new capabilities for plugins and macros, and essential documentation improvements.

For developers building on top of ONLYOFFICE, these updates offer more granular control over document elements, enhanced form manipulation, and better integration tools. Whether you are automating document creation, building complex plugins, or integrating DocSpace, this release has something for you. Let’s dive into the technical details.

ONLYOFFICE API updates: What’s new in December 2025

Office JavaScript API: Expanded control

Office JavaScript API has received a substantial number of new methods across the suite.

Enhanced form manipulation

Working with forms programmatically is now more powerful. We have introduced fresh methods to handle form elements with precision.

CheckBoxForm methods. You can now dynamically manage labels for checkboxes in both the Form API and Text Document API:

  • ApiCheckBoxForm/GetLabel
  • ApiCheckBoxForm/SetLabel

Lifecycle and ID management. We have standardized how you interact with form objects. New Delete and GetInternalId methods have been added for virtually every form type in both the Form API and Text Document API. This includes:

  • ApiCheckBoxForm
  • ApiComboBoxForm
  • ApiComplexForm
  • ApiDateForm
  • ApiFormBase
  • ApiPictureForm
  • ApiTextForm

This granular control allows for cleaner code when managing dynamic forms, letting you remove elements or reference them by internal IDs programmatically.

Paragraph methods for Presentation and Spreadsheet APIs

One of the biggest additions in this update is the expansion of ApiParagraph methods to the Presentation and Spreadsheet APIs. Previously, deep paragraph manipulation was primarily the domain of the Text Document API. Now, you can apply rich text formatting and structural changes directly within slides and sheets.

  • Structure: InsertParagraph, Push, Last, GetLastRunWithText.
  • Formatting: SetBold, SetItalic, SetUnderline, SetStrikeout, SetDoubleStrikeout, SetCaps, SetSmallCaps.
  • Styling: SetColor, SetFontSize, SetFontFamily, SetSpacing.
  • Properties: GetFontNames, SetTextPr.
  • Data: ToJSON, GetInternalId.

This unifies the developer experience across editors, making your code more reusable whether you are generating a report in a document or formatting a text box in a slide deck.

Unit conversion helpers

Handling measurements in Office Open XML often requires converting between English Metric Units (EMUs) and standard units. We’ve added helper methods to the Presentation, Spreadsheet, and Text Document APIs to simplify this:

  • Api/EmusToMillimeters
  • Api/MillimetersToEmus

Navigation and content access

For the Text Document API, we have improved cursor movement and content insertion, which is crucial for macros that automate typing or editing:

  • ApiDocument/MoveCursorDown, MoveCursorLeft, MoveCursorRight, MoveCursorUp
  • ApiDocument/EnterText
  • ApiDocument/InsertParagraphBreak

Additionally, accessing content within presentations and spreadsheets is easier with new ApiDocumentContent methods like GetAllParagraphs, GetCurrentParagraph, and GetText.

Check the full list of new methods

Plugins for Docs: better dev experience

Building plugins is about more than just the code; it’s about the developer experience and the final user interface.

Debugging tutorials

We have added a new Debugging subsection to our tutorials for both web and desktop editors. These guides will help you troubleshoot your plugins faster and more effectively.

UI consistency

  • Icons: We updated the plugin Icons page with best practices. Adding icons is a small step that significantly improves usability and makes your interface intuitive.
  • Theming: A new “How to customize themes” page explains how your plugin can detect the current editor theme and react accordingly. This ensures your plugin looks native, whether the user is in Dark Mode or Light Mode.

Localization troubleshooting

We added a Troubleshooting section to the Localization page to help you resolve common issues when translating your plugins for a global audience.

DocSpace SDK updates

For developers integrating our room-based collaboration platform DocSpace, the JavaScript SDK has been updated. The documentation structure has been refactored and is now automatically generated using files directly from DocSpace, ensuring that the reference you read is always in sync with the actual code.

API documentation site improvements

We are constantly improving the API documentation site to make it faster and easier to use.

  • Engine: We updated Docusaurus to version 3.9.2.
  • System theme mode: The documentation site now supports system theme detection, respecting your OS preference for dark or light mode.
  • Usability & localization: We have redesigned the documentation start page and improved the Chinese documentation, including the fully translated Desktop Editors section.

Create your free ONLYOFFICE account

View, edit and collaborate on docs, sheets, slides, forms, and PDF files online.