Test repository to check push and ssh key
Find a file
Noel Grandin 4e4fb7e84d fix doc
Change-Id: I39418b70040c34ade39f5e35ea700792f25418ab
Reviewed-on: https://gerrit.libreoffice.org/82545
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-11-13 06:13:09 +01:00
.git-hooks
.github
accessibility loplugin:indentation find broken if statements 2019-11-06 06:27:51 +01:00
android tdf#127540 android: fix type-detection error when trying About|Show License 2019-11-08 16:04:49 +01:00
animations
apple_remote
avmedia Fix Windows --eanble-vlc errors and (clang-cl) warnings 2019-11-08 12:40:39 +01:00
basctl Fix macro disabling in Basic IDE 2019-11-12 08:10:07 +01:00
basegfx
basic tdf#42949 Fix IWYU warnings in basic/ 2019-11-12 09:20:55 +01:00
bean
bin make bin/update_pch work with srcdir != builddir 2019-11-11 10:21:31 +01:00
binaryurp
bridges loplugin:indentation find broken if statements 2019-11-06 06:27:51 +01:00
canvas tdf#42949 Fix IWYU warnings in canvas/*/*cxx 2019-11-06 14:23:21 +01:00
chart2 chart2: Separate ChartResourceGroups to reuse 2019-11-13 01:49:36 +01:00
cli_ure
codemaker
comphelper Revert "sc lok: Implement hi-dpi and zoom for spreadsheets." 2019-11-06 01:18:53 +01:00
compilerplugins Clarify loplugin:external behavior for const(expr) vars 2019-11-12 13:04:28 +01:00
config_host
configmgr use std::move when popping stuff off stacks 2019-11-12 13:59:50 +01:00
connectivity use std::move when popping stuff off stacks 2019-11-12 13:59:50 +01:00
cppcanvas
cppu Avoid repeated calls cppu::detail::loadModule -> osl_getModuleURLFromAddress 2019-11-08 14:19:10 +01:00
cppuhelper
cpputools
cui Options Proxy Dialog update 2019-11-12 21:52:35 +01:00
dbaccess loplugin:unusedvariablecheck tweak to find more stuff 2019-11-06 10:47:15 +01:00
desktop Added Orientation argument to LOKIT renderFont 2019-11-10 22:39:55 +01:00
dictionaries@4fb010374f Update git submodules 2019-11-13 00:44:49 +01:00
distro-configs
drawinglayer loplugin:unusedvariablecheck tweak to find more stuff 2019-11-06 10:47:15 +01:00
dtrans Fix typo 2019-11-11 09:38:03 +01:00
editeng make some classes module-private 2019-11-06 06:28:05 +01:00
embeddedobj
embedserv Avoid C++20 comparison operator overloading ambiguities (clang-cl -std=c++2a) 2019-11-08 15:39:15 +01:00
emfio
eventattacher
extensions loplugin:stringadd (clang-cl) 2019-11-08 11:28:31 +01:00
external
extras update emoji autocorrect files from po-files 2019-11-08 23:49:56 +01:00
filter Added Orientation argument to LOKIT renderFont 2019-11-10 22:39:55 +01:00
forms
formula
fpicker loplugin:unusedmethods 2019-11-07 09:01:00 +01:00
framework tdf#42949 Fix IWYU warnings in framework/*/*hxx 2019-11-11 09:48:23 +01:00
helpcompiler
helpcontent2@1a28d0647c Update git submodules 2019-11-12 14:34:11 +01:00
hwpfilter -Werror,-Wunused-macros (clang-cl) 2019-11-08 12:37:45 +01:00
i18nlangtag
i18npool
i18nutil
icon-themes Breeze & Sifr: tdf#127458: Add Auto Redact icons 2019-11-11 05:25:52 +01:00
idl loplugin:indentation find broken if statements 2019-11-06 06:27:51 +01:00
idlc
include rename now it does more than just sort 2019-11-12 20:51:37 +01:00
instsetoo_native User interface languages: At least one is required 2019-11-11 16:11:34 +01:00
io
ios
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools
librelogo
libreofficekit lok: tilebench: slightly sloppy pixel comparison & larger area. 2019-11-09 21:12:49 +01:00
lingucomponent
linguistic tdf#42949 Fix IWYU warnings in linguistic/ 2019-11-07 11:38:47 +01:00
lotuswordpro
m4
nlpsolver
o3tl
odk
offapi Fix @param in XShapes3.idl 2019-11-10 16:46:11 +01:00
officecfg tdf#121239 give writer, calc and draw/impress the same underline options 2019-11-12 12:25:21 +01:00
onlineupdate
oovbaapi
oox tdf#128627 tdf#128634 Fix OOXML import of CrossBetween 2019-11-12 21:46:29 +01:00
opencl
osx
package
pch
postprocess
pyuno
qadevOOo
readlicense_oo
registry
remotebridges
reportbuilder
reportdesign
ridljar
sal Silence -Werror=sign-compare (--enable-cipher-openssl-backend) 2019-11-12 13:03:16 +01:00
salhelper
sax
sc rename now it does more than just sort 2019-11-12 20:51:37 +01:00
scaddins
sccomp
schema
scp2 User interface languages: At least one is required 2019-11-11 16:11:34 +01:00
scripting tdf#80731: Only check closing parenthesis when in IDE 2019-11-09 09:53:38 +01:00
sd Related: tdf#121239 missing contour toggle in draw/impress 2019-11-12 14:02:47 +01:00
sdext loplugin:unusedvariablecheck tweak to find more stuff 2019-11-06 10:47:15 +01:00
setup_native
sfx2 Property Dialog Description Tab fix expand option 2019-11-12 14:38:56 +01:00
shell tdf#54204 File URLs with fragment need toIUri conversion 2019-11-12 22:23:45 +01:00
slideshow use std::move when popping stuff off stacks 2019-11-12 13:59:50 +01:00
smoketest
solenv chart2: Separate ChartResourceGroups to reuse 2019-11-13 01:49:36 +01:00
soltools loplugin:indentation find broken if statements 2019-11-06 06:27:51 +01:00
sot
starmath
stoc
store
svgio widget theme: Gradient support when drawing widgets 2019-11-08 12:09:48 +01:00
svl Unit test for fixed locale Excel export formats, tdf#128649 2019-11-08 09:39:20 +01:00
svtools loplugin:stringadd (clang-cl) 2019-11-08 11:28:31 +01:00
svx use std::move when popping stuff off stacks 2019-11-12 13:59:50 +01:00
sw sw: avoid partial expansion of bookmark over new fieldmark 2019-11-13 01:25:26 +01:00
swext
sysui
test
testtools
toolkit toolkit: UnoEditControl::insertText() assert on invalid index 2019-11-12 13:04:04 +01:00
tools Don't compile cpuid test with INTRINSICS_CXXFLAGS 2019-11-11 22:21:38 +01:00
translations@6fe1c4735a Update git submodules 2019-11-12 09:42:18 +01:00
ucb
ucbhelper
udkapi
uitest Add UI Test for tdf#128004 2019-11-08 21:16:22 +01:00
UnoControls
unodevtools
unoidl
unoil
unotest
unotools loplugin:indentation find broken if statements 2019-11-06 06:27:51 +01:00
unoxml
ure
uui Better throw RuntimeException than assert here 2019-11-12 14:50:25 +01:00
vbahelper loplugin:indentation find broken if statements 2019-11-06 06:27:51 +01:00
vcl Resolves: tdf#128716 make gtk assistant steps clickable 2019-11-12 15:52:30 +01:00
winaccessibility
wizards
writerfilter use std::move when popping stuff off stacks 2019-11-12 13:59:50 +01:00
writerperfect
xmerge
xmlhelp
xmloff rename now it does more than just sort 2019-11-12 20:51:37 +01:00
xmlreader
xmlscript
xmlsecurity remove a PCH for which the library has already been removed 2019-11-11 10:21:52 +01:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in
config_host_lang.mk.in
configure.ac
COPYING
COPYING.LGPL
COPYING.MPL
download.lst
g
hardened_runtime.xcent
install-sh
leak-suppress.txt fix doc 2019-11-13 06:13:09 +01:00
Library_merged.mk
lo.xcent
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in
README.cross
README.md
README.Solaris
Repository.mk
RepositoryExternal.mk
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 2017 version 15.7
  • macOS:
    • Runtime: 10.10
    • Build: 10.13.2 + Xcode 9.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.