Test repository to check push and ssh key
Find a file
Caolán McNamara bd20a73f47 refactor indescribable wall of code into reusable hunks
supposed to be logically the same before and after
except for the addition of allow pPreviousWindow
to be the pFocusWindow as well as the pMouseWindow
which I see as a good thing

Change-Id: I4810146397850abab90d37d0e0c2bfd674faa208
2015-03-25 15:58:03 +00:00
.git-hooks
accessibility tdf#88230: cleanup solar mutex yielding 2015-03-20 12:18:02 +00:00
android Kill dead <touch/touch.h> API 2015-03-24 15:30:27 +02:00
animations
apple_remote
avmedia convert SfxChildAlignment to enum class 2015-03-24 09:36:56 +02:00
basctl loplugin:constantfunction: basctl 2015-03-24 10:31:17 +02:00
basebmp loplugin:constantfunction: various 2015-03-24 10:51:22 +02:00
basegfx
basic Basic: scanner should'nt use 0xFF mask on characters 2015-03-25 13:41:25 +00:00
bean
bin fdo#84628 Created .project file generator. 2015-03-25 06:49:12 +00:00
binaryurp
bridges
canvas More Windows define whack-a-mole 2015-03-23 16:05:33 +01:00
chart2 Typos 2015-03-23 20:08:36 +01:00
clew
cli_ure
codemaker
comphelper
compilerplugins new constantfunction loplugin 2015-03-25 08:55:31 +02:00
config_host move cairo helpers to vcl and make per-plug 2015-03-23 11:42:28 +00:00
configmgr
connectivity loplugin:constantfunction 2015-03-25 15:55:44 +01:00
cppcanvas
cppu
cppuhelper
cpputools
cui convert VALID_ constants to enum class 2015-03-25 08:56:14 +02:00
dbaccess loplugin:constantfunction: dbaccess 2015-03-24 09:09:32 +02:00
desktop loplugin:constantfunction: various 2015-03-24 10:51:22 +02:00
dictionaries@e68d066877
distro-configs
drawinglayer
dtrans
editeng Tweak fix 2015-03-25 12:13:11 +01:00
embeddedobj
embedserv Fix various Windows-only XServiceInfo implementations 2015-03-24 18:08:39 +01:00
eventattacher
extensions Fix various Windows-only XServiceInfo implementations 2015-03-24 18:08:39 +01:00
external
extras
filter fix typo in variable name 2015-03-24 23:04:10 +00:00
forms convert EE_STAT constants to enum class 2015-03-25 09:47:29 +02:00
formula tdf#40835 add ODFF function FDIST 2015-03-24 22:04:50 +00:00
fpicker loplugin:constantfunction: various 2015-03-24 10:51:22 +02:00
framework new constantfunction loplugin 2015-03-25 08:55:31 +02:00
helpcompiler
helpcontent2@8b5320fd78 Updated core 2015-03-21 15:57:52 +00:00
hwpfilter loplugin:constantfunction: hwpfilter 2015-03-24 10:31:18 +02:00
i18nlangtag
i18npool do not include non-mask bits in masks 2015-03-24 15:58:03 +00:00
i18nutil
icon-themes tdf#87234 Another round of breeze icon updates 2015-03-25 11:07:39 +00:00
idl
idlc loplugin:constantfunction: various 2015-03-24 10:51:22 +02:00
include convert SPELLCMD_ constants to enum class 2015-03-25 12:14:12 +02:00
instsetoo_native
io
ios Bin obsolete comment 2015-03-24 11:13:19 +02:00
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools
librelogo
libreofficekit lokdocview: add lok_docview_get_document() 2015-03-23 09:19:06 +01:00
lingucomponent
linguistic
lotuswordpro fix windows build 2015-03-24 09:09:32 +02:00
m4
mysqlc loplugin:constantfunction 2015-03-25 12:46:55 +01:00
nlpsolver
o3tl
odk
offapi
officecfg Change icon for track changes in sidebar 2015-03-24 16:02:31 +00:00
oovbaapi
oox Revert "tdf#90174 FILESAVE: export of bullet color for pptx" 2015-03-25 11:55:54 +01:00
opencl Typo: (O/o)veride(n)->(O/o)verride(n) 2015-03-20 07:57:02 +01:00
osx
package loplugin:constantfunction: various 2015-03-24 10:51:22 +02:00
postprocess Revert "give this a copy ctor" 2015-03-25 11:59:57 +01:00
pyuno
qadevOOo Typos 2015-03-23 20:08:36 +01:00
readlicense_oo
registry
remotebridges
reportbuilder
reportdesign loplugin:constantfunction: reportdesign 2015-03-24 10:31:18 +02:00
ridljar
rsc loplugin:constantfunction: rsc 2015-03-24 10:31:17 +02:00
sal loplugin:constantfunction: various 2015-03-24 10:51:22 +02:00
salhelper
sax
sc convert SPELLCMD_ constants to enum class 2015-03-25 12:14:12 +02:00
scaddins
sccomp
scp2
scripting
sd Revert "tdf#90174 FILESAVE: export of bullet color for pptx" 2015-03-25 11:55:54 +01:00
sdext
setup_native
sfx2 SkipImages option for document import 2015-03-24 07:38:04 +00:00
shell remove exit 0 at the end of a shell script 2015-03-25 06:50:53 +00:00
slideshow loplugin:constantfunction: various 2015-03-24 10:51:22 +02:00
smoketest Build libtest on Windows, too 2015-03-23 23:54:01 +02:00
solenv unittest-failed.sh: Actually just one variable is enough here. 2015-03-23 12:39:39 +01:00
soltools
sot
starmath convert EE_CNTRL constants to enum class 2015-03-25 08:56:14 +02:00
stoc
store loplugin:constantfunction: store 2015-03-24 10:31:17 +02:00
svgio
svl tdf#90133 Scientific format: allow variable decimal 2015-03-23 11:40:12 +00:00
svtools tdf#88230: cleanup solar mutex yielding 2015-03-20 12:18:02 +00:00
svx convert EE_STAT constants to enum class 2015-03-25 09:47:29 +02:00
sw Uninitialized use of mbSkipImages (as found by UBSan) 2015-03-25 14:53:48 +01:00
swext
sysui
test loplugin:constantfunction: test 2015-03-24 09:45:51 +02:00
testtools
toolkit
tools Rectangle::toString(): output position, then size 2015-03-23 09:18:58 +01:00
translations@6a11450be8 Updated core 2015-03-19 22:09:16 +00:00
tubes
ucb loplugin:constantfunction: various 2015-03-24 10:51:22 +02:00
ucbhelper
udkapi
UnoControls
unodevtools
unoidl
unoil
unotest
unotools introduce ODFSaneDefaultVersion; ODFDefaultVersion is a mess, mess, mess.. 2015-03-22 19:29:39 +00:00
unoxml
ure
uui tdf#88230: cleanup solar mutex yielding 2015-03-20 12:18:02 +00:00
vbahelper loplugin:constantfunction: various 2015-03-24 10:51:22 +02:00
vcl refactor indescribable wall of code into reusable hunks 2015-03-25 15:58:03 +00:00
winaccessibility presumably this will fix the mismatch of the service names 2015-03-22 20:59:13 +00:00
wizards tdf#68547 Turkısh "ı" ıs specıal 2015-03-25 06:40:40 +00:00
writerfilter SkipImages option for document import 2015-03-24 07:38:04 +00:00
writerperfect loplugin:constantfunction: various 2015-03-24 10:51:22 +02:00
xmerge
xmlhelp
xmloff also import and export to ODF the new databar property 2015-03-24 16:01:58 +01:00
xmlreader
xmlscript
xmlsecurity loplugin:constantfunction: xmlsecurity 2015-03-24 10:31:17 +02:00
.gitattributes
.gitignore .gitignore: Spelling. 2015-03-22 14:09:17 -06:00
.gitmodules
.gitreview
autogen.sh
config.guess
config.sub
config_host.mk.in Remove library urelibs. It was more just a temporary hack and is not used. 2015-03-20 20:55:04 +01:00
configure.ac move cairo helpers to vcl and make per-plug 2015-03-23 11:42:28 +00:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst
g
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent.in
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in
README.cross android: add debugrun Makefile target 2015-03-23 09:19:05 +01:00
README.md README.Code → README.md 2015-03-22 21:21:57 -06:00
README.Solaris
Repository.mk Remove library urelibs. It was more just a temporary hack and is not used. 2015-03-20 20:55:04 +01:00
RepositoryExternal.mk The 'svp' "plug-in" library is empty so don't build it at all 2015-03-20 17:55:08 +02:00
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk Remove library urelibs. It was more just a temporary hack and is not used. 2015-03-20 20:55:04 +01:00
TEMPLATE.SOURCECODE.HEADER
unusedcode.easy Unusedcode.easy: ScBroadcastAreaSlot::AreaBroadcastInRange 2015-03-23 21:39:39 +01:00
unusedcode.exclude
unusedcode.README

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, for which you can read the API docs here. This re-uses the (extremely generic) APIs we provide for 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
svx/ graphics related helper code, including much of 'draw' / 'impress'
sfx2/ core framework: document model / load/save / signals for actions etc.
framework UNO wrappers around the core framework, responsible for building toolbars, menus, status bars, and the chrome around the document using widgets from VCL, and XML descriptions from */uiconfig/ files

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
basebmp/ enables a VCL compatible rendering API to render to bitmaps, as used for LibreOffice Online, Android, iOS, etc.
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/ code to render and manage document drawing shapes 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.