Commit Graph

708 Commits

Author SHA1 Message Date
1ca3beae12 remove all my debug code
This should never have been pushed.

Change-Id: Ida67b0716a916cb7c3b9af7430abc51800414f18
2013-06-30 04:01:36 +02:00
14fa5488a8 transpose "data in rows" ranges for internal data provider, fdo#62057
This is an ugly hack but it at least works. This regression has been
introduced by the merge from the AOO code. The order of calls during
import is totally screwed and I have no idea how to properly fix all
these problems without introducing new regressions.

The best solution would be to move the import/export code into chart2
where we could manipulate tese properties directly and would not need to
transform the same information N times until it is written into the
chart code.

Change-Id: Id53c49441c683b19a973a48884135a3f4e89de03
2013-06-30 04:01:36 +02:00
ba0a57702c remove OUString wrap for string literals
For some functions and all kinds of Exceptions.

CannotConvertException
CloseVetoException
DisposedException
EmptyUndoStackException
ErrorCodeIOException
Exception
GridInvalidDataException
GridInvalidModelException
IOException
IllegalAccessException
IllegalArgumentException
IllegalTypeException
IndexOutOfBoundsException
NoMasterException
NoSuchElementException
NoSupportException
PropertyVetoException
RuntimeException
SAXException
ScannerException
StorageWrappedTargetException
UnsupportedFlavorException
VetoException
WrappedTargetException
ZipIOException
throwGenericSQLException
throwIllegallArgumentException

createInstance
createInstanceWithContext
forName
getByName
getPackageManager
getPropertyValue
getUnpackedValueOrDefault
getValueByName
hasPropertyByName
openKey
setName
setPropertyValue
supportsService

bash command:

for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx'
	| cut -d ':' -f1 | sort -u
	| xargs sed -i
		-e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g"
		-e "s/\($i.*\)\"+ /\1\" + /g";
done

Change-Id: Iaf8e641b0abf28c082906014f87a183517630535
Reviewed-on: https://gerrit.libreoffice.org/4624
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-29 21:52:54 +00:00
04c8425e2f add option to debug chart odf internal data provider import
Change-Id: Ife9a2d7d5f6e47a16b0572b43f20d3010d60f277
2013-06-29 00:08:16 +02:00
ad09b2f7ef fdo#43460 xmloff: use isEmpty()
Change-Id: I298767cc0ec03c22d3ae687939f0f9d5ce1963c1
Reviewed-on: https://gerrit.libreoffice.org/4348
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
2013-06-19 10:10:39 +00:00
de8a82d9ac use the implicit conversion
Change-Id: I1d4739721c297e6d5605d93b6e86e114ea12db85
2013-06-16 15:38:04 +02:00
52fcfa0707 remove method without definition
Change-Id: Ia41f28ed31fc254a6785c6444a78822eb969f2f9
2013-06-13 09:26:29 +02:00
bae42fd6da fdo#46808, Convert chart2::RegressionEquation service to new style
The service already existed, it just needed an IDL file

Change-Id: I56b7079b098a7615dfb24598d15fe7d57691f317
2013-05-15 08:25:37 +02:00
aee01f809e x error bars are also defined in ODF 1.2
I suppose they were deactivated in ODF 1.2 because of the invalid ODF
files produced by the old code

Change-Id: I42624a3e0f57405b38110bef86a0aa533f491c6c
2013-04-24 12:32:11 +02:00
b3bf16a5c4 fix a problem with error bar weight
Change-Id: I812bbcdc346bffd2f0c968077a3fe86a241cf231
2013-04-24 12:17:48 +02:00
c5cca8e48f fix mismerge in PropertyMap.hxx
Change-Id: Ic8a0b81a9a44d8494ef1634e23b25fcb9423e7ff
2013-04-22 13:57:32 +02:00
13861b853f get the handling of error bar ranges correct in xmloff
We finally produce valid files again for error bars export. Additionally
we don't export unnecessary attributes anymore.

Change-Id: Idc4b4259c47a945e3679dac1a9810cd9f1f05bac
2013-04-22 13:57:32 +02:00
4475e4f3d9 more work on getting the error bar export produce valid docs
Change-Id: I19189e6be83dde58b4b3b7b55f40b701818eceed
2013-04-22 13:57:31 +02:00
f6bf4933e1 bring some sense into the error bar mappings for styles export
There were several properties that were duplicated for the X error bars
but where effectively not used by the code as these properties did not
work.

