Test repository to check push and ssh key
Find a file
Andrea Gelmini 0cc38c926e Fix typo
Change-Id: I2261578d54e4b986871eab9c309884eb903aa3c6
Reviewed-on: https://gerrit.libreoffice.org/47614
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-01-10 03:12:13 +01:00
.git-hooks
accessibility lokdialog: Allow switching language of some of the ResMgr's. 2017-12-22 22:39:39 +01:00
android
animations
apple_remote
avmedia lokdialog: Allow switching language of some of the ResMgr's. 2017-12-22 22:39:39 +01:00
basctl Resolves: tdf#114766 gtk3 solar mutex assert 2018-01-08 20:01:45 +01:00
basegfx basegfx: extract svg path import/export test to own file 2018-01-04 07:38:42 +01:00
basic basic, solve link problems 2018-01-08 13:18:36 +01:00
bean Fix typos 2017-12-28 14:43:13 +01:00
bin Silence clang-cl -Werror,-Wmicrosoft-unqualified-friend in external/boost 2018-01-09 23:20:20 +01:00
binaryurp inline use-once typedefs 2017-12-19 11:57:57 +01:00
bridges new loplugin: convertlong 2017-12-21 08:22:29 +01:00
canvas Fix typos 2018-01-02 15:46:36 +01:00
chart2 tdf#113572: allow switching to data range in copypasted chart 2018-01-10 01:24:06 +01:00
cli_ure
codemaker Fix typos 2017-12-29 09:56:34 +01:00
comphelper loplugin:unusedfields 2018-01-04 07:17:23 +01:00
compilerplugins Don't use non-Windows sys/time.h 2018-01-09 23:22:27 +01:00
config_host request installation of langpack via packagekit 2017-12-22 20:08:51 +01:00
configmgr loplugin:passstuffbyref improved returns 2017-12-23 08:04:54 +01:00
connectivity fixup tdf#104986 move named parameters substitution into generic layer 2018-01-07 09:30:39 +01:00
cppcanvas tdf#42949 Fix some Include What You Use warnings 2017-12-22 10:49:55 +01:00
cppu loplugin:passstuffbyref improved returns 2017-12-23 08:04:54 +01:00
cppuhelper loplugin:passstuffbyref improved returns 2017-12-23 08:04:54 +01:00
cpputools
cui tdf#114818 hold the mutex before executing the error dialog 2018-01-06 13:40:02 +01:00
dbaccess loplugin:passstuffbyref more return improvements 2018-01-03 08:07:41 +01:00
desktop lokdialog: Enable input before posting mouse events 2018-01-08 22:39:23 +05:30
dictionaries@b64137bed1 Updated core 2018-01-05 10:20:24 +01:00
distro-configs Let flatpak-builder build .Debug extension 2018-01-08 22:51:22 +01:00
drawinglayer loplugin:unnecessaryparen improve return check 2017-12-29 18:19:23 +01:00
dtrans Fix typos 2017-12-19 07:19:35 +01:00
editeng tdf#99524 - allow backward connect paragraph to undo. 2018-01-09 13:18:41 +01:00
embeddedobj Remove redundant control flow branch 2018-01-04 21:58:49 +01:00
embedserv
emfio ofz#4980 bail early with 0 points 2018-01-06 22:08:16 +01:00
eventattacher
extensions Various loplugin (clang-cl) 2018-01-09 23:21:08 +01:00
external Silence clang-cl -Werror,-Wmicrosoft-unqualified-friend in external/boost 2018-01-09 23:20:20 +01:00
extras tdf#95024 Add user dictionary for hu dict package 2018-01-05 01:58:33 +01:00
filter ofz#5154 limit depth to max legal depth 2018-01-09 21:36:49 +01:00
forms lokdialog: Allow switching language of some of the ResMgr's. 2017-12-22 22:39:39 +01:00
formula lokdialog: Allow switching language of some of the ResMgr's. 2017-12-22 22:39:39 +01:00
fpicker loplugin:unnecessaryparen (clang-cl) 2018-01-09 23:17:23 +01:00
framework Fix typos 2018-01-05 11:03:10 +01:00
helpcompiler
helpcontent2@2c7cfc527a Updated core 2018-01-10 01:14:56 +01:00
hwpfilter Fix typos 2017-12-29 09:56:34 +01:00
i18nlangtag ofz#4952 avoid liblangtag config when fuzzing enabled 2018-01-05 20:21:41 +01:00
i18npool crash in sc, make TextSearch thread safe 2017-12-30 17:22:39 +01:00
i18nutil tdf#114681: Adding support for case folding in Glagolitic 2018-01-02 10:33:22 +01:00
icon-themes tdf#75256 Sifr new entirecell icons 2018-01-08 00:55:57 +01:00
idl TypedWhichId in svx part 1 2017-12-21 06:09:01 +01:00
idlc
include tdf#114173 Preserve size of chart legend during xlsx export 2018-01-09 13:36:42 +01:00
instsetoo_native tdf#108580: integrate vc_redist.exe into MSI 2017-12-18 12:52:48 +01:00
io inline use-once typedefs 2017-12-19 11:57:57 +01:00
ios iOS, add bridge function to expose kit pointer. 2018-01-08 20:04:53 +01:00
javaunohelper
jurt Fix typos 2017-12-19 07:19:35 +01:00
jvmaccess
jvmfwk inline use-once typedefs 2017-12-19 11:57:57 +01:00
l10ntools inline use-once typedefs 2017-12-19 11:57:57 +01:00
librelogo
libreofficekit Fix typo 2018-01-10 03:12:13 +01:00
lingucomponent
linguistic Add optional title: field to user dictionaries 2018-01-05 02:01:16 +01:00
lotuswordpro ofz#5157 Direct-leak 2018-01-09 17:19:22 +01:00
m4
mysqlc
nlpsolver
o3tl
odk Bump copyright year to 2018 2018-01-01 00:00:00 -06:00
offapi tdf#113572: allow switching to data range in copypasted chart 2018-01-10 01:24:06 +01:00
officecfg tdf#114768: Update default font list for Traditional Chinese 2018-01-09 13:19:53 +01:00
onlineupdate Updater Icon: Shrink svg file 2017-12-30 23:58:27 +01:00
oovbaapi
oox tdf#114173 Preserve size of chart legend during xlsx export 2018-01-09 13:36:42 +01:00
opencl Explicitly qualify ICU types with icu:: namespace 2017-12-19 13:11:02 +01:00
osx Add a few Mac-specific source files in avmedia for easier breakpointing 2018-01-08 12:01:29 +02:00
package tdf#114819 - include the synthetic encrpytion header into the size. 2018-01-06 16:00:26 +01:00
postprocess tdf#108580: integrate vc_redist.exe into MSI 2017-12-18 12:52:48 +01:00
pyuno
qadevOOo tdf#45904 Move _SpreadsheetViewSettings Java tests to C++ 2018-01-09 06:22:27 +01:00
readlicense_oo Bump copyright year to 2018 2018-01-01 00:00:00 -06:00
registry
remotebridges
reportbuilder
reportdesign remove dead eeitemid.hxx 2018-01-05 07:38:01 +01:00
ridljar
sal loplugin:convertlong in ucb,sot 2018-01-09 07:20:44 +01:00
salhelper
sax ofz#4392 sax: guard access to Entity::maSavedException with mutex 2018-01-06 16:08:55 +01:00
sc tdf#113572: allow switching to data range in copypasted chart 2018-01-10 01:24:06 +01:00
scaddins
sccomp lokdialog: Allow switching language of some of the ResMgr's. 2017-12-22 22:39:39 +01:00
schema
scp2 tdf#95024 Add user dictionary for hu dict package 2018-01-05 01:58:33 +01:00
scripting loplugin:passstuffbyref improved return in sd,various 2018-01-02 13:15:33 +01:00
sd UI Duplicate dlg: enable negative angle 2018-01-07 22:35:03 +01:00
sdext Allow building with poppler-0.62 2018-01-08 16:07:05 +01:00
setup_native Bump copyright year to 2018 2018-01-01 00:00:00 -06:00
sfx2 sfx2 store: avoid custom parent for tempfiles during load 2018-01-09 20:10:01 +01:00
shell loplugin:unnecessaryparen (clang-cl) 2018-01-09 23:17:23 +01:00
slideshow loplugin:passstuffbyref improved return in xmlhelp,slideshow 2017-12-29 10:55:41 +01:00
smoketest
solenv upload libpagemaker 0.0.4 2018-01-09 08:16:31 +01:00
soltools
sot loplugin:convertlong in ucb,sot 2018-01-09 07:20:44 +01:00
starmath starmath: Replace confusing sal_uIntPtr with sal_Int32 2018-01-08 14:13:40 +01:00
stoc
store loplugin:convertlong in ucb,sot 2018-01-09 07:20:44 +01:00
svgio loplugin:passstuffbyref improved return in sd,various 2018-01-02 13:15:33 +01:00
svl loplugin:convertlong in ucb,sot 2018-01-09 07:20:44 +01:00
svtools uitest: add more properties to SvSimpleTableContainer state map 2018-01-07 22:08:48 +01:00
svx -Werror,-Wformat (clang-cl) 2018-01-09 23:16:46 +01:00
sw Avoid clash with ERROR macro from wingdi.h on Windows 2018-01-09 23:16:18 +01:00
swext
sysui Include new .svg icons in freedesktop-menus.spec 2018-01-05 12:35:29 +01:00
test tdf#45904 Move _SpreadsheetViewSettings Java tests to C++ 2018-01-09 06:22:27 +01:00
testtools
toolkit toolkit: disable the UnitConversion test only on WNT 2018-01-08 16:15:42 +01:00
tools ofz#5000 Integer-overflow 2018-01-09 10:04:24 +01:00
translations@241b014e9b Updated core 2018-01-03 16:14:04 +01:00
ucb loplugin:convertlong in ucb,sot 2018-01-09 07:20:44 +01:00
ucbhelper loplugin:passstuffbyref even more return improvements 2017-12-24 07:01:47 +01:00
udkapi Fix typo 2018-01-05 02:44:43 +01:00
uitest uitest: add a shared helper method for selecting text 2018-01-08 00:58:06 +01:00
UnoControls Fix typos 2017-12-19 07:19:35 +01:00
unodevtools
unoidl
unoil
unotest
unotools lokdialog: Few more places that need to take LOK's LanguageTag into account. 2018-01-08 11:40:42 +01:00
unoxml ofz#4940 Null-dereference READ 2018-01-04 22:22:05 +01:00
ure
uui remove NoPath from LoginFlags 2018-01-05 09:20:10 +01:00
vbahelper inline use-once typedefs 2017-12-19 11:57:57 +01:00
vcl route cff typedefs to our sal ones 2018-01-09 10:05:04 +01:00
winaccessibility Fix spelling in comments 2017-12-28 02:43:37 +01:00
wizards tdf#114881: Re-introduce ConfigurationUpdateAccess 2018-01-08 23:24:03 +01:00
writerfilter tdf#114703 DOCX import: apply num defaults only to abstract nums 2018-01-09 09:07:53 +01:00
writerperfect upload libe-book 0.1.3 2018-01-05 19:47:10 +01:00
xmerge
xmlhelp loplugin:unusedfields 2018-01-04 07:17:23 +01:00
xmloff RES_CHRATR_PROPORTIONALFONTSIZE and RES_CHRATR_NOLINEBREAK unused 2018-01-09 07:18:47 +01:00
xmlreader
xmlscript loplugin:passstuffbyref improved returns 2017-12-23 08:04:54 +01:00
xmlsecurity xmlsecurity: remove unused xml_security::serial_number_adapter 2018-01-05 09:03:48 +01:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.gitattributes
.gitignore .gitignore vscode ide files 2017-12-24 05:02:17 +01:00
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in tdf#108580: integrate vc_redist.exe into MSI 2017-12-18 12:52:48 +01:00
config_host_lang.mk.in
configure.ac Find JDK 9 on Windows 2018-01-07 20:14:17 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst upload libpagemaker 0.0.4 2018-01-09 08:16:31 +01:00
g
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent.in
logerrit
Makefile.fetch tdf#113532 Add Arabic fonts into default installation 2017-12-21 20:16:57 +01:00
Makefile.gbuild
Makefile.in Let flatpak-builder build .Debug extension 2018-01-08 22:51:22 +01:00
README.cross
README.md iOS, bump version to 11.2 2017-12-30 13:30:39 +01:00
README.Solaris
Repository.mk Blind fix 2017-12-23 22:43:01 +01:00
RepositoryExternal.mk tdf#108580: integrate vc_redist.exe into MSI 2017-12-18 12:52:48 +01:00
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk
sanitize-ubsan-blacklist
TEMPLATE.SOURCECODE.HEADER

LibreOffice

Coverity Scan Build Status CII Best Practices

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 2015 Update 3
  • macOS:
    • Runtime: 10.9
    • Build: 10.12 + Xcode 8
  • Linux:
    • Runtime: RHEL 6 or CentOS 6
    • Build: GCC 4.8.1 or Clang
  • iOS (only for LibreOfficeKit):
    • Runtime: 11.2 (only support for newer i devices == 64 bit)
    • Build: Xcode 9.0 and iPhone SDK 11.2

At least Clang 3.4.2 is known to be too old to pass the configure.ac check "whether $CXX supports C++17, C++14, or C++11" in its current form (due to the #pragma GCC diagnostic ignored "-Wpragmas" that it does not understand).

If you want to use Clang with the LibreOffice compiler plugins, the minimal version of Clang is 3.8. 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:

http://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.

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.