MCPcopy Index your code
hub / github.com/ONLYOFFICE/onlyoffice-confluence

github.com/ONLYOFFICE/onlyoffice-confluence @v7.4.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v7.4.2 ↗ · + Follow
215 symbols 542 edges 43 files 0 documented · 0% updated 2d agov7.4.2 · 2026-06-24★ 434 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

ONLYOFFICE app for Confluence

This app allows users to create, view, and edit office documents directly within Confluence using ONLYOFFICE Docs.

ONLYOFFICE Docs for Confluence

Features ✨

The app allows to:

  • Create and edit text documents, spreadsheets, presentations, and PDFs.
  • Share documents with other users.
  • Co-edit documents in real time using two co-editing modes (Fast and Strict), Track Changes, comments, and built-in chat.

Supported formats 📁

For viewing: * WORD: DOC, DOCM, DOCX, DOT, DOTM, DOTX, EPUB, FB2, FODT, HTM, HTML, HWP, HWPX, MD, MHT, MHTML, ODT, OTT, PAGES, RTF, STW, SXW, TXT, WPS, WPT, XML * CELL: CSV, ET, ETT, FODS, NUMBERS, ODS, OTS, SXC, XLS, XLSM, XLSX, XLT, XLTM, XLTX * SLIDE: DPS, DPT, FODP, KEY, ODG, ODP, OTP, POT, POTM, POTX, PPS, PPSM, PPSX, PPT, PPTM, PPTX, SXI * PDF: DJVU, DOCXF, OFORM, OXPS, PDF, XPS * DIAGRAM: VSDM, VSDX, VSSM, VSSX, VSTM, VSTX

For editing: * WORD: DOCM, DOCX, DOTM, DOTX * CELL: XLSB, XLSM, XLSX, XLTM, XLTX * SLIDE: POTM, POTX, PPSM, PPSX, PPTM, PPTX * PDF: PDF

For editing with possible loss of information: * WORD: EPUB, FB2, HTML, ODT, OTT, RTF, TXT * CELL: CSV, ODS, OTS * SLIDE: ODP, OTP

For converting to Office Open XML formats: * WORD: DOC, DOCM, DOCX, DOT, DOTM, DOTX, EPUB, FB2, FODT, HTM, HTML, HWP, HWPX, MD, MHT, MHT, MHTML, ODT, OTT, PAGES, RTF, STW, SXW, TXT, WPS, WPT, XML * CELL: CSV, ET, ETT, FODS, NUMBERS, ODS, OTS, SXC, XLS, XLSB, XLSM, XLSX, XLT, XLTM, XLTX * SLIDE: DPS, DPT, FODP, KEY, ODG, ODP, OTP, POT, POTM, POTX, PPS, PPSM, PPSX, PPT, PPTM, PPTX, SXI * PDF: DOCXF, OXPS, PDF, XPS

Installing ONLYOFFICE Docs

Ensure ONLYOFFICE Docs is running and accessible to both Confluence and users' browsers. The server must also be able to POST updates back to Confluence.

🖥️ Self-Hosted Version

Community Edition vs Enterprise Edition comparison can be found here.

☁️ Cloud

Use ONLYOFFICE Docs Cloud if you prefer not to maintain your own server — no installation or configuration required.

👉 Get started here

Installing ONLYOFFICE app for Confluence

Upload the compiled target/onlyoffice-confluence-plugin.jar to Confluence on the Manage add-ons page.

The latest compiled package files are available here and on Atlassian Marketplace.

You could also install the app from Confluence administration panel:

  1. Navigate to Manage add-ons page.
  2. Click Find new apps or Find new add-ons on the left panel.
  3. Locate ONLYOFFICE Connector for Confluence using search.
  4. Click Install to download and install the app.

Configuring ONLYOFFICE app for Confluence ⚙️

Find the uploaded ONLYOFFICE Connector on the Manage add-ons page. Click Configure and enter the name of the server with ONLYOFFICE Docs installed:

