Commit Graph

6407 Commits

Author SHA1 Message Date
Thomas Arnhold
8e1bffe7ff Remove include guards
Change-Id: Ib4ba76d0083e5bd75cc589a55318089c004f591f
2012-06-29 15:59:53 +02:00
Thomas Arnhold
688fcc847b Remove unused locals
Change-Id: I14369787e99d31cba32957301340cef2fc832b91
2012-06-29 09:25:12 +02:00
Thomas Arnhold
57154616f0 Remove UNO includes comments
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-29 09:25:09 +02:00
Takeshi Abe
6013882bdf removed unnecessary forward declarations of class
except moving SvXMLStyleContext into xmloff/source/forms/layerimport.hxx

Change-Id: I5e16b54f98ccdd54bc0bb373d3fe92ed1bef3c5e
2012-06-27 20:05:51 +09:00
Markus Mohrhard
064bfb1aab add support for axis color import/export
Change-Id: I713981b9ae1a82ca0b014cde88abdc32af1f9975
2012-06-27 05:59:50 +02:00
Michael Meeks
69a51d2bb6 re-base on ALv2 code. 2012-06-26 11:33:02 +01:00
Michael Stahl
e9c3dcaf05 .cxx files don't need executable bits
Change-Id: Ic27d7728025b3d666c0ebaf9ec4cd2006d0c89bf
2012-06-22 22:39:29 +02:00
Michael Meeks
ecf943247f re-base on ALv2 code.
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-22 09:51:05 +01:00
Michael Meeks
ec5fa0164b replace all but one .hdl include with equivalent .hpp includes.
Change-Id: I15e94f112144549692d0c2babeb48c77adcb93a9
2012-06-21 19:28:47 +01:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Michael Meeks
b6db3e3acc re-base on ALv2 code.
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21 13:11:06 +01:00
Caolán McNamara
06e2005ed8 convert LocaleDataWrapper to OUString
Change-Id: Icb5f5adf9139d1c0f0e86d8128ea6742ce20b138
2012-06-18 15:13:51 +01:00
Takeshi Abe
462935f367 removed unused forward declarations of class
Change-Id: I819d5b931c937ec52b14f60591546d1d86c38631
2012-06-16 22:09:38 +09:00
Thomas Arnhold
f5533a71fa Remove obsolete inetdef.hxx
Change-Id: I043e226a1cec527c51cbd91075634d5c9ca371d8
2012-06-15 16:27:57 +02:00
Caolán McNamara
6191fa0847 reduce use of UniString ctor from null-terminated unicodearray
Change-Id: I98361309ada084d8f78517ce88f210d785f59cc0
2012-06-13 11:20:23 +01:00
Takeshi Abe
6c7da3e22a removed code commented-out in the first place
Change-Id: Idb109cf767342042f1a2941c30fcf137f468e7df
2012-06-13 16:43:39 +09:00
Michael Stahl
cd18b8e313 fix invalid vector.push_back(vector.back())
The vector::back() does not return a value but a reference, hence this
is invalid.

Change-Id: I8624b649deb8fb4de0d1d8af1288068acc80cef2
2012-06-12 14:14:42 +02:00
Eike Rathke
0f79440a86 work around spurious signed overflow warnings
gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2)
com/sun/star/uno/Sequence.hxx:178:10: error: assuming signed overflow does not
occur when assuming that (X - c) > X is always false [-Werror=strict-overflow]

Change-Id: Ibbc2f3533097ad379e1707f77039c675a0d00133
2012-06-12 13:32:21 +02:00
Caolán McNamara
8f5629fd5a remove EraseLeadingChars and EraseTrailingChars
Change-Id: Ib9797fe97cd008cc6508ce8cec47dc5373416892
2012-06-11 14:46:46 +01:00
Thomas Arnhold
3770bbbdba Remove superfluous empty lines on top
More than two lines are removed for readability.

Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-06-09 04:57:58 +02:00
Thomas Arnhold
d8afc8e5e9 Remove superfluous include comments
Change-Id: Ie5792855761b9be209bf3fa2cba9e6998523c982
2012-06-09 04:39:01 +02:00
Noel Grandin
392a483e10 fdo#46808, Adapt UNO services to new style, Part 7, updating ::create
Update code to use factory method PathSubstitutions::create

