Test repository to check push and ssh key
Find a file
Christian Lohmaier fa5cc6c6e7 remove bogus icon file ".svg"
Change-Id: Ie5a6758bed4529af27d237ed6f99fb6b8de23946
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144034
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-12-13 08:59:16 +00:00
.git-hooks
.github
.vscode create compile_commands.json in builddir 2022-12-05 13:54:00 +00:00
accessibility
android
animations
apple_remote
avmedia
basctl tdf#152266 add an infobar with indicators for macro-like content in doc 2022-12-12 16:00:04 +00:00
basegfx
basic
bean
bin get-forum-attachment: Add optional get-file argument 2022-12-12 13:08:48 +00:00
binaryurp
bridges
canvas tdf#152094 retain more accuracy from RefDevMode::MSO1 2022-12-02 15:20:07 +00:00
chart2 tdf#98690: move UItest to CppUnittest 2022-12-12 21:54:27 +00:00
cli_ure
codemaker Make check for complete type more explicit 2022-12-05 21:59:45 +00:00
comphelper tdf#152380: add checks for names and values sequences length equality 2022-12-06 05:32:37 +00:00
compilerplugins loplugin:unusedmethods 2022-12-07 17:17:33 +00:00
config_host
configmgr
connectivity Resolves: tdf#152381 Treat 0-0-0 invalid date as 0 relative days 2022-12-06 22:38:12 +00:00
cppcanvas tdf#152094 retain more accuracy from RefDevMode::MSO1 2022-12-02 15:20:07 +00:00
cppu
cppuhelper tdf#152380: add checks for names and values sequences length equality 2022-12-06 05:32:37 +00:00
cpputools
cui resave with latest glade 2022-12-12 21:29:53 +00:00
dbaccess Related tdf#152381: fix "lengths do not match" 2022-12-10 06:17:58 +00:00
desktop Attempt to add ifdefs for WASM (Emscripten) for LOKit-based code 2022-12-13 08:19:40 +00:00
dictionaries@2b234ba64f
distro-configs Need --disable-gen for the Qt5-based WASM LibreOffice now 2022-12-06 10:39:52 +00:00
drawinglayer tdf#152094 retain more accuracy from RefDevMode::MSO1 2022-12-02 15:20:07 +00:00
editeng Related: tdf#82115 Fix crash when handling input method events 2022-12-08 09:32:32 +00:00
embeddedobj
embedserv
emfio tdf#152435 Revert "Make EMR_SAVEDC not UpdateClipRegion" 2022-12-13 06:59:06 +00:00
eventattacher
extensions
external Introduce CPPUNIT_PROPAGATE_EXCEPTIONS environment variable 2022-12-10 10:20:39 +00:00
extras Related: tdf#152266 remove office:scripts from wizard letter templates 2022-12-08 19:46:11 +00:00
filter tdf#152094 retain more accuracy from RefDevMode::MSO1 2022-12-02 15:20:07 +00:00
forms tdf#114441 - Convert use of sal_uLong to better integer types 2022-12-08 22:44:38 +00:00
formula
fpicker
framework tdf#151376 framework: fix calling in-document macros with reused frames 2022-12-12 22:45:11 +00:00
helpcompiler
helpcontent2@0743da9a51 Update git submodules 2022-12-12 17:36:08 +00:00
hwpfilter
i18nlangtag
i18npool
i18nutil tdf#104597 related: restore the mirroring of Bidi_Mirrored characters 2022-11-30 13:40:24 +01:00
icon-themes remove bogus icon file ".svg" 2022-12-13 08:59:16 +00:00
idl
idlc/test/parser
include Attempt to add ifdefs for WASM (Emscripten) for LOKit-based code 2022-12-13 08:19:40 +00:00
instsetoo_native Stick to three-letter build step prefixes 2022-12-08 09:21:03 +00:00
io
ios
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools
librelogo LibreLogo: fix SVG export of font features and text portions 2022-12-05 16:16:25 +00:00
libreofficekit libreofficekit: add a way to invoke getCommandValues() 2022-11-30 10:26:06 +01:00
lingucomponent
linguistic
lotuswordpro
m4
nlpsolver
o3tl
odk tdf#143123 Port Text Java examples to Python 2022-12-03 01:48:39 +00:00
offapi tdf#143311 offapi,oox,writerfilter,xmloff,sw: decorative flag on flys 2022-12-09 16:03:20 +00:00
officecfg Fix typo 2022-12-11 15:50:06 +00:00
onlineupdate
oovbaapi
oox crashtesting: relax assert seen on loading forum-mso-en4-151836.xlsx 2022-12-12 16:18:45 +00:00
opencl
osx
package
pch
postprocess
pyuno
qadevOOo Add some more failure information 2022-11-30 16:44:07 +01:00
readlicense_oo tdf#152376: Remove Kacst Book and Kacst Office fonts 2022-12-05 08:26:29 +00:00
registry
remotebridges
reportbuilder
reportdesign tdf#133343 collect autostyle prop names 2022-11-30 08:38:57 +01:00
ridljar
sal Introduce CPPUNIT_PROPAGATE_EXCEPTIONS environment variable 2022-12-10 10:20:39 +00:00
salhelper
sax
sc tdf#98690: move UItest to CppUnittest 2022-12-12 21:54:27 +00:00
scaddins
sccomp
schema schema: add link for decorative proposal 2022-12-12 10:49:40 +00:00
scp2
scripting
sd SdModelTestBase: remove duplicated template 2022-12-12 21:54:46 +00:00
sdext Removed useless semicolon 2022-12-08 08:04:14 +00:00
setup_native
sfx2 tdf#152266 add an infobar with indicators for macro-like content in doc 2022-12-12 16:00:04 +00:00
shell
slideshow New loplugin:crosscast 2022-11-29 18:07:23 +01:00
smoketest
solenv lld 16 trunk defaults to --no-undefined-version now 2022-12-12 12:28:32 +00:00
soltools Check for failed malloc 2022-12-07 12:35:45 +00:00
sot
starmath Resolves: tdf#152411 clear before freeze to let gtk a11y drop reference 2022-12-07 14:49:08 +00:00
static Don't build the Qt5 Mandelbrot demos unless we have Qt5 2022-11-29 01:56:23 +01:00
stoc
store
svgio CppunitTest_svgio: use CPPUNIT_TEST_FIXTURE() 2022-12-08 07:06:31 +00:00
svl
svtools
svx svx: fix unmaintainable TypeConstant definition 2022-12-09 12:08:47 +00:00
sw sw: document SwDPage 2022-12-13 06:57:58 +00:00
swext
sysui Related tdf#132398 - Update .ico files - Dec 2022 2022-12-12 21:28:56 +00:00
test sd: test exporting to odp/pptx with password protection 2022-11-29 14:04:50 +01:00
testtools
toolkit tdf#152380: add checks for names and values sequences length equality 2022-12-06 05:32:37 +00:00
tools
translations@0c9f3d0b57 Update git submodules 2022-12-12 16:13:04 +00:00
ucb loplugin:singlevalfields 2022-12-07 12:41:15 +00:00
ucbhelper
udkapi
uitest
UnoControls
unodevtools
unoidl
unoil
unotest Introduce CPPUNIT_PROPAGATE_EXCEPTIONS environment variable 2022-12-10 10:20:39 +00:00
unotools loplugin:unusedfields make some fields private 2022-12-01 21:28:53 +01:00
unoxml
ure
uui
vbahelper
vcl ofz#54240 Integer-overflow 2022-12-13 08:50:11 +00:00
winaccessibility
wizards PRODUCTNAME -> %PRODUCTNAME 2022-12-12 11:29:06 +00:00
writerfilter tdf#152203 DOCX import: fix mixed footnotes/endnotes 2022-12-10 18:28:25 +00:00
writerperfect
xmerge
xmlhelp
xmloff tdf#143311 offapi,oox,writerfilter,xmloff,sw: decorative flag on flys 2022-12-09 16:03:20 +00:00
xmlreader
xmlscript
xmlsecurity CppunitTest_xmlsecurity_signing2: inherit from UnoApiXmlTest 2022-12-01 16:45:45 +01:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore
.gitmodules
.gitpod.dockerfile
.gitpod.yml
.gitreview
antivirusDetection.vbs
autogen.sh
BUCK
config.guess Update config.guess & .sub to latest 2022-12-12 15:46:46 +00:00
config.sub Update config.guess & .sub to latest 2022-12-12 15:46:46 +00:00
config_host.mk.in build installer packages with make parallelism instead of GNU parallel 2022-12-06 12:21:51 +00:00
config_host_lang.mk.in
configure.ac Add oox to build side, for cross compilation 2022-12-12 09:55:28 +00:00
COPYING
COPYING.LGPL
COPYING.MPL
cpp.hint
download.lst python3: upgrade to release 3.8.16 2022-12-09 12:09:22 +00:00
g
hardened_runtime.xcent.in
install-sh
install_deps.sh
leak-suppress.txt
Library_merged.mk
lo.xcent.in
logerrit
Makefile.fetch tdf#152376: Remove Kacst Book and Kacst Office fonts 2022-12-05 08:26:29 +00:00
Makefile.gbuild
Makefile.in
README.cross
README.help.md
README.md
README.Solaris
Repository.mk tdf#152376: Remove Kacst Book and Kacst Office fonts 2022-12-05 08:26:29 +00:00
RepositoryExternal.mk Fix Linux --without-system-cairo build 2022-11-29 14:21:33 +01:00
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk
sanitize-ubsan-excludelist
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:
    • Runtime: Windows 7
    • Build: Cygwin + Visual Studio 2019 version 16.10
  • macOS:
    • Runtime: 10.14
    • Build: 11.0 + Xcode 12.5
  • Linux:
    • Runtime: RHEL 7 or CentOS 7
    • Build: either GCC 7.0.0; or Clang 8.0.1 with libstdc++ 7.3.0
  • iOS (only for LibreOfficeKit):
    • Runtime: 11.4 (only support for newer i devices == 64 bit)
    • Build: Xcode 9.3 and iPhone SDK 11.4
  • Android:
    • Build: NDK r19c and SDK 22.6.2
  • 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 11 or later. It is possible to build LibreOffice with JDK version 9, but it is no longer supported by the JDK vendors, thus it should be avoided.

If you want to use Clang with the LibreOffice compiler plugins, the minimal version of Clang is 12.0.1. 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.