Test repository to check push and ssh key
Find a file
Vikas Mahato 842af51096 Import ODF with data transformations
Change-Id: Iee76ed28d0dcd4ee57115ec951a181b2cf8d35fd
Reviewed-on: https://gerrit.libreoffice.org/57239
Tested-by: Jenkins
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-07-20 22:45:23 +02:00
.git-hooks
accessibility accessibility : move ensureIsAlive outside of implGetText and implGetLocale 2018-07-15 09:44:25 +02:00
android Developer Mode 2018-07-15 12:47:11 +02:00
animations Add missing sal/log.hxx headers 2018-07-09 10:49:06 +02:00
apple_remote
avmedia Add missing sal/log.hxx headers 2018-07-09 10:49:06 +02:00
basctl Remove commented-out code from bastypes.cxx 2018-07-20 22:44:32 +02:00
basegfx Fix typos 2018-07-20 12:34:10 +02:00
basic Fix typos 2018-07-18 09:52:44 +02:00
bean Fix typos 2018-07-18 12:49:03 +02:00
bin remove the GL based 3D charts 2018-07-17 02:59:19 +02:00
binaryurp
bridges Add missing sal/log.hxx headers 2018-07-09 10:49:06 +02:00
canvas tdf#118107 canvas opengl: avoid assertion failure with negative widths 2018-07-20 15:46:48 +02:00
chart2 Fix typos 2018-07-19 13:59:35 +02:00
cli_ure Add missing sal/log.hxx headers 2018-07-09 10:49:06 +02:00
codemaker Add missing sal/log.hxx headers 2018-07-09 10:49:06 +02:00
comphelper loplugin:unusedfields - look for fields that can be const, in comphelper 2018-07-20 14:12:57 +02:00
compilerplugins loplugin:useuniqueptr in HTMLTable 2018-07-20 15:24:27 +02:00
config_host Drop TEST_FONTS_MISSING for HAVE_MORE_FONTS 2018-07-07 22:27:35 +02:00
configmgr Add missing sal/log.hxx headers 2018-07-09 10:49:06 +02:00
connectivity Add missing sal/log.hxx headers 2018-07-16 12:24:49 +02:00
cppcanvas Add missing sal/log.hxx headers 2018-07-16 12:24:49 +02:00
cppu Add missing sal/log.hxx headers 2018-07-16 12:24:49 +02:00
cppuhelper Fix typos 2018-07-19 13:59:35 +02:00
cpputools Add missing sal/log.hxx headers 2018-07-16 12:24:49 +02:00
cui tdf#118304 reselect current glyph on changing font 2018-07-19 16:52:49 +02:00
dbaccess Fix typos 2018-07-18 12:49:03 +02:00
desktop Allow the comphelper threadpool to be reset after construction. 2018-07-18 22:28:51 +02:00
dictionaries@43f9b34b3b reset submodules to their corresponding branch 2018-07-04 22:45:06 +02:00
distro-configs enable html-help for Linux, Windows and Mac distro-configs 2018-07-04 16:31:26 +02:00
drawinglayer Fix typos 2018-07-18 12:49:03 +02:00
dtrans
editeng Fix typos 2018-07-20 18:55:16 +02:00
embeddedobj remove the GL based 3D charts 2018-07-17 02:59:19 +02:00
embedserv tdf#96099 Remove some trivial container iterator typedefs 2018-06-26 09:29:25 +02:00
emfio loplugin:unusedfields improve checking for write-only fields 2018-07-02 08:47:48 +02:00
eventattacher
extensions Fix typos 2018-07-18 12:49:03 +02:00
external pdfium: update to 3471 2018-07-18 09:13:06 +02:00
extras Added 20 autocorrect words to pt_PT 2018-06-25 00:47:24 +02:00
filter Related: rhbz#1602589 dead_error_line: Execution cannot reach this statement 2018-07-18 16:42:52 +02:00
forms Fix typos 2018-07-20 18:55:16 +02:00
formula Do not force all string results to be recalculated if no style set 2018-07-18 23:21:26 +02:00
fpicker
framework Fix typos 2018-07-19 14:01:01 +02:00
helpcompiler
helpcontent2@faeb714c09 Update git submodules 2018-07-20 13:22:51 +02:00
hwpfilter
i18nlangtag
i18npool Check string length before copying, tdf#115007 follow-up 2018-06-27 20:08:08 +02:00
i18nutil Upgrade to ICU 62.1 2018-07-16 17:36:35 +02:00
icon-themes KJ:^ PDF 32px, caption 16px, Writer's sidebar icons 2018-07-20 07:48:23 +02:00
idl SvPersistBase no longer necessary 2018-07-16 08:39:11 +02:00
idlc tdf#42949 Fix IWYU warnings in include/osl/*hxx 2018-07-10 11:45:42 +02:00
include tdf#118662 Cleanup old hack with cloned SdrCaptionObj 2018-07-20 20:29:11 +02:00
instsetoo_native tdf#118303 - Wrong converting of the Vendor-String 2018-06-25 12:57:47 +02:00
io Fix typos 2018-07-18 12:49:03 +02:00
ios Use $(ICU_MAJOR) instead of hard coded (Upgrade to ICU 62.1) 2018-07-17 17:41:10 +02:00
javaunohelper Fix typos 2018-07-18 12:49:03 +02:00
jurt
jvmaccess
jvmfwk tdf#96099 Remove some trivial container iterator typedefs 2018-06-26 09:29:25 +02:00
l10ntools
librelogo
libreofficekit coverity#1437959 Copy into fixed size buffer 2018-07-16 09:44:32 +02:00
lingucomponent tdf#118647: Improve handling of system spell dictionaries on macOS 2018-07-10 11:11:06 +02:00
linguistic Fix typos 2018-07-18 12:49:03 +02:00
lotuswordpro Fix typos 2018-07-20 12:35:10 +02:00
m4
mysqlc
nlpsolver tdf#43388: add missing info for Evolutionary Algorithm Solver 2018-06-26 07:51:35 +02:00
o3tl
odk
offapi remove the GL based 3D charts 2018-07-17 02:59:19 +02:00
officecfg tdf#118402 Add ellipsis to New -> Templates 2018-07-20 13:08:37 +02:00
onlineupdate
oovbaapi
oox use sequenceToContainer and simplify iterator usage 2018-07-19 17:43:56 +02:00
opencl
osx
package clean up UNO available() implementations 2018-07-11 12:55:47 +02:00
postprocess Pattern words are the first argument for filter 2018-06-30 11:06:15 +02:00
pyuno const fixes for python3-devel-3.7.0-1.fc29.x86_64 2018-07-03 17:26:48 +02:00
qadevOOo Fix typos 2018-07-18 12:49:03 +02:00
readlicense_oo
registry
remotebridges
reportbuilder
reportdesign Fix typos 2018-07-20 12:34:10 +02:00
ridljar Fix typo 2018-07-08 10:01:48 +02:00
sal tdf#42949 Fix IWYU warnings in include/osl/*hxx 2018-07-10 11:45:42 +02:00
salhelper
sax tdf#79878 perf loading docx file, pendingChars 2018-07-20 08:58:45 +02:00
sc Import ODF with data transformations 2018-07-20 22:45:23 +02:00
scaddins scaddins: Drop unused stuff 2018-07-02 07:43:19 +02:00
sccomp
schema tdf#101856 odt: write/read new bookmark attributes: unit test 2018-07-06 10:22:53 +02:00
scp2 tdf#118717 add Kabyle (kab) user interface package 2018-07-12 14:03:06 +02:00
scripting cid#1437407: create class loader in doPrivileged 2018-07-05 21:58:34 +02:00
sd Removed executable permission on odp file 2018-07-19 18:55:53 +02:00
sdext Break HashedStyle::RefCount out into new RefCountedHashdStyle 2018-06-27 18:39:33 +02:00
setup_native Fix typos 2018-07-19 18:54:50 +02:00
sfx2 Fix typos 2018-07-20 18:55:16 +02:00
shell tdf#42949 Fix IWYU warnings in include/osl/*hxx 2018-07-10 11:45:42 +02:00
slideshow -Werror=deprecated-copy (GCC trunk towards GCC 9) 2018-07-04 18:05:35 +02:00
smoketest
solenv gla11y: Enable warnings for all orphan labels 2018-07-20 16:46:18 +02:00
soltools
sot return SvMemoryStream by std::unique_ptr 2018-07-12 08:27:29 +02:00
starmath tdf#118681 make sure we're using the right font char map 2018-07-16 18:22:39 +02:00
stoc tdf#96099 Remove trivial container typedefs in stoc, svl, svx, sw 2018-06-25 09:11:16 +02:00
store
svgio crashtesting: infinite recurse on moz330387-6.svg 2018-07-18 15:37:16 +02:00
svl return SfxStyleSheetIterator by std::unique_ptr 2018-07-19 15:40:45 +02:00
svtools tdf#108012 - Clicking in the font field should select the contents 2018-07-19 13:03:33 +02:00
svx tdf#118662 Cleanup old hack with cloned SdrCaptionObj 2018-07-20 20:29:11 +02:00
sw tdf#118662 Cleanup old hack with cloned SdrCaptionObj 2018-07-20 20:29:11 +02:00
swext
sysui Fix typos 2018-07-18 12:49:03 +02:00
test Fix typo 2018-07-09 09:49:22 +03:00
testtools tdf#84323 - sal - add sane sleep interface: cleanup osl_waitThread 2018-07-08 11:48:40 +02:00
toolkit Fix typos 2018-07-19 13:54:05 +02:00
tools Fix typos 2018-07-18 12:49:03 +02:00
translations@1ed5e59b7c Update git submodules 2018-07-12 13:55:03 +02:00
ucb clean up UNO available() implementations 2018-07-11 12:55:47 +02:00
ucbhelper clean up UNO available() implementations 2018-07-11 12:55:47 +02:00
udkapi
uitest uitests - error if UITEST_TEST_NAME not set to anything useful 2018-07-10 08:29:55 +02:00
UnoControls
unodevtools
unoidl tdf#42949 Fix IWYU warnings in include/osl/*hxx 2018-07-10 11:45:42 +02:00
unoil
unotest test: invoke ODF validator with custom schemas 2018-06-29 12:59:30 +02:00
unotools clean up UNO available() implementations 2018-07-11 12:55:47 +02:00
unoxml
ure
uui
vbahelper
vcl Fix typos 2018-07-20 18:55:16 +02:00
winaccessibility Add missing sal/log.hxx headers 2018-07-12 10:40:25 +02:00
wizards Access2Base - tdf#118767 Fix DLookup for Firebird 2018-07-19 19:02:30 +02:00
writerfilter tdf#103961 writerfilter: parentless styles need pPrDefault(s) 2018-07-20 15:25:13 +02:00
writerperfect Add missing sal/log.hxx headers 2018-07-12 10:40:25 +02:00
xmerge
xmlhelp Add missing sal/log.hxx headers 2018-07-12 10:40:25 +02:00
xmloff Fix typos 2018-07-19 17:53:45 +02:00
xmlreader
xmlscript Add missing sal/log.hxx headers 2018-07-12 10:40:25 +02:00
xmlsecurity writerfilter, xmlsecurity: various small cleanups 2018-07-20 10:00:34 +02:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.gitattributes
.gitignore
.gitmodules
.gitreview
autogen.sh autogen.sh: fix out-of-tree module Makefiles for Win32 make 2018-06-30 00:22:31 +02:00
BUCK
config.guess
config.sub
config_host.mk.in add --enable-gdb-index for --gdb-index from gold/lld 2018-07-04 15:36:41 +02:00
config_host_lang.mk.in
configure.ac Don't search for old (<= 2.0) .NET SDK anymore 2018-07-20 10:40:20 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst pdfium: update to 3471 2018-07-18 09:13:06 +02:00
g ./g: don't exit early on ./g checkout -f 2018-07-02 23:51:08 +02:00
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent.in
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in
README.cross
README.md Say VS2017 here, too 2018-07-12 16:46:27 +03:00
README.Solaris
Repository.mk drop reference to removed chart2_opengl_shader 2018-07-17 09:30:54 +01:00
RepositoryExternal.mk
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk
sanitize-ubsan-blacklist
TEMPLATE.SOURCECODE.HEADER

LibreOffice

Coverity Scan Build Status CII Best Practices

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
  • macOS:
    • Runtime: 10.9
    • Build: 10.12 + Xcode 8
  • Linux:
    • Runtime: RHEL 6 or CentOS 6
    • Build: GCC 4.8.1 or Clang
  • iOS (only for LibreOfficeKit):
    • Runtime: 11.4 (only support for newer i devices == 64 bit)
    • Build: Xcode 9.3 and iPhone SDK 11.4

At least Clang 3.4.2 is known to be too old to pass the configure.ac check "whether $CXX supports C++17, C++14, or C++11" in its current form (due to the #pragma GCC diagnostic ignored "-Wpragmas" that it does not understand).

If you want to use Clang with the LibreOffice compiler plugins, the minimal version of Clang is 3.8. 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.

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.