Commit Graph

46 Commits

Author SHA1 Message Date
3575dba98d remove whitespaces
Change-Id: I05ef3c1ffd4e2179e0142a21abf8a4578718102e
2014-07-02 23:03:07 +02:00
c5539bb585 fdo#79676: Initialize with a default chart only from the UI.
When creating an embedded chart object during import, we don't want to
create a default chart which would only mess up the chart data.

With this change, ChartModel::initNew() is a no-op.

Change-Id: Id29659c3885ec1e06bed26d2c851123fb63072cc
2014-06-10 10:02:25 -04:00
ac4d9437b3 coverity#706262 Uncaught exception
Change-Id: I4fb1642153a0abe66ee9290e31813eb11623b527
2014-06-10 10:48:41 +01:00
439550c9f1 remove unnecessary and unused chart debug functionality
Change-Id: Ic8100b2afebe469709723b324394e08b7669d911
2014-06-07 04:48:16 +02:00
0d8908b359 Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part16
Change-Id: I78b3a0151397d4e69521e6b2451e93ea6e463376
2014-05-18 00:36:10 +02:00
329332ba52 chart2: sal_Bool->bool
Change-Id: I85751b4e636596ef88ef02bc958abdc6abf98427
2014-04-15 15:23:29 +02:00
f2cdf8848c Remove visual noise from chart2
Change-Id: Ic8dc71c2815df265e1935e629e0220396a50aaac
Reviewed-on: https://gerrit.libreoffice.org/8239
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-02-27 00:44:41 -06:00
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
a18a1a4545 Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxx
Added vcl/settings.hxx to all cxx files which require it.
This helps to speed up compilation after changes to the settings.

Conflicts:
	sc/source/ui/dbgui/pvlaydlg.cxx

Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4
Reviewed-on: https://gerrit.libreoffice.org/7933
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20 16:22:17 +00:00
b37bce11cf Resolves: rhbz#975421 wrong chart direction in Farsi
Where Farsi (and apparenly Moroccon) are RTL but have LTR
math and charts should reportedly follow the math direction

Change-Id: Ib60eaaaa90fe46ef240030a91169fdff3f736329
2014-02-06 15:11:59 +00:00
401f01caf5 use ChartModel instead of XModel in a few places
This allows us easier implementation of some advanced features. Mainly
the 4D chartting will now be able to work without several ugly layers of
UNO.

Change-Id: I74d07229eaef921c508f3bab8fae6d6075ad737a
2013-11-19 13:47:36 +01:00
140e5eabbf replace more auto_ptr with scoped_ptr
Change-Id: Ia96fcc857e028c7c14186b9560153e7580e6b4fb
2013-09-29 20:26:06 +02:00
dd9c97d587 fdo#62475 removed pointless comments
Change-Id: I3f5e86dba2df950aeb12c895f52d99274c0959aa
Reviewed-on: https://gerrit.libreoffice.org/5148
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-07-29 11:34:33 +00:00
925e27014e turn this nasty SAL_WARN into a SAL_INFO
Change-Id: I740c1ac683500a406539239f9e5bfe093be58e9b
2013-04-22 13:57:32 +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
aa46348777 remove C2U in chart2
Change-Id: Id7ebf66319f0891d276a3da95a95658aed59cbc7
2013-03-25 16:14:02 +01:00
d05287a9f1 RTL_CONSTASCII_USTRINGPARAM removals
Removed all occurences of RTL_CONSTASCII_USTRINGPARAM in chart2.

Change-Id: I0ab188e2d67a5fc17a3653e5213031f6e2c2581d
Reviewed-on: https://gerrit.libreoffice.org/2244
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-02-20 22:58:20 +00:00
97eb8a6e0e Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRING
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd
Reviewed-on: https://gerrit.libreoffice.org/1924
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-30 12:54:40 +00:00
24f0aa76c0 fdo#46808, use service constructor for embed::StorageFactory
Change-Id: I26cd1cf86118122f392f16801a646df753a7df26
2012-12-10 08:05:53 +02:00
9ac86f484b Improvement on previous commit, UCB clean up
* As UCB is only ever initialized with "Local"/"Office", remove this
  configuration vector completely.  The "create" ctor creates an instance
  internally initialized with those "Local"/"Office" keys.  Special (test) code
  can still instantiate an uninitialized one via plain createInstance.  And for
  backwards compatilibity process startup still ensures to create an initialized
  instance early, in case there is still code out there (in extensions) that
  later calls plain createInstance and expects to get the already-initialized
  (single) instance.

