Jan-Marek Glogowski 21a3d78cf0 tdf#100458 Don't forcefully change cell type
Just quoting the source comment from the breaking commit
61c39eae57.

// If a matrix formula has a matrix reference cell that is intended to
// have // a blank text result, the matrix reference cell is actually
// saved(export) as a float cell with 0 as the value and empty <text:p/>.

Ok

// Import works around this by setting these cells as text cells so that
// the blank text is used for display instead of the number 0.

This seems to be wrong.

Forcing the cell to a util::NumberFormat::TEXT actually kills
the cell value, if the text is a result of the formular.

I'm not sure if forcefully changing the cell format at this point is
correct at any time, if a cell type was already determinated.

I imagine that an undefined cell type should probably be fixed at the
end of the row import, if Calc detected an error case, or even generally,

This patch is just a minimalistic initial fix. If it's correct, it
probably needs an additional code comment.

Change-Id: If7d9d69467d56c7d8fd2444f9e8b3ae906285264
Reviewed-on: https://gerrit.libreoffice.org/26435
Reviewed-by: Eike Rathke <erack@redhat.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-04 03:35:09 +00:00
2016-07-01 08:53:14 +02:00
2016-06-20 15:18:45 +00:00
2016-07-03 14:20:02 +00:00
2016-06-14 13:54:41 +00:00
2016-06-29 14:49:19 +00:00
2016-06-27 07:28:44 +00:00
2016-06-29 14:49:19 +00:00
2016-06-29 14:49:19 +00:00
2016-06-30 07:01:41 +00:00
2016-06-13 06:04:07 +00:00
2016-06-07 11:11:43 +02:00
2016-06-28 11:21:17 +00:00
2016-06-17 15:58:19 +02:00
2016-06-30 07:01:41 +00:00
2016-07-03 14:20:02 +00:00
2016-06-28 11:21:17 +00:00
2016-07-04 02:02:52 +00:00
2016-07-01 16:05:56 +02:00
2016-07-01 14:14:41 +02:00
2016-06-06 14:28:41 +02:00
2016-06-18 17:01:20 +02:00
2016-06-28 11:21:17 +00:00
2016-06-21 18:35:48 +00:00
2016-06-28 11:21:17 +00:00
2016-05-12 14:11:38 +02:00
2016-05-16 06:18:47 +00:00
2016-06-28 11:21:17 +00:00
2016-07-01 15:49:49 +01:00
2016-06-24 16:33:03 +02:00
2016-06-30 07:01:41 +00:00
2016-06-23 15:39:52 +00:00
2016-07-02 17:17:53 +02:00
2016-06-24 15:05:43 +00:00
2016-05-17 14:29:39 +02:00
2016-06-23 15:39:52 +00:00
2016-06-04 08:09:56 +02:00
2016-06-23 15:39:52 +00:00

LibreOffice

Coverity Scan Build Status

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.

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%