Commit Graph

25314 Commits

Author SHA1 Message Date
d8463f95ea catch by const
Change-Id: I4d51552a28ecd169a03e6c3dad992c9b2217dc74
2014-09-02 12:14:44 +01:00
7ea14056cb fdo#75757: remove inheritance to std::vector
from FontPortionModelList.

Change-Id: Ice34808107a7b381e39d5f7d164590b48a630ee0
Reviewed-on: https://gerrit.libreoffice.org/11229
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2014-09-02 06:10:14 -05:00
1a91abb451 Avoid invalid premature downcasts
Change-Id: Ifc6d84a63719b141ddc9bd89349d4a605d2b3e00
2014-09-01 17:09:30 +02:00
024f334c48 Revert "fdo#44081 don't remove 'edit' pop-up menu entry from form in design mode"
This reverts commit 15cea073e7ed4970e60967fe036fc492e2052203. I
overlooked the fact during review that this introduces an svx <-> sfx2
circular dependency.
2014-09-01 10:42:12 +02:00
15cea073e7 fdo#44081 don't remove 'edit' pop-up menu entry from form in design mode
Change-Id: I9700d0d729a8f2d1255fcd03a07e05799e21f8d0
Reviewed-on: https://gerrit.libreoffice.org/11152
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-09-01 03:20:52 -05:00
e96d259313 interpr: ZinsesZins is Compound Interest
There are many more, like ScZinsZ, ScLaufz, ScGetZw,...

And some I can't identify, because my financial vocabulary is limited:

nZr Zinsrate
nZzr Zinseszinsrate
nBw ?
nZw Zinswert
nRmz ?

and many many more ;)

Change-Id: I11c26a8d4519bbd1e8242d27d3815db2bc3fdecd
2014-08-30 11:12:40 +02:00
dcda429221 interpr: fPeriodn -> fPeriods
Change-Id: I21b76d2d121b27c5b4aeb676948786ab91bff0b7
2014-08-30 11:12:24 +02:00
e886f9ad66 fdo#39674: translated German to English
Conflicts:

	sc/source/core/tool/interpr2.cxx

Change-Id: Ib063cafa895abd7d792ca068d727ea161946679c
Reviewed-on: https://gerrit.libreoffice.org/11184
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-30 03:55:44 -05:00
5605a36a31 fdo#39674: Improved translation
Conflicts:

	sc/source/core/tool/interpr2.cxx

Change-Id: Ib80472a1670b61fdea61bdee4d52b19e28b85d63
Reviewed-on: https://gerrit.libreoffice.org/11192
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-30 03:47:11 -05:00
552b5e1f23 WaE: private field 'mnId' is not used
Change-Id: Id3e9c2c380b8c2388eda9e650dae635bfbae7711
2014-08-30 10:04:19 +03:00
fcc6e8ae56 Remove the old xlsx pivot table export code.
Change-Id: I6725cbc331b51f66025a8294612c6a5918c07adf
2014-08-29 18:36:40 -04:00
f37c6e0d11 Correctly export subtotal functions of data fields.
Take note that data field may be duplicated.

Change-Id: I8f787075869f38d0101da2787bac315c71d8a6e8
2014-08-29 18:24:32 -04:00
3b856f0287 Use the source dimension name when searching for a dimension.
Otherwise we might miss the right dimension object.  This fixes the bug where
the subtotal function of the second data field was not set correctly when
importing from xlsx.

Change-Id: Id6ecb07b86cf6803a3f6f7604267ce2f5f9a4067
2014-08-29 18:24:32 -04:00
bfaf4401b4 Export data layout field to xlsx correctly.
Excel uses a field index of -2 to indicate a data layout field.

Change-Id: I6b18c0bcff439eb4425ef0b0d0b841633dc81dd7
2014-08-29 18:24:31 -04:00
8d57c90b02 WaE: unused function 'isGL3DDiagram'
Change-Id: I0af5bf5e7d36036b3f0c98d01c8549c2b8e1aa1f
2014-08-30 00:07:37 +03:00
8d509d69b4 This OpenGL window is useless
Change-Id: Ied9914c9a317dc3945c29b984d2a68957275fc52
2014-08-29 17:40:29 +02:00
43d23a24fd opengl charts: Move the init from sc to chart2, to have the right parent.
Conflicts:
	chart2/source/view/charttypes/GL3DBarChart.cxx

