Test repository to check push and ssh key
Find a file
Caolán McNamara 7ae27fd38e add use-underline to color picker button
Change-Id: Ice9d2a155c4237b30134bd8faf7931ec980829e2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118316
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-07-02 17:08:45 +02:00
.git-hooks
.github
.vscode
accessibility convert AccessibleBrowseBoxObjType to scoped enum 2021-07-02 12:37:25 +02:00
android tdf#142618 android: Don't crash when passed MIME type is null 2021-06-13 20:49:21 +02:00
animations
apple_remote -Werror,-Wunused-but-set-variable (Clang 13 trunk) 2021-06-10 15:52:51 +02:00
avmedia tdf#130428 remove unnecessary usage of SfxItemState::UNKNOWN 2021-06-18 11:10:56 +02:00
basctl bundle the FolderPicker instantiations behind a single call 2021-06-21 15:29:59 +02:00
basegfx loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
basic tdf#143081: fix Basic Replace() function crashes LO 2021-07-01 08:37:49 +02:00
bean
bin find-unneeded-includes: introduce --dontstop switch 2021-06-28 08:58:02 +02:00
binaryurp
bridges
canvas loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
chart2 Purge out rtl::math::setInf 2021-07-01 00:39:17 +02:00
cli_ure
codemaker codemaker : remove useless includes 2021-06-26 16:44:33 +02:00
comphelper Enable flushing accumulated Trace Events when their number reaches a limit 2021-06-29 16:01:53 +02:00
compilerplugins convert AccessibleBrowseBoxObjType to scoped enum 2021-07-02 12:37:25 +02:00
config_host configure: Improve help-options handling 2021-06-22 14:25:51 +02:00
configmgr
connectivity loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
cppcanvas
cppu loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
cppuhelper
cpputools
cui tidy up impress bullets and numbering dialog 2021-07-02 16:46:17 +02:00
dbaccess convert AccessibleBrowseBoxObjType to scoped enum 2021-07-02 12:37:25 +02:00
desktop Avoid accumulating a huge number of Trace Events before calling the callback 2021-06-30 09:19:58 +02:00
dictionaries@01bb1d2c47 Update git submodules 2021-07-01 22:48:15 +02:00
distro-configs use --disable-xmlhelp for fuzzing 2021-06-26 15:28:00 +02:00
drawinglayer Fix code style for primitive2dxmldump.cxx 2021-07-02 04:08:15 +02:00
editeng can allocate these SfxItemSet on the stack 2021-07-02 15:34:38 +02:00
embeddedobj
embedserv -Werror,-Wunused-but-set-parameter (clang-cl 13 trunk) 2021-06-25 21:12:22 +02:00
emfio EMF+ tdf#142995 tdf#142997 tdf#143076 Add alignment support for DrawString 2021-07-01 23:50:31 +02:00
eventattacher
extensions Add back computation of excepinfo.bstrDescription length 2021-06-25 17:16:40 +02:00
external Mark external/harfbuzz/Wunused-but-set-variable.patch as fixed upstream 2021-06-28 11:57:36 +02:00
extras
filter can allocate these SfxItemSet on the stack 2021-07-02 15:34:38 +02:00
forms use string_view in the Translate API 2021-06-17 14:32:11 +02:00
formula loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
fpicker loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
framework sfx2: try to fix lifecycle of SfxOfficeDispatch 2021-06-30 18:40:27 +02:00
helpcompiler cross-toolset: fix real cross help building 2021-06-24 23:25:28 +02:00
helpcontent2@5eac8cf1a7 Update git submodules 2021-07-02 13:51:27 +02:00
hwpfilter Related: ofz#33724 detect earlier if comparison shape has no cshape 2021-07-01 12:27:58 +02:00
i18nlangtag
i18npool loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
i18nutil loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
icon-themes
idl loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
idlc loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
include no need to allocate return val on heap for GetItemSetForPreview 2021-07-02 15:53:15 +02:00
instsetoo_native
io
ios
javaunohelper
jurt
jvmaccess
jvmfwk Enable JVM also on macOS ARM64 2021-06-29 16:36:50 +02:00
l10ntools loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
librelogo
libreofficekit
lingucomponent -Werror,-Wunused-but-set-variable (Clang 13 trunk) 2021-06-10 17:35:59 +02:00
linguistic Simplify Sequences initializations (i*->p*) 2021-06-09 10:49:26 +02:00
lotuswordpro loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
m4
nlpsolver Global optimization metaheuristics sometimes are sensitive to the quality of the random numbers. 2021-06-21 08:48:50 +02:00
o3tl allow altering the max size of o3tl::lru_cache 2021-06-09 21:20:09 +02:00
odk Update documentation for uno executable 2021-07-01 10:19:55 +02:00
offapi new ODF numbered list parameter loext:num-list-format 2021-06-29 00:48:36 +02:00
officecfg these commands present a dialog so add ... to them 2021-07-02 16:15:09 +02:00
onlineupdate
oovbaapi
oox tdf#142235 PPTX export: fix styles with placeholders 2021-07-02 14:23:17 +02:00
opencl
osx
package Removed duplicated include 2021-06-23 12:19:07 +02:00
pch
postprocess configure: Improve help-options handling 2021-06-22 14:25:51 +02:00
pyuno
qadevOOo
readlicense_oo tdf#141709: Use poppler_data 2021-06-23 11:21:00 +02:00
registry
remotebridges
reportbuilder
reportdesign tdf#121715 XLSX: support custom first page header/footer 2021-06-29 11:21:01 +02:00
ridljar
sal Purge out setNan from math.cxx 2021-07-02 08:41:25 +02:00
salhelper
sax
sc can allocate these SfxItemSet on the stack 2021-07-02 15:34:38 +02:00
scaddins Purge rtl::math:: ( erf / erfc / expm1 ) 2021-07-02 07:53:02 +02:00
sccomp cid#1486008 Explicit null dereferenced 2021-06-20 15:16:42 +02:00
schema new ODF numbered list parameter loext:num-list-format 2021-06-29 00:48:36 +02:00
scp2 configure: Improve help-options handling 2021-06-22 14:25:51 +02:00
scripting loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
sd can allocate these SfxItemSet on the stack 2021-07-02 15:34:38 +02:00
sdext loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
setup_native
sfx2 tdf#143149 fix crash if app exits while print progress is running 2021-07-02 10:14:18 +02:00
shell -Werror,-Wunused-but-set-parameter (clang-cl 13 trunk) 2021-06-25 21:10:28 +02:00
slideshow loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
smoketest
solenv Fix code style for primitive2dxmldump.cxx 2021-07-02 04:08:15 +02:00
soltools loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
sot Simplify Sequence/vector initializations 2021-06-11 18:55:00 +02:00
starmath tdf#130428 remove unnecessary usage of SfxItemState::UNKNOWN 2021-06-18 11:10:56 +02:00
stoc Drop old MSVC workaround 2021-06-29 21:31:47 +02:00
store
svgio loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
svl no need to allocate return val on heap for GetItemSetForPreview 2021-07-02 15:53:15 +02:00
svtools convert AccessibleBrowseBoxObjType to scoped enum 2021-07-02 12:37:25 +02:00
svx add use-underline to color picker button 2021-07-02 17:08:45 +02:00
sw no need to allocate return val on heap for GetItemSetForPreview 2021-07-02 15:53:15 +02:00
swext
sysui Add URI handlers for MS Office URI Schemes on Linux/macOS 2021-06-28 17:53:33 +02:00
test tdf#142871 sw HTML export: avoid unwanted inner PNG for images 2021-07-01 18:25:01 +02:00
testtools
toolkit loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
tools ofz#35504 promote to double earlier 2021-06-29 12:13:33 +02:00
translations@491af494a9 Update git submodules 2021-06-24 14:40:43 +02:00
ucb loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
ucbhelper
udkapi
uitest uitest: combine create_doc_in_start_center methods 2021-06-30 15:26:57 +02:00
UnoControls
unodevtools
unoidl
unoil
unotest
unotools fix failure in JunitTest_unotools_complex 2021-06-30 11:30:49 +02:00
unoxml
ure Revert bogus drop of "rtl::" prefix in external code 2021-06-29 11:53:19 +02:00
uui tdf#66553 - Add file/product name to title bar for password managers 2021-06-09 21:45:53 +02:00
vbahelper loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
vcl convert SvSortMode to scoped enum 2021-07-02 12:37:42 +02:00
wasm-qt
winaccessibility wina11y: enum XInterfaceIndex -> enum class XInterfaceType 2021-06-28 15:34:10 +02:00
wizards ScriptForge - (SF_Exception) new PythonPrint() method 2021-07-02 10:50:09 +02:00
writerfilter tdf#119952 DOCX import: fix negative page margins 2021-07-02 15:08:24 +02:00
writerperfect bundle the FolderPicker instantiations behind a single call 2021-06-21 15:29:59 +02:00
xmerge dtd files are not xml files and shouldn't have xml headers 2021-06-09 12:41:53 +02:00
xmlhelp loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
xmloff Fix potential (but unlikely) overflow 2021-06-30 14:37:02 +02:00
xmlreader
xmlscript Simplify Sequences initializations (writerfilter/writerperfect/x*) 2021-06-11 16:03:10 +02:00
xmlsecurity xmlsecurity: remove last not needed direct pdfium dependency 2021-07-01 08:29:25 +02:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.git-blame-ignore-revs tdf#123936 Add formatting commits to .git-blame-ignore-revs 2021-07-01 10:19:17 +02:00
.gitattributes
.gitignore
.gitmodules
.gitpod.dockerfile
.gitpod.yml
.gitreview
antivirusDetection.vbs
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in
config_host_lang.mk.in
configure.ac python3: update to 3.8.10 2021-06-25 10:59:47 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst python3: update to 3.8.10 2021-06-25 10:59:47 +02:00
g
hardened_runtime.xcent.in
install-sh
install_deps.sh
leak-suppress.txt exclude more UNO type and crypto leaks 2021-06-30 13:22:32 +02:00
Library_merged.mk
lo.xcent
logerrit
Makefile.fetch tdf#141709: Use poppler_data 2021-06-23 11:21:00 +02:00
Makefile.gbuild
Makefile.in don't ignore dump_syms errors during symbol extraction 2021-06-17 22:48:02 +02:00
README.cross
README.help.md configure: Improve help-options handling 2021-06-22 14:25:51 +02:00
README.md
README.Solaris
README.wasm
Repository.mk configure: Improve help-options handling 2021-06-22 14:25:51 +02:00
RepositoryExternal.mk tdf#141709: Use poppler_data 2021-06-23 11:21:00 +02:00
RepositoryFixes.mk
RepositoryModule_build.mk configure: Improve help-options handling 2021-06-22 14:25:51 +02:00
RepositoryModule_host.mk configure: Improve help-options handling 2021-06-22 14:25:51 +02:00
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.5
  • 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
  • Emscripten / WASM:
    • Runtime: a browser with SharedMemory support (threads + atomics)
    • Build: Qt 5.15 with Qt supported Emscripten 1.39.8
    • See README.wasm

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.md 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.md 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.libera.chat - 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.