Test repository to check push and ssh key
Find a file
Miklos Vajna b58e3de0cd sfx2: let .uno:SignPDF add a matching button to the infobar
When the user uses .uno:SignPDF to open a PDF file in read-only mode,
then the infobar now has a "Sign Document" button, which is a shortcut
for the File -> Digital Signatures -> Digital Signatures menu item.

Change-Id: I2953a5cb1252c5ff1c395d45c54db1a97b39433e
2016-11-08 13:40:34 +01:00
.git-hooks
accessibility loplugin:oncevar 2016-11-08 06:11:51 +00:00
android normalize existing emacs/vim mode-lines in python files 2016-10-26 22:16:08 +02:00
animations loplugin:override: No more need for the "MSVC dtor override" workaround 2016-09-13 13:19:22 +02:00
apple_remote SAL_WNODEPRECATED_DECLARATIONS_PUSH/POP around new macOS 10.12 deprecations 2016-10-05 20:29:04 +02:00
avmedia loplugin:expandablemethods in avmedia 2016-11-02 07:13:16 +00:00
basctl loplugin:unnecessaryvirtual in basctl..chart2 2016-11-08 08:57:05 +00:00
basegfx loplugin:unusedmethods 2016-10-18 06:15:55 +00:00
basic loplugin:oncevar 2016-11-08 06:11:51 +00:00
bean clang-cl loplugin: bean 2016-10-16 14:19:32 +00:00
bin normalize existing emacs/vim mode-lines in python files 2016-10-26 22:16:08 +02:00
binaryurp Replace remaining OSL_ASSERT etc. in binaryurp 2016-09-16 15:17:37 +02:00
bridges Don't rely on __builtin_alloca when creating a call stack 2016-11-07 08:54:58 +01:00
canvas loplugin:expandablemethodds in include/basic..comphelper 2016-10-21 09:57:38 +00:00
chart2 loplugin:unnecessaryvirtual in basctl..chart2 2016-11-08 08:57:05 +00:00
cli_ure "// not impl" -> "= delete" 2016-09-23 16:29:08 +00:00
codemaker clang-cl loplugin: codemaker 2016-10-16 14:19:28 +00:00
comphelper loplugin:unnecessaryvirtual in comphelper..forms 2016-11-08 06:57:57 +00:00
compilerplugins loplugin:oncevar 2016-11-08 06:11:51 +00:00
config_host ENABLE_GRAPHITE_DWRITE is always set to 1 2016-10-30 01:53:33 +00:00
configmgr Fix typos 2016-10-23 17:17:01 +00:00
connectivity loplugin:unnecessaryvirtual in comphelper..forms 2016-11-08 06:57:57 +00:00
cppcanvas loplugin:unusedmethods unused return types 2016-11-03 11:37:31 +00:00
cppu Use OUString ctor instead of rtl_uString_newFromAscii 2016-10-28 08:52:45 +02:00
cppuhelper Improve some error reporting 2016-11-02 10:33:49 +01:00
cpputools
cui Change new colour only, keep active one on the initial value 2016-11-08 11:48:08 +00:00
dbaccess loplugin:unnecessaryvirtual in comphelper..forms 2016-11-08 06:57:57 +00:00
desktop loplugin:unnecessaryvirtual in comphelper..forms 2016-11-08 06:57:57 +00:00
dictionaries@23948938f7 Updated core 2016-11-07 16:49:23 +00:00
distro-configs Some --enable-ext-* switches got removed 2016-09-09 08:45:45 +02:00
drawinglayer typo fix: ressource -> resource 2016-11-08 12:21:31 +00:00
dtrans style fix for cppcheck redundantCondition 2016-11-07 18:55:52 +00:00
editeng loplugin:unnecessaryvirtual in comphelper..forms 2016-11-08 06:57:57 +00:00
embeddedobj replace <<= with assign for <<= with rhs Any 2016-10-19 05:28:29 +00:00
embedserv clang-cl loplugin: embedserv 2016-10-16 14:19:18 +00:00
eventattacher loplugin:override: No more need for the "MSVC dtor override" workaround 2016-09-13 13:19:22 +02:00
extensions loplugin:expandablemethods in extensions 2016-11-08 11:11:52 +00:00
external fix build of postgresql with bundled zlib 2016-11-04 16:22:23 +01:00
extras Revert "Reverts a commit series that cripple windows ci." 2016-11-07 21:04:50 +00:00
filter loplugin:unnecessaryvirtual in comphelper..forms 2016-11-08 06:57:57 +00:00
forms loplugin:expandablemethods in forms..formula 2016-11-08 09:49:48 +00:00
formula loplugin:expandablemethods in forms..formula 2016-11-08 09:49:48 +00:00
fpicker style fixes for cppcheck noExplicitConstructor 2016-11-01 18:44:20 +00:00
framework loplugin:expandablemethods in framework 2016-11-08 08:53:09 +00:00
helpcompiler loplugin:oncevar in helpcompiler..reportdesign 2016-11-02 07:12:46 +00:00
helpcontent2@433c4c0477 Updated core 2016-11-07 12:20:18 +00:00
hwpfilter loplugin:expandablemethods in hwpfilter..linguistic 2016-11-08 08:41:38 +00:00
i18nlangtag i18nlangtag: fix loplugin:cppunitassertequals warnings 2016-10-07 09:37:57 +00:00
i18npool loplugin:expandablemethods in hwpfilter..linguistic 2016-11-08 08:41:38 +00:00
i18nutil upgrade to ICU 58 2016-11-02 18:42:47 +00:00
icon-themes add breeze icons and update fr* and pr* sheet icons 2016-11-06 23:09:44 +00:00
idl loplugin:expandablemethods in hwpfilter..linguistic 2016-11-08 08:41:38 +00:00
idlc loplugin:expandablemethods in hwpfilter..linguistic 2016-11-08 08:41:38 +00:00
include sfx2: let .uno:SignPDF add a matching button to the infobar 2016-11-08 13:40:34 +01:00
instsetoo_native profilesafe: Adapted to UI 2016-10-14 10:37:30 +00:00
io loplugin:unusedmethods in chart2..svx 2016-09-22 18:57:43 +00:00
ios Bump IPHONEOS_DEPLOYMENT_TARGET 2016-10-03 23:29:12 +03:00
javaunohelper
jurt Adapt jurt staticsalhack to MACOSX 2016-11-07 08:57:33 +01:00
jvmaccess
jvmfwk loplugin:unnecessaryvirtual in hwpfilter..rsc 2016-11-08 06:10:25 +00:00
l10ntools loplugin:expandablemethods in hwpfilter..linguistic 2016-11-08 08:41:38 +00:00
librelogo normalize existing emacs/vim mode-lines in python files 2016-10-26 22:16:08 +02:00
libreofficekit revert string::find changes 2016-10-24 11:30:14 +02:00
lingucomponent Search for old style dictionaries in DICPATH 2016-10-10 20:09:41 +00:00
linguistic loplugin:expandablemethods in hwpfilter..linguistic 2016-11-08 08:41:38 +00:00
lotuswordpro loplugin:expandablemethods in lotuswordpro..package 2016-11-08 09:21:06 +00:00
m4 m4: make explicit what boost library we are not finding 2016-08-24 18:16:43 +00:00
mysqlc loplugin:singlevalfields 2016-11-02 13:06:37 +00:00
nlpsolver tdf#103622 do not use arrow as separator of menu commands 2016-11-06 08:55:47 +00:00
o3tl coverity#1371178 Missing move assignment operator 2016-09-12 14:22:48 +01:00
odk Remove bogus comments about ~IPropertyArrayHelper not being virtual 2016-10-27 17:08:09 +02:00
offapi vcl: improve accounting of SVG images in graphics cache 2016-11-07 18:52:22 +00:00
officecfg officecfg: add .uno:SignPDF label 2016-11-07 17:28:22 +01:00
onlineupdate [API CHANGE] Remove HAVE_GCC_VISIBILITY_FEATURE, always true 2016-09-20 07:34:27 +00:00
oovbaapi
oox loplugin:expandablemethods in lotuswordpro..package 2016-11-08 09:21:06 +00:00
opencl tdf#103395 opencl: don't initialize OpenCL when disabled 2016-10-24 08:35:15 +00:00
osx Add some more source files for breakpointing convenience 2016-10-20 12:12:10 +03:00
package loplugin:expandablemethods in lotuswordpro..package 2016-11-08 09:21:06 +00:00
postprocess Allow including/packaging help-specific images 2016-11-04 13:42:09 +00:00
pyuno normalize existing emacs/vim mode-lines in python files 2016-10-26 22:16:08 +02:00
qadevOOo Add link to bug describing such a race 2016-10-27 11:52:30 +02:00
readlicense_oo update credits 2016-10-18 14:58:41 +02:00
registry tdf#100302: gbuild: always use $(LFS_CFLAGS) 2016-10-07 14:58:17 +02:00
remotebridges loplugin:override: No more need for the "MSVC dtor override" workaround 2016-09-13 13:19:22 +02:00
reportbuilder
reportdesign loplugin:expandablemethods in reportdesign 2016-11-08 10:03:48 +00:00
ridljar error: unknown tag: internal 2016-06-07 11:11:43 +02:00
rsc loplugin:unnecessaryvirtual in hwpfilter..rsc 2016-11-08 06:10:25 +00:00
sal loplugin:unusedfields 2016-11-02 07:54:20 +00:00
salhelper CppunitTest_desktop_lib: fix loplugin:cppunitassertequals warnings 2016-10-14 08:59:32 +00:00
sax tdf#103544: DOCX exp.: Image loss when have a frame anchored to the same para. 2016-10-28 14:10:41 +00:00
sc try and auto-silence coverity#1394273 Use after free 2016-11-08 09:11:18 +00:00
scaddins loplugin:unnecessaryvirtual in sc..scaddins 2016-11-08 06:10:13 +00:00
sccomp loplugin:override: No more need for the "MSVC dtor override" workaround 2016-09-13 13:19:22 +02:00
schema schema: copy of v1.3 schema to collect LO extensions 2016-08-29 21:28:01 +00:00
scp2 clean up remnants of the removal of OxygenOffice bits 2016-10-25 16:30:33 +02:00
scripting loplugin:oncevar in sal..scripting 2016-11-01 12:34:51 +00:00
sd simplify mark points and gluepoints management 2016-11-08 11:22:58 +00:00
sdext loplugin:unnecessaryvirtual in sd..sdext 2016-11-07 13:00:53 +00:00
setup_native typo: modul -> module 2016-11-07 18:15:35 +00:00
sfx2 sfx2: let .uno:SignPDF add a matching button to the infobar 2016-11-08 13:40:34 +01:00
shell style fixes for cppcheck noExplicitConstructor 2016-11-01 18:44:20 +00:00
slideshow loplugin:unnecessaryvirtual in sfx2..svtools 2016-11-07 09:39:55 +00:00
smoketest tdf#94698 cleanup Makefiles. Get rid of udkapi and offapi 2016-06-09 09:47:11 +00:00
solenv typo fix: ressource -> resource 2016-11-08 12:21:31 +00:00
soltools tdf#99589 - tolower / toupper - dangerous to Turks ... 2016-06-23 09:59:49 +00:00
sot loplugin:expandablemethods in sot..starmath 2016-10-27 11:38:22 +00:00
starmath tdf#102008 Drop whitespace between "fact" and brace 2016-11-05 02:00:09 +00:00
stoc coverity#1375798 Uncaught exception 2016-11-02 20:26:28 +00:00
store loplugin:countusersofdefaultparams in sot..svtools 2016-10-14 10:53:30 +02:00
svgio loplugin:oncevar in sd..svgio 2016-11-01 13:25:08 +00:00
svl use aggregate initialisation instead of memset for arrays 2016-11-04 08:19:47 +00:00
svtools Revert "Reverts a commit series that cripple windows ci." 2016-11-07 21:04:50 +00:00
svx typo fix: ressource -> resource 2016-11-08 12:21:31 +00:00
sw reduce copying when decomposing drawinglayer primitives 2016-11-08 10:40:57 +00:00
swext MediaWiki export help: “WikiMedia” → “MediaWiki”; minor copyediting 2016-09-27 15:05:45 -05:00
sysui sysui: add "translate" urls to AppData files 2016-11-01 15:49:22 +01:00
test convert std::unique_ptr<VclAbstractDialog> to VclPtr 2016-10-28 09:12:27 +02:00
testtools Change the shared bridgetest code from static to dynamic library 2016-09-14 15:52:04 +02:00
toolkit Omit the default comparator 2016-11-01 04:11:44 +00:00
tools loplugin:expandablemethods in toolkit..tools 2016-10-26 06:50:03 +00:00
translations@bf84e0b330 Updated core 2016-10-21 12:51:51 +00:00
tubes loplugin:reservedid 2016-10-28 08:52:47 +02:00
ucb loplugin:unnecessaryvirtual in test..vbahelper 2016-11-07 10:11:33 +00:00
ucbhelper loplugin:expandablemethods in ucb..ucbhelper 2016-10-26 06:49:46 +00:00
udkapi
uitest normalize existing emacs/vim mode-lines in python files 2016-10-26 22:16:08 +02:00
UnoControls loplugin:expandablemethods in UnoControls..vbahelper 2016-10-25 11:16:02 +00:00
unodevtools Omit the default comparator 2016-11-01 04:11:44 +00:00
unoidl Fix typos 2016-10-03 06:15:59 +00:00
unoil
unotest normalize existing emacs/vim mode-lines in python files 2016-10-26 22:16:08 +02:00
unotools loplugin:unnecessaryvirtual in test..vbahelper 2016-11-07 10:11:33 +00:00
unoxml loplugin:oncevar in unoxml..toolkit 2016-10-31 10:31:25 +00:00
ure [API CHANGE] Remove HAVE_GCC_VISIBILITY_FEATURE, always true 2016-09-20 07:34:27 +00:00
uui ScopedVclPtr vs std::unique_ptr for VclAbstractDialog derivatives 2016-10-28 09:08:50 +00:00
vbahelper loplugin:unnecessaryvirtual in test..vbahelper 2016-11-07 10:11:33 +00:00
vcl typo fix: ressource -> resource 2016-11-08 12:21:31 +00:00
winaccessibility typo fix: ressource -> resource 2016-11-08 12:21:31 +00:00
windows
wizards Access2Base - Remove useless code in Root handling 2016-11-05 12:18:55 +01:00
writerfilter tdf#79329 DOCX import: fix missing outer table with floattable at cell start 2016-11-08 09:51:42 +00:00
writerperfect add missing dependency to gb_Library_use_externals, icu_headers 2016-11-02 20:12:26 +01:00
xmerge coverity#1326473 Resource leak on an exceptional path 2016-08-28 13:38:24 +01:00
xmlhelp loplugin:expandablemethods in writerfilter..xmlhelp 2016-10-24 14:29:57 +02:00
xmloff update loplugin:unnnecessaryvirtual to handler destructors 2016-11-04 07:15:03 +00:00
xmlreader convert XmlReader::State to scoped enum 2016-08-31 10:00:07 +02:00
xmlscript loplugin:override: No more need for the "MSVC dtor override" workaround 2016-09-13 13:19:22 +02:00
xmlsecurity Work in progress on supporting XAdES-compliant signatures for ODF 2016-11-08 14:31:46 +02:00
.buckconfig
.buckversion
.editorconfig Add .editorconfig file 2016-09-19 14:39:25 +00:00
.gitattributes Ignore schema files for src tarball generation 2016-08-30 23:59:15 +00:00
.gitignore add Codelite files to .gitignore 2016-11-01 13:02:53 +02:00
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in poppler: build against libjpeg 2016-11-02 20:04:23 +00:00
config_host_lang.mk.in
configure.ac Disable VCL_FLOAT_DEVICE_PIXEL on macOS for now 2016-11-07 07:59:49 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst Upgrade libxmlsec to 1.2.23 2016-11-04 08:10:23 +00:00
g it is "git submodule", not "git submodules" 2016-05-17 14:29:39 +02:00
install-sh
leak-suppress.txt
Library_merged.mk i18nlangtag must presumably be dropped from Library_merged.mk 2016-10-26 15:20:27 +02:00
lo.xcent.in
logerrit
Makefile.fetch Remove obsolete OxygenOffice bits 2016-09-08 21:20:58 +00:00
Makefile.gbuild add build system part for upload crashreport symbols 2016-05-24 04:28:16 +02:00
Makefile.in add initial json export for gbuild data 2016-10-13 09:02:25 +00:00
README.cross
README.md README.md: Add CII Best Practices badge 2016-10-10 03:22:53 -05:00
README.Solaris remove use of Archive::Zip 2016-06-04 08:09:56 +02:00
Repository.mk add test for running gbuildtoide on non-build modules 2016-10-26 22:41:32 +00:00
RepositoryExternal.mk fix external def for graphite 2016-11-04 16:22:23 +01:00
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk screenshots: add new global make target 2016-08-18 02:39:15 +02:00
sanitize-ubsan-blacklist
TEMPLATE.SOURCECODE.HEADER normalize existing emacs/vim mode-lines in python files 2016-10-26 22:16:08 +02:00
unusedcode.easy
unusedcode.exclude
unusedcode.README

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 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.

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.