We now specify only one used entry from the chart2 API and remove the
entries from the old chart API. As soon as the old chart API is unused
in the import/export filter we can deprecate it.

Change-Id: Ib0487b41ea044136714037c27418ce049a5b92b7
2013-04-22 13:57:31 +02:00
63f7b9d1a3 little formatting clean-up
Change-Id: I3f30e2b69933f740a9938ac1ed93e7f7727b78bc
2013-04-22 13:57:31 +02:00
671b73789b fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERT
- replaced osl_trace with sal_info
 - replaced dbg_* with sal_*

Change-Id: I4db4a2db0f4f2e9913826f428ba129099b1ac8a8
Reviewed-on: https://gerrit.libreoffice.org/3526
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-22 08:16:49 +00:00
8546c324ff Remove pass-through header file sot/inc/sot/clsids.hxx
Change-Id: I122669d4ffaf72fb1d5f6fccc98e8a648f31aa23
Reviewed-on: https://gerrit.libreoffice.org/3490
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-20 14:55:56 +00:00
6a0f56b09d Fix typos: HEIGTH -> HEIGHT and WEIGTH -> WEIGHT
Change-Id: Ie5dc62bf535360cde8a5ccd6f8be3965ff48739c
Reviewed-on: https://gerrit.libreoffice.org/3435
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-04-18 09:07:07 +00:00
d461088eb4 fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERT
- replaced osl_trace with sal_info
 - replaced dbg_* with sal_*

Change-Id: Ie5d3ae7d2c5dbaaed30d0b39740748845c9f1641
Reviewed-on: https://gerrit.libreoffice.org/3423
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-17 20:29:37 +00:00
c32b6be06b fdo#60724 correct spelling
Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
2013-04-15 05:32:37 +02:00
435f5e30c9 fdo#60724 correct spelling
Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
2013-04-15 05:10:29 +02:00
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
25e5d697bc Prefer prefix ++/-- operators for non-primitive types
Change-Id: If5950affaff1537362b1e5c2e3791d04c5371306
2013-04-01 20:22:02 +02:00
630ccf5b3b remove duplicate copy of SchXMLSeriesHelper: take 2
This allows oox to be added to Library_merged

Change-Id: I62b437ca99f1b9df9662eb3a8b9e301ed704f850
2013-03-21 19:41:57 -04:00
ccf8f9427e Revert "remove duplicate copy of SchXMLSeriesHelper"
This reverts commit 13d935d01e61fa821a5ef5893181190c90ae8e0e.

Appears to be broken.
2013-03-21 17:52:09 -04:00
13d935d01e remove duplicate copy of SchXMLSeriesHelper
This allows oox to be added to Library_merged