* XInitialization is an "implementation detail" of the UniversalContentBroker
  service, do not expose in XUniversalContentBroker.

* ucbhelper/configurationkeys.hxx is no longer needed and is removed.

* ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that
  requires ucbhelper::Content constructors to take explicit XComponentContext
  arguments now.

* The only remaining code in ucbhelper/source/client/contentbroker.cxx is
  Android-only InitUCBHelper.  Is that relevant still?

Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
2012-09-14 18:24:49 +02:00
206c70eef3 fdo#46808, Adapt TempFile UNO service to new style
Change-Id: Ia448d6d74201e2be487c6d8317f94be3745808aa
2012-08-27 15:40:08 +02:00
63c508e3e8 re-base on ALv2 code. Includes:
118568: switch to using ucpp
    Patch contributed by Juergen Schmidt
    http://svn.apache.org/viewvc?view=revision&revision=1209396
2012-07-18 09:29:19 +01:00
743f22045c Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 15:07:41 +02:00
23af031b09 Fix typos in comments 2012-02-18 09:35:43 +00:00
0eac98aa74 Fix for fdo43460 Part V getLength to isEmpty
Part V
Module
chart2
2011-12-13 00:36:43 +04:00
1aae826501 catch by const reference 2011-11-29 10:07:04 +09:00
6da8379e14 remove include of pch header in chart2 2011-11-27 12:59:19 -06:00
0e9d01756c debug build errors 2011-08-23 14:05:22 +01:00
fd3ae880bc Move OSL_ENSURE(false,...) to OSL_FAIL(...) 2011-03-13 16:44:11 +01:00
91805e713e EasyHack: createFromAscii to RTL macro 2010-11-09 21:08:15 +00:00
63bb42ab7d Add vim/emacs modelines to all source files
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com)

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-13 10:57:18 +02:00
137b49c1d4 remove include guards using fixguard.py 2010-10-05 19:10:00 +02:00
675696c682 chart47: merge with DEV300_m80 2010-06-01 11:40:18 +02:00
d6616fb95a chart47: #i79087# prevent deadlock + reduce vector to single diagram 2010-05-28 13:05:15 +02:00
acc8dc4869 chart47: #i109770# #i110253# reduce assertions 'already disposed or closed' 2010-05-10 18:46:46 +02:00
cba8a6f937 chart45: merge with DEV300_m76 2010-04-09 10:24:13 +02:00
94f617bf98 chart45: make more failsafe 2010-03-26 10:43:05 +01:00
8195643ff8 chart43: merge with DEV300_m75 2010-03-15 13:09:41 +01:00
eb94da5c50 chart43: merge with DEV300_m72 2010-02-26 14:38:16 +01:00
4573ccfffd changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
de8fd338ae chartmultiline: cleanup chart data and impl model stuff 2009-12-18 16:34:15 +01:00
b9aed78f63 CWS-TOOLING: integrate CWS koheichart01
2009-05-15 06:32:38 +0200 hde  r271925 : header fixed
2009-04-14 16:23:35 +0200 hde  r270792 : #100231#
2009-04-14 16:13:48 +0200 hde  r270790 : #100231#
2009-04-14 15:56:14 +0200 hde  r270787 : #100231#
2009-04-14 14:28:40 +0200 hde  r270767 : #100231#
2009-04-14 14:27:30 +0200 hde  r270766 : #100231#
2009-04-14 09:43:07 +0200 hde  r270749 : #100231#
2009-04-14 09:25:52 +0200 hde  r270748 : #100231#
2009-03-25 16:18:26 +0100 iha  r270034 : #i91578# removed compiler warning
2009-03-25 03:20:36 +0100 kohei  r269992 : fixed a silly typo in in-line comment.
2009-03-24 17:03:57 +0100 kohei  r269977 : Let's use row and column's hidden flags, instead of width/height, to determine cell's
hidden state.
2009-03-24 16:53:10 +0100 kohei  r269973 : The chart positioner no longer needs to skip hidden cells, as hidden cells are handled
elsewhere.
2009-03-24 16:50:12 +0100 kohei  r269971 : the index should be 0-based (although chart2 doesn't appear to make use of this data any more).
2009-03-24 16:47:56 +0100 kohei  r269969 : Skip hidden cells during cache (re-)build, when the include hidden cells flag is
false.  Also avoid adding data cache when the cell is hidden.
2009-03-24 06:05:53 +0100 kohei  r269909 : fixed the build breakage after the resync.
2009-03-24 06:05:34 +0100 kohei  r269908 : fixed the build breakage after the resync.
2009-03-23 23:38:36 +0100 kohei  r269900 : CWS-TOOLING: rebase CWS koheichart01 to trunk@269781 (milestone: DEV300:m44)
2009-03-17 13:11:40 +0100 iha  r269597 : #i91578# import IncludeHiddenCells from xlsx
2009-03-17 12:56:09 +0100 iha  r269594 : #i91578# import IncludeHiddenCells from xls correctly
2009-03-17 12:49:13 +0100 iha  r269592 : #i91578# import IncludeHiddenCells from xls correctly
2009-03-16 17:03:55 +0100 iha  r269561 : #i91578# remove unused variable
2009-03-16 10:22:30 +0100 iha  r269509 : #i91578# changed wording
2009-03-04 17:07:16 +0100 iha  r268846 : #i91578# display of hidden cells - remove unused property 'IsHidden'
2009-03-04 17:04:22 +0100 iha  r268845 : #i91578# display of hidden cells - remove unused property 'IsHidden'
2009-03-04 17:03:43 +0100 iha  r268844 : #i91578# display of hidden cells - remove unused property 'IsHidden'
2009-03-04 16:24:30 +0100 iha  r268843 : #i91578# display of hidden cells - added missing property description
2009-03-04 15:13:04 +0100 iha  r268835 : #i91578# display of hidden cells - remove unused code
2009-03-04 14:38:44 +0100 iha  r268832 : #i91578# display of hidden cells - reset state corretly when doing undo/redo
2009-03-04 13:42:10 +0100 iha  r268822 : #i81209# #i91578# display of hidden cells - don't show hidden cells per default but keep the hidden ranges
2009-03-04 13:40:10 +0100 iha  r268821 : #i81209# #i91578# display of hidden cells - don't show hidden cells per default but keep the hidden ranges
2009-03-04 13:37:05 +0100 iha  r268820 : #i81209# #i91578# display of hidden cells - don't show hidden cells per default but keep the hidden ranges
2009-03-03 11:18:39 +0100 iha  r268713 : #i91578# display of hidden cells - hide control if the functionality is not offered by the data provider
2009-03-02 17:41:37 +0100 kohei  r268684 : removed unintended change from DEV300_m38, which was probably introduced due to some sort of
problem during rebase.
2009-02-27 18:51:34 +0100 iha  r268613 : #i91578# display of hidden cells - interface redesign: data provider+sequences are now controlled by the chart via a new parameter 'IncludeHiddenCells' thus unwanted values can be removed early in the communication
2009-02-27 18:45:48 +0100 iha  r268612 : #i91578# display of hidden cells - interface redesign: data provider+sequences are now controlled by the chart via a new parameter 'IncludeHiddenCells' thus unwanted values can be removed early in the communication
2009-02-27 18:44:17 +0100 iha  r268611 : #i91578# display of hidden cells - interface redesign: data provider+sequences are now controlled by the chart via a new parameter 'IncludeHiddenCells' thus unwanted values can be removed early in the communication
2009-02-27 18:35:09 +0100 iha  r268610 : #i91578# display of hidden cells - copy-paste-scenario: export hidden flag per column on copy for migration to locale table during import upon paste
2009-02-19 06:47:56 +0100 kohei  r268257 : also, set the default value of a cached cell to NaN just in case.
2009-02-19 06:42:08 +0100 kohei  r268256 : Set the IsValue flag to false by default so that an empty cell is properly flaged as non-value.
This fixes the broken missing value treatment.
2009-02-18 20:16:30 +0100 iha  r268255 : #i91578# display of hidden cells - radio button 'leave gap' was not clickable anymore
2009-02-17 17:57:24 +0100 iha  r268185 : #i91578# display of hidden cells - corrected range highlighting
2009-02-17 15:39:52 +0100 iha  r268174 : #i91578# display of hidden cells - still display data point value in tip help of data points in writer
2009-02-17 11:21:00 +0100 iha  r267861 : #i91578# display of hidden cells - do not show a space nor a legend entry for hidden series
2009-02-17 11:15:14 +0100 iha  r267853 : #i91578# display of hidden cells - do not show a space nor a legend entry for hidden series
2009-02-16 16:48:10 +0100 iha  r267826 : #i91578# display of hidden cells - group related ids and minimize changes
2009-02-16 14:32:11 +0100 iha  r267813 : #i91578# display of hidden cells - don't share resource identifier as this easily produces conflicts -> move IDs for series options page into a separate file
2009-02-16 13:21:44 +0100 iha  r267795 : #i91578# display of hidden cells - remove unused member
2009-02-16 13:13:40 +0100 iha  r267794 : #i91578# display of hidden cells - remove unused methods
2009-02-16 13:00:10 +0100 iha  r267792 : #i91578# display of hidden - avoid unnecessary data copy
2009-02-16 11:40:41 +0100 iha  r267785 : #i91578# display of hidden - corrected typo
2009-02-16 11:28:39 +0100 iha  r267783 : #i91578# display of hidden - set correct dirty state in method setIncludeHiddenCells
2009-02-13 17:04:50 +0100 iha  r267734 : #i91578# corrected position and visibility of the controls for display of hidden cells in case of stock charts
2009-02-13 15:30:17 +0100 iha  r267724 : #i91578# charts without category range and charts with data from writer table were broken causes by features changes for display of hidden cells
2009-01-14 19:47:28 +0100 kohei  r266330 : #i91578# Fixed the issue with incorrect tooltip category values.
2009-01-05 22:27:03 +0100 kohei  r265887 : fixed a regression where the x-axis failed to display values when they were numeric or dates.
2008-12-24 17:01:15 +0100 kohei  r265800 : CWS-TOOLING: rebase CWS koheichart01 to trunk@265758 (milestone: DEV300:m38)
2008-12-24 16:03:08 +0100 kohei  r265799 : a little more code cleanup, mostly on tab to whitespace conversion on 
modified lines and removal of unnecessary 'using' statements.
2008-12-24 15:52:00 +0100 kohei  r265798 : removed unnecessary header inclusion & remove hidden data *only when* the 'include hidden cells'
options it false!  I'm glad I caught this.
2008-12-24 07:41:23 +0100 kohei  r265796 : replaced duplicated local functions with a single template function.
2008-12-24 06:37:15 +0100 kohei  r265795 : reverted my last commit, because it was not the right approach.
Instead of using the original data point index in the object name,
leave that index alone, and remove hidden data in the tooltip text
value lookup code.
2008-12-23 23:10:42 +0100 kohei  r265793 : fixed the tooltips so that they would display correct values, taking into account
the hidden data points (if any).
2008-12-20 05:26:07 +0100 kohei  r265739 : CWS-TOOLING: rebase CWS koheichart01 to trunk@264807 (milestone: DEV300:m37)
2008-12-18 15:49:59 +0100 kohei  r265696 : removed markRangeDirty() for now, since that method is still a bit controvertial per Niklas's comment in i#91578.
2008-12-05 20:27:24 +0100 kohei  r264918 : removed a compiler warning.
2008-12-05 20:24:02 +0100 kohei  r264917 : removed a compilar warning.
2008-12-03 17:06:22 +0100 kohei  r264800 : recovered the original keyword file before it was stripped.
2008-12-01 22:00:24 +0100 kohei  r264640 : by default, "include hidden cells" attribute is true.
2008-12-01 19:03:07 +0100 kohei  r264628 : added accelerator for the plot hidden values check box.
2008-12-01 18:32:02 +0100 kohei  r264626 : changed wording per Ingrid's suggestion.
2008-11-26 08:09:36 +0100 kohei  r264341 : the 'Starnding angle' fixed line was 6 pixel short.
2008-11-26 08:02:47 +0100 kohei  r264340 : added include-hidden-cells check box for the pie chart type too & some code cleanup.
2008-11-26 07:41:45 +0100 kohei  r264339 : relocate the controls correctly for line chart types.
2008-11-26 07:14:26 +0100 kohei  r264337 : #i95714# fixed typos that caused incorrect scaling of the y-axis under some conditions.
2008-11-26 07:11:54 +0100 kohei  r264336 : added "Include hidden cells" check box in the data series options tab page.
2008-11-25 21:04:58 +0100 kohei  r264333 : don't check for the number of charts; when importing from xls, the count may be
zero even when the document has charts.
2008-11-25 19:55:50 +0100 kohei  r264332 : patch from ooo-build applied.  This implements chart listener
that listens on cells show/hide state for the chart's data areas.
2008-11-25 19:52:38 +0100 kohei  r264331 : patch from ooo-build applied.
2008-11-25 19:29:54 +0100 kohei  r264329 : new xml token for include-hidden-cells attribute.
2009-05-18 16:46:40 +00:00
7be438f535 INTEGRATION: CWS changefileheader (1.4.116); FILE MERGED
2008/04/01 15:04:17 thb 1.4.116.3: #i85898# Stripping all external header guards
2008/04/01 10:50:32 thb 1.4.116.2: #i85898# Stripping all external header guards
2008/03/28 16:44:06 rt 1.4.116.1: #i87441# Change license header to LPGL v3.
2008-04-10 20:34:47 +00:00
0f35d77bf6 INTEGRATION: CWS chart05 (1.2.2); FILE MERGED
2007/05/30 14:22:55 bm 1.2.2.1: #i77881# StarChart 3.0 and 4.0 missing in handling for binary format
2007-06-11 14:00:07 +00:00
d8eb4cac7e INTEGRATION: CWS bgdlremove (1.2.6); FILE MERGED
2007/05/28 17:36:50 kso 1.2.6.1: #i77419# - Adapt to ucbhelper namespace changes.
2007-06-05 16:49:52 +00:00
8eec08b432 INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED
2007/04/20 14:27:01 bm 1.1.2.25: #i75191# else missing before query for InputStream
2007/04/20 08:56:02 mav 1.1.2.24: #i75191# let chart be able to load from InputStream
2007/04/19 09:28:15 bm 1.1.2.23: #i76397# implement storing to URL private:stream for MSOLE export
2007/04/19 09:22:38 bm 1.1.2.22: #i76397# implement storing to URL private:stream for MSOLE export
2007/02/23 10:42:32 bm 1.1.2.21: unused empty local function removed
2007/02/22 17:03:49 ka 1.1.2.20: #i66558#: added mechanism for preloading and storing of graphics during lifetime of model
2007/02/08 21:25:39 iha 1.1.2.19: resync m195 -> m202
2006/11/02 21:39:11 iha 1.1.2.18: #i66865# notify parent only if chart has no internal data
2006/11/02 17:27:24 nn 1.1.2.17: #i66865# notify parent (via property SavedObject) after saving
2006/03/15 13:26:21 iha 1.1.2.16: enable modified notifications during load again for loading addins correctly
2006/03/12 01:28:29 iha 1.1.2.15: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view
2005/11/29 18:11:20 iha 1.1.2.14: #i58464# work around wrong writer ranges in file
2005/11/02 13:49:21 bm 1.1.2.13: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper)
2005/10/14 16:58:43 bm 1.1.2.12: model listener mechanism
2005/10/11 09:20:42 bm 1.1.2.11: license header change
2005/09/08 11:39:23 iha 1.1.2.10: set data provider and number formatter in the filter and not in the model load methods thus binary loading also gets the correct dataprovider and numberformatter
2005/09/02 19:17:58 iha 1.1.2.9: call createInternalDataProvider in case of standalone for series identification (missing series styles)
2005/09/02 14:22:32 iha 1.1.2.8: enable loading 5.0 standalone charts
2005/08/30 16:41:53 iha 1.1.2.7: don't send modified notifications during load and if controllers are locked
2005/08/15 13:02:51 bm 1.1.2.6: internal methods for setting data (ImplChartModel) changed
2005/08/11 16:05:40 bm 1.1.2.5: change internal data to a new class that does not need Calc
2005/07/22 08:21:58 bm 1.1.2.4: set parent as data provider before starting loading. ToDo: do this only when the container really provides the data for the current chart (setting at this time is necessary to get the parent number formatter before the styles are loaded)
2005/06/08 15:10:56 bm 1.1.2.3: XStorable2 is derived from XStorable
2005/06/08 14:50:19 bm 1.1.2.2: implement XStorable2, call attachResource in load
2005/06/08 08:51:01 bm 1.1.2.1: all load/save/modify functionality put in a separate file for clarity
2007-05-22 17:32:47 +00:00