Change-Id: I1e23329345e00e7d8e1f269c832e84d015824c0a
2014-08-29 17:40:25 +02:00
f5aeaa3845 bnc#822173: Initial work on exporting pivot cache and pivot table to xlsx.
Still not perfect, but it somewhat does work.

Change-Id: Ic248e20f7ab18a37f56b2034f57551dded956bab
2014-08-28 21:37:08 -04:00
902e3898d3 Make some methods non-inline, and add method descriptions.
Change-Id: Ib8d5fa666827a7f97035ad37d05e305bb920c300
2014-08-28 21:37:00 -04:00
8074841146 fdo#39468 Translate German comments in sc/source/ui/miscdlgs
Change-Id: I3b15d653206e7c55422a08951466916947052a24
Reviewed-on: https://gerrit.libreoffice.org/11155
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-08-28 01:40:30 -05:00
b77bf9759a assert on first use
Change-Id: I63a513406dbd90746bcad9da88945f49d2b51cc5
2014-08-27 14:05:11 +02:00
53617c8651 callcatcher: update unused code
Change-Id: Idaed255e4f004ad555ccbd6ba9dc29bf522d3c5f
2014-08-27 10:18:31 +01:00
aebcabd54c out-of-bounds string access, this comparison never matched
aName == aLinkTabName.copy(nIndex, nLinkTabNameLength)
is not a replacement for
String(aName).Equals(String(aLinkTabName), nIndex, nLinkTabNameLength)
instead use
aName.match( aLinkTabName, nIndex)
because here nLinkTabNameLength actually is aLinkTabName.getLength()

Change-Id: I884f56541f819db5672e9d096a26a3673e82d83b
2014-08-27 00:34:43 +02:00
bbe49667aa We don't need this branching here anymore.
Change-Id: I5253e919b85d66fb826eb76a8369f928611644ed
2014-08-26 09:41:26 -04:00
4d32244437 Avoid possible memory leaks in case of exceptions
Change-Id: Ib4a87cab2729e18b2c830cbd7e7a34d62b5f0f45
2014-08-26 19:47:14 +09:00
0792aef901 fdo#83067 also volatile cells need to listen to all references
As we now broadcast also cell moves it is not sufficient anymore to add
volatile cells only to the BCA_LISTEN_ALWAYS broadcaster, add them as
listener to all referenced cells and ranges as usual.

Change-Id: I7901b73db7e0c82c4bac302ae746810cbc16ea44
2014-08-25 22:00:24 +02:00
1d1d1c62ca fdo#36772 Move the scrollbar and sheet tabs in a separate row.
Change-Id: I57d891d9f6e89dafb4840a577ba55baa734fdcc2
2014-08-25 21:34:48 +02:00
c64945bcb9 sc HTML export: indent conditional block
Change-Id: Ia96d201ce10fcb58b213b709506a54760c053643
2014-08-25 18:00:38 +02:00
1ee98159f7 HTML export: avoid invalid output for embedded spreadsheets
When the sc document is embedded inside an sw one, then the sc HTML
export should just write what's inside the <body>. Add a filter option
for that in sc and use it from sw.

Change-Id: I3a9605bd62f0628b78cd782c11661f12bc2c3ae4
2014-08-25 17:46:16 +02:00
c6477b9dd1 nitpick no need for an extra indentation level
Change-Id: Id7ab390cc28e83ac0ca6b9fff1c172ca46e88a68
2014-08-25 16:20:50 +02:00
c25ac84688 Resolves fdo#81084 fdo#81696 fdo#80874 fdo#81010 : sort causes crash
Change-Id: I8fb9ec26bc549c264bfbf30177d720b20677b319
Reviewed-on: https://gerrit.libreoffice.org/11102
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-08-25 06:58:00 -05:00
c5d47afc15 Translate German comments, fix some ws
Change-Id: Ida67ce193ad032e2a1855e4380626f805514c2f2
Reviewed-on: https://gerrit.libreoffice.org/11103
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-08-25 01:16:04 -05:00
21c8b5815a added Lithuanian "LTL" to EUROCONVERT(), CONVERT()
Change-Id: Iefde129177df827c4b6508ff190f20e1e1973221
Reviewed-on: https://gerrit.libreoffice.org/11088
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-24 06:30:11 -05:00
b4558b5081 fdo#73151 Make better use of the sidebar
The general idea is to encourage use of the sidebar instead of floating windows (for Navigator, Styles&Formatting and Gallery)