http://documentserver/

Configuration settings include JWT, enabled by default to protect the editors from unauthorized access. If setting a custom secret key, ensure it matches the one in the ONLYOFFICE Docs config file for proper validation.

Compiling ONLYOFFICE app for Confluence 🛠️

You will need:

  • 1.8.X of the Oracle Java SE Development Kit 8
  • Atlassian Plugin SDK

Get a submodule:

git submodule update --init --recursive

Compile package:

atlas-package

How it works

The ONLYOFFICE app follows the API documented here:

  • User navigates to a Confluence attachments and selects the Edit in ONLYOFFICE action.
  • Confluence makes a request to OnlyOfficeEditorServlet (URL of the form: /plugins/servlet/onlyoffice/doceditor?attachmentId=$attachment.id).
  • Confluence sends document to ONLYOFFICE Document storage service and receive a temporary link.
  • Confluence prepares a JSON object with the following properties:
  • url: the temporary link that ONLYOFFICE Document Server uses to download the document,
  • callbackUrl: the URL that ONLYOFFICE Document Server informs about status of the document editing,
  • docserviceApiUrl: the URL that the client needs to reply to ONLYOFFICE Document Server (provided by the files.docservice.url.api property),
  • key: the UUID to instruct ONLYOFFICE Document Server whether to download the document again or not,
  • title: the document Title (name).
  • Confluence takes this object and constructs a page from a freemarker template, filling in all of those values so that the client browser can load up the editor.
  • The client browser makes a request for the javascript library from ONLYOFFICE Document Server and sends ONLYOFFICE Document Server the docEditor configuration with the above properties.
  • Then ONLYOFFICE Document Server downloads the document from Document storage and the user begins editing.
  • When all users and client browsers are done with editing, they close the editing window.
  • After 10 seconds of inactivity, ONLYOFFICE Document Server sends a POST to the callback URL letting Confluence know that the clients have finished editing the document and closed it.
  • Confluence downloads the new version of the document, replacing the old one.

ONLYOFFICE Docs editions

ONLYOFFICE offers different versions of its online document editors that can be deployed on your own servers.

  • Community Edition 🆓 (onlyoffice-documentserver package)
  • Enterprise Edition 🏢 (onlyoffice-documentserver-ee package)

The table below will help you to make the right choice.

Pricing and licensing Community Edition Enterprise Edition
Get it now Start Free Trial
Cost FREE Go to the pricing page
Number of users up to 20 recommended As in chosen pricing plan
License GNU AGPL v.3 Proprietary
Support Community Edition Enterprise Edition
Documentation Help Center Help Center
Standard support GitHub or Community 1 or 3 years support included
Premium support Contact us Contact us
Services Community Edition Enterprise Edition
Conversion Service + +
Live Viewer + +
Document Builder Service - -
Automation API - -
Interface Community Edition Enterprise Edition
Tabbed interface + +
Dark theme + +
125%, 150%, 175%, 200% scaling + +
White Label - -
Integrated test example (node.js) + +
Admin Panel - +
Mobile web editors - +*
Plugins & Macros Community Edition Enterprise Edition
Plugins + +
Macros + +
Collaborative capabilities Community Edition Enterprise Edition
Two co-editing modes + +
Comments + +
Built-in chat + +
Review and tracking changes + +
Display modes of tracking changes + +
Version history + +
Document Editor features Community Edition Enterprise Edition
Font and paragraph formatting + +
Object insertion + +
Adding Content control + +
Editing Content control + +
Layout tools + +
Table of contents + +
Navigation panel + +
Mail Merge + +
Comparing documents + +
Multipage View + +
Spreadsheet Editor features Community Edition Enterprise Edition
Font and paragraph formatting + +
Object insertion + +
Functions, formulas, equations + +
Table templates + +
Pivot tables + +
Data validation + +
Conditional formatting + +
Sparklines + +
Sheet Views + +
Solver + +
Presentation Editor features Community Edition Enterprise Edition
Font and paragraph formatting + +
Object insertion + +
Transitions + +
Animations + +
Presenter mode + +
Notes + +
Slide Master + +
Form creator features Community Edition Enterprise Edition
Adding form fields + +
Form preview + +
Saving as PDF + +
Role-matching colors for fields + +
PDF Editor features Community Edition Enterprise Edition
Text editing and co-editing + +
Work with pages (adding, deleting, rotating) + +
Inserting objects (shapes, images, hyperlinks, etc.) + +
Text annotations (highlight, underline, cross out, stamps) + +
Redact + +
Comments + +
Freehand drawings + +
Form filling + +
Get it now Start Free Trial

