How onlyoffice/core works
ONLYOFFICE Core provides document-format conversion for Document Server and Desktop Editors. The user-facing workflow is to submit a document in one supported format and obtain it in another; the README lists word-processing, spreadsheet, presentation, web, ebook, and fixed-layout formats. The tree shows representative format-specific and rendering code, but not a central conversion entry point or its call graph, so the graph presents documented capabilities without asserting unsupported sequencing. Several subsystems are represented by their exact enclosing directories because their implementations were not sampled.
Main entry points: ParagraphStyleManager.cpp Word formats · PdfFile Fixed-layout formats · StructuredStorageReader.cpp Legacy Office · CFlowChartInternalStorage.cpp Presentation shapes
Components 18
Format conversion
- Format converter
- Word formats
DocxRenderer/src/logic/managers/ParagraphStyleManager.cpp - Legacy Office
MsBinaryFile/DocFile/StructuredStorageReader.cpp - Presentation shapes
MsBinaryFile/Common/Vml/PPTXShape/OOXMLShapes/CFlowChartInternalStorage.cpp - Apple iWork
Apple/IWork.cpp - Spreadsheet formats
MsBinaryFile - Text formats
Common/3dParty/md - HTML formats
Common/3dParty/html - EPUB formats
- Fixed-layout formats
PdfFile
Rendering and layout
- PDF fonts
PdfFile/lib/splash/SplashFontEngine.cc - JPEG 2000
DesktopEditor/raster/Jp2/openjpeg/opj_engine.cpp - Vector graphics
DesktopEditor/agg-2.4 - Text layout
UnicodeConverter/icubuilds-mac/icu/icu/layout/LayoutEngine.cpp
Shared document support
- Paragraph styles
DocxRenderer/src/logic/managers/ParagraphStyleManager.cpp - Compound storage
Common/cfcpp/cfstorage.cpp - File transport
Common/Network/FileTransporter/include/FileTransporter.h
Other components
- Document user
Connections 14
- Document user → Format converter: requests conversion
- Format converter → Word formats: format handling
- Format converter → Legacy Office: format handling
- Format converter → Presentation shapes: format handling
- Format converter → Apple iWork: format handling
- Format converter → Spreadsheet formats: format handling
- Format converter → Text formats: format handling
- Format converter → HTML formats: format handling
- Format converter → EPUB formats: format handling
- Format converter → Fixed-layout formats: format handling
- Fixed-layout formats → PDF fonts: uses fonts
- Fixed-layout formats → JPEG 2000: uses image codec
- Word formats → Text layout: uses text layout
- Word formats → Paragraph styles: manages styles