Commit Graph

156 Commits

Author SHA1 Message Date
5c6ee09126 fdo#81309: Adjust references during sort.
Change-Id: I2b98610f6b774400ecfaffe2905201c27fcab33f
2014-07-13 18:07:14 -04:00
9c3e819f06 move boost rng wrapper from sc to comphelper
so we can re-use it in other modules

Change-Id: I6057b1e955f745019fd48f91a754279df0f2b948
Reviewed-on: https://gerrit.libreoffice.org/9348
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-17 12:40:39 +00:00
2510690866 callcatcher: update unused code
Change-Id: I954a5dd88cb9ae9a2a36509507385e68b88f8cd5
2014-05-09 09:28:06 +01:00
af578839ca let us use the new OpenGLWindow
Change-Id: I5cbab0aa1707513b62f7a9958fac013b3beb2dcb
2014-05-07 21:23:04 +02:00
3ce1b10ba7 sc: Add F-Test to Statistics
Change-Id: I31281e863d82a211d7cca897f3e65a0ecfcb5f6b
2014-04-24 22:51:11 +02:00
262aa2c2e5 More generic way to disable avmedia
Introduce a configure option --disable-avmedia. For non-desktop,
avmedia is always disabled (for now), and for desktop enabled by
default. Add AVMEDIA to BUILD_TYPE when enabled. Don't build avmedia
when disabled. Add HAVE_FEATURE_AVMEDIA to <config_features.h>. Bypass
avmedia-related code when disabled.

Change-Id: I919c6e199bff87d9f142d55dff6373f0ed217f39
2014-04-17 22:18:02 +03:00
6d9060a6e6 Unnecessary to mention dependency on icudata as only libicuuc directly uses it
libicudata exports a single symbol, icudt52_data (for ICU version 52), and
only libicuuc refers to it.

Change-Id: Ia04356fda20cf8109156ccd1cbbd9091e70adf27
2014-04-12 18:52:55 +03:00
d13f1ed261 callcatcher: remove old pivot table dialog
Change-Id: I9e80a0d6661c29343103a27baa752cebbc876314
2014-04-04 09:35:20 +01:00
4f1f8b8e99 pivot: new pivot table layout dialog
This commit adds a new pivot table layout dialog which was implemented
from scratch. Instead of custom controls this one uses list boxes
for field entries which greatly reduces the code. It also fixes
some visual and behaviour bugs and adds the possibility to edit the
"Data" field.

Change-Id: I6c01252acee5a2e8910e40e65904504d00e03057
2014-03-31 09:44:44 +02:00
88955714d3 fdo#71491: Adjust reference during undo of drag-n-drop of cell range.
Also with this commit, the signature of SvtListener::Notify() changes,
by dropping the first argument which nobody uses.  This change was necessary
in order to call it directly without needing to pass any broadcaster instance.

Change-Id: I6a1e97f0fb1e070d1d8f7db614690b04c9e8024e
2014-03-15 00:15:06 -04:00
057d269c5d fdo#75960: Process pivot tables after named ranges are all set.
Especially for those pivot tables that reference named ranges as their
data sources, it's critical that we process them after named ranges are
set. Else things would start to fail.

Change-Id: I4bf8aa1a844aae3953f2dfbeba0e4d2542a7e53f
2014-03-09 18:44:07 -04:00
d7916449d7 Unify scmod and scmod2
Change-Id: Ib086ba744ac3f5fbd8e96ceda73e9fe2d578929f
Reviewed-on: https://gerrit.libreoffice.org/8036
Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-02-13 22:04:25 +00:00
e3abec3f07 fdo#74825: fix missing lcms2/libxslt/curl in installation sets
The assumption that all configure variables had been normalized to
TRUE/<empty> turned out not to hold; convert a bit more in that
direction.

(regression from 4af38b099c741c3676aefeb20c515913aaeed666)

Change-Id: I2127c515e8a833a07c9b26ed9d693ce5a1853fe4
2014-02-12 09:53:08 +01:00
2b12a5b87b the return of callcatcher
Change-Id: I447ebcc61ff061bce15678c6fcfd3d0a4669908f
2014-02-10 11:21:03 +00:00
f74c0a42b0 Add RowHeightContext to stuff all parameters for SetOptimalHeights().
To help reduce the number of function arguments.

Change-Id: Ic29fff38f6cd844bdaac8ac4b440dfcaba55df61
2014-02-01 20:53:13 -05:00
a0bd814fb5 Speed up filling of random number generation over entire column.
Because nobody wants to wait forever...

