
LibreOffice is a free and open source office suite
Showing 5 of 68 projects. Click any project card for scope, mentors, and proposal studio.
Mentors: Student: Manish Bera
LibreOffice Writer's internal layout engine is extremely intricate and historically dense. This means that attempting to modernize and refactor it is extremely difficult without comprehensive automated tests that account for every possible case. This is precisely why this project is shifting away from conventional bug hunting and instead focusing on an analytical and metric-driven Quality Assurance approach. By utilizing gcov and lcov, it is possible to automatically determine which C++ execution branches in the core layout module (sw/source/core/layout/) are not yet tested. By reverse-engineering test documents that specifically invoke these branches, it is then possible to create comprehensive CppUnit tests that utilize parseLayoutDump() and XPath queries to mathematically validate and "lock in" the correct internal XML layout tree representation. The final deliverables will be continuous lcov coverage reports that demonstrate quantifiable metrics, custom-engineered test documents (.odt/.docx), and dozens of high-quality C++ layout tests that will be merged into sw/qa/extras/layout/. This project will create a comprehensive safety net that is significantly cheaper, easier, and safer for all core developers.
Mentors: Student: solisj
JPEG XL is an image format that allows for lossy and lossless compression, and is generally better than JPEG at this. LibreOffice currently supports many image file formats, but JPEG XL is not one of them. This project would add such support. The potential for storage savings that support for this image format would bring will mean a better experience for experienced and newer LibreOffice users alike. In addition, web browsers are increasingly supporting JPEG XL (it is available in nightly Firefox builds), so this project will also help LibreOffice users by improving compatibility.
Mentors: Student: Aya Jamal AlSayed
The goal of this project is to support using OpenType math fonts with a MATH table in LibreOffice Math. It will use data from the MATH table to layout math formulas, based on OpenType MATH, TeX, or MathML Core algorithms. For backward compatibility, this new code should only be used for fonts with a MATH table and only for new documents. This project will fix a number of outstanding issues with LibreOffice Math, and allow using more math fonts, which will attract more users, particularly in the scientific and academic community.
Mentors: Student: Manish Bera
LibreOffice has Python scripting support via its UNO API but does not have adequate IDE support because it doesn't have static type information. This project suggests developing a new tool named pythonmaker using C++ in LibreOffice's codemaker framework to create Python stub files (.pyi) based on UNO's IDL definitions. Such stubs will contain correct type hints according to PEP 484/561 guidelines so that features such as autocompletion, static analysis, and improved navigation can be provided in Python IDEs. pythonmaker will make use of existing infrastructure such as codemaker::TypeManager and convert UNO interfaces, structs, enums, and constants into their Python counterparts. The output files will be structured by UNO namespaces, e.g., com/sun/star/. The project also features comprehensive testing using CppUnit, MyPy, Pyright, and actual IDE validation—to provide quality and usability. Overall, this will dramatically enhance the Python development experience within LibreOffice.
Mentors: Student: Mohamed Ali Mohamed
LibreOffice's UNO (Universal Network Objects) component model currently lacks support for the Rust programming language, creating a barrier for Rust developers who want to extend LibreOffice or use its functionality. UNO enables cross-language communication and extension capabilities, but is limited to C++, Java, and Python. This project will create a complete Rust language binding for UNO, bridging the gap between Rust's modern safety features and LibreOffice's powerful document processing capabilities. By developing FFI bindings to UNO's C API and providing idiomatic Rust wrappers, this project will enable Rust developers to create LibreOffice extensions and integrate LibreOffice functionality into Rust applications.