summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2013-06-29remove OUString wrap for string literalsThomas Arnhold
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-29remove some createFromAscii usageThomas Arnhold
there are a lot more of them: git grep 'createFromAscii[^)]*"' Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
2013-06-29Try to fix compilation against an older SDKTor Lillqvist
Change-Id: Idd4d01c61ccba493554e359bc6ff4298e39633e3
2013-06-29hide the style boxes to collapse the date entries fullyMarkus Mohrhard
Change-Id: I58f06a57a05ef007afc203c737acfe29df6ea6a3
2013-06-29update all style lists when a new style is addedMarkus Mohrhard
Change-Id: Ib404958e2bc0e3bfe075d1c94f348e907ee004c8
2013-06-29handle localized default style names, fdo#61339Markus Mohrhard
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-29extract this functionality from the uno codeMarkus Mohrhard
we need this code in our next step for some mappings in the filters code Change-Id: I059d9d05877846215e1a967123dc253de605417e
2013-06-29only clean the cond format if we want to write attribs, fdo#62267Markus Mohrhard
Change-Id: I2f4feecb3180b165f6b9b299ecb3dcdbb65f87e3
2013-06-29no need to have this class in the header fileMarkus Mohrhard
Change-Id: Ifc7c8f061861f61384e68ad30daed35e9870955a
2013-06-29allow these cond formats to be updated when formula val changes,fdo#64401Markus Mohrhard
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-29use the local setting aware method for the UI, fdo#64754Markus Mohrhard
Change-Id: Ie3117c26b347e1a8996ef9cbcb8b0d6ee561b5b3
2013-06-28This is obviously a mistake, & caused Calc to crash on Ctrl-D.Kohei Yoshida
Change-Id: I85787366313e38ce0ff503c7677e4407c1e2e30e
2013-06-28fdo#43460 sc: use isEmpty()Jelle van der Waa
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-28remove toolkit/unohlp.hxx hackThomas Arnhold
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-28convert pdf security page to .uiCaolán McNamara
Change-Id: Ie785f4b112b8992707f886720d92bd34d0823f39
2013-06-28Further MCE workTor Lillqvist
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-28More OOXML Markup Compatibility and Extensibility (MCE) supportTor Lillqvist
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-28WaE: using directive refers to implicitly-defined namespace 'std'Tor Lillqvist
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-28Apple has the header in a different pathTor Lillqvist
Change-Id: Ieae4ac97c8938a6c0a7fa33438669200763c818f
2013-06-27These test were removed by accident.Kohei Yoshida
Change-Id: I11ec1972c714b867f3b1be71a45b8e3d65cce656
2013-06-27Specify type for cppunit macros.Kohei Yoshida
Change-Id: Ia639be24af7dd480fbe45530673ff01b700de324
2013-06-27Revert "These should be ifdef, per compiler warnings."Kohei Yoshida
This reverts commit fcf4a2ea98c59c4d9d95c4c3b437aa02f414acd3.
2013-06-27These should be ifdef, per compiler warnings.Kohei Yoshida
Change-Id: I302d9ca63bc289fce99bf3e64d9aa3fcbcabf694
2013-06-27Turn off column debug and remove warnings.Kohei Yoshida
Change-Id: Ic7dd79c1e420e87dcaff4126d60763ff8cbe9344
2013-06-27Rename a variable to something more meaningful.Kohei Yoshida
Change-Id: I860e5301e3fec3f06f318b28787f71b63dbaf0ab
2013-06-27Some attempt to clean ScFormulaCell::UpdateReference() a bit.Kohei Yoshida
This method is still a monster, however... Change-Id: I4aaa2d20c8ae6132a75c7c92c0a1b58882d8a261
2013-06-27Reduce indentation to a sane level.Kohei Yoshida
Change-Id: I2940ca21f8cee0d780e58cfcda50705be61568d9
2013-06-27Remove this old attempt of shared formula code.Kohei Yoshida
We'll devise a brand-new solution for this. Change-Id: Ib4e04b3ce0b5d1ab511aecfab35f81e43dd4edf9
2013-06-27A little more detail in the method documentation.Kohei Yoshida
Change-Id: I0f25a8e660ff98d89965ff3428873dec43dbeda1
2013-06-27ScColumn::UpdateReference to take ScRange as a parameter.Kohei Yoshida
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-27No need to increment formula row positions in InsertRow().Kohei Yoshida
UpdateReference() which gets called before InsertRow() moves the formula positions. Change-Id: I6d00607a1a1b4463f69bb58610f6ba41871e4475
2013-06-27More on shared formula cell handling.Kohei Yoshida
Change-Id: Ifb0feff8c7016e3cadfa219ea6421852112ca189
2013-06-27Handle formula cells in SwapCell().Kohei Yoshida
Change-Id: I9ddc69793e70bd399b93ce472a38060b1a946ff9
2013-06-27Proper handling of formula cells in SwapRow().Kohei Yoshida
Change-Id: Id295160b69cc5cb40cd9e0403928dac8b0e58807
2013-06-27Make this a member method too.Kohei Yoshida
Change-Id: Ib1b16ce5a7a36560b04d4d57b585fdcf2a2b294d
2013-06-27Make this a member method of ScColumn.Kohei Yoshida
Change-Id: I5d0a573d277338ddef60fdd58bfb1f5ba7fc695e
2013-06-27We don't need this formula group vector.Kohei Yoshida
Change-Id: I96f3b19a5bb0d761b7abd943df6a2e48cfcbf9bd
2013-06-27Extract this code block into an own function.Kohei Yoshida
Change-Id: I6abe520ad6392e4f9163434b73f3b3ab88a71297
2013-06-27Don't forget to transfer this too when splitting group.Kohei Yoshida
Change-Id: I3337504f6b95f273106e809da90d089cd76d8bdb
2013-06-27Initial version of dynamic grouping of formula cells.Kohei Yoshida
And tests to go along with it. Change-Id: Idf5ff3b819aa557a1ae31dfb4d0b2c3a8216ed75
2013-06-27Implement a way to set an array of formula results to formula cell group.Kohei Yoshida
Change-Id: Ifdea531e963339607a5066f81af32ffedfd408aa
2013-06-27Remove these unused files.Kohei Yoshida
Change-Id: Ifcff5ee2849f9f390f82197fa60a3cea12dd0b27
2013-06-27Adopt CopyAsLinkHandler as well.Kohei Yoshida
With this, we no longer use CopyCellsInRangeToColumn(). Change-Id: I6506d72d084f724ccf7a6395a0daf88fe7bff40e
2013-06-27Adopt CopyByCloneHandler to ParseBlock().Kohei Yoshida
Change-Id: Iac82967a9cdd1b7c3e062b1931bb306cf160bba0
2013-06-27CopyUpdated() to use ParseBlock() instead of CopyCellsInRangeToColumn().Kohei Yoshida
Change-Id: I7f1456462ac3bb9d551d3d1bb303a68d74fa16f1
2013-06-27Let's not forget to store the position afterward.Kohei Yoshida
Change-Id: Ia5067db46460e164643dd8cc6d21b68a05b3b33a
2013-06-27Replace CopyCellsInRangeToColumn() with ParseBlock().Kohei Yoshida
Change-Id: I7b7f827fcdb9e31956d0b123ecee8751d791e54f
2013-06-27Remove this inheritance.Kohei Yoshida
Change-Id: I37e0a6b8e95f56210df823af7aa8828189edfbef
2013-06-27Identify spots where we may need to regroup formula cells.Kohei Yoshida
Change-Id: Ib448480bb3a3e39638dd42cafc272934a226cc1e
2013-06-27I forgot to pass the string param objects.Kohei Yoshida
Change-Id: I691de93daa1a6acaa99fba3af359f062406023d3