Test repository to check push and ssh key
Find a file
Rene Engelhard 299b72e4c9 fix install with --disable-cmis
Change-Id: I51430a860a0b5047b566ed8184f0f563ec54f288
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119661
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2021-07-31 20:05:01 +02:00
.git-hooks
.github
.vscode
accessibility Adapt again to C++20 char8_t 2021-07-29 11:05:20 +02:00
android
animations
apple_remote
avmedia use officecfg for security options 2021-07-26 14:25:35 +02:00
basctl convert TextAlign to scoped enum 2021-07-30 16:40:56 +02:00
basegfx getArray->getConstArray 2021-07-31 19:16:06 +02:00
basic tdf#107953 - Extend significant digits 2021-07-28 09:57:31 +02:00
bean
bin find-unneeded-includes: Add --headers option 2021-07-15 11:59:52 +02:00
binaryurp binaryurp : use std::mutex in outgoingrequests 2021-07-18 11:37:21 +02:00
bridges cid#1489551 silence Uninitialized scalar variable 2021-07-30 16:39:21 +02:00
canvas convert TextAlign to scoped enum 2021-07-30 16:40:56 +02:00
chart2 getArray->getConstArray 2021-07-31 19:16:06 +02:00
cli_ure
codemaker
comphelper Fix Nesting Level Bug in ProfileZone 2021-07-30 13:07:49 +02:00
compilerplugins loplugin:unnecessarymethods 2021-07-29 18:33:32 +02:00
config_host tdf#101630 - gdrive support w/oAuth and Drive API v3 2021-07-28 01:50:39 +02:00
configmgr Revert "simplify locking in configmgr" 2021-07-22 21:17:15 +02:00
connectivity getArray->getConstArray 2021-07-31 19:16:06 +02:00
cppcanvas convert TextAlign to scoped enum 2021-07-30 16:40:56 +02:00
cppu osl::Mutex->std::mutex in MappingsData 2021-07-19 08:54:19 +02:00
cppuhelper better to use a std::vector here 2021-07-18 11:34:39 +02:00
cpputools cpputools : no need to use fprintf for putting a string 2021-07-26 13:45:34 +02:00
cui convert TextAlign to scoped enum 2021-07-30 16:40:56 +02:00
dbaccess use officecfg for SvtHistoryOptions 2021-07-27 08:43:31 +02:00
desktop getArray->getConstArray 2021-07-31 19:16:06 +02:00
dictionaries@70533d899b Update git submodules 2021-07-31 16:51:25 +02:00
distro-configs Try without --disable-database-connectivity when building for iOS 2021-07-27 10:50:20 +03:00
drawinglayer drawinglayer: extract Prop. Value conversion from ViewInformation2D 2021-07-31 06:35:49 +02:00
editeng getArray->getConstArray 2021-07-31 19:16:06 +02:00
embeddedobj sfx2: handle OnMainThread=true in SfxOfficeDispatch::dispatch() 2021-07-14 11:52:00 +02:00
embedserv
emfio convert TextAlign to scoped enum 2021-07-30 16:40:56 +02:00
eventattacher osl::Mutex->std::mutex in EventAttacherImpl 2021-07-18 14:54:35 +02:00
extensions sw bibliography, local copy: handle the column mapping dialog 2021-07-27 16:18:15 +02:00
external tdf#101630 - gdrive support w/oAuth and Drive API v3 2021-07-28 01:50:39 +02:00
extras Towards tdf#103740 2021-07-27 14:33:40 +02:00
filter convert TextAlign to scoped enum 2021-07-30 16:40:56 +02:00
forms IsVertical->IsEffectivelyVertical, GetDirectVertical->GetVertical 2021-07-21 14:03:49 +02:00
formula Resolves: tdf#76310 Preserve whitespace TAB, CR, LF in formula expressions 2021-07-28 18:56:29 +02:00
fpicker
framework osl::Mutex->std::mutex in DispatchHelper 2021-07-30 14:07:43 +02:00
helpcompiler
helpcontent2@1951014d9e Update git submodules 2021-07-30 15:53:01 +02:00
hwpfilter Fix typo 2021-07-19 19:49:09 +02:00
i18nlangtag rtl::Static -> static local 2021-07-31 08:55:29 +02:00
i18npool tdf#143295 fix DateAcceptancePattern in Korean 2021-07-31 18:06:12 +02:00
i18nutil
icon-themes elementary tdf#143300 add diagonal border line icons 2021-07-22 20:33:08 +02:00
idl
idlc no need to allocate these static vars on demand 2021-07-23 11:22:59 +02:00
include osl::Mutex->std::mutex in DropTargetHelper 2021-07-31 14:24:22 +02:00
instsetoo_native
io
ios
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools
librelogo
libreofficekit
lingucomponent osl::Mutex->std::mutex in NumberText_Impl 2021-07-31 14:25:08 +02:00
linguistic osl::Mutex->std::mutex in linguistic 2021-07-18 20:47:06 +02:00
lotuswordpro Fix typo 2021-07-19 19:49:09 +02:00
m4
nlpsolver AbsGTBehavior should implement ILibEngine 2021-07-19 18:01:24 +02:00
o3tl
odk Fix typos 2021-07-18 12:14:16 +02:00
offapi tdf#143526 fix and add Korean numbering 2021-07-29 08:43:18 +02:00
officecfg tdf#101630 - gdrive support w/oAuth and Drive API v3 2021-07-28 01:50:39 +02:00
onlineupdate
oovbaapi
oox osl::Mutex->std::mutex in DocumentOpenedGuard 2021-07-31 18:21:19 +02:00
opencl
osx
package getArray->getConstArray in package 2021-07-31 18:21:42 +02:00
pch
postprocess
pyuno
qadevOOo
readlicense_oo update credits 2021-07-16 23:09:42 +02:00
registry -Werror=maybe-uninitialized 2021-07-22 08:15:30 +02:00
remotebridges
reportbuilder
reportdesign use officecfg for SvtCJKOptions 2021-07-28 08:38:52 +02:00
ridljar
sal rtl::Static -> static local 2021-07-31 08:55:29 +02:00
salhelper
sax use officecfg to retrieve OdfDefaultVersion 2021-07-25 20:05:30 +02:00
sc getArray->getConstArray 2021-07-31 19:16:06 +02:00
scaddins
sccomp
schema sw bibliography, local copy: add ODF filter 2021-07-23 14:34:35 +02:00
scp2
scripting
sd getArray->getConstArray 2021-07-31 19:16:06 +02:00
sdext GooString::append(const std::string&) is new in poppler 0.83.0 2021-07-27 16:19:06 +02:00
setup_native
sfx2 getArray->getConstArray 2021-07-31 19:16:06 +02:00
shell do not use "using namespace std" in headers 2021-07-23 10:32:08 +02:00
slideshow convert TextAlign to scoped enum 2021-07-30 16:40:56 +02:00
smoketest
solenv Update VS natvis for recent WhichRangesContainer changes 2021-07-29 20:16:10 +02:00
soltools
sot getArray->getConstArray 2021-07-31 19:16:06 +02:00
starmath convert TextAlign to scoped enum 2021-07-30 16:40:56 +02:00
stoc osl::Mutex->std::mutex in ImplementationEnumeration_Impl 2021-07-19 08:54:03 +02:00
store
svgio
svl osl::Mutex->std::mutex in ItemHolder2 2021-07-31 10:10:36 +02:00
svtools osl::Mutex->std::mutex in ItemHolder2 2021-07-31 10:10:36 +02:00
svx getArray->getConstArray 2021-07-31 19:16:06 +02:00
sw drawinglayer: remove extendedInformation from ViewInformation2D 2021-07-31 06:23:54 +02:00
swext
sysui
test Avoid external processes picking up instdir/program/libnspr4.so 2021-07-21 15:27:02 +02:00
testtools tdf#143450: Fix special fp+integer struct return case for gcc_*_x86-64 2021-07-28 13:08:07 +02:00
toolkit rtl::Static -> static local 2021-07-29 14:35:44 +02:00
tools tools: use upper case GetWidth/GetHeight for Rect for repr. string 2021-07-30 08:20:21 +02:00
translations@a2b54ae27f Update git submodules 2021-07-28 12:55:26 +02:00
ucb tdf#101630 - gdrive support w/oAuth and Drive API v3 2021-07-28 01:50:39 +02:00
ucbhelper no need to allocate Sequence separately in CommandProcessorInfo 2021-07-20 14:52:04 +02:00
udkapi
uitest
UnoControls fix the mutex locking in impl_searchTopic 2021-07-22 18:50:49 +02:00
unodevtools
unoidl
unoil
unotest Avoid external processes picking up instdir/program/libnspr4.so 2021-07-21 15:27:02 +02:00
unotools osl::Mutex->std::mutex in OInputStreamWrapper 2021-07-31 11:17:02 +02:00
unoxml
ure
uui use officecfg for security options 2021-07-26 14:25:35 +02:00
vbahelper
vcl tdf#143114 Avoid StartDrag on TreeListBox when CaptureOnButton 2021-07-31 18:37:01 +02:00
wasm-qt
winaccessibility wina11y: Deduplicate mapping for IA2TextBoundaryType 2021-07-21 14:35:49 +02:00
wizards ScriptForge - Change copyright dates and names 2021-07-23 18:36:58 +02:00
writerfilter rtl::Static -> static local 2021-07-29 14:35:44 +02:00
writerperfect
xmerge
xmlhelp Avoid strtol on non-NUL-terminated input 2021-07-23 14:03:11 +02:00
xmloff use officecfg for security options 2021-07-26 14:25:35 +02:00
xmlreader
xmlscript
xmlsecurity rtl::Static -> static local 2021-07-29 14:35:44 +02: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 build Skia also on Mac 2021-07-26 13:32:37 +02:00
config_host_lang.mk.in
configure.ac build Skia also on Mac 2021-07-26 13:32:37 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst curl: upgrade to release 7.78.0 2021-07-22 09:09:30 +02:00
g
hardened_runtime.xcent.in
install-sh
install_deps.sh
leak-suppress.txt
Library_merged.mk
lo.xcent
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in Avoid bash'ism (comment in line continuation) 2021-07-19 23:55:58 +02:00
README.cross
README.help.md
README.md
README.Solaris
README.wasm
Repository.mk fix install with --disable-cmis 2021-07-31 20:05:01 +02:00
RepositoryExternal.mk curl: upgrade to release 7.78.0 2021-07-22 09:09:30 +02:00
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk
sanitize-ubsan-excludelist
setup.cfg
TEMPLATE.SOURCECODE.HEADER
tsan-suppress.txt TSAN suppression file 2021-07-30 17:54:00 +02:00

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