Change-Id: I3721bd93c36b207d849eea19102f5ac61cadd205
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-06 10:01:22 +02:00
Michael Stahl
4190e9351e fdo#30711: fix some problems in 7a1c5e54:
The elements are exported without checking for bAutoStyles, and the Any
conversion is overly verbose.

Change-Id: Iebb52c8cd2638424dd48d28ec5a12c10a41f6cbf
2012-06-05 14:01:26 +02:00
Thorsten Behrens
0e9598fa6c Catch more remnant ODFVER_LATEST instances.
This extends commit d0af38eaa0,
converting more latest-ver to 1.2-extended cases.
2012-06-05 10:54:02 +02:00
Thorsten Behrens
3fb24e6307 Fix fdo#50704 Default to absolute svg:d paths for ODF1.2 compat-mode
This writes out absolute paths, to side-step buggy odf consumers'
wrong handling of the 'z' statement (i.e. they ignore it for current
positions).
2012-06-05 05:11:42 +02:00
Thorsten Behrens
d0af38eaa0 Add ODF1.2 extended-but-more-compatible mode
With several legacy pre-ODF1.2 and ODF1.2-only consumers out there,
folks wanted a more backward-compatible ODF1.2 extended mode, that
uses stuff deprecated in 1.2, and/or is 'bug-compatible' to older
OOo-versions.

Therefore, adding ODFVER_012_EXT_COMPAT, and sticking it to several
attributes that were ODFVER_LATEST before.
2012-06-05 05:11:21 +02:00
Thorsten Behrens
24c260a271 Unify ODF extended vs. ODF1.2 handling
Make "export extended ODF" consistently mean "version > ODF1.2".
Future ODF versions need manual review anyway, of the various
changes/additions we ship.

Change-Id: I0f6c1646b306e18f0abcdd1a1802fece821b2e93
2012-06-05 05:10:57 +02:00
Noel Grandin
b3c76dee6d fdo#46808, Adapt UNO services to new style, Part 7, updating ::create
Update calls to factories to use new ::create methods

