Test repository to check push and ssh key
Find a file
Miklos Vajna 64fcf27883 sd: add initial theme UI for master slides
Click Sidebar -> properties -> slide -> master view, then launch the
Slide -> Slide properties menu item, this adds a new Theme tab page
there.

This is just an initial UI, only the theme name can be edited as a
start.

Change-Id: Ia2faa828c57a0e858881fb8640431f046b5739a8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126798
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2021-12-14 11:13:45 +01:00
.git-hooks
.github
.vscode
accessibility Fix --disable-scripting for DESKTOP build 2021-12-03 06:46:24 +01:00
android Convert example document from cz to en-us 2021-12-09 15:42:36 +01:00
animations Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
apple_remote
avmedia Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
basctl Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
basegfx improve loplugin:cow_wrapper 2021-12-07 17:46:23 +01:00
basic ofz#42182 oss-build failure 2021-12-10 20:50:56 +01:00
bean
bin find-unneeded-includes: add exception for boost/shared_ptr.hpp 2021-12-14 08:39:30 +01:00
binaryurp Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
bridges gbuild: introduce plugin + loader concepts 2021-12-01 18:37:23 +01:00
canvas Refactor some buildsytem stuff (mostly whitespace) 2021-12-13 16:48:47 +01:00
chart2 Allow for presumably more precise results of some layout calculations 2021-12-10 21:05:08 +01:00
cli_ure
codemaker
comphelper Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
compilerplugins Adapt CompilerTest_compilerplugins_clang 2021-12-13 16:48:21 +01:00
config_host improve the script for reducing symbol exports 2021-12-01 12:13:59 +01:00
configmgr Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
connectivity Fix regression in connectivity/evoab2 2021-12-11 17:23:01 +01:00
cppcanvas Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
cppu Fix clang-cl -Zc:dllexportInlines- build 2021-12-02 07:39:52 +01:00
cppuhelper Fix clang-cl -Zc:dllexportInlines- build 2021-12-02 07:39:52 +01:00
cpputools
cui sd: add initial theme UI for master slides 2021-12-14 11:13:45 +01:00
dbaccess only use css::awt::XPopupMenu methods 2021-12-12 15:58:50 +01:00
desktop lokit: add env. var to set the certificate database dir 2021-12-14 10:20:55 +01:00
dictionaries@a578543152 Update git submodules 2021-12-02 12:46:42 +01:00
distro-configs Better workaround for ASan use-after-poison 2021-12-06 19:22:09 +01:00
drawinglayer Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
editeng ODP import/export: refer to theme from shape text color with effects 2021-12-13 10:10:10 +01:00
embeddedobj Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
embedserv Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
emfio Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
eventattacher Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
extensions more ofz#42182 oss-build failure 2021-12-10 17:44:42 +01:00
external upload libmwaw 0.3.21 2021-12-14 08:08:46 +01:00
extras tdf#143956 Remove page size of Writer templates 4 2021-12-05 18:20:07 +01:00
filter Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
forms Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
formula Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
fpicker Fix typos 2021-12-11 16:05:03 +01:00
framework prefer css::awt::XPopupMenu api 2021-12-13 10:03:12 +01:00
helpcompiler
helpcontent2@fdedbc8b2e Update git submodules 2021-12-13 13:30:26 +01:00
hwpfilter Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
i18nlangtag loplugin:stringliteraldefine in i18nlangtag 2021-11-29 17:58:06 +01:00
i18npool Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
i18nutil
icon-themes use more OUStringLiteral in various 2021-12-08 16:57:59 +01:00
idl
idlc
include sd: add initial theme UI for master slides 2021-12-14 11:13:45 +01:00
instsetoo_native
io Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
ios
javaunohelper
jurt
jvmaccess
jvmfwk loplugin:unnecessaryvirtual 2021-12-07 07:05:29 +01:00
l10ntools loplugin:stringliteraldefine in l10ntools..oox 2021-11-26 09:45:44 +01:00
librelogo
libreofficekit svp: normalize DoYield 2021-11-30 20:39:33 +01:00
lingucomponent Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
linguistic Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
lotuswordpro Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
m4 Simplify FONTCONFIG and FREETYPE tests 2021-12-09 15:47:48 +01:00
nlpsolver
o3tl improve the script for reducing symbol exports 2021-12-01 12:13:59 +01:00
odk
offapi
officecfg Related tdf#102506: make Find Bar Ctrl+F searching by value by default 2021-12-10 12:22:48 +01:00
onlineupdate
oovbaapi
oox Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
opencl
osx Retire build-nocheck 2021-12-06 20:54:26 +01:00
package Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
pch
postprocess Build services_constructors.list from target component files 2021-12-14 07:37:41 +01:00
pyuno Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
qadevOOo
readlicense_oo typo fixes in license text 2021-11-29 21:26:47 +01:00
registry
remotebridges Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
reportbuilder Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
reportdesign Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
ridljar
sal A more expressive CPPUNIT_ASSERT_MESSAGE 2021-12-14 09:30:25 +01:00
salhelper Rather use ScopeGuard to prevent catch and rethrow 2021-12-03 11:00:03 +01:00
sax Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
sc related tdf#92010 sc autoformula: ensure proper sorting order 2021-12-13 22:18:42 +01:00
scaddins Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
sccomp Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
schema ODP import/export: refer to theme from shape text color with effects 2021-12-13 10:10:10 +01:00
scp2
scripting Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
sd sd: add initial theme UI for master slides 2021-12-14 11:13:45 +01:00
sdext Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
setup_native
sfx2 prefer more css::awt::XPopupMenu api 2021-12-12 13:35:00 +01:00
shell Refactor some buildsytem stuff (mostly whitespace) 2021-12-13 16:48:47 +01:00
slideshow Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
smoketest Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
solenv Allow for conditional parts of component files 2021-12-14 07:38:05 +01:00
soltools
sot Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
starmath Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
stoc Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
store
svgio Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
svl Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
svtools Small simplification 2021-12-12 08:39:40 +01:00
svx Allow for conditional parts of component files 2021-12-14 07:38:05 +01:00
sw tdf#146145 sw: 1-click Accept/Reject of table row changes 2021-12-14 10:34:42 +01:00
swext
sysui
test tdf#132145: Synchronize ScAppCfg with configuration 2021-11-29 03:54:26 +01:00
testtools Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
toolkit Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
tools Make BOM detection slightly more straightforward 2021-12-10 14:18:30 +01:00
translations@9658a28df4 Update git submodules 2021-11-25 20:00:09 +01:00
ucb find-unneeded-includes: add exception for boost/shared_ptr.hpp 2021-12-14 08:39:30 +01:00
ucbhelper use more OInterfaceContainerHelper3 in ContentImplHelper_Impl 2021-11-22 07:55:24 +01:00
udkapi Update reference links for ISO 639 and 3166 2021-12-11 21:40:00 +01:00
uitest uilogger: Adapt code to the new syntax of uitests 2021-12-02 17:39:11 +01:00
UnoControls Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
unodevtools
unoidl Fix clang-cl -Zc:dllexportInlines- build 2021-12-02 07:39:52 +01:00
unoil
unotest Fix --disable-scripting for DESKTOP build 2021-12-03 06:46:24 +01:00
unotools Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
unoxml Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
ure Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
uui Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
vbahelper Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
vcl Refactor some buildsytem stuff (mostly whitespace) 2021-12-13 16:48:47 +01:00
wasm-qt
winaccessibility Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
wizards Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
writerfilter tdf#146140 sw DOCX import: fix moveFrom regression with broken text content 2021-12-11 10:32:31 +01:00
writerperfect upload libmwaw 0.3.21 2021-12-14 08:08:46 +01:00
xmerge Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
xmlhelp Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
xmloff tdf#62032 xmloff: list-level is positiveInteger, impl is 0-based 2021-12-14 10:36:48 +01:00
xmlreader Fix clang-cl -Zc:dllexportInlines- build 2021-12-02 07:39:52 +01:00
xmlscript Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
xmlsecurity Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore gbuild: serialize dynamic link for static builds 2021-12-01 13:06:55 +01:00
.gitmodules
.gitpod.dockerfile
.gitpod.yml
.gitreview
antivirusDetection.vbs
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
config_host_lang.mk.in
configure.ac upload libmwaw 0.3.21 2021-12-14 08:08:46 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst upload libmwaw 0.3.21 2021-12-14 08:08:46 +01:00
g
hardened_runtime.xcent.in
install-sh
install_deps.sh
leak-suppress.txt
Library_merged.mk
lo.xcent
logerrit
Makefile.fetch
Makefile.gbuild Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
Makefile.in Respect verbose setting for module-deps.pl calls 2021-12-13 16:49:15 +01:00
README.cross
README.help.md
README.md
README.Solaris
Repository.mk desktop_detector is also a vcl plugin 2021-12-13 09:58:26 +01:00
RepositoryExternal.mk cache Skia drawing based on checksum of bitmap content (tdf#146095) 2021-12-10 11:59:39 +01:00
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk Fix --disable-avmedia for DESKTOP build 2021-12-01 16:50:23 +01:00
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 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.12
    • 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
  • Emscripten / WASM:
    • Runtime: a browser with SharedMemory support (threads + atomics)
    • Build: Qt 5.15 with Qt supported Emscripten 1.39.8
    • See README.wasm

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.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.