* If supported by DMS.

Need help? User Feedback and Support 💡

  • 🐞 Found a bug? Please report it by creating an issue.
  • ❓ Have a question? Ask our community and developers on the ONLYOFFICE Forum.
  • 👨‍💻 Need help for developers? Check our API documentation.

Extension points exported contracts — how you extend this code

ContentResolver (Interface)
(no doc) [2 implementers]
src/main/java/onlyoffice/macro/components/ContentResolver.java
ParsingUtil (Interface)
(no doc) [2 implementers]
src/main/java/onlyoffice/utils/parsing/ParsingUtil.java
AttachmentUtil (Interface)
(no doc) [2 implementers]
src/main/java/onlyoffice/utils/attachment/AttachmentUtil.java
AuthContext (Interface)
(no doc) [2 implementers]
src/main/java/onlyoffice/managers/auth/AuthContext.java
SettingsValidationService (Interface)
(no doc) [2 implementers]
src/main/java/onlyoffice/sdk/service/SettingsValidationService.java

Core symbols most depended-on inside this repo

getAttachment
called by 22
src/main/java/onlyoffice/utils/attachment/AttachmentUtil.java
checkAccess
called by 17
src/main/java/onlyoffice/utils/attachment/AttachmentUtil.java
getFileName
called by 12
src/main/java/onlyoffice/action/DownloadAsAction.java
getDocumentName
called by 12
src/main/java/onlyoffice/sdk/manager/document/DocumentManagerImpl.java
getConfluenceBaseUrl
called by 10
src/main/java/onlyoffice/sdk/manager/url/UrlManagerImpl.java
getContainer
called by 9
src/main/java/onlyoffice/utils/attachment/AttachmentUtil.java
getBody
called by 7
src/main/java/onlyoffice/utils/parsing/ParsingUtil.java
getVersion
called by 6
src/main/java/onlyoffice/utils/attachment/AttachmentUtil.java

Shape

Method 169
Class 29
Function 9
Interface 8

Languages

Java96%
TypeScript4%

Modules by API surface

src/main/java/onlyoffice/utils/attachment/AttachmentUtilImpl.java19 symbols
src/main/java/onlyoffice/utils/attachment/AttachmentUtil.java18 symbols
src/main/java/onlyoffice/sdk/manager/url/UrlManagerImpl.java15 symbols
src/main/java/onlyoffice/action/DownloadAsAction.java13 symbols
src/main/java/onlyoffice/macro/OnlyOfficePreviewMacro.java10 symbols
src/main/java/onlyoffice/sdk/manager/url/UrlManager.java8 symbols
src/main/java/onlyoffice/sdk/manager/security/JwtManagerImpl.java8 symbols
src/main/java/onlyoffice/sdk/manager/document/DocumentManagerImpl.java7 symbols
src/main/java/onlyoffice/OnlyOfficeAPIServlet.java7 symbols
src/main/java/onlyoffice/sdk/service/ConfigServiceImpl.java6 symbols
src/main/java/onlyoffice/OnlyOfficeConvertServlet.java6 symbols
src/main/resources/js/settings.js5 symbols

For agents

$ claude mcp add onlyoffice-confluence \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page