The LibreOffice "core" from which LOK is built, forked from upstream with proprietary changes from Macro
solenv/gbuild/platform/EMSCRIPTEN_INTEL_GCC.mk - compile flags for emscripten
desktop/Library_sofficeapp.mk - Makefile for the original LibreOfficeKit (LOK) as a library
desktop/Executable_soffice_bin.mk - Makefile for sofficeapp.js sofficeapp.wasm
desktop/source/app/main_wasm.cxx - Emscripten bindings, most exported WASM classes/functions
desktop/wasm/ - JavaScript/TypeScript for the WASM library, worker, and tiled renderer
desktop/inc/lib/wasm_extensions.hxx
desktop/source/lib/wasm_extensions.cxx - extensions to LibreOfficeDocument that are exposed to WASM using ext() in main_wasm.cxx
include/wasm/IWriterExtensions.hxx
sw/source/wasm/extensions.cxx - extensions to SwXTextDocument that are exposed to WASM using writer() in main_wasm.cxx
desktop/inc/lib/init.hxx
desktop/source/lib/init.cxx - the implementation for the original LOK bindings, don't add new things here or in LibreOfficeKit.hxx/h
libreoffice-core/oox/source/helper/expandedstorage.cxx - ExpandedStorage implementation that allows for loading/saving docx files in memory using their expanded parts
libreoffice-core/comphelper/source/misc/relationshipaccess.cxx - relationship access for file streams in expanded storage
libreoffice-core/comphelper/source/streaming/vecstream.cxx - implementation for vector input/output streams used in expanded storage