Test repository to check push and ssh key
Find a file
Caolán McNamara 66693d82ba merge FillTypeLB with SvxFillTypeBox
Change-Id: Ia6229e8cc04c88e6740a12648c50cf5efca3bbd0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88067
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-06 13:11:54 +01:00
.git-hooks git hooks: update commit-msg to Gerrit 2.16.15 2020-02-01 04:14:09 +01:00
.github
accessibility make update_pch also consider files in <module>/src/**/inc 2020-02-01 20:12:21 +01:00
android tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
animations
apple_remote
avmedia drop some unneeded includes 2020-02-03 11:30:12 +01:00
basctl drop newly unused FontSizeBox 2020-02-06 12:44:26 +01:00
basegfx loplugin:constantparam 2020-02-03 10:53:01 +01:00
basic make update_pch also consider files in <module>/src/**/inc 2020-02-01 20:12:21 +01:00
bean tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
bin find more symbols that can be private 2020-02-06 06:54:51 +01:00
binaryurp
bridges
canvas loplugin:makeshared (clang-cl) 2020-02-03 23:38:37 +01:00
chart2 tdf#130389: Data ranges dialog, data series tab, move up/down reversed 2020-02-04 15:31:38 +01:00
cli_ure
codemaker
comphelper make update_pch also consider files in <module>/src/**/inc 2020-02-01 20:12:21 +01:00
compilerplugins merge FillTypeLB with SvxFillTypeBox 2020-02-06 13:11:54 +01:00
config_host HAVE_GCC_ATTRIBUTE_WARN_UNUSED should always be true now for Clang/GCC 2020-01-28 18:35:49 +01:00
configmgr std::set<T*> -> o3tl::sorted_vector 2020-02-04 10:09:04 +01:00
connectivity Log swallowed exception 2020-02-06 10:58:37 +01:00
cppcanvas make update_pch also consider files in <module>/src/**/inc 2020-02-01 20:12:21 +01:00
cppu
cppuhelper make update_pch also consider files in <module>/src/**/inc 2020-02-01 20:12:21 +01:00
cpputools
cui merge FillTypeLB with SvxFillTypeBox 2020-02-06 13:11:54 +01:00
dbaccess loplugin:unusedfields 2020-02-03 13:40:39 +01:00
desktop tdf#130080 soffice.sh: Avoid exporting empty LC_ALL 2020-02-05 15:46:15 +01:00
dictionaries@3097066a2e
distro-configs
drawinglayer remove bitmapprimitive2d.{cxx,hxx} from clang-format blacklist 2020-02-03 23:23:49 +01:00
dtrans loplugin:nullptr (clang-cl) 2020-02-04 08:01:39 +01:00
editeng rename nPropFirstLineOfst->nPropFirstLineOffset 2020-02-06 12:04:28 +01:00
embeddedobj tdf#96505 Get rid of cargo cult "long" integer literals . 2020-02-04 18:27:25 +01:00
embedserv
emfio make update_pch also consider files in <module>/src/**/inc 2020-02-01 20:12:21 +01:00
eventattacher
extensions tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
external Revert "upgrade to latest glm" 2020-02-06 09:53:29 +01:00
extras svtlo-FontSizeBox now appears in no .ui file 2020-02-06 12:18:08 +01:00
filter Fix typo 2020-02-05 11:23:27 +01:00
forms make update_pch also consider files in <module>/src/**/inc 2020-02-01 20:12:21 +01:00
formula
fpicker loplugin:makeshared (clang-cl) 2020-02-03 23:38:37 +01:00
framework make update_pch also consider files in <module>/src/**/inc 2020-02-01 20:12:21 +01:00
helpcompiler
helpcontent2@578a5c008a Update git submodules 2020-02-05 21:56:28 +01:00
hwpfilter loplugin:duplicatedefines (clang-cl) 2020-02-03 20:28:22 +01:00
i18nlangtag android: Set the correct path for the liblangtag data. 2020-02-01 09:26:59 +01:00
i18npool tdf#129240 More date acceptance patterns for Hungarian language 2020-01-31 19:51:53 +01:00
i18nutil
icon-themes Sifr: Update Gamma icons in Sidebar and Tabbed bar 2020-01-28 23:33:13 +01:00
idl
idlc
include merge FillTypeLB with SvxFillTypeBox 2020-02-06 13:11:54 +01:00
instsetoo_native tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
io
ios
javaunohelper tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
jurt These tests don't need gb_JunitTest_use_jar_classset,*,jurt 2020-02-06 12:59:11 +01:00
jvmaccess
jvmfwk tdf#96505: Get rid of cargo cult long integer literals 2020-02-03 15:45:39 +01:00
l10ntools avoid flex-caused warnings about unused functions 2020-02-03 16:33:20 +01:00
librelogo
libreofficekit
lingucomponent
linguistic tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
lotuswordpro LWP: add unittest for char/para properties 2020-02-05 16:11:04 +01:00
m4
nlpsolver tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
o3tl
odk tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
offapi tdf#45589 offapi,officecfg,sw: add option to toggle bookmark display 2020-01-31 17:23:19 +01:00
officecfg Allow opt-out from document events check 2020-02-04 22:19:41 +01:00
onlineupdate
oovbaapi
oox CppunitTest_oox_shape: remove unused includes 2020-02-06 09:55:27 +01:00
opencl
osx
package make update_pch also consider files in <module>/src/**/inc 2020-02-01 20:12:21 +01:00
pch
postprocess
pyuno
qadevOOo tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
readlicense_oo
registry clang-tidy modernize-concat-nested-namespace 2020-01-31 18:36:09 +01:00
remotebridges
reportbuilder tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
reportdesign drop unnecessary include 2020-02-06 13:11:37 +01:00
ridljar These JunitTests can be plain check, not subsequentcheck 2020-02-06 11:34:20 +01:00
sal loplugin:unsignedcompare (clang-cl) 2020-02-03 20:27:29 +01:00
salhelper
sax
sc rename nPropFirstLineOfst->nPropFirstLineOffset 2020-02-06 12:04:28 +01:00
scaddins clang-tidy modernize-concat-nested-namespace 2020-01-31 18:36:09 +01:00
sccomp
schema
scp2 tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
scripting tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
sd merge FillTypeLB with SvxFillTypeBox 2020-02-06 13:11:54 +01:00
sdext replace boost::bimap in sdext pdfimport 2020-02-04 10:33:04 +01:00
setup_native Set INSTALLLOCATION in one single place 2020-02-03 21:51:37 +01:00
sfx2 lok: writer: Convert row height / cloumn width to the correct unit. 2020-02-05 13:00:10 +01:00
shell loplugin:stringadd (clang-cl) 2020-02-03 23:47:01 +01:00
slideshow Revert "upgrade to latest glm" 2020-02-06 09:53:29 +01:00
smoketest tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
solenv svtlo-FontSizeBox now appears in no .ui file 2020-02-06 12:18:08 +01:00
soltools
sot
starmath make update_pch also consider files in <module>/src/**/inc 2020-02-01 20:12:21 +01:00
stoc Be more verbose about JNI errors at least with --enable-dbgutil 2020-02-06 11:16:42 +01:00
store
svgio make update_pch also consider files in <module>/src/**/inc 2020-02-01 20:12:21 +01:00
svl show Korean Dangi Calendar format tdf#125446 2020-02-04 16:03:31 +01:00
svtools drop unnecessary include 2020-02-06 13:11:37 +01:00
svx merge FillTypeLB with SvxFillTypeBox 2020-02-06 13:11:54 +01:00
sw merge FillTypeLB with SvxFillTypeBox 2020-02-06 13:11:54 +01:00
swext tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
sysui
test make some headers private 2020-02-03 20:24:00 +01:00
testtools tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
toolkit move some toolkit/ headers inside the module 2020-02-05 07:11:33 +01:00
tools loplugin:unsignedcompare (clang-cl) 2020-02-03 20:27:29 +01:00
translations@37a6f521ec
ucb clang-tidy modernize-concat-nested-namespace 2020-01-31 18:36:09 +01:00
ucbhelper move some headers inside ucbhelper 2020-02-04 06:21:41 +01:00
udkapi
uitest tdf#129568 Rename Default Style to Default Paragraph/Page/Table Style 2020-02-02 15:40:45 +01:00
UnoControls
unodevtools clang-tidy modernize-concat-nested-namespace 2020-01-31 18:36:09 +01:00
unoidl avoid flex-caused warnings about unused functions 2020-02-03 16:33:20 +01:00
unoil tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
unotest tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
unotools deb#949754: unotools,officecfg: don't ODF export using ODFVER_UNKNOWN 2020-02-04 16:15:42 +01:00
unoxml make update_pch also consider files in <module>/src/**/inc 2020-02-01 20:12:21 +01:00
ure tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
uui tdf#42949 Fix IWYU warnings in uui/ 2020-02-04 13:25:51 +01:00
vbahelper make update_pch also consider files in <module>/src/**/inc 2020-02-01 20:12:21 +01:00
vcl drop unnecessary include 2020-02-06 13:11:37 +01:00
winaccessibility Fix typo 2020-02-06 07:08:32 +01:00
wizards tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
writerfilter DOCX import: don't give up on floating tables in headers completely 2020-02-06 09:08:17 +01:00
writerperfect clang-tidy modernize-concat-nested-namespace 2020-01-31 18:36:09 +01:00
xmerge tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
xmlhelp
xmloff move some xmloff/ headers inside the module 2020-02-03 08:12:09 +01:00
xmlreader
xmlscript make update_pch also consider files in <module>/src/**/inc 2020-02-01 20:12:21 +01:00
xmlsecurity tdf:#54938Adapt supportsService implementations to cppu::supportsService 2020-02-03 15:40:05 +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 Fix typo 2020-01-29 07:06:44 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst Revert "upgrade to latest glm" 2020-02-06 09:53:29 +01:00
g
hardened_runtime.xcent
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in
README.cross
README.md Self-certify LibreOffice licenses as OSI-approved 2020-02-06 10:13:55 +01:00
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.