How euro-office/core works
This repository is the Core of an office-document conversion product, supporting conversion among DOC/DOCX, ODT, RTF, TXT, PDF, HTML, EPUB, XPS, DjVu, spreadsheet, and presentation formats. The principal workflow is a conversion request entering the x2t converter, being interpreted or emitted by format-specific subsystems, and producing a converted document. The README establishes the product capability, but the excerpts show only selected implementation details; therefore, most cross-subsystem links are dashed and unverified rather than asserted as call paths.
Main entry points: main.cpp x2t converter · imagemanager.cpp Presentation media · ConvertationManager.cpp RTF conversion · App.cpp PPTX formats
Components 17
Conversion entry
- x2t converter
X2tConverter/src/main.cpp
Document formats
- RTF conversion
RtfFile/Format/ConvertationManager.cpp - DOCX paragraph styles
DocxRenderer/src/logic/managers/ParagraphStyleManager.cpp - OOXML document formats
OOXML/DocxFormat/App.cpp - PPTX formats
OOXML/PPTXFormat/App.cpp - XLSB query tables
OOXML/XlsbFormat/QueryTableStream.cpp - ODF conversion
OdfFile/Reader/Converter/StarMath2OOXML/TestEQNtoOOXML/main.cpp - Binary DOC parsing
MsBinaryFile/DocFile/StructuredStorageReader.cpp
Rendering and media
- PDF processing
PdfFile/lib/splash/SplashFontEngine.cc - DjVu processing
DjVuFile/libdjvu/GIFFManager.cpp - JPEG 2000 codec
DesktopEditor/raster/Jp2/openjpeg/opj_engine.cpp - Presentation media
OOXML/Binary/Presentation/imagemanager.cpp - Font shaping
UnicodeConverter/icubuilds-mac/icu/icu/layout/LayoutEngine.cpp
Shared support
- Compound-file storage
Common/cfcpp/cfstorage.cpp - File transport
Common/Network/FileTransporter/include/FileTransporter.h - Office utilities
OfficeUtils/src/OfficeUtils.h
Other components
- Conversion client
Connections 17
- Conversion client → x2t converter: requests conversion
- x2t converter → RTF conversion: dispatches formats
- x2t converter → OOXML document formats: dispatches formats
- x2t converter → PPTX formats: dispatches formats
- x2t converter → XLSB query tables: dispatches formats
- x2t converter → ODF conversion: dispatches formats
- x2t converter → Binary DOC parsing: dispatches formats
- x2t converter → PDF processing: dispatches formats
- x2t converter → DjVu processing: dispatches formats
- x2t converter → DOCX paragraph styles: uses styles
- RTF conversion → DOCX paragraph styles: produces documents
- PPTX formats → Presentation media: uses media manager
- Presentation media → File transport: downloads media
OOXML/Binary/Presentation/imagemanager.cpp - Presentation media → Office utilities: decompresses data
OOXML/Binary/Presentation/imagemanager.cpp - Binary DOC parsing → Compound-file storage: reads storage
- PDF processing → Font shaping: shapes glyphs
- JPEG 2000 codec → Presentation media: handles images