Test repository to check push and ssh key
Find a file
Andrea Gelmini cba7646dbc Fix typo
Change-Id: I472190c743dd26e88e3400f323ab52fa05c187d9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129215
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-01-31 14:24:31 +01:00
.git-hooks
.github
.vscode
accessibility
android
animations animations : use cppuhelper::BaseMutex 2022-01-30 07:32:41 +01:00
apple_remote
avmedia
basctl move ToolBoxItemId into its own header 2022-01-26 12:07:18 +01:00
basegfx
basic Fix format string 2022-01-31 14:08:17 +01:00
bean
bin extract an initial webpfuzzer_seed_corpus.zip from the afl corpus 2022-01-31 11:46:49 +01:00
binaryurp
bridges
canvas
chart2 use more concrete types in chart2, DataSeries 2022-01-31 10:39:29 +01:00
cli_ure
codemaker Improve DBG_UNHANDLED_EXCEPTION output a bit 2022-01-23 09:50:33 +01:00
comphelper
compilerplugins
config_host upgrade to box2d 2.4.1 2022-01-24 09:58:45 +01:00
configmgr
connectivity Mysql/MariaDB: remove useless include+using + unused vars in mysqlc_connection 2022-01-30 19:21:12 +01:00
cppcanvas
cppu
cppuhelper WASM set correct path to FS image unorc 2022-01-28 19:34:17 +01:00
cpputools
cui gtk4: remove stray xalign 2022-01-29 20:20:09 +01:00
dbaccess used TypedWhichId in the constructor of various svx *Item classes 2022-01-29 18:59:53 +01:00
desktop no need to call GetWhich on these SID_ values 2022-01-27 20:05:46 +01:00
dictionaries@d37591fce4
distro-configs
drawinglayer avoid Skia GPU surfaces for small virtual devices (bsc#1183308) 2022-01-24 14:40:22 +01:00
editeng lokCalcRTL: selection coords should be mirrored w.r.t output area 2022-01-29 05:05:35 +01:00
embeddedobj
embedserv
emfio
eventattacher
extensions gtk4: remove unwanted caps-lock-warning from GtkSpinButton 2022-01-29 18:03:40 +01:00
external support for the WebP image format (tdf#114532) 2022-01-31 10:44:29 +01:00
extras
filter support for the WebP image format (tdf#114532) 2022-01-31 10:44:29 +01:00
forms
formula
fpicker
framework
helpcompiler Recheck modules [i-l]* with IWYU 2022-01-27 18:52:16 +01:00
helpcontent2@d5322f2e28 Update git submodules 2022-01-31 14:12:14 +01:00
hwpfilter avoid dangling tmp files in hwp import 2022-01-29 14:31:01 +01:00
i18nlangtag tdf#146602 Add Pennsylvania Dutch {pdc-US} 0x06AF to language list 2022-01-26 17:03:52 +01:00
i18npool Recheck modules [i-l]* with IWYU 2022-01-27 18:52:16 +01:00
i18nutil Recheck modules [i-l]* with IWYU 2022-01-27 18:52:16 +01:00
icon-themes support for the WebP image format (tdf#114532) 2022-01-31 10:44:29 +01:00
idl Recheck modules [i-l]* with IWYU 2022-01-27 18:52:16 +01:00
idlc
include SID_COPY_STREAM_IF_POSSIBLE is a SfxBoolItem 2022-01-31 14:06:16 +01:00
instsetoo_native
io Recheck modules [i-l]* with IWYU 2022-01-27 18:52:16 +01:00
ios
javaunohelper Recheck modules [i-l]* with IWYU 2022-01-27 18:52:16 +01:00
jurt Avoid loplugin:salcall 2022-01-23 12:28:20 +01:00
jvmaccess
jvmfwk Recheck modules [i-l]* with IWYU 2022-01-27 18:52:16 +01:00
l10ntools Recheck modules [i-l]* with IWYU 2022-01-27 18:52:16 +01:00
librelogo
libreofficekit Recheck modules [i-l]* with IWYU 2022-01-27 18:52:16 +01:00
lingucomponent Recheck modules [i-l]* with IWYU 2022-01-27 18:52:16 +01:00
linguistic Recheck modules [i-l]* with IWYU 2022-01-27 18:52:16 +01:00
lotuswordpro ofz: Undefined-Shift 2022-01-28 09:52:08 +01:00
m4
nlpsolver
o3tl Recheck modules [o-r]* with IWYU 2022-01-30 16:10:57 +01:00
odk
offapi remove css:💹:XDataInterpreter 2022-01-23 12:45:18 +01:00
officecfg related tdf#111733 TextCharacterSpacingControl sw: goto position tab 2022-01-27 18:34:37 +01:00
onlineupdate
oovbaapi vba: add support for Application.WindowState + test 2022-01-27 07:38:09 +01:00
oox Recheck modules [o-r]* with IWYU 2022-01-30 16:10:57 +01:00
opencl Recheck modules [o-r]* with IWYU 2022-01-30 16:10:57 +01:00
osx Add more source files for debugging convenience 2022-01-27 15:54:35 +01:00
package Recheck modules [o-r]* with IWYU 2022-01-30 16:10:57 +01:00
pch
postprocess
pyuno Recheck modules [o-r]* with IWYU 2022-01-30 16:10:57 +01:00
qadevOOo
readlicense_oo support for the WebP image format (tdf#114532) 2022-01-31 10:44:29 +01:00
registry
remotebridges Recheck modules [o-r]* with IWYU 2022-01-30 16:10:57 +01:00
reportbuilder
reportdesign Recheck modules [o-r]* with IWYU 2022-01-30 16:10:57 +01:00
ridljar
sal
salhelper
sax
sc lokCalcRTL: fix autofilter popup position 2022-01-31 06:52:43 +01:00
scaddins
sccomp
schema
scp2 support for the WebP image format (tdf#114532) 2022-01-31 10:44:29 +01:00
scripting
sd tdf#123658 sd search: partial UI unit test 2022-01-31 10:43:12 +01:00
sdext
setup_native use mktemp for FAKEDBRPM 2022-01-29 11:42:27 +01:00
sfx2 SID_COPY_STREAM_IF_POSSIBLE is a SfxBoolItem 2022-01-31 14:06:16 +01:00
shell
slideshow
smoketest
solenv support for the WebP image format (tdf#114532) 2022-01-31 10:44:29 +01:00
soltools
sot
starmath no need to call GetWhich on these SID_ values 2022-01-27 20:05:46 +01:00
static
stoc
store
svgio
svl fix loading file with very large number of styles 2022-01-29 10:40:31 +01:00
svtools tdf#83523 ruler: Invalidate full ruler rect on app bg change 2022-01-31 12:27:48 +01:00
svx support for the WebP image format (tdf#114532) 2022-01-31 10:44:29 +01:00
sw tdf#106899 - Remove header definition of buffer size 2022-01-31 14:23:08 +01:00
swext
sysui change rpm compression algorithm to multi threaded xz 2022-01-23 15:13:03 +01:00
test
testtools
toolkit
tools Improve DBG_UNHANDLED_EXCEPTION output a bit 2022-01-23 09:50:33 +01:00
translations@59aa671612 Update git submodules 2022-01-26 14:15:58 +01:00
ucb Fix typos 2022-01-27 14:36:18 +01:00
ucbhelper
udkapi
uitest
UnoControls
unodevtools
unoidl
unoil
unotest
unotools
unoxml
ure
uui
vbahelper
vcl support for the WebP image format (tdf#114532) 2022-01-31 10:44:29 +01:00
winaccessibility
wizards Fix typo 2022-01-31 14:24:31 +01:00
writerfilter DOCX import: handle a subset of <w:ptab w:alignment="left"> 2022-01-28 19:15:37 +01:00
writerperfect
xmerge
xmlhelp
xmloff
xmlreader
xmlscript
xmlsecurity gtk4: remove stray xalign 2022-01-29 20:21:09 +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 support for the WebP image format (tdf#114532) 2022-01-31 10:44:29 +01:00
config_host_lang.mk.in
configure.ac support for the WebP image format (tdf#114532) 2022-01-31 10:44:29 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst support for the WebP image format (tdf#114532) 2022-01-31 10:44:29 +01:00
g
hardened_runtime.xcent.in
install-sh
install_deps.sh
leak-suppress.txt
Library_merged.mk
lo.xcent
logerrit
Makefile.fetch support for the WebP image format (tdf#114532) 2022-01-31 10:44:29 +01:00
Makefile.gbuild
Makefile.in
README.cross
README.help.md
README.md
README.Solaris
Repository.mk
RepositoryExternal.mk support for the WebP image format (tdf#114532) 2022-01-31 10:44:29 +01:00
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk
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.13
    • 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.