Test repository to check push and ssh key
Find a file
Caolán McNamara bfadad64fe use SetControlFont instead of SetPointFont to get the right size
Change-Id: I3c3d2c11d7a1faba792162fa1a61c247949b6cc3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104508
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-10-18 21:40:41 +02:00
.git-hooks tdf#134286: fix pre-commit hook to make hooks.allownonascii work 2020-10-09 08:41:27 +02:00
.github
accessibility
android
animations
apple_remote
avmedia Fix a confusion between UNOIDL long (i.e., sal_Int32) and C++ long 2020-10-16 08:21:42 +02:00
basctl
basegfx
basic tdf#123025 - ReDim Preserve fails if array is filled by Split 2020-10-16 12:31:02 +02:00
bean
bin
binaryurp
bridges loplugin:external (clang-cl) 2020-10-14 09:31:48 +02:00
canvas
chart2 chart2: use the fastparser API when possible 2020-10-16 12:27:31 +02:00
cli_ure
codemaker
comphelper tdf#134987 convert DOCX to ODT: fix lost charts 2020-10-13 13:52:49 +02:00
compilerplugins Fix checks for "older than Clang 11" 2020-10-15 10:45:02 +02:00
config_host fix build with box2d 2.4.0 2020-10-17 14:19:44 +02:00
configmgr
connectivity More fixes of uses of now-explicit OUString ctor taking raw sal_Unicode pointer 2020-10-14 22:13:38 +02:00
cppcanvas
cppu
cppuhelper
cpputools
cui clang-format customize/SvxToolbarConfigPage 2020-10-18 20:57:51 +02:00
dbaccess Database Wizard: show info label instead of empty list. 2020-10-16 22:36:25 +02:00
desktop Fix check for inclusion of <sys/sysmacros.h> 2020-10-15 11:56:04 +02:00
dictionaries@8cd579e3a6
distro-configs
drawinglayer
editeng weld InputBar 2020-10-16 12:54:14 +02:00
embeddedobj
embedserv
emfio
eventattacher
extensions Rename CLANG_CC, CLANG_CXX configuration vars (avoid clash with scan-build) 2020-10-16 11:21:27 +02:00
external pdfium: add reading of line points to the wrapper 2020-10-18 21:22:46 +02:00
extras tdf#130711: [tr] Extend Autocorrect list for Turkish language (Start with R-Z) 2020-10-18 15:01:30 +02:00
filter msfilter: Fix 0x%d debug printfs 2020-10-16 20:26:46 +02:00
forms
formula Derive FormulaExternalToken from FormulaByteToken, tdf#133260 follow-up 2020-10-14 03:52:15 +02:00
fpicker
framework fix some *printf which are using "%l" ie. long specifiers 2020-10-16 11:12:31 +02:00
helpcompiler
helpcontent2@a9deae83c3
hwpfilter
i18nlangtag
i18npool fix some *printf which are using "%l" ie. long specifiers 2020-10-16 11:12:31 +02:00
i18nutil
icon-themes Colibre: update many icons 2020-10-18 17:36:55 +02:00
idl
idlc fix some *printf which are using "%l" ie. long specifiers 2020-10-16 11:12:31 +02:00
include sd: support line PDF annot. as custom marker 2020-10-18 21:23:10 +02:00
instsetoo_native Resolves tdf#137187 - More dictionaries via extensions dialog 2020-10-12 17:05:42 +02:00
io
ios Rename CLANG_CC, CLANG_CXX configuration vars (avoid clash with scan-build) 2020-10-16 11:21:27 +02:00
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools
librelogo
libreofficekit
lingucomponent
linguistic
lotuswordpro ofz#26357 Timeout in lwpfuzzer, 12s -> 1.3s 2020-10-18 20:07:48 +02:00
m4
nlpsolver
o3tl
odk
offapi tdf#34355 sw,offapi,officecfg: show track changes in margin 2020-10-15 15:11:12 +02:00
officecfg tdf#137393: Add "Noto {Sans, Serif} {SC,TC,HK,JP}" to the default font list 2020-10-17 16:37:35 +02:00
onlineupdate
oovbaapi
oox tdf#133377 OOXML Fix storage of date in Custom Properties 2020-10-17 12:44:48 +02:00
opencl
osx Rename CLANG_CC, CLANG_CXX configuration vars (avoid clash with scan-build) 2020-10-16 11:21:27 +02:00
package
pch
postprocess tdf#137573: The fps_aqua component was missing for macOS 2020-10-18 13:22:14 +02:00
pyuno
qadevOOo
readlicense_oo
registry
remotebridges
reportbuilder
reportdesign static_cast after dynamic_cast 2020-10-13 09:30:12 +02:00
ridljar
sal Limit nDecPlaces to a sensible value [-20, 20] 2020-10-18 01:46:58 +02:00
salhelper
sax
sc Fix typo 2020-10-17 15:49:05 +02:00
scaddins
sccomp
schema tdf#134987 convert DOCX to ODT: fix lost charts 2020-10-13 13:52:49 +02:00
scp2
scripting Replace list by vector in scripting/eventhelpher 2020-10-14 22:14:59 +02:00
sd sd: support line PDF annot. as custom marker 2020-10-18 21:23:10 +02:00
sdext sdext: fix use-after-free on global AccessibleFocusManager 2020-10-13 10:46:46 +02:00
setup_native
sfx2 we can use Desktop::queryDispatch and avoid using getActiveFrame 2020-10-18 20:49:40 +02:00
shell
slideshow fix build with box2d 2.4.0 2020-10-17 14:19:44 +02:00
smoketest Removed duplicated include 2020-10-17 14:23:06 +02:00
solenv clang-format customize/SvxToolbarConfigPage 2020-10-18 20:57:51 +02:00
soltools
sot
starmath starmath: use the fastparser API when possible 2020-10-17 15:41:55 +02:00
stoc
store
svgio
svl Resolves: tdf#137453 Implicit conversion from sal_uInt64 to sal_Int32 is bad.. 2020-10-14 11:19:55 +02:00
svtools add a DrawingAreaUIObject to avoid need to include layout.hxx for uitest 2020-10-16 12:55:07 +02:00
svx sd: fix transparency when drawing OverlayPolyPolygon 2020-10-18 21:21:42 +02:00
sw SwAutoCompleteClient: Modify no more ... 2020-10-17 23:42:43 +02:00
swext
sysui
test
testtools fix some *printf which are using "%l" ie. long specifiers 2020-10-16 11:12:31 +02:00
toolkit Revert "Permit scrollable AWT tab pages a la scrolled Dialog" 2020-10-11 22:38:42 +02:00
tools tdf#124176: Use pragma once instead of include guards 2020-10-17 10:41:33 +02:00
translations@b7dd30b210
ucb
ucbhelper More fixes of uses of now-explicit OUString ctor taking raw sal_Unicode pointer 2020-10-14 22:13:38 +02:00
udkapi
uitest
UnoControls
unodevtools
unoidl tdf#124176: Using pragma once 2020-10-18 10:24:35 +02:00
unoil
unotest
unotools Changed font order for Korean locale tdf#137392 2020-10-12 13:27:01 +02:00
unoxml
ure
uui
vbahelper
vcl use SetControlFont instead of SetPointFont to get the right size 2020-10-18 21:40:41 +02:00
winaccessibility
wizards
writerfilter related tdf#108944 writerfilter: fix another missing ftn separator 2020-10-14 20:20:39 +02:00
writerperfect writerfilter: use the fastparser API when possible 2020-10-16 14:18:19 +02:00
xmerge
xmlhelp
xmloff OOo2Oasis: use the fastparser API when possible 2020-10-17 18:07:02 +02:00
xmlreader
xmlscript
xmlsecurity More fixes of uses of now-explicit OUString ctor taking raw sal_Unicode pointer 2020-10-14 22:13:38 +02:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore
.gitmodules
.gitpod.dockerfile
.gitpod.yml
.gitreview
antivirusDetection.vbs
autogen.sh Enable building for WSL (Linux) on WSL 2020-10-09 17:27:24 +02:00
BUCK
config.guess
config.sub
config_host.mk.in Rename CLANG_CC, CLANG_CXX configuration vars (avoid clash with scan-build) 2020-10-16 11:21:27 +02:00
config_host_lang.mk.in
configure.ac fix build with box2d 2.4.0 2020-10-17 14:19:44 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst
g
hardened_runtime.xcent.in
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in
README.cross
README.md
README.Solaris
Repository.mk
RepositoryExternal.mk pdfium: remove non-public headers from include path 2020-10-08 12:40:31 +02:00
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk
sanitize-ubsan-excludelist
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 2019 version 16.4
  • 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

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.