Test repository to check push and ssh key
Find a file
Caolán McNamara 2eb9957483 Update git submodules
* Update helpcontent2 from branch 'master'
  - Related: tdf#129068 add EventConfigPage to help targets
    
    Change-Id: I270fd18877c5dc4c4caab48b81b77c86a458b598
    Reviewed-on: https://gerrit.libreoffice.org/84243
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm@redhat.com>
    Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-12-02 17:22:02 +01:00
.git-hooks
.github
accessibility Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
android android: Fix linking of liblo-native-code.so on aarch64. 2019-12-02 09:14:37 +01:00
animations
apple_remote
avmedia loplugin:mergeclasses SoundHandler 2019-11-30 21:34:29 +01:00
basctl Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
basegfx
basic Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
bean
bin make update_pch work again 2019-12-01 22:19:44 +01:00
binaryurp
bridges bridges arm64: Use [[falltrough]]. 2019-12-02 11:34:25 +01:00
canvas Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
chart2 tdf#129054 Chart OOXML Import: Fix size of Pie Chart 2019-12-02 08:30:33 +01:00
cli_ure
codemaker
comphelper Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
compilerplugins Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
config_host android: Introduce --enable-android-lok configure switch to fix RGB vs. BGR. 2019-11-27 15:52:35 +01:00
configmgr
connectivity Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
cppcanvas Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
cppu
cppuhelper
cpputools
cui Fix regex in tip of the day 2019-12-02 11:07:36 +01:00
dbaccess use weld::WaitObject 2019-12-02 09:52:29 +01:00
desktop android: Get rid of the 'old' vs. Online-based runtime distinction. 2019-12-02 11:13:54 +01:00
dictionaries@4fb010374f
distro-configs Disable skia for online 2019-11-29 07:25:28 +01:00
drawinglayer handle properly true 32bit bitmaps in some places 2019-11-27 09:55:18 +01:00
dtrans
editeng tdf#42949 Replace property_tre/ptree.hpp with fw declaration header 2019-12-02 17:13:44 +01:00
embeddedobj
embedserv
emfio Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
eventattacher
extensions use weld::WaitObject 2019-12-02 09:52:29 +01:00
external android: Fix nss build on aarch64. 2019-12-02 13:30:50 +01:00
extras Resolves tdf# 129052 - Misspelled gradient 2019-11-27 11:02:03 +01:00
filter Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
forms use weld::WaitObject with an explicit target 2019-12-02 09:53:01 +01:00
formula
fpicker
framework loplugin:mergeclasses TransactionBase with Desktop 2019-12-02 13:36:19 +01:00
helpcompiler
helpcontent2@ccbdf9f943 Update git submodules 2019-12-02 17:22:02 +01:00
hwpfilter
i18nlangtag Resolves: tdf#129045 add Guadeloupean Creole French [gcf-GP] to language list 2019-11-28 02:43:25 +01:00
i18npool
i18nutil
icon-themes Colibre: content tilting 2019-11-28 04:11:07 +01:00
idl
idlc Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
include tdf#42949 Replace property_tre/ptree.hpp with fw declaration header 2019-12-02 17:13:44 +01:00
instsetoo_native MSI: Disable creation of system restore points during installation 2019-11-30 14:24:14 +01:00
io
ios
javaunohelper
jurt
jvmaccess
jvmfwk Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
l10ntools
librelogo
libreofficekit Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
lingucomponent
linguistic
lotuswordpro
m4
nlpsolver
o3tl
odk
offapi tdf#108642 load accessibility children faster 2019-11-27 10:28:52 +01:00
officecfg Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
onlineupdate
oovbaapi
oox Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
opencl
osx
package check crcs when fuzzing after all 2019-11-28 16:51:22 +01:00
pch Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
postprocess tdf#128974: TB Addressbook not available directly as existing database (Win) 2019-11-29 09:10:38 +01:00
pyuno
qadevOOo
readlicense_oo
registry
remotebridges
reportbuilder
reportdesign use weld::WaitObject 2019-12-02 09:52:29 +01:00
ridljar
sal android: Get rid of the 'old' vs. Online-based runtime distinction. 2019-12-02 11:13:54 +01:00
salhelper
sax Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
sc tdf#129141: paint all when in multiline mode 2019-12-02 14:04:08 +01:00
scaddins tdf#129098: parameters mixed in OPT_PROB_INMONEY (scaddins) 2019-11-29 20:20:12 +01:00
sccomp
schema tdf#123206 Import/Export chart custom label text 2019-11-29 16:44:12 +01:00
scp2
scripting
sd use weld::WaitObject 2019-12-02 09:52:29 +01:00
sdext
setup_native
sfx2 tdf#42949 Replace property_tre/ptree.hpp with fw declaration header 2019-12-02 17:13:44 +01:00
shell
slideshow Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
smoketest
solenv unused suppression 2019-12-02 09:52:10 +01:00
soltools
sot
starmath Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
stoc
store
svgio Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
svl tdf#42949 Replace property_tre/ptree.hpp with fw declaration header 2019-12-02 17:13:44 +01:00
svtools Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
svx tdf#42949 Replace property_tre/ptree.hpp with fw declaration header 2019-12-02 17:13:44 +01:00
sw tdf#109425 KB navigation fixes for NB groupedbar compact 2019-12-02 16:27:46 +01:00
swext
sysui
test
testtools
toolkit Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
tools
translations@6d4072204c
ucb Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
ucbhelper
udkapi
uitest
UnoControls
unodevtools
unoidl
unoil
unotest
unotools Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
unoxml Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
ure
uui Remove nonsense check 2019-11-30 02:50:41 +01:00
vbahelper Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
vcl weld FmFieldWin 2019-12-01 20:51:12 +01:00
winaccessibility
wizards
writerfilter revert obsolete writerfilter hacks for tdf#119054 and tdf#128752 2019-12-02 11:00:25 +01:00
writerperfect
xmerge
xmlhelp loplugin:mergeclasses treeview::TreeFileIterator 2019-12-01 08:37:44 +01:00
xmloff tdf#123206 Import/Export chart custom label text 2019-11-29 16:44:12 +01:00
xmlreader
xmlscript Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
xmlsecurity boost::optional: replace uses of get_value_or with value_or 2019-12-01 13:58:49 +01:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in android: Introduce --enable-android-lok configure switch to fix RGB vs. BGR. 2019-11-27 15:52:35 +01:00
config_host_lang.mk.in
configure.ac android: Fix location of the built freetype library. 2019-12-02 12:25:00 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst
g
hardened_runtime.xcent
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in
README.cross
README.md
README.Solaris
Repository.mk
RepositoryExternal.mk make SkiaSalGraphicsImpl use GPU-backed SkSurface also for offscreen 2019-11-27 09:55:16 +01:00
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk
sanitize-ubsan-blacklist
setup.cfg
TEMPLATE.SOURCECODE.HEADER

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 here and here. 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 2017 version 15.7
  • macOS:
    • Runtime: 10.10
    • Build: 10.13.2 + Xcode 9.3
  • Linux:
    • Runtime: RHEL 7 or CentOS 7
    • Build: either GCC 7.0.0; or Clang 5.0.2 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

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