Daniel Robertson a811d6efe4 slideshow: replace for_each with range-based for
Replace ::std::for_each for a more readable range-based for loop in
cases in which the function object to be applied by for_each is more
readable as the body of a for loop. In addition, replace while loops
with range-based for loops when possible and complex implementations
of boost::bind with lambda expressions.

Change-Id: I6adfb18197bd1b8627719adfca2e4c36d58a0e05
Reviewed-on: https://gerrit.libreoffice.org/17786
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-17 16:22:31 +00:00
2015-08-16 09:10:21 +02:00
2015-07-29 14:17:05 +03:00
2015-08-11 09:48:17 +02:00
2015-08-16 09:10:21 +02:00
2015-07-06 09:06:47 +00:00
2015-08-11 09:48:17 +02:00
2015-07-08 05:48:18 +00:00
2015-08-14 17:32:51 +02:00
2015-07-16 14:00:24 +02:00
2015-08-11 08:25:33 +02:00
2015-08-11 09:48:17 +02:00
2015-07-27 06:12:01 +00:00
2015-08-14 10:52:46 +02:00
2015-08-11 09:48:17 +02:00
2015-08-17 10:28:46 +02:00
2015-08-17 09:59:59 +02:00
2015-08-16 09:10:21 +02:00
2015-07-13 21:56:38 +00:00
2015-08-14 10:52:47 +02:00
2015-08-17 09:59:59 +02:00
2015-08-14 11:09:40 +02:00
2015-08-17 09:59:59 +02:00
2015-07-30 06:23:00 +00:00
2015-08-16 11:53:09 +00:00
2015-08-05 09:39:22 +00:00
2015-08-11 09:48:17 +02:00
2015-08-14 11:11:10 +02:00
2015-08-05 09:39:22 +00:00
2015-08-14 11:11:10 +02:00
2015-08-11 09:48:17 +02:00
2015-08-11 08:25:33 +02:00
2015-07-30 06:23:00 +00:00
2015-08-11 09:48:17 +02:00
2015-08-14 11:11:14 +02:00
2015-07-16 14:00:18 +02:00
2015-06-30 15:57:12 +00:00
2015-08-17 14:55:14 +01:00
2015-07-29 14:17:05 +03:00
2015-08-07 17:58:02 +02:00
2015-07-29 14:17:05 +03:00
2015-08-17 09:59:59 +02:00
2015-08-05 09:39:22 +00:00
2015-08-11 08:25:33 +02:00
2015-08-11 09:48:17 +02:00
2015-07-27 08:18:16 +02:00
2015-08-17 09:59:59 +02:00
2015-08-05 11:08:25 +00:00
2015-07-24 04:45:04 +02:00
2015-08-07 08:14:34 +02:00
2015-08-07 07:20:24 +02:00
2015-07-04 10:21:01 +00:00
2015-08-11 09:48:18 +02:00
2015-08-12 13:48:21 +01:00
2015-08-11 08:25:33 +02:00
2015-07-16 07:50:23 +00:00
2015-08-17 09:59:58 +02:00
2015-08-17 10:34:55 +02:00
2015-08-17 06:30:01 +00:00
2015-08-12 14:20:42 +00:00
2015-08-17 12:19:42 +02:00
2015-08-11 09:48:18 +02:00
2015-08-03 11:12:31 +02:00
2015-08-03 06:37:16 +00:00
2015-08-11 09:48:18 +02:00
2015-08-11 09:48:18 +02:00
2015-07-30 06:23:00 +00:00
2015-08-14 08:45:56 +02:00
2015-08-03 12:16:33 +00:00
2015-07-19 19:45:07 +00:00
2015-08-10 12:13:26 +01:00
2015-07-03 09:14:23 +00:00
2015-07-30 06:23:00 +00:00
2015-08-12 09:23:13 +01:00
2015-08-03 12:16:33 +00:00
2015-08-03 12:16:33 +00:00
2015-07-30 15:24:45 +02:00

LibreOffice

Coverity Scan Build Status

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

Description
LibreOffice mirror (not auto-updating).
Readme 1.9 GiB
Languages
C++ 82.4%
Java 5.3%
Rich Text Format 2.3%
PostScript 1.9%
Python 1.9%
Other 5.7%