Test repository to check push and ssh key
Find a file
Seth Chaiklin 6c844f9bbc tdf#127294 replace one section tip of the day with 4 new section tips
Also adjusted wording on another section tip.

Change-Id: I8e24656f2cbf86a5da3bc2b8e204b2bc8d29b33c
Reviewed-on: https://gerrit.libreoffice.org/84965
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2019-12-16 14:03:56 +01:00
.git-hooks Don't count terminating newline when determining line length 2019-12-03 20:21:33 +01:00
.github
accessibility remove some unnecessary includes and update pches 2019-12-04 09:58:27 +01:00
android tdf#115698 android: Don't modify doc on color palette initialization 2019-12-12 14:30:57 +01:00
animations
apple_remote
avmedia Fix USE_AVMEDIA_DUMMY build after 2431477337 2019-12-16 13:28:48 +02:00
basctl use covariant return type for SfxPoolItem::Clone 2019-12-12 21:12:10 +01:00
basegfx basegfx: fix assertion text 2019-12-11 07:00:02 +01:00
basic VBA Enum statement TestCases 2019-12-14 10:40:29 +01:00
bean
bin Enable -Wdeprecated-copy-dtor where available 2019-12-12 22:00:31 +01:00
binaryurp
bridges loplugin:unusedmember (clang-cl) 2019-12-10 20:51:00 +01:00
canvas force vclcanvas use with Skia, like it's with OpenGL (tdf#129076) 2019-12-10 11:04:57 +01:00
chart2 tdf#129173 tdf#129175 Fix number format of data labels 2019-12-16 08:58:25 +01:00
cli_ure
codemaker
comphelper remove some useless comment lines 2019-12-03 12:46:27 +01:00
compilerplugins sc: rowcol: convert mark data 2019-12-14 13:34:41 +01:00
config_host Rename HAVE_GCC_BUG_87150 to HAVE_P1155R3 2019-12-14 13:40:18 +01:00
configmgr
connectivity tdf#42949 Fix IWYU warnings in connectivity/*/*hxx 2019-12-16 10:38:22 +01:00
cppcanvas
cppu Adapt CPPUNIT_ASSERT to C++20 deleted ostream << for sal_Unicode (aka char16_t) 2019-12-03 21:18:57 +01:00
cppuhelper Fix typo 2019-12-05 18:52:38 +01:00
cpputools
cui tdf#127294 replace one section tip of the day with 4 new section tips 2019-12-16 14:03:56 +01:00
dbaccess loplugin:expandablemethods 2019-12-13 08:12:45 +01:00
desktop loplugin:unusedfields 2019-12-13 07:05:10 +01:00
dictionaries@4fb010374f
distro-configs ofz#19296 disable skia for oss-fuzz 2019-12-09 12:10:50 +01:00
drawinglayer drawinglayer: log UnitType enum 2019-12-14 21:11:44 +01:00
dtrans loplugin:external (clang-cl) 2019-12-05 13:31:39 +01:00
editeng Rename HAVE_GCC_BUG_87150 to HAVE_P1155R3 2019-12-14 13:40:18 +01:00
embeddedobj Fix typo 2019-12-14 23:00:40 +01:00
embedserv loplugin:external (clang-cl) 2019-12-05 13:31:39 +01:00
emfio Fix some new dependencies on boost_headers 2019-12-06 21:33:55 +01:00
eventattacher
extensions loplugin:unusedmethods 2019-12-13 08:12:34 +01:00
external Enable -Wdeprecated-copy-dtor where available 2019-12-12 22:00:31 +01:00
extras Revert "Make font-based unit test depend on instdir fonts" 2019-12-16 12:58:35 +01:00
filter ofz#19525 Invalid enum value 2019-12-16 12:21:49 +01:00
forms loplugin:expandablemethods 2019-12-13 08:12:45 +01:00
formula remove some useless comment lines 2019-12-03 12:46:27 +01:00
fpicker loplugin:external (macOS) 2019-12-06 19:21:21 +01:00
framework Remove redundant member clear() from dtor 2019-12-12 14:58:07 +01:00
helpcompiler make some classes module private 2019-12-05 07:01:44 +01:00
helpcontent2@6ee3bd0f90 Update git submodules 2019-12-16 13:41:12 +01:00
hwpfilter
i18nlangtag
i18npool Adapt CPPUNIT_ASSERT to C++20 deleted ostream << for sal_Unicode (aka char16_t) 2019-12-03 21:18:57 +01:00
i18nutil
icon-themes Colibre: Fix for tdf#127415 2019-12-04 21:40:06 +01:00
idl
idlc
include Related tdf#105225: Remove old background tab page code 2019-12-16 06:22:09 +01:00
instsetoo_native tdf#128991 Make clear in the help installer 2019-12-11 15:51:37 +01:00
io Fix typo 2019-12-12 04:14:02 +01:00
ios android: Avoid throwing exceptions through the bridges. 2019-12-05 11:02:01 +01:00
javaunohelper
jurt
jvmaccess
jvmfwk unused #include 2019-12-16 12:59:09 +01:00
l10ntools remove some useless comment lines 2019-12-03 12:46:27 +01:00
librelogo
libreofficekit Prefer O3TL_UNREACHABLE over assert(false) 2019-12-09 16:25:00 +01:00
lingucomponent loplugin:expandablemethods 2019-12-13 08:12:45 +01:00
linguistic loplugin:expandablemethods 2019-12-13 08:12:45 +01:00
lotuswordpro
m4
nlpsolver
o3tl Adapt o3tl::span to P1872R0 2019-12-07 09:00:00 +01:00
odk Fix typo 2019-12-05 10:08:04 +01:00
offapi Don't deprecate XKeyListener and XMouseListener 2019-12-16 11:11:39 +01:00
officecfg tdf#37156 Writer menu: Paste as Nested table 2019-12-14 17:58:54 +01:00
onlineupdate
oovbaapi
oox loplugin:expandablemethods 2019-12-13 08:12:45 +01:00
opencl pickBestDevice return is ignored 2019-12-11 21:13:51 +01:00
osx
package
pch Removed duplicated includes 2019-12-04 07:06:49 +01:00
postprocess Revert "Make font-based unit test depend on instdir fonts" 2019-12-16 12:58:35 +01:00
pyuno tdf#97361: Removed getByTindex in Pyuno pytests 2019-12-05 16:51:36 +01:00
qadevOOo Fix typo 2019-12-05 10:22:19 +01:00
readlicense_oo update credits 2019-12-05 20:52:53 +01:00
registry Fix typo 2019-12-05 10:21:12 +01:00
remotebridges
reportbuilder
reportdesign loplugin:expandablemethods 2019-12-14 13:34:29 +01:00
ridljar
sal Fix typo 2019-12-11 14:10:21 +01:00
salhelper
sax cleanup "tdf#117274 XLSX export: fix VML comment shape type id" 2019-12-06 08:10:51 +01:00
sc crashtesting: null deref on load of tdf113898-2.ods 2019-12-16 13:50:29 +01:00
scaddins Remove some redundant user-provided dtors 2019-12-12 14:35:24 +01:00
sccomp
schema tdf#121658 Add option to not hyphenate words in CAPS 2019-12-06 12:00:37 +01:00
scp2 tdf#126192 tdf#126030 (related) Package translations of oox 2019-12-06 08:57:30 +01:00
scripting SbxArray: drop 16-bit indices 2019-12-09 14:18:25 +01:00
sd Related tdf#105225: Remove old background tab page code 2019-12-16 06:22:09 +01:00
sdext Fix build with poppler-0.83 2019-12-04 11:43:12 +01:00
setup_native
sfx2 loplugin:expandablemethods 2019-12-14 13:34:29 +01:00
shell loplugin:unusedmember (clang-cl) 2019-12-10 20:50:41 +01:00
slideshow Fix typo 2019-12-05 07:53:35 +01:00
smoketest
solenv Revert "Make font-based unit test depend on instdir fonts" 2019-12-16 12:58:35 +01:00
soltools
sot
starmath some std::set->o3tl::sorted_vector 2019-12-04 07:01:53 +01:00
stoc use scoped enum 2019-12-04 08:49:55 +01:00
store loplugin:nullptr 2019-12-06 19:20:29 +01:00
svgio Use initializer instead of using several inserts (svgio/svgtoken) 2019-12-03 12:02:55 +01:00
svl use covariant return type for SfxPoolItem::Clone 2019-12-12 21:12:10 +01:00
svtools loplugin:unusedmethods 2019-12-13 08:12:34 +01:00
svx tdf#127481 don't override SdrText::GetItemSet() for cells 2019-12-15 21:08:16 +01:00
sw sw: prefix members of SaveRedlEndPosForRestore, SwAutoCompleteClient, ... 2019-12-16 13:04:52 +01:00
swext
sysui
test Test results across all imported and inserted sheets. 2019-12-06 23:19:14 +01:00
testtools Fix IdentationError and mixture of spaces and tabs 2019-12-10 08:43:13 +01:00
toolkit weld Property Browser 2019-12-09 13:28:35 +01:00
tools SvFileStream::Lock/UnlockRange are only called from within SvFileStream itself 2019-12-12 13:19:10 +01:00
translations@6d4072204c
ucb loplugin:expandablemethods 2019-12-13 08:12:45 +01:00
ucbhelper remove some useless comment lines 2019-12-03 12:46:27 +01:00
udkapi
uitest Fix typo 2019-12-14 22:40:23 +01:00
UnoControls
unodevtools
unoidl
unoil
unotest
unotools remove some useless comment lines 2019-12-03 12:46:27 +01:00
unoxml
ure
uui
vbahelper
vcl tdf#127148 select-all on tabbing into version box in help->about 2019-12-14 20:13:59 +01:00
winaccessibility loplugin:external (clang-cl) 2019-12-05 13:31:39 +01:00
wizards Fix typo 2019-12-11 14:12:35 +01:00
writerfilter tdf#129242 Regression fixed for one cell table borders 2019-12-16 09:12:38 +01:00
writerperfect loplugin:expandablemethods 2019-12-13 08:12:45 +01:00
xmerge Fix typo 2019-12-05 10:22:46 +01:00
xmlhelp loplugin:unusedmethods 2019-12-13 08:12:34 +01:00
xmloff loplugin:expandablemethods 2019-12-13 08:12:45 +01:00
xmlreader
xmlscript remove some useless comment lines 2019-12-03 12:46:27 +01:00
xmlsecurity loplugin:external (clang-cl) 2019-12-05 13:31:39 +01:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.git-blame-ignore-revs Add commit to ignore list 2019-12-11 11:32:30 +01:00
.gitattributes
.gitignore
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in Enable -Wdeprecated-copy-dtor where available 2019-12-12 22:00:31 +01:00
config_host_lang.mk.in
configure.ac Rename HAVE_GCC_BUG_87150 to HAVE_P1155R3 2019-12-14 13:40:18 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst update Skia to chrome/m80 2019-12-12 11:01:41 +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
README.Solaris
Repository.mk Revert "Make font-based unit test depend on instdir fonts" 2019-12-16 12:58:35 +01:00
RepositoryExternal.mk
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk Revert "Make font-based unit test depend on instdir fonts" 2019-12-16 12:58:35 +01:00
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.