Test repository to check push and ssh key
Find a file
Andrea Gelmini d81115693e Update git submodules
* Update helpcontent2 from branch 'master'
  to 828039873c64350a1677d899f858150eb6765686
  - Fix typo
    
    Change-Id: I11719133be2c9172d5fcec47b8ffd83a3441c321
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/113008
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-03-24 11:24:58 +01:00
.git-hooks
.github
.vscode
accessibility update pches 2021-03-21 15:31:46 +01:00
android Related tdf#129833 android: Drop android.permission.INTERNET 2021-03-23 06:55:38 +01:00
animations animcore : AnimationNode should be final 2021-03-21 12:37:18 +01:00
apple_remote
avmedia
basctl update pches 2021-03-21 15:31:46 +01:00
basegfx
basic tdf#88442 SBasic: Don't double-initialize a Global ... As New ... 2021-03-21 21:54:11 +01:00
bean
bin
binaryurp
bridges Rename LO Windows arm64 ID to aarch64 2021-03-23 23:46:12 +01:00
canvas
chart2 update pches 2021-03-21 15:31:46 +01:00
cli_ure Rename LO Windows arm64 ID to aarch64 2021-03-23 23:46:12 +01:00
codemaker
comphelper use single-use attribute for OfficeInstallationDirectories 2021-03-23 07:41:50 +01:00
compilerplugins
config_host tdf#139778 qrcodegen library removal. 2021-03-20 21:36:24 +01:00
configmgr
connectivity tdf#124176: Use pragma once instead of include guards 2021-03-23 15:13:49 +01:00
cppcanvas update pches 2021-03-21 15:31:46 +01:00
cppu
cppuhelper update pches 2021-03-21 15:31:46 +01:00
cpputools
cui QR Code Dialog: Change term 'border' to 'margin' 2021-03-24 08:36:44 +01:00
dbaccess use single-use attribute for DataAccessDescriptorFactory 2021-03-23 09:46:53 +01:00
desktop Rename LO Windows arm64 ID to aarch64 2021-03-23 23:46:12 +01:00
dictionaries@a968e48f9b
distro-configs qrcodegen was replaced by zxing 2021-03-23 10:20:10 +01:00
drawinglayer update pches 2021-03-21 15:31:46 +01:00
editeng cid#1474210 silence Untrusted divisor 2021-03-22 17:04:43 +01:00
embeddedobj use unique_ptr in OCommonEmbeddedObject 2021-03-20 09:30:32 +01:00
embedserv
emfio WMF EMF Add more SAL_INFO and SAL_WARN to help debugging import issues 2021-03-22 12:30:54 +01:00
eventattacher
extensions tdf#124176 Use pragma once in extensions 2021-03-23 10:48:06 +01:00
external Rename LO Windows arm64 ID to aarch64 2021-03-23 23:46:12 +01:00
extras
filter tdf#124176 Use pragma once in f* 2021-03-23 13:07:09 +01:00
forms tdf#124176 Use pragma once in f* 2021-03-23 13:07:09 +01:00
formula tdf#124176 Use pragma once in f* 2021-03-23 13:07:09 +01:00
fpicker tdf#124176 Use pragma once in f* 2021-03-23 13:07:09 +01:00
framework tdf#124176 Use pragma once in f* 2021-03-23 13:07:09 +01:00
helpcompiler
helpcontent2@828039873c Update git submodules 2021-03-24 11:24:58 +01:00
hwpfilter
i18nlangtag
i18npool Fix Japanese old monthly name 2021-03-23 05:17:44 +01:00
i18nutil
icon-themes tdf#70102 Colibre: Sync RTL numbering icon with LTR variant 2021-03-21 06:43:08 +01:00
idl
idlc
include use single-use attribute for ContextChangeEventMultiplexer 2021-03-23 09:33:43 +01:00
instsetoo_native
io
ios
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools
librelogo
libreofficekit cid#1474127 Unchecked return value from library 2021-03-21 20:44:59 +01:00
lingucomponent
linguistic
lotuswordpro
m4
nlpsolver
o3tl
odk Rename LO Windows arm64 ID to aarch64 2021-03-23 23:46:12 +01:00
offapi
officecfg
onlineupdate
oovbaapi
oox tdf#140714 Import graphics cropped into custom geometry as custom shapes. 2021-03-23 09:32:22 +01:00
opencl
osx
package
pch
postprocess
pyuno cid#1473905 Dereference after null check 2021-03-22 13:15:08 +01:00
qadevOOo cid#1474333 Resource leak on an exceptional path 2021-03-22 14:43:52 +01:00
readlicense_oo Drop external owncloud-android-lib 2021-03-22 07:55:52 +01:00
registry
remotebridges
reportbuilder
reportdesign update pches 2021-03-21 15:31:46 +01:00
ridljar
sal
salhelper
sax
sc QR Code Dialog: Change term 'border' to 'margin' 2021-03-24 08:36:44 +01:00
scaddins tdf#124176 Use pragma once in s* 2021-03-23 13:39:56 +01:00
sccomp tdf#124176 Use pragma once in s* 2021-03-23 13:39:56 +01:00
schema
scp2
scripting tdf#124176 Use pragma once in s* 2021-03-23 13:39:56 +01:00
sd sd_import_tests: simplify test 2021-03-24 09:39:29 +01:00
sdext cid#1474243 Uninitialized scalar variable 2021-03-21 20:48:56 +01:00
setup_native
sfx2 Revert "lok: switch to the correct view before any UI update is done 2021-03-23 23:56:08 +01:00
shell
slideshow update pches 2021-03-21 15:31:46 +01:00
smoketest
solenv Rename LO Windows arm64 ID to aarch64 2021-03-23 23:46:12 +01:00
soltools
sot update pches 2021-03-21 15:31:46 +01:00
starmath OutputDevice view is sufficient here 2021-03-20 16:53:41 +01:00
stoc use single-use attribute for IdlReflectionServiceImpl 2021-03-23 10:26:11 +01:00
store
svgio update pches 2021-03-21 15:31:46 +01:00
svl cid#1473798 silence Unchecked return value from library 2021-03-21 20:43:51 +01:00
svtools update pches 2021-03-21 15:31:46 +01:00
svx ofz: Integer-overflow 2021-03-23 16:33:29 +01:00
sw QR Code Dialog: Change term 'border' to 'margin' 2021-03-24 08:36:44 +01:00
swext cid#1473816 Dereference null return value 2021-03-22 15:05:32 +01:00
sysui
test
testtools
toolkit
tools
translations@943a62baf9 Update git submodules 2021-03-23 12:48:20 +01:00
ucb tdf#124176 Use pragma once in u* 2021-03-23 10:54:09 +01:00
ucbhelper
udkapi
uitest select_by_text helper method for uitests 2021-03-21 11:31:04 +01:00
UnoControls
unodevtools tdf#124176 Use pragma once in u* 2021-03-23 10:54:09 +01:00
unoidl tdf#124176 Use pragma once in u* 2021-03-23 10:54:09 +01:00
unoil Rename LO Windows arm64 ID to aarch64 2021-03-23 23:46:12 +01:00
unotest tdf#124176 Use pragma once in u* 2021-03-23 10:54:09 +01:00
unotools tdf#124176 Use pragma once in u* 2021-03-23 10:54:09 +01:00
unoxml tdf#124176 Use pragma once in u* 2021-03-23 10:54:09 +01:00
ure
uui tdf#124176 Use pragma once in u* 2021-03-23 10:54:09 +01:00
vbahelper update pches 2021-03-21 15:31:46 +01:00
vcl Related: tdf#141197 critical a11y warning 2021-03-24 10:13:24 +01:00
winaccessibility tdf#124176 Use pragma once in w* 2021-03-23 11:06:48 +01:00
wizards ScriptForge - (SF_String) Add new IsIBAN() method 2021-03-20 18:02:02 +01:00
writerfilter tdf#125936 writerfilter: treat escapement in numbering like styles 2021-03-23 15:43:57 +01:00
writerperfect tdf#124176 Use pragma once in w* 2021-03-23 11:06:48 +01:00
xmerge
xmlhelp tdf#124176 Use pragma once in x* 2021-03-23 13:14:42 +01:00
xmloff tdf#124176 Use pragma once in x* 2021-03-23 13:14:42 +01:00
xmlreader
xmlscript
xmlsecurity tdf#124176 Use pragma once in x* 2021-03-23 13:14:42 +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
config.sub
config_host.mk.in tdf#139778 qrcodegen library removal. 2021-03-20 21:36:24 +01:00
config_host_lang.mk.in
configure.ac Rename LO Windows arm64 ID to aarch64 2021-03-23 23:46:12 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst Drop external owncloud-android-lib 2021-03-22 07:55:52 +01:00
g
hardened_runtime.xcent.in
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent
logerrit
Makefile.fetch Drop external owncloud-android-lib 2021-03-22 07:55:52 +01:00
Makefile.gbuild
Makefile.in
README.cross
README.md
README.Solaris
Repository.mk Rename LO Windows arm64 ID to aarch64 2021-03-23 23:46:12 +01:00
RepositoryExternal.mk Rename LO Windows arm64 ID to aarch64 2021-03-23 23:46:12 +01:00
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk
sanitize-ubsan-excludelist
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 2019 version 16.5
  • macOS:
    • Runtime: 10.10
    • Build: 10.14.4 + Xcode 11.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.