Change-Id: I01d4417820f52718836c92faf3c2fae0dc96b30d
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-04 16:57:55 +02:00
Takeshi Abe
54a908a003 nuke unused defines
Change-Id: I7924da4bff73ca8f82c76eb8cb211401530acdeb
2012-06-04 23:26:57 +09:00
Rafael Dominguez
27cd9157ac Import X errorbars.
Change-Id: I069271ad1c0f2fc5ec0854d6fb13aa0dc25be01d
2012-06-03 09:12:35 -04:30
Rafael Dominguez
5e1dfa9952 Export errorbars attributes and styles to XML.
- Instead of exporting the errorbar data to the series in a global way now each errorbar has its own attributes depending on their user settings,
so we can have different data for each type bar (only when using ODF 1.2 extended) and still keeping it backward compatible with old formats.
2012-06-03 09:12:34 -04:30
Rafael Dominguez
b4b403305a Map errorbars properties from chart2 API to xml. 2012-06-03 09:12:34 -04:30
Norbert Thiebaud
d29d9399d4 targeted string re-work
Change-Id: I342f1b8ac6c8205b6c587578a6b10a6ca51758fa
2012-06-02 16:48:34 -05:00
Norbert Thiebaud
0aca973181 targeted string re-work
Change-Id: I588fadc51fec90b3b04d61c2c63880236c535183
2012-06-02 16:48:34 -05:00
Norbert Thiebaud
ed65cd71ed targeted string re-work
Change-Id: I56fe169cb78e8b3d57a5949f90b8d364e95a3917
2012-06-02 09:42:47 -05:00
Norbert Thiebaud
df9ecb71c7 targeted string re-work
Change-Id: I44518bb1b464bb0b458c0b5f1c249ef160ea3b26
2012-06-01 09:41:50 -05:00
Norbert Thiebaud
6573aa15d4 targeted string re-work
Change-Id: I1e47f90e387724e74312091e577f010fb16ca72f
2012-06-01 09:41:48 -05:00
Michael Meeks
3eeca6d39a targetted re-work of minor cppcheck fixes
Change-Id: Id0c3cecaccb4d9733149061f652684d3398e9bf2
2012-05-31 14:58:04 +01:00
Takeshi Abe
bb9f730458 nuke unused typedef
Change-Id: I8848d0e687c3b19be1a8bc1f41c2a0c94e13bbbf
2012-05-31 01:56:28 +09:00
Norbert Thiebaud
1a5637b8a9 targeted string re-work
Change-Id: If9a9889fa36bc76c9afed295568ed9a05de4587f
2012-05-29 21:39:24 -05:00
Norbert Thiebaud
cc1743fe80 targeted string re-work
Change-Id: Ibc811f2ef501a91172e096a700821ab6bd9406ea
2012-05-29 20:59:45 -05:00
Michael Meeks
6e6d81e9cf targetted SAL_N_ELEMENTS reversion.
Change-Id: I30be93ccaeb1f9fd17cbe9e3ed3165e094810b2e
2012-05-29 18:03:34 +01:00
Markus Mohrhard
de68787292 support remaining data bar attributes in odf import/export
Change-Id: I6fdf7a6158002003938ee039152d582776aba5db
2012-05-26 02:08:19 +02:00
Markus Mohrhard
1171a13758 import new conditional format information
Change-Id: Iaa16792a74a3e33d3880cb9db41baf5613804387
2012-05-25 22:40:16 +02:00
Markus Mohrhard
f18a242966 use correct namespace for calc odf extensions
Change-Id: I6e0feab7e1d649fbf4dafb9f06d57f68e9a4b934
2012-05-24 12:38:11 +02:00
Markus Mohrhard
99f61e9b63 first part for databar export
# Changes to be committed:

Change-Id: Iffe020d60982c2872c1a451f9d0e4e1d4f5e349f
2012-05-24 12:38:11 +02:00
Stephan Bergmann
c452fcfb32 -Werror=unused-parameter
Change-Id: I06dc09d57821ac729182764882558fa079b5ed37
2012-05-22 13:33:48 +02:00
Tor Lillqvist
8e18130bba WaE: unused parameter 'rStrName'
Change-Id: Ia760fe7ae66f8caadb10947c3d743a9f64a55dc5
2012-05-22 14:22:31 +03:00
Noel Power
e623ee66df make row heights ( incl default row height ) from excel are saved absolute
Currently default row heights imported from Excel are not adjusted Optimally ( AdjustRowHeight() is no longer called ) However to ensure correct round tripping the CR_MANUALSIZE flag *is* still set, this results in the style:use-optimal-row-height="true" being set for default row height(s) when saving as odf. So, for example absolute positions which are calculated on importing the Excel document ( where the row height is *not* optimally adjusted ) are still saved with the 'style:use-optimal-row-height' set. When the row heights are read back into calc the row sizes are changed any absolutely positioned objects are now out of place. This patch ensures *all* row heights are from an imported excel document are saved with style:use-optimal-row-height="false"

Change-Id: If898b97ddb0c8b59a401d7b3c133b0eec09cd1db
2012-05-22 10:20:44 +01:00
Julien Nabet
c53812a1b7 Some cppcheck cleaning
Change-Id: Ic30cdeffabec1eb1a6c153ac450a3d28064ef534
2012-05-20 15:25:37 +02:00