Change-Id: Ie52bff944893b7e3fe9e7908be19d27c692fc1ea
2014-01-30 11:57:00 -05:00
80ea2822c3 Optimize copy-n-pasting of single cell replicated over a range.
This is a very common operation. Let's speed it up a bit.

TODO : Handle cell comments.

Change-Id: I5442bf19008475a9427b889c1eb641cacd8ff161
2014-01-24 21:27:10 -05:00
d33b4c311e Related: #i56998# use locale rules to format percentage
Change-Id: I4b744cf10165383153d2a71c05df0c0ed327c641
2014-01-20 14:46:21 +00:00
0591a98155 build fix
Change-Id: I6a2e8e69106584b6b7c9af35d4e0e79bf6ef5342
2013-12-21 13:49:33 -08:00
23f0930219 Properly import data stream data from ods.
Change-Id: Iedae2226ba08c614f1b700a5444715a990899d38
2013-12-19 15:33:09 -05:00
a17794d5fa Switch away from using the sfx2 link manager for data stream.
Change-Id: I05ac5a8151135ace7f4e351cfedab0170c8d9a57
2013-12-19 15:33:08 -05:00
ecc884e9b8 Use orcus csv parser to streamd data which has much less overhead.
Also, use DocumentStreamAccess to modify ScDocument's content.

Change-Id: I516260cff1f2315267afcff05e36e620798a1aed
2013-12-18 10:13:31 -05:00
8538722a49 Add sc::DocumentStreamAccess class.
To provide the DataStream class with a fast way to manipulate document
content without altering broadcaster positions or unnecessary broadcasting.

Change-Id: Ib329313b8668c9a1698ea05372de6269d089859c
2013-12-18 10:13:27 -05:00
88bece824d Add t-test Statistics Dialog.
Change-Id: I6c2b478a4ce6976b5f8fe9cde3d8fbd309dff965
2013-11-30 18:00:57 +01:00
47bc56725a Rework data streams to be more like file links (ScAreaLink).
By inheriting from sfx2::SvBaseLink and storing in sfx2::LinkManager we can
have more data streams and see / remove them in Edit -> Links... dialog.
Also rename to DataStream to avoid confusion.

Change-Id: I9c3b89020324af7be082f9e6e1cd479aeb72fe81
2013-11-28 20:40:36 +01:00
2f98f0ecf8 WIP: Background ahead-of-time OpenCL compilation
Work in progress, does not work. That's what WIP means.

Change-Id: I31459624a45370384e00392937ac9a5b9cd893c2
2013-11-20 18:23:05 +00:00
723060d4b3 WIP: Do OpenCL compilation in advance in a worker thread
Change-Id: I9fbf848bd487e5ea49a383461f04e3c1678af607
2013-11-20 18:23:03 +00:00
07f8216e57 Create string from token array directly from ScTokenArray. Still WIP.
And make it re-entrant for thread safety. This method should not modify
the internal state of the token array object. The one with ScCompiler
is not re-entrant. Still some way to go.

Change-Id: I06de3637341727aef0963dddfb98527f415bf7fa
2013-11-14 23:53:52 -05:00
ac435437e5 Implement data streams dialog that allows importing a stream of data
in CSV format.
It's possible to read directly from a URL
or to run a process and read its output.

Change-Id: I3266c3bb175b73f1023440cca40b2cfab5fcc201
2013-11-13 10:33:19 +01:00
515a502437 Add statistics dialog for calculation of moving average.
Change-Id: Iaa481a2d8aff271e8a8350b707e1f444f8d36167
2013-11-11 23:22:32 +01:00
2f823d458d Add tools to simplyfy adding formulas and cell navigation
TableFillingAndNavigationTools were added to StatisticsDialogs which
include FormulaTemplate and AddressWalkerWriter.
FormulaTemplate simplyfies creting formulas and AddressWalkerWriter
simplyfies navigating cells with relative address navigation and
adding content (formulas, values, string) to cells.

Change-Id: I32ecb4013f51bda9c8d0bf9f06b9f9dfd4da6def
2013-11-11 23:22:31 +01:00
2eb75300eb tabs to spaces
Change-Id: Iad7c051fe5ab19c4c56641788bec5c2a5dd4e6dd
2013-11-11 23:22:31 +01:00
e08543cfb2 New statistics function: Exponential Smoothing
Add initial implementation of exponential smoothing.

Change-Id: Id234aec6a0efece2ce8144f22359cf034256c40b
2013-11-11 23:22:31 +01:00
b3904220ef Groupedby for ANOVA and "Descriptive Statistics"
Move the functionallity to superclass, adjust UI

