Test repository to check push and ssh key
Find a file
Laurent BP 076af983cf tdf#132771 Update "Impress" Impress template
* Update preview with Lorem 16:9
* remove language and country tags in styles.xml
* add Asian and complex tags in content.xml and styles.xml
* remove useless text page number in English in styles.xml

Change-Id: Ib5dd904459bcfa4ba763789479891b5f229fd461
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93842
Tested-by: Jenkins
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-05-10 15:57:16 +02:00
.git-hooks
.github
accessibility tdf#118418 implement scrollSubstringTo() for gtk 2020-05-07 12:11:33 +02:00
android Move all public Java classes to libreoffice.jar 2020-05-06 14:48:21 +02:00
animations
apple_remote
avmedia compact namespace in avmedia..bridges 2020-05-08 12:16:54 +02:00
basctl new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
basegfx Fix typo 2020-05-04 07:18:39 +02:00
basic new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
bean Move all public Java classes to libreoffice.jar 2020-05-06 14:48:21 +02:00
bin add cross-checking script for ODF implementer notes 2020-05-06 22:57:40 +02:00
binaryurp
bridges compact namespace in avmedia..bridges 2020-05-08 12:16:54 +02:00
canvas new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
chart2 new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
cli_ure
codemaker compact namespace in canvas..cui 2020-05-08 12:40:03 +02:00
comphelper new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
compilerplugins new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
config_host always build Skia optimized, unless --enable-skia=debug 2020-05-06 14:20:19 +02:00
configmgr compact namespace in canvas..cui 2020-05-08 12:40:03 +02:00
connectivity tdf#132814: fix put autovalue to Yes in gui for Mysql/MariaDB 2020-05-10 12:36:27 +02:00
cppcanvas new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
cppu compact namespace in canvas..cui 2020-05-08 12:40:03 +02:00
cppuhelper compact namespace in canvas..cui 2020-05-08 12:40:03 +02:00
cpputools
cui new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
dbaccess new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
desktop new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
dictionaries@c51a343b3c Update git submodules 2020-05-02 23:21:01 +02:00
distro-configs
drawinglayer new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
dtrans compact namespace in dbaccess..dtrans 2020-05-08 14:51:19 +02:00
editeng new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
embeddedobj compact namespace in editeng..extensions 2020-05-08 21:15:41 +02:00
embedserv compact namespace in editeng..extensions 2020-05-08 21:15:41 +02:00
emfio compact namespace in editeng..extensions 2020-05-08 21:15:41 +02:00
eventattacher
extensions new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
external no longer force -arch:SSE on Windows 2020-05-07 10:58:53 +02:00
extras tdf#132771 Update "Impress" Impress template 2020-05-10 15:57:16 +02:00
filter new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
forms new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
formula
fpicker Resolves: tdf#131898 we only want the text from column 0 2020-05-03 17:44:52 +02:00
framework compact namespace in filter..framework 2020-05-08 21:13:05 +02:00
helpcompiler
helpcontent2@bb703eb529 Update git submodules 2020-05-08 15:50:35 +02:00
hwpfilter
i18nlangtag
i18npool new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
i18nutil
icon-themes Colibre: tdf#132749 Add extra large localized icons 2020-05-06 15:35:39 +02:00
idl
idlc
include drawinglayer: simplify namespaces in ALL primitive2d headers 2020-05-10 12:26:37 +02:00
instsetoo_native Move all public Java classes to libreoffice.jar 2020-05-06 14:48:21 +02:00
io
ios
javaunohelper compact namespace in i18npool..oox 2020-05-09 20:01:22 +02:00
jurt Move all public Java classes to libreoffice.jar 2020-05-06 14:48:21 +02:00
jvmaccess
jvmfwk jfw::isAccessibilitySupportDesired is obsolete 2020-05-07 15:56:06 +02:00
l10ntools
librelogo
libreofficekit lok: MSForms: Add callback for form field button. 2020-05-08 14:06:04 +02:00
lingucomponent compact namespace in i18npool..oox 2020-05-09 20:01:22 +02:00
linguistic new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
lotuswordpro new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
m4
nlpsolver Move all public Java classes to libreoffice.jar 2020-05-06 14:48:21 +02:00
o3tl
odk Move all public Java classes to libreoffice.jar 2020-05-06 14:48:21 +02:00
offapi Wrong copypaste for SCHEMA in DatabaseObjectContainer.idl 2020-05-09 15:35:03 +02:00
officecfg Re-indent sanely 2020-05-09 10:03:44 +02:00
onlineupdate
oovbaapi
oox new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
opencl
osx Add source files from cui/source/options and unotools/source/i18n 2020-05-06 18:53:45 +03:00
package new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
pch
postprocess
pyuno prevent warnings in pyuno with latest python 2020-05-07 08:43:14 +02:00
qadevOOo Move all public Java classes to libreoffice.jar 2020-05-06 14:48:21 +02:00
readlicense_oo
registry
remotebridges
reportbuilder Move all public Java classes to libreoffice.jar 2020-05-06 14:48:21 +02:00
reportdesign new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
ridljar add pom for libreoffice.jar 2020-05-07 22:10:48 +02:00
sal compact namespace in sal..svgio 2020-05-10 12:03:13 +02:00
salhelper
sax
sc Fix typo 2020-05-10 12:06:41 +02:00
scaddins compact namespace in sal..svgio 2020-05-10 12:03:13 +02:00
sccomp
schema tdf#101181: unit test for glow attributes in ODF 2020-05-07 19:24:52 +02:00
scp2
scripting compact namespace in sal..svgio 2020-05-10 12:03:13 +02:00
sd new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
sdext compact namespace in sdext 2020-05-10 09:07:43 +02:00
setup_native Resolves tdf#132701 - macOS installer image must be 72dpi 2020-05-06 08:53:17 +02:00
sfx2 new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
shell compact namespace in sal..svgio 2020-05-10 12:03:13 +02:00
slideshow new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
smoketest Move all public Java classes to libreoffice.jar 2020-05-06 14:48:21 +02:00
solenv new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
soltools
sot
starmath compact namespace in sal..svgio 2020-05-10 12:03:13 +02:00
stoc compact namespace in sal..svgio 2020-05-10 12:03:13 +02:00
store new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
svgio compact namespace in sal..svgio 2020-05-10 12:03:13 +02:00
svl new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
svtools new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
svx new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
sw CppunitTest: ooxmlexport8: disable assert on mac 2020-05-10 15:23:23 +02:00
swext Move all public Java classes to libreoffice.jar 2020-05-06 14:48:21 +02:00
sysui
test fix memory leak of xmlDoc objects 2020-05-07 09:52:27 +02:00
testtools compact namespace in testtools..toolkit 2020-05-10 12:03:35 +02:00
toolkit compact namespace in testtools..toolkit 2020-05-10 12:03:35 +02:00
tools new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
translations@3d85ba95fa Update git submodules 2020-05-06 19:55:47 +02:00
ucb new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
ucbhelper
udkapi
uitest
UnoControls
unodevtools
unoidl
unoil Move all public Java classes to libreoffice.jar 2020-05-06 14:48:21 +02:00
unotest Move all public Java classes to libreoffice.jar 2020-05-06 14:48:21 +02:00
unotools tdf#132796: use LO language settings to set default XLS language 2020-05-07 12:23:40 +02:00
unoxml
ure Move all public Java classes to libreoffice.jar 2020-05-06 14:48:21 +02:00
uui
vbahelper
vcl new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
winaccessibility tdf#118418 implement scrollSubstringTo() for Qt & windows 2020-05-09 00:17:59 +02:00
wizards pyflakes3: fix some reports on wizards 2020-05-08 11:01:13 +02:00
writerfilter new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
writerperfect fix memory leak of xmlDoc objects 2020-05-07 09:52:27 +02:00
xmerge Move all public Java classes to libreoffice.jar 2020-05-06 14:48:21 +02:00
xmlhelp compact namespace in xmlhelp..xmlsecurity 2020-05-10 13:56:07 +02:00
xmloff compact namespace in xmlhelp..xmlsecurity 2020-05-10 13:56:07 +02:00
xmlreader
xmlscript compact namespace in xmlhelp..xmlsecurity 2020-05-10 13:56:07 +02:00
xmlsecurity compact namespace in xmlhelp..xmlsecurity 2020-05-10 13:56:07 +02:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore Adapt to hardened_runtime.xcent 2020-05-04 22:49:05 +02:00
.gitmodules
.gitpod.dockerfile
.gitpod.yml
.gitreview
antivirusDetection.vbs
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in always build Skia optimized, unless --enable-skia=debug 2020-05-06 14:20:19 +02:00
config_host_lang.mk.in
configure.ac hard-require Clang for Skia on Windows 2020-05-08 10:46:23 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst Add comment about duplication of information 2020-05-05 12:52:24 +02:00
g
hardened_runtime.xcent.in
install-sh
leak-suppress.txt ignore leaks in idlc 2020-05-07 19:28:07 +02:00
Library_merged.mk
lo.xcent
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in Adapt to hardened_runtime.xcent 2020-05-04 22:49:05 +02:00
README.cross
README.md
README.Solaris
Repository.mk Move all public Java classes to libreoffice.jar 2020-05-06 14:48:21 +02:00
RepositoryExternal.mk Missing gengal vclplug dependencies for macOS and Windows 2020-05-04 18:46:33 +02: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 2019 version 16.4
  • 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.