257ba103fb
Resolves: fdo#66263 calc's protect records doesn't do anything, sid collision
...
Change-Id: I50c9f0bd28f17e5d56c6d6948871042ba64650ef
2013-07-01 11:50:35 +01:00
8be462fde9
the calculation of the progressbar leads to very slow saving
...
Change-Id: Ibba31126161b77b499561c5a74c057a56c07a4a8
Reviewed-on: https://gerrit.libreoffice.org/4647
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr >
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr >
2013-07-01 09:47:03 +00: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
318f2b64cc
remove some createFromAscii usage
...
there are a lot more of them:
git grep 'createFromAscii[^)]*"'
Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
2013-06-29 16:23:23 +02:00
34dc6baf2c
Try to fix compilation against an older SDK
...
Change-Id: Idd4d01c61ccba493554e359bc6ff4298e39633e3
2013-06-29 10:08:38 +03:00
def32c7e14
hide the style boxes to collapse the date entries fully
...
Change-Id: I58f06a57a05ef007afc203c737acfe29df6ea6a3
2013-06-29 05:46:18 +02:00
aa028cab4a
update all style lists when a new style is added
...
Change-Id: Ib404958e2bc0e3bfe075d1c94f348e907ee004c8
2013-06-29 05:46:17 +02:00
5b9bad7482
handle localized default style names, fdo#61339
...
We need to map localized style names during import and export from and
to ODF. The default styles are the only localized style names and are
not imported with the name written into the file.
Change-Id: Ibdc2f750b7a4b7ce6994b22248e237fe95ac638d
2013-06-29 02:56:38 +02:00
b3aabf223e
extract this functionality from the uno code
...
we need this code in our next step for some mappings in the filters code
Change-Id: I059d9d05877846215e1a967123dc253de605417e
2013-06-29 02:56:38 +02:00
d4f631e8ce
only clean the cond format if we want to write attribs, fdo#62267
...
Change-Id: I2f4feecb3180b165f6b9b299ecb3dcdbb65f87e3
2013-06-29 02:56:25 +02:00
4911762d5e
no need to have this class in the header file
...
Change-Id: Ifc7c8f061861f61384e68ad30daed35e9870955a
2013-06-29 02:56:23 +02:00
17cb1d6d82
allow these cond formats to be updated when formula val changes,fdo#64401
...
When the formulas depend on cells outside of the paint range we need to
update the whole range. This approach will update the range more often
than necessary but prevents that we need to mess with ScFormulaCell.
In the future we should replace ScFormulaCell in this part of the code
with something simpler that will correctly fix this problem.
Change-Id: Ie8a8e5205f9ea1e43bb6d9f8bee6e0bab29e4840
2013-06-29 00:08:17 +02:00
a539cf2c09
use the local setting aware method for the UI, fdo#64754
...
Change-Id: Ie3117c26b347e1a8996ef9cbcb8b0d6ee561b5b3
2013-06-29 00:08:16 +02:00
e0f49ff1fd
This is obviously a mistake, & caused Calc to crash on Ctrl-D.
...
Change-Id: I85787366313e38ce0ff503c7677e4407c1e2e30e
2013-06-28 14:25:42 -04:00
f042e22f53
fdo#43460 sc: use isEmpty()
...
Change-Id: I062570091ebea0ad30f09b0358ab664a3ff949ef
Reviewed-on: https://gerrit.libreoffice.org/4316
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-06-28 12:08:40 +00:00
5cb2e3104b
remove toolkit/unohlp.hxx hack
...
Change-Id: Idb9971d848870f4d00dbf77e80e48bf7dfde8913
Reviewed-on: https://gerrit.libreoffice.org/4601
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-06-28 11:49:28 +00:00
396ab1eba7
convert pdf security page to .ui
...
Change-Id: Ie785f4b112b8992707f886720d92bd34d0823f39
2013-06-28 11:50:15 +01:00
c7e1845985
Further MCE work
...
As it is wrong (says Thorsten) to override the methods from
XFastContextHandler in ContextHandler2 in its derived classes, mark them with
SAL_FINAL to catch that (when compiling with a compiler thaty supports
"final").
Do corresponding changes then; change createFastChildContext() methods to
onCreateContext() ones instead.
Now the unit tests work, and a sample PPTX that uses embedded OLE thingies
loads without crash, but unfortunately it looks like crap...
Change-Id: Ie30022f37418ba9caf8ce59fe4003b808fa900f3
Reviewed-on: https://gerrit.libreoffice.org/4578
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-06-28 09:02:12 +00:00
32ce3c6b0a
More OOXML Markup Compatibility and Extensibility (MCE) support
...
Change many classes in oox to be based on ContextHandler2 instead of
ContextHandler. That supposedly adds MCE support.
This is a minimal initial effort. It compiles and links but doesn't work
(CppunitTest_chart2_export fails). Follow-up coming...
Change-Id: If89117abd48cfead468633fd7fce1ea785f6f420
Reviewed-on: https://gerrit.libreoffice.org/4577
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-06-28 09:01:52 +00:00
e107cd53e7
WaE: using directive refers to implicitly-defined namespace 'std'
...
No C++ std library header has been included and no std API is used
anyway, so the directive is pointless.
Change-Id: Idcb7698a56eb5cc1400f085c2c2cc7424f6f8b03
2013-06-28 10:55:57 +03:00
c38a9b9041
Apple has the header in a different path
...
Change-Id: Ieae4ac97c8938a6c0a7fa33438669200763c818f
2013-06-28 10:55:56 +03:00
e33844c309
These test were removed by accident.
...
Change-Id: I11ec1972c714b867f3b1be71a45b8e3d65cce656
2013-06-27 21:51:13 -04:00
4ba92ec1d5
Specify type for cppunit macros.
...
Change-Id: Ia639be24af7dd480fbe45530673ff01b700de324
2013-06-27 18:45:23 -04:00
1adf99bf23
Revert "These should be ifdef, per compiler warnings."
...
This reverts commit fcf4a2ea98c59c4d9d95c4c3b437aa02f414acd3.
2013-06-27 17:29:16 -04:00
fcf4a2ea98
These should be ifdef, per compiler warnings.
...
Change-Id: I302d9ca63bc289fce99bf3e64d9aa3fcbcabf694
2013-06-27 16:45:47 -04:00
7ae43cdd7f
Turn off column debug and remove warnings.
...
Change-Id: Ic7dd79c1e420e87dcaff4126d60763ff8cbe9344
2013-06-27 15:50:08 -04:00
d6824709d2
Rename a variable to something more meaningful.
...
Change-Id: I860e5301e3fec3f06f318b28787f71b63dbaf0ab
2013-06-27 15:50:08 -04:00
ff5d891b48
Some attempt to clean ScFormulaCell::UpdateReference() a bit.
...
This method is still a monster, however...
Change-Id: I4aaa2d20c8ae6132a75c7c92c0a1b58882d8a261
2013-06-27 15:50:08 -04:00
b5e8b51f86
Reduce indentation to a sane level.
...
Change-Id: I2940ca21f8cee0d780e58cfcda50705be61568d9
2013-06-27 15:50:07 -04:00
c8ed4d86bb
Remove this old attempt of shared formula code.
...
We'll devise a brand-new solution for this.
Change-Id: Ib4e04b3ce0b5d1ab511aecfab35f81e43dd4edf9
2013-06-27 15:50:07 -04:00
d14e48591f
A little more detail in the method documentation.
...
Change-Id: I0f25a8e660ff98d89965ff3428873dec43dbeda1
2013-06-27 15:50:07 -04:00
bac886b75f
ScColumn::UpdateReference to take ScRange as a parameter.
...
To reduce the number of parameters by 5. Also add *some* description
of this method esp what the range means when updating formula references.
Change-Id: Iccde58d6ecde6f0c09c111cf9b4f551ce392effb
2013-06-27 15:50:07 -04:00
cfc732b858
No need to increment formula row positions in InsertRow().
...
UpdateReference() which gets called before InsertRow() moves the formula
positions.
Change-Id: I6d00607a1a1b4463f69bb58610f6ba41871e4475
2013-06-27 15:50:06 -04:00
b5a195e65c
More on shared formula cell handling.
...
Change-Id: Ifb0feff8c7016e3cadfa219ea6421852112ca189
2013-06-27 15:50:06 -04:00
ab030f75de
Handle formula cells in SwapCell().
...
Change-Id: I9ddc69793e70bd399b93ce472a38060b1a946ff9
2013-06-27 15:50:06 -04:00
a8153482ad
Proper handling of formula cells in SwapRow().
...
Change-Id: Id295160b69cc5cb40cd9e0403928dac8b0e58807
2013-06-27 15:50:06 -04:00
85ce60d4c4
Make this a member method too.
...
Change-Id: Ib1b16ce5a7a36560b04d4d57b585fdcf2a2b294d
2013-06-27 15:50:05 -04:00
a37a2c3b28
Make this a member method of ScColumn.
...
Change-Id: I5d0a573d277338ddef60fdd58bfb1f5ba7fc695e
2013-06-27 15:50:05 -04:00
2b300a9e90
We don't need this formula group vector.
...
Change-Id: I96f3b19a5bb0d761b7abd943df6a2e48cfcbf9bd
2013-06-27 15:50:05 -04:00
58d309f141
Extract this code block into an own function.
...
Change-Id: I6abe520ad6392e4f9163434b73f3b3ab88a71297
2013-06-27 15:50:05 -04:00
13822d7a7a
Don't forget to transfer this too when splitting group.
...
Change-Id: I3337504f6b95f273106e809da90d089cd76d8bdb
2013-06-27 15:50:04 -04:00
64d667ac29
Initial version of dynamic grouping of formula cells.
...
And tests to go along with it.
Change-Id: Idf5ff3b819aa557a1ae31dfb4d0b2c3a8216ed75
2013-06-27 15:50:04 -04:00
604b9e646e
Implement a way to set an array of formula results to formula cell group.
...
Change-Id: Ifdea531e963339607a5066f81af32ffedfd408aa
2013-06-27 15:49:06 -04:00
9241d3b4a7
Remove these unused files.
...
Change-Id: Ifcff5ee2849f9f390f82197fa60a3cea12dd0b27
2013-06-27 15:47:57 -04:00
99517ea08a
Adopt CopyAsLinkHandler as well.
...
With this, we no longer use CopyCellsInRangeToColumn().
Change-Id: I6506d72d084f724ccf7a6395a0daf88fe7bff40e
2013-06-27 15:47:56 -04:00
66b6e32bb4
Adopt CopyByCloneHandler to ParseBlock().
...
Change-Id: Iac82967a9cdd1b7c3e062b1931bb306cf160bba0
2013-06-27 15:47:56 -04:00
cbea3f5af0
CopyUpdated() to use ParseBlock() instead of CopyCellsInRangeToColumn().
...
Change-Id: I7f1456462ac3bb9d551d3d1bb303a68d74fa16f1
2013-06-27 15:47:56 -04:00
9a57831125
Let's not forget to store the position afterward.
...
Change-Id: Ia5067db46460e164643dd8cc6d21b68a05b3b33a
2013-06-27 15:47:55 -04:00
ccb1edf29c
Replace CopyCellsInRangeToColumn() with ParseBlock().
...
Change-Id: I7b7f827fcdb9e31956d0b123ecee8751d791e54f
2013-06-27 15:47:55 -04:00
7c309d8e47
Remove this inheritance.
...
Change-Id: I37e0a6b8e95f56210df823af7aa8828189edfbef
2013-06-27 15:47:55 -04:00