Read-only LibreOffice core repo - no pull request (use gerrit instead https://gerrit.libreoffice.org/) - don't download zip, use https://dev-www.libreoffice.org/bundles/ instead https://www.libreoffice.org/
  • C++ 82.5%
  • Java 5.2%
  • Rich Text Format 2.3%
  • Python 2%
  • PostScript 1.9%
  • Other 5.6%
Find a file
Xisco Fauli eba177f95a tdf#171372 {ar-SA} currency symbol is ⃁ U+20C1 SAUDI RIYAL SIGN
... and displayed before amount.

Change-Id: I74c465961934c0e746479b82d2c4370ebda372d0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202472
Reviewed-by: Khaled Hosny <khaled@libreoffice.org>
Tested-by: Jenkins
2026-03-29 14:54:06 +02:00
.config winget config: avoid ubuntu2404.exe wrapper/add MediaPack (for Windows N) 2026-03-20 15:14:42 +01:00
.cspell
.git-hooks tdf#169010 obsolete generate-style-excludelist and cleanup excludelist 2026-02-04 14:36:58 +01:00
.github
.vscode
android android: Update Android Gradle Plugin to 9.3.1 2026-03-26 14:57:35 +01:00
animations Use comphelper::WeakImplHelper in AnimationNode 2026-03-24 16:55:01 +01:00
apple_remote
avmedia avmedia qt: Include <sal/config.h>, arrange includes more consistently 2026-03-27 04:35:41 +01:00
basctl tdf#170961: Make sure to redraw dialog after its recreation 2026-03-22 11:59:20 +01:00
basegfx Fix typo "then"->"than" 2026-03-29 09:46:56 +02:00
basic Fraction->double in MapMode 2026-03-26 13:23:37 +01:00
bean tdf#162563 Remove Java Applet test code in bean 2025-12-16 22:33:21 +01:00
bin fix JAVINTERPRETER path in verapdf.sh verification script 2026-03-11 12:18:32 +01:00
binaryurp Fix some non self contained headers in modules [a-r]* 2026-01-18 00:34:04 +01:00
bridges Fix typo "then"->"than" 2026-03-29 09:46:56 +02:00
canvas Fix "is build"->"is built" 2026-02-09 12:07:36 +01:00
chart2 Fix typo "then"->"than" 2026-03-29 09:46:56 +02:00
cli_ure Fix typo "then"->"than" 2026-03-29 09:46:56 +02:00
codemaker netmaker: Fix generating a service constructor with a rest argument 2026-03-04 13:52:42 +01:00
comphelper Simplify a bit 2026-03-25 20:49:11 +01:00
compilerplugins tdf#170681 - Using separated QThread for Qt frame grabber 2026-03-26 12:02:23 +01:00
config_host tdf#170932 Allow building win vcl plugin alongside --enable-headless 2026-03-19 12:45:03 +01:00
configmgr configmgr/dconf: Drop cast from gdouble to double 2026-03-23 15:20:45 +01:00
connectivity tdf#82579 Related: remove unnecessary premac.h/postmac.h header includes 2026-03-16 20:56:08 +01:00
cppcanvas merge UnoApiText and UnoApiXmlTest 2026-02-18 21:17:13 +01:00
cppu cid#1667056 silence Data race condition 2025-11-22 15:38:19 +01:00
cppuhelper Sanity check all IwyuFilter files 2025-10-14 19:44:19 +02:00
cpputools tdf#146619 Run IWYU on cppu/ cppuhelper/ cpputools/ 2025-08-19 09:47:37 +02:00
cui -Werror,-Wundef (Emscripten) 2026-03-29 12:55:28 +02:00
dbaccess dbaccess: Resave relationdialog.ui with glade 3.40 2026-03-23 15:27:13 +01:00
desktop Fraction->double in SetOutputSizePixelScaleOffsetAndLOKBuffer 2026-03-23 07:05:42 +01:00
dictionaries@589a31b2c7 Update git submodules 2026-02-25 10:27:57 +01:00
distro-configs tdf#170932 Allow building win vcl plugin alongside --enable-headless 2026-03-19 12:45:03 +01:00
docmodel add representation string to XComplexColor 2025-12-16 07:00:08 +01:00
drawinglayer Got rid of the duplicate reference 2026-03-26 13:32:16 +01:00
editeng Fix typo "then"->"than" 2026-03-29 09:46:56 +02:00
embeddedobj check if the readBytes could be satisfied 2026-03-24 09:12:08 +01:00
embedserv Simplify use of COMReference a bit 2026-01-24 13:36:50 +01:00
emfio Fraction->double in MapMode 2026-03-26 13:23:37 +01:00
eventattacher Drop some uses Sequence::getConstArray 2025-12-07 12:54:23 +01:00
extensions tdf#170961: Don't hold mutex when calling component's setPropertyValue 2026-03-22 11:59:13 +01:00
external libjpeg-turbo: upgrade to 3.1.4 2026-03-27 13:05:35 +01:00
extras tdf#158727 Support attribute leftvec leftharpoon in Math 2026-03-29 05:26:59 +02:00
filter Fix typo "then"->"than" + "its" -> "it's" 2026-03-29 09:50:27 +02:00
forms Start process of converting MapMode from Fraction to double 2026-03-24 19:57:43 +01:00
formula add an accessible-name to formuladialog.ui 2026-03-22 17:45:34 +01:00
fpicker tdf#146619 Use more forward declarations in include/svtools 2026-02-17 09:13:52 +01:00
framework Fix typo "then"->"than" + "its" -> "it's" 2026-03-29 09:50:27 +02:00
helpcompiler bin/find-unneeded-includes: add exception for URE headers as well 2025-09-24 12:09:52 +02:00
helpcontent2@0f8b73e3b8 Update git submodules 2026-03-27 15:35:11 +01:00
hwpfilter ofz#481418344 Timeout 2026-03-02 09:11:53 +01:00
i18nlangtag fix appendAscii 2026-02-07 20:18:19 +01:00
i18npool tdf#171372 {ar-SA} currency symbol is ⃁ U+20C1 SAUDI RIYAL SIGN 2026-03-29 14:54:06 +02:00
i18nutil tdf#106137 i18nutil: Add helper to process Unicode escapes 2026-03-03 07:19:32 +01:00
icon-themes Resolves rdm#3867 - Add a donation banner to the start center 2026-03-20 10:53:22 +01:00
idl Replace dtoa with fast_float for faster string-to-float parsing 2025-09-21 08:17:39 +02:00
idlc/test/parser
include Fix typo "then"->"than" + "its" -> "it's" 2026-03-29 09:50:27 +02:00
instsetoo_native
io Drop some uses Sequence::getConstArray 2025-12-07 12:54:23 +01:00
ios vcl: pdfwriter_impl1.cxx and pdfwriter_impl2.cxx from gdi/ to pdf/ directory 2025-09-29 09:36:45 +02:00
javaunohelper
jurt Support Clang -shared-libsan 2026-03-04 12:37:18 +01:00
jvmaccess
jvmfwk loplugin:stringloop 2025-12-01 14:25:01 +01:00
l10ntools tdf#158237 Use C++20 contains() instead of find() and end() 2025-10-23 20:24:51 +02:00
librelogo
libreofficekit gtktiledviewer: look for .ui file in relative path if absolute fails 2026-02-06 06:14:23 +01:00
lingucomponent Fix typo 2026-01-04 10:18:55 +01:00
linguistic tdf#146619 Use more forward declarations in include/xmloff 2026-02-22 10:42:36 +01:00
lotuswordpro merge UnoApiText and UnoApiXmlTest 2026-02-18 21:17:13 +01:00
m4 Cleanup BOOST_SYSTEM_LIB after upgrade to boost 1.89 2025-09-17 15:00:35 +02:00
msicreator
net_ure
nlpsolver
o3tl loplugin:passstuffbyref 2026-03-04 19:22:19 +01:00
odk Fix typo "then"->"than" + "its" -> "it's" 2026-03-29 09:47:37 +02:00
offapi Fix typo "then"->"than" 2026-03-29 09:44:50 +02:00
officecfg Fix typo "then"->"than" 2026-03-29 09:44:50 +02:00
oovbaapi
oox tdf#124398 oox chartexport: GroupShaped charts need different elements 2026-03-27 11:37:36 +01:00
opencl tools: use string_view instead of OString in XmlWriter 2025-11-19 07:33:37 +01:00
osx Allow running and debugging right from Xcode 2026-01-10 16:24:43 +01:00
package ofz#488752793 Integer-overflow 2026-03-01 15:51:45 +01:00
pch
postprocess Don't rely on icons in otherwise unused hyperlinkdialog.ui 2026-03-11 04:32:41 +01:00
pyuno pyuno: fix const char* build error in dlopenwrapper.c 2026-03-12 04:43:32 +01:00
qadevOOo Fix typo "then"->"than" 2026-03-29 09:44:50 +02:00
readlicense_oo update credits 2026-03-17 15:11:30 +01:00
registry dbaccess::tools -> dbaccesstools 2025-08-20 15:23:30 +02:00
remotebridges
reportbuilder cid#1660317 XML external entity processing enabled 2025-07-30 18:14:06 +02:00
reportdesign Fraction->double in reportdesign 2026-03-27 08:39:50 +01:00
ridljar
rust_uno rust_uno : Cargo.lock must be in the git repository 2026-02-07 18:55:43 +01:00
sal tdf#170297: skip AccessCheck for remote drives in osl_getFileStatus 2026-02-23 17:23:50 +01:00
salhelper Drop obsolete _WIN32 special-casing 2025-11-27 19:20:11 +01:00
sax Support Clang -shared-libsan 2026-03-04 12:37:18 +01:00
sc SmartArt: Disable LineAttr for BGShape, support DirectTextEdit 2026-03-27 19:04:56 +01:00
scaddins Fix typo "then"->"than" 2026-03-29 09:44:50 +02:00
sccomp merge UnoApiText and UnoApiXmlTest 2026-02-18 21:17:13 +01:00
schema tdf#78486 sc: pivot table calculated field (odf import/export) 2026-03-13 08:07:26 +01:00
scp2 tdf#169371 bundle visual studio crt on windows aarch64 2026-01-23 08:43:13 +01:00
scripting vcl: Get Toolkit from SalInstance, not SystemEnvData 2026-03-13 07:40:38 +01:00
sd Fix typo "then"->"than" 2026-03-29 09:48:53 +02:00
sdext loplugin:passstuffbyref 2026-03-04 19:22:19 +01:00
setup_native Silence warning D9025 : overriding '/MDd' with '/MTd' 2026-01-12 07:20:13 +01:00
sfx2 Fix typo "then"->"than" 2026-03-29 09:48:53 +02:00
shell vcl: Use enum class instead of string to identify desktop environment 2026-03-17 10:08:05 +01:00
slideshow Fix typo "then"->"than" 2026-03-29 09:48:53 +02:00
smoketest
solenv tdf#170864 Remove launch constraints from uri-encode executable 2026-03-17 14:28:45 +01:00
soltools
sot tdf#171121 Lower the priority of markdown on the clipboard 2026-03-24 10:36:15 +01:00
starmath tdf#158727 Support attribute leftvec leftharpoon in Math 2026-03-29 05:26:59 +02:00
static tdf#78486 sc: add calculated field dialog for pivot tables 2026-03-13 08:06:56 +01:00
stoc tdf#162563 Remove Java Applet configuration (NetAccess/Security) 2025-12-16 14:19:26 +01:00
store loplugin:constparams 2026-03-04 11:29:39 +01:00
svgio tdf#168135 Fix text highlight for superscript/subscript 2026-03-13 08:45:54 +01:00
svl Fraction->double in SfxPoolItem 2026-03-24 14:07:52 +01:00
svtools Fraction->double in MapMode 2026-03-26 13:23:37 +01:00
svx Fix typo "then"->"than" 2026-03-29 09:48:07 +02:00
sw Fix typo "then"->"than" + "its" -> "it's" 2026-03-29 09:49:42 +02:00
swext
sysui Fix "is build"->"is built" 2026-02-09 12:07:36 +01:00
test a11y tests: Don't use SystemClipboard service ctor 2026-02-28 09:41:36 +01:00
testtools Drop unohelper.absolutize, and use uno.absolutize to avoid duplication 2025-11-16 19:10:57 +01:00
toolkit Fix typo "then"->"than" + "its" -> "it's" 2026-03-29 09:49:42 +02:00
tools Fraction->double in SfxPoolItem 2026-03-24 14:07:52 +01:00
translations@46b6818c5b Update git submodules 2026-03-25 19:06:08 +01:00
ucb no need to use SAL_WHERE when throwing exception 2026-02-07 12:35:56 +01:00
ucbhelper tdf#146619 Use more forward declarations in include/ucbhelper/ 2026-01-31 20:55:03 +01:00
udkapi XInvocation2: Fix documentation for bExact param of getInfoForName 2026-03-12 08:56:24 +01:00
uitest Make sure that connection is disposed also on exception 2026-03-05 12:41:30 +01:00
UnoControls tdf#145614 Convert #define to constexpr in progressmonitor.hxx 2025-11-05 16:32:41 +01:00
unodevtools tdf#146619 Run IWYU in fw decl mode on include/[a-c]* 2025-11-08 09:37:19 +01:00
unoidl Be prepared for a case-insensitive file system on Linux, too, not just macOS 2026-01-12 13:16:15 +01:00
unoil
unotest pyuno: Add a unit test for singletons 2026-03-04 13:53:40 +01:00
unotools Fix typo "then"->"than" 2026-03-29 09:45:27 +02:00
unoxml merge UnoApiText and UnoApiXmlTest 2026-02-18 21:17:13 +01:00
ure
uui weld: Move weld::Dialog to own header/source 2026-02-11 07:32:57 +01:00
vbahelper tdf#143148 Replace include guards with pragma once 2025-12-06 20:16:33 +01:00
vcl Fix typo "then"->"than" 2026-03-29 09:48:07 +02:00
winaccessibility [API CHANGE] wina11y: Drop XMSAAService::handleWindowOpened from UNO iface 2026-03-16 12:30:52 +01:00
wizards Fix typo 2026-03-19 15:38:10 +01:00
writerperfect tdf#170561 android: Don't try to show MS Works encoding dialog 2026-02-24 13:13:51 +01:00
xmlhelp tdf#145614 avoid #define COMMAND_COUNT 2025-12-13 10:06:39 +01:00
xmloff tdf#163343: ignore smil:keyTimes when smil:values is empty/missing 2026-03-24 10:14:45 +01:00
xmlreader tdf#168771 Convert enum to enum class in xmlreader and xmlsecurity 2025-12-29 19:39:46 +01:00
xmlscript Fix typo "then"->"than" 2026-03-29 09:48:07 +02:00
xmlsecurity tdf#145538 Use range based for loops in xsecctl.cxx 2026-03-01 18:21:24 +01:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.git-blame-ignore-revs
.gitattributes Add more document types to .gitattributes 2025-09-29 11:13:30 +02:00
.gitignore chore: git ignore gdb.txt file 2026-03-16 14:58:18 +01:00
.gitmodules clone submodules shallow by default 2025-08-06 18:36:42 +02:00
.gitpod.dockerfile
.gitpod.yml
.gitreview
.vsconfig
antivirusDetection.vbs
autogen.sh
BUCK BUCK: add comment explaining what it is used for 2025-08-26 15:03:21 +02:00
config.guess
config.sub
config_host.mk.in tdf#170932 Allow building win vcl plugin alongside --enable-headless 2026-03-19 12:45:03 +01:00
config_host_lang.mk.in
configure.ac Add Qt6 support for Windows 2026-03-29 01:08:40 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
cpp.hint
download.lst libjpeg-turbo: upgrade to 3.1.4 2026-03-27 13:05:35 +01:00
g clone submodules shallow by default 2025-08-06 18:36:42 +02:00
install-sh
install_deps.sh
leak-suppress.txt
Library_merged.mk
logerrit add example of %notify=NONE and %notify=OWNER 2025-10-02 18:57:08 +02:00
Makefile.fetch tdf#136822: Add VeraPDF as a PDF validator 2026-02-20 08:31:47 +01:00
Makefile.gbuild
Makefile.in tdf#136822: Add VeraPDF as a PDF validator 2026-02-20 08:31:47 +01:00
README.cross
README.help.md
README.md README.md: don't be too exact with the compiler plugins Clang version 2025-12-07 18:05:34 +01:00
README.Solaris
README.yrs
Repository.mk tdf#170932 Allow building win vcl plugin alongside --enable-headless 2026-03-19 12:45:03 +01:00
RepositoryExternal.mk tdf#170932 Allow building win vcl plugin alongside --enable-headless 2026-03-19 12:45:03 +01:00
RepositoryFixes.mk
RepositoryModule_build.mk Revert "Fixes for Python cross-compilation, Linux to Linux at least" 2026-01-26 18:25:48 +01:00
RepositoryModule_host.mk Fix "is build"->"is built" 2026-02-09 12:06:38 +01:00
sanitize-ubsan-excludelist Lets see if an empty sanitize-ubsan-excludelist is enough these days 2026-02-03 10:23:20 +01:00
setup.cfg
TEMPLATE.SOURCECODE.HEADER
tsan-suppress.txt

LibreOffice

Coverity Scan Build Status CII Best Practices Translation status

LibreOffice is an integrated office suite based on copyleft licenses and compatible with most document formats and standards. Libreoffice is backed by The Document Foundation, which represents a large independent community of enterprises, developers and other volunteers moved by the common goal of bringing to the market the best software for personal productivity. LibreOffice is open source, and free to download, use and distribute.

A quick overview of the LibreOffice code structure.

Overview

You can develop for LibreOffice in one of two ways, one recommended and one much less so. First the somewhat less recommended way: it is possible to use the SDK to develop an extension, for which you can read the API docs and Developers Guide. This re-uses the (extremely generic) UNO APIs that are also used by macro scripting in StarBasic.

The best way to add a generally useful feature to LibreOffice is to work on the code base however. Overall this way makes it easier to compile and build your code, it avoids any arbitrary limitations of our scripting APIs, and in general is far more simple and intuitive - if you are a reasonably able C++ programmer.

The Build Chain and Runtime Baselines

These are the current minimal operating system and compiler versions to run and compile LibreOffice, also used by the TDF builds:

  • Windows:
  • macOS:
    • Runtime: 11
    • Build: 13 or later + Xcode 14.3 or later (using latest version available for a given version of macOS)
  • Linux:
    • Runtime: RHEL 9 or CentOS 9 and comparable
    • Build: either GCC 12; or Clang 18 with libstdc++ 11
  • iOS (only for LibreOfficeKit):
    • Runtime: 14.5 (only support for newer i devices == 64 bit)
    • Build: Xcode 12.5 and iPhone SDK 14.5
  • Android:
    • Build: NDK 27 and SDK 30.0.3
  • Emscripten / WASM:
    • Runtime: a browser with SharedMemory support (threads + atomics)
    • Build: Qt 5.15 with Qt supported Emscripten 1.39.8
    • See README.wasm

Java is required for building many parts of LibreOffice. In TDF Wiki article Development/Java, the exact modules that depend on Java are listed.

The baseline for Java is Java Development Kit (JDK) Version 17 or later.

The baseline for Python is version 3.11. It follows the version available in SUSE Linux Enterprise Desktop and the Maintenance Support version of Red Hat Enterprise Linux.

If you want to use Clang with the LibreOffice compiler plugins, the minimal version of Clang is 18. Since Xcode doesn't provide the compiler plugin headers, you have to compile your own Clang to use them on macOS.

You can find the TDF configure switches in the distro-configs/ directory.

To setup your initial build environment on Windows and macOS, we provide the LibreOffice Development Environment (LODE) scripts.

For more information see the build instructions for your platform in the TDF wiki.

The Important Bits of Code

Each module should have a README.md file inside it which has some degree of documentation for that module; patches are most welcome to improve those. We have those turned into a web page here:

https://docs.libreoffice.org/

However, there are two hundred modules, many of them of only peripheral interest for a specialist audience. So - where is the good stuff, the code that is most useful. Here is a quick overview of the most important ones:

Module Description
sal/ this provides a simple System Abstraction Layer
tools/ this provides basic internal types: Rectangle, Color etc.
vcl/ this is the widget toolkit library and one rendering abstraction
framework/ UNO framework, responsible for building toolbars, menus, status bars, and the chrome around the document using widgets from VCL, and XML descriptions from /uiconfig/ files
sfx2/ legacy core framework used by Writer/Calc/Draw: document model / load/save / signals for actions etc.
svx/ drawing model related helper code, including much of Draw/Impress

Then applications

Module Description
desktop/ this is where the main() for the application lives, init / bootstrap. the name dates back to an ancient StarOffice that also drew a desktop
sw/ Writer
sc/ Calc
sd/ Draw / Impress

There are several other libraries that are helpful from a graphical perspective:

Module Description
basegfx/ algorithms and data-types for graphics as used in the canvas
canvas/ new (UNO) canvas rendering model with various backends
cppcanvas/ C++ helper classes for using the UNO canvas
drawinglayer/ View code to render drawable objects and break them down into primitives we can render more easily.

Rules for #include Directives (C/C++)

Use the "..." form if and only if the included file is found next to the including file. Otherwise, use the <...> form. (For further details, see the mail Re: C[++]: Normalizing include syntax ("" vs <>).)

The UNO API include files should consistently use double quotes, for the benefit of external users of this API.

loplugin:includeform (compilerplugins/clang/includeform.cxx) enforces these rules.

Finding Out More

Beyond this, you can read the README.md files, send us patches, ask on the mailing list libreoffice@lists.freedesktop.org (no subscription required) or poke people on IRC #libreoffice-dev on irc.libera.chat - we're a friendly and generally helpful mob. We know the code can be hard to get into at first, and so there are no silly questions.

SAST Tools

PVS-Studio - static analyzer for C, C++, C#, and Java code.