Change-Id: I62b437ca99f1b9df9662eb3a8b9e301ed704f850
2013-03-21 17:27:01 -04:00
b2f8318dbd simplify OUString assignments
Change-Id: Ieffd80aa84c9a041785bb81b3a904a32d00cb2bb
Reviewed-on: https://gerrit.libreoffice.org/2863
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
2013-03-20 10:28:58 +00:00
3991eaf556 reduce whitespaces between include and filename
Change-Id: I15f6ad0a760a28cbac53f99ba4d14ff5c24ce005
2013-03-19 01:26:45 +01:00
7e18e657c1 let us keep the gnumeric value handling in xmloff
Change-Id: I51c7ca53ec8b023dc06b43ec9cb1052d135d14d5
2013-03-19 02:36:46 +01:00
bf033461c5 fdo#61135 stepped lines graph: handle ods files
The boilerplate code for drawing the 4 types of stepped is in place (as
described in ODF1.3,
https://tools.oasis-open.org/issues/browse/OFFICE-3662).
We can also read the current attribute values used in Gnumeric. These values
are converted to ODF1.3 during save.

Change-Id: I0f04a779de4b65326ed7ce6de56191f11b51c596
2013-03-19 02:36:46 +01:00
094bab7f90 we need to register data sequences during import, fdo#52159
Change-Id: I203be719a6ee19c87ed232218f7700d875c2871f
2013-03-18 02:30:17 +01:00
a6d12acda9 use the right range representation, fdo#52159
Change-Id: I36ede89ccb8836708a4f87c4815bbe2fb6d6f3cf
2013-03-18 02:30:15 +01:00
b6e60d3eb5 remove redundant property handler factory.
Change-Id: I458f8f4a9575c2afddcd4f4d2f9494bffd5ff127
2013-03-14 13:26:42 +00:00
41e03a166e doubled using
Change-Id: Ib1d3213a688194bfb027b7bca5bd9ac1b7bb1b28
2013-03-05 12:34:33 +01:00
53630966cc another fix for error bar import, related fdo#60083
Change-Id: I843a597702cb0cb66d8696c277666e1605091c09
2013-03-04 12:57:24 +01:00
32943a5b7e binfilter: remove some traces
Change-Id: I5b03dcb5d1f8c73c7a308e7ae209cc7872f18c61
2013-03-03 20:30:44 +01:00
f5ca04caca Related to fdo#60724: correct spelling
Using the autocorrect list of LibreOffice
extras/source/autotext/lang/en-US/acor/DocumentList.xml

Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657
Script: http://pastebin.ca/2327716
2013-03-03 17:14:16 +01:00
ecf0040337 loplugin: improve indentation
Change-Id: If0ddaa8fd7cfaf4df8589422cb50ce37f1be2ad1
2013-03-03 17:14:15 +01:00
bf0e0f8856 and one more fix for error bar import, related fdo#60083
Change-Id: I76ff4849137aaad175b3c95dce6644d612871201
2013-03-03 09:10:11 +01:00
c91b8d3251 one more fix for error bar import, fdo#60083
This makes it finally possible to import the original test document.

Change-Id: I5941f2ce303a28674dcf04aeabbbbc2d178c0913
2013-02-26 22:41:42 +01:00
91b67ad718 get the x-error-import working as well, fdo#60083
Change-Id: I2d2af3944985776cb8bebf47322b348745d66410
2013-02-26 09:07:11 +01:00
b63d1e5662 get at least the y-error-bar import working again, fdo#60083
This still does not help with the x-error-bars but it is a first step in
the right direction. There are still some nasty problems around the
different possibilities how the error bar information can be stored in
the file.

Change-Id: I8022fbfc8d372c9863d236253a2a63364198bfc8
2013-02-26 07:41:46 +01:00
bbe02c2212 coverity#705444 Improper use of negative value
Change-Id: Ie3b7634e099de5c8b9a4a77daf47c6038dade370
Reviewed-on: https://gerrit.libreoffice.org/2320
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-02-24 23:56:40 +00:00
d5da648056 remove RTL_CONSTASCII_(U)STRINGPARAM in xmloff
Change-Id: I86163e68d0993dcaf6888060ace17f5dba812f1a
2013-02-24 21:06:00 +01:00
1c0dbe4629 remove stray makefile.mk in xmloff
Change-Id: Ic675c30449810fb979f97f53cab5f4eb8c77593b
2013-02-18 16:46:15 +01:00
a6a8a8707b fdo#46808, convert xmloff module code to use XComponentContext
with lots of repurcussions in other modules

Change-Id: I6982671eecc701b06cf85d93533e1fe618044fea
2013-02-12 10:14:43 +02:00
e5fdaec54a fdo#46808, Adapt document::XML*BasicExporter UNO services to new style
The services are
   document::XMLBasicExporter
   document::XMLOasisBasicExporter

Change-Id: Ifd93e5735cae94d34904d79769cdb3edf587fe43
2013-02-11 08:02:11 +02:00
c1760a241b WaE: 'bVal' may be used uninitialized in this function
Seen in the MacOSX-Intel_1-built_no-moz_on_10.6.8 tinderbox build log,
not in an own build.

Change-Id: I1b5c87d3c1876821981d8f8a7b089b81659e5c7b
2013-01-24 13:29:02 +02:00
043e30baed fdo#58562: Ensure internal data is always used when pasting to another doc.
Without this, pasting a chart object from one Calc doc to another may
occasionally incorrectly switch to range references *if* the destination
document contains the "right" set of sheet names.  With this fix, pasted
chart objects always switch to internal cached data source when pasting
to another document, while retaining range references when pasting within
the same document.

Change-Id: If1dbc854c5faae62f06ece155fad470b229ca0c7
2013-01-23 22:23:02 -05:00
f6c759a6e5 fdo#46808, Adapt chart2::data::LabeledDataSequence UNO service to new style
Change-Id: I98bfbc8e143b9ad9d486f97380186fde9b4423ec
2013-01-15 09:56:01 +02:00