Change-Id: I9770206386aa6d9caaf2d832d4744ac488e3190b
2013-11-11 23:22:30 +01:00
e09cedd922 Initial attempt to speed up matrix comparison.
And move the value compare code to somewhere public.  I'll be using it
from the ScMatrix internal.

This change requires mdds 0.9.1 which is yet to be released.

Change-Id: I942133c85b614b3404006fa38af111ace9361fd4
2013-10-18 23:22:41 -04:00
8230c26e3d gbuild: add gb_Library_use_restarget
Change-Id: Ic0a2fd3c1adeb55ec27f6a2eb4709be598120fba
2013-09-22 11:08:28 +02:00
09a546ed1f fdo#39881 change Find All behaviour in Calc
Allow to search in all sheets.
Find all now creates new dialog describing all matching cells.

Change-Id: I36a9bee314b620384937fff074680022397c8c5f
Reviewed-on: https://gerrit.libreoffice.org/5886
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-09-20 14:20:50 +00:00
08f16d5ae4 Avoid having build-time dependency on scopencl.
Change-Id: I32918599dca0556a61b85d868dffbb5e72541e69
2013-09-19 17:03:19 +02:00
4ecf503924 First step toward splitting the opencl code into own shared library.
Change-Id: I44fa3ded8d48b2972af17b78ab6c0af03e024f36
2013-09-19 17:03:15 +02:00
69047ec117 Correctly handle implicit intersection in group interpretation.
Change-Id: I2ea6f41ad4036a6f3f5d99097e83fd988aacd105
2013-09-06 01:38:31 -04:00
547f4fec93 First step toward showing mis-spelled words without modifying cells.
There are still tons of problems to fix.

Change-Id: Icae6e3d2c9b8b2266724d8d068abbab8acae96da
2013-09-01 14:48:48 -04:00
6c4bedffb9 Add edit text iterator that iterates through only edit text cells.
Change-Id: I898d7a2d3f0ea472daddb9dd32f772a5d7268773
2013-08-20 22:57:13 -04:00
c4d26f3276 Regroup formula cells later in columns where references are updated.
Change-Id: I4dd6ade18e72d8f57583180463f9dda3603be4c2
2013-08-13 23:01:21 -04:00
8e4f4fb541 fdo#66477 Add correlation and covariance to Calc.
Change-Id: I877199aa9c0bb275fa678488548c7e6797c0eefc
2013-07-28 11:49:53 +02:00
5af76406e2 Use RefUpdateContext to stuff all parameters for UpdateReference.
Because I was getting tired of typing all these parameters every time
I branch off to a new function.

Change-Id: I1ae14f290af5543150694d0bea27c617cccb9db2
2013-07-24 23:29:27 -04:00
ba17605d5e Add ANOVA (analysis of variance) calculation to Statistics.
Currently supported calculation is one factor ANOVA calculation.

Additionally refactor "descriptive statistics" and extract common
functionallity with ANOVA into StatisticsInputOutput class.

Change-Id: Ib9c3083019058c63738b3e92097411ba1b428648
2013-07-23 20:52:45 +02:00
fa20e0dd67 fdo#66477 Add descriptive statistics calculation to Calc.
New menu entry in "Data>>Statistics>>Descriptive Statistics..." to
quickly calculate basic statistics for a row of data. These are
Mean, Standard Error, Mode, Median, Variance, Standard Deviation,
Kurtosis, Skewness, Range, Minimum, Maximum, Sum and Count.

Change-Id: I7c4a75adf7731f42f9c7f8e741ff1b5fa245c1c8
2013-07-19 16:57:38 +02:00
f2c9aa4366 fdo#66477 Add sampling feature to calc
Initial implementation of SamplingDialog.

Change-Id: If26e8561705229f83777fb50d53c86b9fe056ffa
2013-07-19 16:57:37 +02:00
5c05b1cabc fdo#66477 Random Number Generation added to menu>fill.
Added dialog for random number generation to fill menu into calc.
Initial implementation has uniform, uniform integer, cauchy,
bernoulli, binomial, negative binomial, chi squared and geometric
distribution. Others can quickly be added.

Change-Id: Id5c1f27462f1fe87eddedf415b9c149fb943404a
2013-07-14 22:25:20 +02:00
0797dd8714 Group formula cells in ScColumn::MixData().
Change-Id: I38186e2bf82ed56fbe859b17dcc1d31f36471bd8
2013-07-11 00:25:37 -04:00