Test repository to check push and ssh key
Find a file
Xisco Fauli 2029a593f2 Removed unused code in python wizards
This code got unused after 5b3022860a

Change-Id: I6c198ab359f8468a9f4d9041b9bc4feb88eedd74
Reviewed-on: https://gerrit.libreoffice.org/49109
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2018-02-05 15:01:41 +01:00
.git-hooks
accessibility
android Fix adjust width/height behavior 2018-02-04 20:46:56 +01:00
animations
apple_remote
avmedia avmedia: move BitmapWriteAccess inside Bitmap 2018-02-02 07:44:37 +01:00
basctl tdf#42949 Remove unneeded helpids.h headers (1/3) 2018-02-01 15:19:36 +01:00
basegfx loplugin:unused-returns in basegfx..cppcanvas 2018-01-25 13:51:24 +01:00
basic basic: MSVC: pragma warning: make more specific, remove obsolete 2018-01-31 21:01:49 +01:00
bean bean: MSVC: pragma warning: make more specific, remove obsolete 2018-01-31 21:02:06 +01:00
bin uitest - add folder uitest/manual_tests to script 2018-02-05 14:56:52 +01:00
binaryurp
bridges bridges: MSVC: pragma warning: make more specific, remove obsolete 2018-01-31 21:02:42 +01:00
canvas vcl: remove BitmapColor Color() operator 2018-02-05 09:00:54 +01:00
chart2 chart2: remove dead code 2018-02-05 14:04:43 +01:00
cli_ure cli_ure: MSVC: pragma warning: make more specific, remove obsolete 2018-02-01 06:45:58 +01:00
codemaker coverity#1019311 silence Unchecked return value 2018-01-26 13:01:47 +00:00
comphelper silence coverity#1428735 Use of untrusted scalar value 2018-01-30 11:35:13 +00:00
compilerplugins loplugin:useuniqueptr in ImpEditEngine 2018-02-05 07:52:50 +01:00
config_host Introduce gtk3_kde5 vcl plugin 2018-01-23 13:38:46 +01:00
configmgr configmgr: MSVC: pragma warning: make more specific, remove obsolete 2018-02-01 06:46:02 +01:00
connectivity loplugin:useuniqueptr in OTable 2018-02-05 12:04:36 +01:00
cppcanvas vcl: remove BitmapColor Color() operator 2018-02-05 09:00:54 +01:00
cppu
cppuhelper cppuhelper: MSVC: pragma warning: make more specific, remove obsolete 2018-02-01 06:52:50 +01:00
cpputools
cui vcl: remove BitmapColor Color() operator 2018-02-05 09:00:54 +01:00
dbaccess loplugin:useuniqueptr in OTable 2018-02-05 12:04:36 +01:00
desktop desktop: MSVC: pragma warning: make more specific, remove obsolete 2018-02-01 06:52:53 +01:00
dictionaries@883b1cd4d8 Updated core 2018-02-04 22:03:10 +01:00
distro-configs
drawinglayer vcl: remove BitmapColor Color() operator 2018-02-05 09:00:54 +01:00
dtrans dtrans: MSVC: pragma warning: make more specific, remove obsolete 2018-02-01 06:52:57 +01:00
editeng loplugin:useuniqueptr in SvxAutoCorrectLanguageLists 2018-02-05 07:53:18 +01:00
embeddedobj embeddedobj: MSVC: pragma warning: make more specific, remove obsolete 2018-02-01 06:53:00 +01:00
embedserv embedserv: MSVC: pragma warning: make more specific, remove obsolete 2018-02-01 10:42:24 +01:00
emfio tweak clippath fuzzing path 2018-01-31 09:14:35 +00:00
eventattacher
extensions Replace some front/pop_front by for-range loops+clear 2018-02-02 12:07:12 +01:00
external tdf#114635: Add TWAINDSM.DLL to 64-bit Windows package 2018-02-03 07:49:12 +01:00
extras 34 new autocorrect words pt_PT 2018-01-19 20:24:00 +01:00
filter vcl: remove BitmapColor Color() operator 2018-02-05 09:00:54 +01:00
forms Typo: invlidateParameters->invalidateParameters (forms) 2018-02-01 18:23:40 +01:00
formula
fpicker fpicker: MSVC: pragma warning: make more specific, remove obsolete 2018-02-01 10:41:34 +01:00
framework tdf#108523 Removed @author annotations. 2018-02-05 11:19:23 +01:00
helpcompiler helpcompiler: MSVC: pragma warning: make more specific, remove obsolete 2018-02-01 10:41:16 +01:00
helpcontent2@0f7a354db9 Updated core 2018-02-01 15:28:35 +01:00
hwpfilter hwpfilter: MSVC: pragma warning: make more specific, remove obsolete 2018-02-01 17:57:42 +01:00
i18nlangtag i18nlangtag: MSVC: pragma warning: make more specific, remove obsolete 2018-02-01 10:41:02 +01:00
i18npool loplugin:useuniqueptr in i18npool 2018-02-02 11:12:15 +01:00
i18nutil Clean up of dirty hack. 2018-02-02 16:09:18 +01:00
icon-themes Breeze-icon: add 32px trackchangesbar icon for default writer bar 2018-02-02 08:47:40 +01:00
idl
idlc idlc: MSVC: pragma warning: make more specific, remove obsolete 2018-02-01 17:57:21 +01:00
include loplugin:useuniqueptr in E3DModifySceneSnapRectUpdater 2018-02-05 12:04:55 +01:00
instsetoo_native Revert "Windows installer: Use blank phone # instead of x-xxx-xxx-xxx" 2018-01-23 08:09:54 +01:00
io Fix typos 2018-01-24 21:03:32 +01:00
ios iOS, correctly build release/debug versions 2018-02-05 11:11:53 +01:00
javaunohelper
jurt Fix typos 2018-01-27 08:48:17 +01:00
jvmaccess
jvmfwk jvmfwk: MSVC: pragma warning: make more specific, remove obsolete 2018-02-01 17:56:41 +01:00
l10ntools remove some sal_Bool remnants 2018-01-22 07:04:29 +01:00
librelogo
libreofficekit
lingucomponent tdf#108523 Removed @author annotations. 2018-02-05 11:19:23 +01:00
linguistic Typ-o negativ 2018-01-30 12:16:37 +01:00
lotuswordpro loplugin:datamembershadow in XFCellStyle 2018-02-01 07:06:46 +01:00
m4
mysqlc remove connectivity OSubComponent 2018-02-02 11:21:36 +01:00
nlpsolver Fix typos 2018-01-27 08:49:38 +01:00
o3tl
odk odk: MSVC: pragma warning: make more specific, remove obsolete 2018-02-01 17:56:03 +01:00
offapi tdf#115319 references with Hungarian articles 2018-02-02 09:06:42 +01:00
officecfg Support for webdav:// and webdavs:// schemes from command line 2018-02-01 12:40:22 +01:00
onlineupdate
oovbaapi
oox Change bitmap table to store XBitmap instead of GraphicObject URL 2018-02-01 11:54:22 +01:00
opencl
osx
package loplugin:useuniqueptr in OInputCompStream 2018-01-25 14:12:43 +01:00
postprocess Fix typos 2018-01-29 13:26:15 +01:00
pyuno pyuno: MSVC: pragma warning: make more specific, remove obsolete 2018-02-02 05:57:45 +01:00
qadevOOo tdf#45904 Move _SheetCellRanges Java tests to C++ 2018-02-02 18:20:35 +01:00
readlicense_oo update credits 2018-01-24 15:38:24 +01:00
registry
remotebridges
reportbuilder Fix typos 2018-01-27 08:49:38 +01:00
reportdesign tdf#42949 Remove unneeded helpids.h headers (2/3) 2018-02-01 15:20:12 +01:00
ridljar Fix typos 2018-01-26 11:39:58 +01:00
sal sal: MSVC: pragma warning: make more specific, remove obsolete 2018-02-02 06:02:48 +01:00
salhelper salhelper: MSVC: pragma warning: make more specific, remove obsolete 2018-02-02 05:58:10 +01:00
sax Fix typos 2018-01-24 21:03:32 +01:00
sc Translate German variable names 2018-02-05 09:53:28 +01:00
scaddins Typ-o negativ 2018-01-30 12:16:37 +01:00
sccomp
schema
scp2 Extend build system to support linking against KDE Frameworks 5 2018-01-23 13:37:59 +01:00
scripting tdf#63388: use SMTP_SSL for port 465 2018-01-30 05:23:03 +01:00
sd vcl: remove BitmapColor Color() operator 2018-02-05 09:00:54 +01:00
sdext Simplify sortElements in pdfiprocessor (sdext) 2018-02-02 19:49:46 +01:00
setup_native setup_native: MSVC: pragma warning: make more specific, remove obsolete 2018-02-02 05:59:46 +01:00
sfx2 tdf#115434 Fix key press misbehaviors in sidebar 2018-02-05 10:40:59 +01:00
shell shell: MSVC: pragma warning: make more specific, remove obsolete 2018-02-02 05:59:25 +01:00
slideshow Fix typos 2018-01-29 13:26:15 +01:00
smoketest
solenv xmlsecurity: create DocumentDigitalSignatures instances with a constructor 2018-02-04 20:01:31 +01:00
soltools Fix typos 2018-01-25 08:52:34 +01:00
sot sot: MSVC: pragma warning: make more specific, remove obsolete 2018-02-02 13:11:08 +01:00
starmath Replace some front/pop_front by for-range loops+clear 2018-02-02 12:07:12 +01:00
stoc tdf#108523 Removed @author annotations. 2018-02-05 11:19:23 +01:00
store
svgio Fix typos 2018-01-25 08:52:34 +01:00
svl Simplify logic in cjkoptions 2018-01-25 11:35:18 +01:00
svtools vcl: remove BitmapColor Color() operator 2018-02-05 09:00:54 +01:00
svx loplugin:useuniqueptr in E3DModifySceneSnapRectUpdater 2018-02-05 12:04:55 +01:00
sw TypedWhichId in sw(2) 2018-02-05 13:46:49 +01:00
swext
sysui Revert "tdf#98141 add svg file for all app icons in all sizes" 2018-02-02 08:47:09 +01:00
test tdf#45904 Move _SheetCellRanges Java tests to C++ 2018-02-02 18:20:35 +01:00
testtools
toolkit Fix typos 2018-01-27 08:49:38 +01:00
tools tools: MSVC: pragma warning: make more specific, remove obsolete 2018-02-02 13:11:44 +01:00
translations@5634878ae8 Updated core 2018-01-24 13:25:22 +01:00
ucb usb: MSVC: pragma warning: make more specific, remove obsolete 2018-02-02 13:12:03 +01:00
ucbhelper
udkapi Fix typos 2018-01-26 11:39:58 +01:00
uitest tdf#107501 automatize EN-8 manual test, related tdf#84810 2018-02-05 09:46:41 +01:00
UnoControls Fix typos 2018-02-01 11:08:03 +01:00
unodevtools
unoidl
unoil
unotest
unotools loplugin:constparams 2018-01-24 07:56:57 +01:00
unoxml unoxml: MSVC: pragma warning: make more specific, remove obsolete 2018-02-02 13:12:22 +01:00
ure
uui
vbahelper
vcl ofz#5942 Out of memory 2018-02-05 13:40:09 +01:00
winaccessibility loplugin:emptyif (clang-cl) 2018-01-24 19:18:10 +01:00
wizards Removed unused code in python wizards 2018-02-05 15:01:41 +01:00
writerfilter RTF filter: handle horizontal flip of picture frames 2018-02-03 16:53:07 +01:00
writerperfect EPUB export: can use std::move() here 2018-02-01 09:03:45 +01:00
xmerge
xmlhelp xmlhelp: MSVC: pragma warning: make more specific, remove obsolete 2018-02-02 13:13:02 +01:00
xmloff unused include 2018-02-05 03:57:35 +01:00
xmlreader Silence -Werror=implicit-fallthrough= (upcoming GCC 8) 2018-01-23 14:17:03 +01:00
xmlscript
xmlsecurity xmlsecurity: create DocumentDigitalSignatures instances with a constructor 2018-02-04 20:01:31 +01:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.gitattributes
.gitignore Ignore Emacs lock files 2018-01-30 11:22:54 +01:00
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess Update config.{guess,sub} 2018-01-20 20:48:41 +01:00
config.sub Update config.{guess,sub} 2018-01-20 20:48:41 +01:00
config_host.mk.in Introduce gtk3_kde5 vcl plugin 2018-01-23 13:38:46 +01:00
config_host_lang.mk.in
configure.ac Avoid GPG when --enable-mpl-subset 2018-01-30 18:15:23 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst tdf#114635: Add TWAINDSM.DLL to 64-bit Windows package 2018-02-03 07:49:12 +01:00
g
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent.in
logerrit
Makefile.fetch tdf#114635: Add TWAINDSM.DLL to 64-bit Windows package 2018-02-03 07:49:12 +01:00
Makefile.gbuild
Makefile.in Fix protection of some unnecessarily strictly protected files 2018-01-31 11:05:32 +02:00
README.cross
README.md
README.Solaris
Repository.mk tdf#114635: Add TWAINDSM.DLL to 64-bit Windows package 2018-02-03 07:49:12 +01:00
RepositoryExternal.mk tdf#114635: Add TWAINDSM.DLL to 64-bit Windows package 2018-02-03 07:49:12 +01:00
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 2015 Update 3
  • 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.2 (only support for newer i devices == 64 bit)
    • Build: Xcode 9.0 and iPhone SDK 11.2

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:

http://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.