Test repository to check push and ssh key
Find a file
Xisco Fauli eef7fab896 tdf#120761: sw_ww8import: fix typo in unittest
Change-Id: Ia8fef7dea598cd2ea1513908f69e0176c057900b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115309
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-05-10 10:54:19 +02:00
.git-hooks git pre-commit hook: fix typo 2021-04-28 12:30:34 +02:00
.github
.vscode
accessibility loplugin:constmethod 2021-05-05 18:50:51 +02:00
android tdf#142153 android: Delete unused textures immediately 2021-05-07 18:32:04 +02:00
animations throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite 2021-05-02 17:02:28 +02:00
apple_remote Updated README.md files 2021-04-19 11:13:41 +02:00
avmedia throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite 2021-05-02 17:02:28 +02:00
basctl loplugin:unusedmethods 2021-05-06 22:17:16 +02:00
basegfx Updated README.md files 2021-04-19 11:13:41 +02:00
basic cid#1474072 silence Untrusted loop bound 2021-05-07 11:56:11 +02:00
bean
bin preserve comments before root entry 2021-05-07 09:46:33 +02:00
binaryurp throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite 2021-05-02 17:02:28 +02:00
bridges loplugin:noexcept (macOS) 2021-05-07 11:12:15 +02:00
canvas set also dashing cap style for directx canvas (tdf#136957) 2021-05-07 14:30:25 +02:00
chart2 clang-tidy error: Returning null reference 2021-05-09 11:25:43 +02:00
cli_ure Updated README.md files 2021-04-19 11:13:41 +02:00
codemaker throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite 2021-05-02 17:02:28 +02:00
comphelper loplugin:stringadd improvement for appending numbers 2021-05-03 15:32:53 +02:00
compilerplugins loplugin:unusedmethods 2021-05-06 22:17:16 +02:00
config_host
configmgr throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite 2021-05-02 17:02:28 +02:00
connectivity loplugin:noexcept (macOS) 2021-05-04 07:44:27 +02:00
cppcanvas transform by vector length, not just X 2021-05-06 11:21:48 +02:00
cppu throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite 2021-05-02 17:02:28 +02:00
cppuhelper throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite 2021-05-02 17:02:28 +02:00
cpputools
cui add glade header for uniformity 2021-05-07 09:45:41 +02:00
dbaccess ref-count SfxItemPool 2021-05-08 17:36:54 +02:00
desktop desktop, lokclipboard: avoid repeating the return type from the declaration 2021-05-07 09:29:16 +02:00
dictionaries@cb1b834e00 Update git submodules 2021-04-27 11:36:59 +02:00
distro-configs WASM: add distro config, amend readme 2021-05-05 21:16:02 +02:00
drawinglayer add a unittest for impress drawing a dotted line in tdf#136957 2021-05-06 11:23:11 +02:00
editeng do not leak SdrObject global pool on shutdown 2021-05-10 08:43:19 +02:00
embeddedobj embeddedobj: handle getting the visible area on a thread 2021-05-07 14:21:40 +02:00
embedserv
emfio tdf#55058 tdf#141982 EMF: Add rotation support for INTERSECTCLIPRECT record 2021-05-07 21:02:22 +02:00
eventattacher
extensions ref-count SfxItemPool 2021-05-08 17:36:54 +02:00
external external/python3: Mark configure part of darwin.patch.0 as reported upstream 2021-05-07 10:18:10 +02:00
extras tdf#141933 add preset dash styles with round cap 2021-05-05 13:42:30 +02:00
filter tdf#123476: also use filter by extension when its service is the same 2021-05-03 18:38:38 +02:00
forms ref-count SfxItemPool 2021-05-08 17:36:54 +02:00
formula tdf#79049 speed up OOXML workbook load (4) 2021-05-02 10:00:43 +02:00
fpicker loplugin:moveopt 2021-04-27 22:11:58 +02:00
framework loplugin:constmethod 2021-05-05 18:50:51 +02:00
helpcompiler
helpcontent2@cc7f7b0547 Update git submodules 2021-05-09 15:51:59 +02:00
hwpfilter
i18nlangtag Add English (Denmark) {en-DK} locale data 2021-05-06 17:46:52 +02:00
i18npool Add English (Denmark) {en-DK} locale data 2021-05-06 17:46:52 +02:00
i18nutil WASM: add initial support for Emscripten cross build 2021-05-05 21:14:54 +02:00
icon-themes KJ: tdf#141885 New Paste As Link icons 2021-04-29 11:33:56 +02:00
idl WASM: add initial support for Emscripten cross build 2021-05-05 21:14:54 +02:00
idlc loplugin:stringadd simplify some *StringBuffer operations 2021-04-29 18:25:31 +02:00
include vcl: move outdev.hxx flags into own headers 2021-05-10 09:38:08 +02:00
instsetoo_native tdf#141760 Increase a label box in Windows installer dialog 2021-04-20 14:25:04 +02:00
io throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite 2021-05-02 17:02:28 +02:00
ios Updated README.md files 2021-04-19 11:13:41 +02:00
javaunohelper
jurt
jvmaccess
jvmfwk loplugin:stringadd replace OUStringLiteral temporaries with OUString::Concat 2021-04-21 13:15:32 +02:00
l10ntools use more string_view in OString API 2021-04-19 12:11:43 +02:00
librelogo
libreofficekit Updated README.md files 2021-04-19 11:13:41 +02:00
lingucomponent
linguistic tdf#79049 speed up OOXML workbook load (4) 2021-05-02 10:00:43 +02:00
lotuswordpro loplugin:stringadd improvement for appending numbers 2021-05-03 15:32:53 +02:00
m4
nlpsolver clean up some Java warnings 2021-05-03 12:33:33 +02:00
o3tl Updated README.md files 2021-04-19 11:13:41 +02:00
odk
offapi final 'next incompatible build' TODO 2021-05-04 09:45:57 +02:00
officecfg tdf#90101 add .uno:PasteAsLink 2021-05-07 09:23:39 +02:00
onlineupdate
oovbaapi
oox crashtesting: failure on export of ooo26119-1.sxc to xlsx 2021-05-06 17:46:59 +02:00
opencl use more string_view in tools/stream 2021-04-27 09:27:44 +02:00
osx
package throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite 2021-05-02 17:02:28 +02:00
pch
postprocess fix component handling for ucpdav1 when --with-webdav=serf 2021-04-22 23:45:55 +02:00
pyuno loplugin:stringadd replace OUStringLiteral temporaries with OUString::Concat 2021-04-21 13:15:32 +02:00
qadevOOo weld SmEditTextWindow 2021-04-19 16:54:14 +02:00
readlicense_oo update credits 2021-05-06 15:27:25 +02:00
registry
remotebridges
reportbuilder clean up some Java warnings 2021-05-03 12:33:33 +02:00
reportdesign ref-count SfxItemPool 2021-05-08 17:36:54 +02:00
ridljar
sal WASM: add initial support for Emscripten cross build 2021-05-05 21:14:54 +02:00
salhelper
sax loplugin:stringadd improvement for appending numbers 2021-05-03 15:32:53 +02:00
sc Invalidate inputbar after size changed message 2021-05-10 09:00:16 +02:00
scaddins
sccomp
schema Add proposal link 2021-05-04 16:28:08 +02:00
scp2 Add Mongolian dictionary 2021-04-27 21:00:36 +02:00
scripting loplugin:stringadd simplify some *StringBuffer operations 2021-04-29 18:25:31 +02:00
sd ref-count SfxItemPool 2021-05-08 17:36:54 +02:00
sdext presenter : use std::mutex 2021-05-07 15:52:16 +02:00
setup_native Add Mongolian dictionary 2021-04-27 21:00:36 +02:00
sfx2 tdf#90101 add .uno:PasteAsLink 2021-05-07 09:23:39 +02:00
shell loplugin:stringadd (clang-cl) 2021-04-27 15:45:27 +02:00
slideshow remove support for BITMASK in vcl backends 2021-04-29 08:40:56 +02:00
smoketest
solenv Fix typos 2021-05-06 11:54:18 +02:00
soltools
sot convert sal_uLong in sot 2021-05-07 11:02:56 +02:00
starmath cid#1401328 silence Uncaught exception 2021-05-09 21:34:59 +02:00
stoc throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite 2021-05-02 17:02:28 +02:00
store
svgio svgio: instead of assert(false && ...) rather use SAL_WARN instead 2021-05-04 04:47:26 +02:00
svl ref-count SfxItemPool 2021-05-08 17:36:54 +02:00
svtools embeddedobj: handle getting the visible area on a thread 2021-05-07 14:21:40 +02:00
svx do not leak SdrObject global pool on shutdown 2021-05-10 08:43:19 +02:00
sw tdf#120761: sw_ww8import: fix typo in unittest 2021-05-10 10:54:19 +02:00
swext
sysui apparmor: Fix "oopslash" typo 2021-04-29 05:51:08 +02:00
test loplugin:stringadd replace OUStringLiteral temporaries with OUString::Concat 2021-04-21 13:15:32 +02:00
testtools throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite 2021-05-02 17:02:28 +02:00
toolkit final 'next incompatible build' TODO 2021-05-04 09:45:57 +02:00
tools loplugin:unnecessaryparen small improvement 2021-05-03 14:03:54 +02:00
translations@25d2fa3ee2 Update git submodules 2021-05-09 20:08:31 +02:00
ucb throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite 2021-05-02 17:02:28 +02:00
ucbhelper throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite 2021-05-02 17:02:28 +02:00
udkapi
uitest uitest: sd: simplify code 2021-05-04 15:07:14 +02:00
UnoControls throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite 2021-05-02 17:02:28 +02:00
unodevtools
unoidl throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite 2021-05-02 17:02:28 +02:00
unoil
unotest loplugin:stringadd replace OUStringLiteral temporaries with OUString::Concat 2021-04-21 13:15:32 +02:00
unotools loplugin:unusedmethods 2021-05-06 22:17:16 +02:00
unoxml throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite 2021-05-02 17:02:28 +02:00
ure Updated README.md files 2021-04-19 11:13:41 +02:00
uui
vbahelper loplugin:stringadd replace OUStringLiteral temporaries with OUString::Concat 2021-04-21 13:15:32 +02:00
vcl tdf#97066 - When using CTRL-A in a listbox, update selected items 2021-05-09 22:45:29 +02:00
wasm-qt WASM: add Emscripten demo application 2021-05-05 21:15:22 +02:00
winaccessibility
wizards ScriptForge - (scriptforge.py)Non-modal dialogs and OK/Cancel buttons 2021-05-06 14:46:19 +02:00
writerfilter tdf#128913 DOCX: import track changes of inline images 2021-05-06 16:19:05 +02:00
writerperfect use string_view in INetURLObject::encode 2021-04-28 15:41:02 +02:00
xmerge
xmlhelp throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite 2021-05-02 17:02:28 +02:00
xmloff tdf#76258 Add ODF import/export 2021-05-04 13:02:27 +02:00
xmlreader
xmlscript throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite 2021-05-02 17:02:28 +02:00
xmlsecurity WASM: add Emscripten demo application 2021-05-05 21:15:22 +02:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore WASM: add initial support for Emscripten cross build 2021-05-05 21:14:54 +02:00
.gitmodules
.gitpod.dockerfile
.gitpod.yml
.gitreview
antivirusDetection.vbs
autogen.sh WASM: add initial support for Emscripten cross build 2021-05-05 21:14:54 +02:00
BUCK
config.guess
config.sub
config_host.mk.in Add --enable-wasm-strip 2021-05-05 21:16:23 +02:00
config_host_lang.mk.in
configure.ac Fix typos 2021-05-06 11:54:18 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst update breakpad to the current chrome_m90 snapshot 2021-05-03 12:02:18 +02:00
g
hardened_runtime.xcent.in
install-sh
install_deps.sh
leak-suppress.txt
Library_merged.mk
lo.xcent
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in Run checks also on cross build toolchain 2021-05-05 21:14:12 +02:00
README.cross
README.md WASM: add initial support for Emscripten cross build 2021-05-05 21:14:54 +02:00
README.Solaris
README.wasm Fix typos 2021-05-06 11:54:18 +02:00
Repository.mk WASM: add initial support for Emscripten cross build 2021-05-05 21:14:54 +02:00
RepositoryExternal.mk Switch OPENSSL config var from negative to positive 2021-05-05 21:14:30 +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.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.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.