Armin Le Grand 4eec79bb37 RotateFlyFrame: Isolate SwFrame members maFrame and maPrt
To gain more control over changes of the Writer layout,
isolated mentioned members and replaced all calls with
inline methods for read access. Moved to own class to
also identify 'private' accesses reliably. Added access
dedicated classes for write access, the only allowed
way to do changes. Adapted all usages and made test builds
on logerrit and locally

Change-Id: Ib0b7f852f5176744e860e2aad12dd13c9a906d68

RotateFlyFrame: Migrated from SwFrame::FrameWA to setFrame

Change-Id: I01f7b828fe2134411cc76639e880da46b415d767

RotateFlyFrame: Migrated from SwFrame::PrintWA to setPrint

Change-Id: Ieea3b467f296a190de5b5f47721bef148bebf60b

RotateFlyFrame: Adapted to get/setSwFrame and get/setSwPrint

Change-Id: I6cce40ec49dd5bd32d94fe06b9d2dabd368448be

RotateFlyFrame: Adapted to get methods and WriteAccess helpers

Change-Id: Ife3c1b2391ad7beae8c7f31f796b1454709ddd26

RotateFlyFrame: Moved change executers to cxx

Moved SwFrameRect::FrameWriteAccess::~FrameWriteAccess()
and SwFrameRect::PrintWriteAccess::~PrintWriteAccess() to
implementation side and added compare op's for SwRcet to
write only if needed

Change-Id: I85d0e61009116f4b17d1ce0337e3f0d2cc031159

RotateFlyFrame: Moved change executers to cxx

Moved SwFrameRect::FrameWriteAccess::~FrameWriteAccess()
and SwFrameRect::PrintWriteAccess::~PrintWriteAccess() to
implementation side and added compare op's for SwRcet to
write only if needed

Change-Id: I85d0e61009116f4b17d1ce0337e3f0d2cc031159
2017-10-30 12:13:17 +01:00
2017-10-27 12:15:52 +02:00
2017-10-27 19:28:53 +02:00
2017-10-23 22:46:12 +02:00
2017-10-27 20:40:11 +02:00
2017-10-23 22:46:11 +02:00
2017-10-26 10:59:42 +02:00
2017-10-23 22:46:11 +02:00
2017-10-27 23:58:14 +02:00
2017-10-29 14:07:44 +01:00
2017-10-30 11:18:28 +01:00
2017-10-23 22:46:08 +02:00
2017-10-27 10:02:24 +02:00
2017-10-23 22:46:05 +02:00
2017-10-23 22:46:05 +02:00
2017-10-23 22:46:05 +02:00
2017-10-30 11:58:48 +01:00
2017-10-23 22:46:04 +02:00
2017-10-27 19:28:51 +02:00
2017-10-23 22:46:03 +02:00
2017-10-26 11:43:40 +02:00
2017-10-23 22:46:02 +02:00
2017-10-26 21:30:08 +02:00
2017-10-27 19:28:51 +02:00
2017-10-23 22:46:00 +02:00
2017-10-23 22:45:59 +02:00
2017-10-23 22:45:59 +02:00
2017-10-23 22:45:57 +02:00
2017-10-26 10:59:42 +02:00
2017-10-27 08:53:23 +02:00
2017-10-23 22:45:55 +02:00
2017-10-24 11:16:24 +02:00
2017-10-23 22:45:55 +02:00
2017-10-27 20:36:47 +02:00
2017-10-23 22:45:52 +02:00
2017-10-26 12:44:44 +02:00
2017-10-23 22:45:52 +02:00
2017-10-23 22:45:51 +02:00
2017-10-23 22:45:51 +02:00
2017-10-30 08:33:39 +01:00
2017-10-30 11:58:48 +01:00
2017-10-30 08:35:44 +01:00
2017-10-23 22:45:49 +02:00
2017-10-19 17:31:18 +02:00
2017-10-19 09:49:01 +02:00
2017-10-23 22:45:48 +02:00
2017-10-23 22:45:47 +02:00
2017-10-26 10:27:48 +02:00
2017-10-27 17:25:04 +02:00
2017-10-23 22:45:46 +02:00
2017-10-23 22:45:46 +02:00
2017-09-22 16:51:22 +03:00
g
2017-10-27 20:08:47 +02:00

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.0 (only support for newer i devices == 64 bit)
  • Build: Xcode 9.0 and iPhone SDK 11.0

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

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%