Jacobo Aragunde Pérez 15e01d90b9 ooxml: Preserve shape style attribute fillRef
Shape style attributes contain the default format for the shape in
case that no direct format is specified for it. This is an example
of the attribute we want to preserve with this patch:

  <wps:style>
    ...
    <a:fillRef idx="1">
      <a:schemeClr val="accent1"/>
    </a:fillRef>
    ...
  </wps:style>

The relevant values in these tags are stored at the maShapeStyleRefs
member in the Shape object. The storage happens at
ShapeStyleContext::onCreateContext which is run when the <a:fillRef>
tag is opened. The ShapeStyleRef object contains the idx value and a
Color object which will contain the inner tag <a:schemeClr>.

The Color object has been modified to store the string value of
schemeClr. The storage happens at ColorValueContext::onStartElement
which is run when the tag <a:schemeClr> is opened.

Later, Shape::createAndInsert is called by the ShapeContextHandler to
create the actual XShape, this happens when the tag <wps:wsp> is
closed. createAndInsert puts idx and schemeClr values into the
InteropGrabBag property of the XShape with the name StyleFillRef.

On export time, when the shape data is written at
ShapeExport::WriteCustomShape, we added a call to
DrawingML::WriteShapeStyle. This method will check the existence of
the InteropGrabBag property in the shape, read the StyleFillRef prop
inside it and output the proper XML to the style definition.

DrawingML::WriteShapeStyle also writes some mock tags into the
<wps:style> because we found that they are compulsory. We will
replace them with the proper data in further patches.

The method putPropertyToGrabBag was added to the Shape object for
convenience.

The data files for some /sd/qa/ unit tests were updated to reflect
the new property StyleFillRef inside the InteropGrabBag.

Change-Id: I5ffa5242852461a1a709a8f169d40f0d7a2c9aa3
2014-01-18 14:51:42 +01:00
2013-12-22 15:37:28 +01:00
2014-01-10 17:11:43 +01:00
2014-01-16 10:34:30 +01:00
2014-01-17 12:49:19 -05:00
2014-01-08 10:44:40 +01:00
2014-01-17 10:29:01 +09:00
2014-01-18 00:37:49 +01:00
2014-01-17 20:46:53 +00:00
2013-12-20 15:55:00 +01:00
2014-01-18 00:37:49 +01:00
2014-01-10 17:11:45 +01:00
2013-12-20 15:55:00 +01:00
2014-01-17 16:42:29 +01:00
2014-01-17 16:20:38 +00:00
2014-01-10 17:11:45 +01:00
2013-12-16 21:43:12 +01:00
2014-01-07 10:28:30 +01:00
2014-01-10 17:11:48 +01:00
2014-01-08 10:07:25 +01:00
2014-01-14 21:28:07 +01:00
2014-01-14 15:54:20 +01:00
2013-12-20 15:55:00 +01:00
2014-01-08 10:50:09 +01:00
2014-01-17 16:42:29 +01:00
2014-01-10 17:11:44 +01:00
2014-01-14 15:13:16 +09:00
2014-01-10 17:11:44 +01:00
2013-12-20 15:55:00 +01:00
2014-01-10 17:11:44 +01:00
2014-01-13 14:25:20 +01:00
2014-01-18 00:54:00 -05:00
2014-01-10 12:10:21 +01:00
2014-01-10 17:11:48 +01:00
2014-01-18 00:37:49 +01:00
2014-01-17 18:45:15 +01:00
2014-01-18 00:37:49 +01:00
2013-12-20 15:55:00 +01:00
2014-01-16 23:22:44 +02:00
2013-12-09 11:14:22 +00:00
2013-12-20 15:55:00 +01:00
2013-12-20 15:55:00 +01:00
2013-12-20 15:55:00 +01:00
2014-01-10 17:11:42 +01:00
2013-12-16 21:43:12 +01:00
2013-12-23 13:05:01 +00:00
2014-01-07 10:11:02 +02:00
2014-01-17 17:12:13 -08:00
2014-01-17 18:45:14 +01:00
2014-01-06 13:17:37 +01:00
2014-01-13 21:14:59 +00:00
2014-01-13 21:14:59 +00:00
2013-12-18 12:42:19 +02:00
2013-11-23 16:53:11 +01:00
2014-01-13 21:14:59 +00:00
2013-12-05 05:31:43 -06:00

Instructions to compile LO on Solaris with gcc

Disclaimer
----------
This is still work in progress
Compiling LO on Solaris with gcc is a work done by Lanedo ( www.lanedo.com )
Any inquiry could be sent to office-solaris@lanedo.com


Prerequisites
-------------

A working Oracle Solaris 11 installation


Installing Dependancies
-----------------------

sudo -s

pkg install git make gcc-45 autoconf autogen automake-110 gnu-m4

perl -MCPAN -e 'install Archive::Zip::Archive'

pkg install pkg:/system/header@0.5.11-0.175.0.0.0.2.1
pkg install pkg:/developer/gperf@3.0.3-0.175.0.0.0.2.537
pkg install pkg:/developer/parser/bison@2.3-0.175.0.0.0.2.537
pkg install pkg:/developer/lexer/flex@2.5.35-0.175.0.0.0.2.537
pkg install pkg:/developer/documentation-tool/doxygen@1.5.7.1-0.175.0.0.0.2.537


Compiling
---------

CC="gcc" CXX="g++" ./autogen.sh --with-num-cpus=2 --with-max-jobs=4 --without-junit --disable-mozilla --with-system-curl --without-help --disable-cups --without-java --with-system-cairo --with-lang= --disable-gconf --enable-gio --disable-gnome-vfs --disable-gstreamer --without-fonts --with-system-dicts --disable-mozilla --without-system-mozilla --disable-xmlsec --with-system-openssl

gmake


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%