Changes:
* Show the sidebar by default in Writer & Impress
* Remove the Gallery floating window (Gallery now always opens in the sidebar)
* Remove all Gallery, Navigator and Styles&Formatting links from the default toolbar in Writer
  (since they have an icon in the sidebar and the sidebar is shown by default now)
* When selecting "More" from the Styles dropdown, the Stylelist opens in the sidebar instead of the floating window

This has all been discussed extensively here: https://bugs.freedesktop.org/show_bug.cgi?id=73151

Change-Id: I3a0461d1472711da7121801000af294b432fccb1
Reviewed-on: https://gerrit.libreoffice.org/11077
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-24 06:26:17 -05:00
7c2697eb1c Translate German comments, fix some ws
Change-Id: I3bc8d82c5689b8a2da1374e42dd70191e2fe8ef3
Reviewed-on: https://gerrit.libreoffice.org/11099
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-23 20:16:58 -05:00
30ae83c268 fdo#82577: Handle KeyCode
Put the VCL KeyCode class in the vcl namespace. Avoids clash with the X11
KeyCode typedef.

Change-Id: I624c9d937f7c5f5986d313b6c5f060bd8bb7e028
2014-08-23 22:33:30 +03:00
708fc1c187 fdo#82577, fdo#82579: Handle Cursor
Put the vcl Cursor in the vcl namespace. Avoids collision with the Xlib Cursor
typedef and some ancient Carbon (?) Cursor typedef on OS X.

Change-Id: I7af770c522b5774c87f58cc079ced9fc1bcc88b0
2014-08-23 19:20:03 +03:00
10851dff98 Split FillAsTable into Binary and Xml variants in the same manner.
And remove BIFF-only records from the Xml variant.

Change-Id: Ia18cc079d9a9249fbbe0c328b14b719fba8d6bbf
2014-08-22 21:56:00 -04:00
44e68c897e Split FillAsHeader into FillAsHeaderBinary and FillAsHeaderXml.
To reduce complexity in each method, and remove records that are
specific to binary export form the Xml variant.

Change-Id: I6c66054b99dd8cded5767610f2390952b59caf23
2014-08-22 21:56:00 -04:00
16f9011c9c Make header (workbook) export and worksheet export clearer.
Change-Id: I9540fa32ca6a4ce041e15b272a049fcdf267fb0c
2014-08-22 21:55:59 -04:00
d40700d58e treat datetime as handled
Change-Id: Idc94174662eee5a75a6b467e47cbf9027e3ba224
2014-08-22 23:45:22 +02:00
0f4a999e02 current date/time hotkey inserts also if cell is in input or edit mode
Change-Id: Ib3caed607a5ca1b5ce82de0472223c7bdc8f7f54
2014-08-22 23:45:21 +02:00
e45001fad0 InsertCurrentTime: don't fiddle with the cell while editing
Change-Id: Ia12b10a44b7d90344a009753ddae801b7d58dddf
2014-08-22 23:45:21 +02:00
7afacb97a7 Use anonymous namespace for these. (mostly EnumWrapper)
Change-Id: Ice90e519bbd32a12de59d696a6dfedaaf45bd45e
2014-08-22 23:04:14 +02:00
75aad687cb resolved fdo#82936 do not clear the 3D flag on refupdate
Change-Id: I2ae1368a2ffc20e988ff3ab66590a9f98902b862
2014-08-22 13:03:52 +02:00
10b6bda51c init formula options once, fdo#82183
Change-Id: I1db4816f4693e35024c6dc6c70585d7b72e68c32
2014-08-22 04:31:32 +02:00
9344af955b nitpick on comment form
Change-Id: I023f79187aaf6eb943a50516dace2aa229c5a87b
2014-08-22 02:59:57 +02:00
c0aba5007b fdo#82183 do not reset globals while loading a document
Destroying the function list while an instance of the Formula Wizard is
still open is a bad idea. Workaround not doing this when loading a
document due to a DDE function or external reference being entered in
the wizard.

Change-Id: I6fa00fb4f442bf7c9410679e446ff460289e4b16
2014-08-22 01:12:18 +02:00
07b18860ae out-of-bounds string access
... when parsing  ='foo'#  with no character following.

Change-Id: Id65fce721cb47a4d3c947c677323bdcaa2ce957f
2014-08-22 00:16:15 +02:00
fe4d72b563 it's about time to write GOALSEEK as ODFF ORG.OPENOFFICE.GOALSEEK
Change-Id: Ie5a0464b49baae62e217e87f4d0040151f3aa8a5
2014-08-21 15:43:09 +02:00