summaryrefslogtreecommitdiff
path: root/chart2/source/controller/dialogs/DialogModel.hxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-01-04 11:16:06 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-01-29 08:09:34 +0100
commit9c5593bebf4b573cfb7795ed857c6dceb4a26e73 (patch)
treebb50ec6bfb7bbda0c77fdb582bb73970782953df /chart2/source/controller/dialogs/DialogModel.hxx
parentd3959bba7165e6a8d53195eccfcaaa652edc24ea (diff)
start time based onlz after dialog is closed
everything else seems to result in serious bugs!! Change-Id: I1afbdb7623f877781c7ef362d87608a1e2aba72e
Diffstat (limited to 'chart2/source/controller/dialogs/DialogModel.hxx')
-rw-r--r--chart2/source/controller/dialogs/DialogModel.hxx14
1 files changed, 13 insertions, 1 deletions
diff --git a/chart2/source/controller/dialogs/DialogModel.hxx b/chart2/source/controller/dialogs/DialogModel.hxx
index f6735f5758a9..244dd82c1d05 100644
--- a/chart2/source/controller/dialogs/DialogModel.hxx
+++ b/chart2/source/controller/dialogs/DialogModel.hxx
@@ -47,6 +47,15 @@ namespace chart
class RangeSelectionHelper;
+struct TimeBasedInfo
+{
+ TimeBasedInfo();
+
+ bool bTimeBased;
+ sal_Int32 nStart;
+ sal_Int32 nEnd;
+};
+
class DialogModel
{
public:
@@ -142,7 +151,9 @@ public:
bool setData( const ::com::sun::star::uno::Sequence<
::com::sun::star::beans::PropertyValue > & rArguments );
- void setTimeBasedRange( sal_Int32 nStart, sal_Int32 nEnd) const;
+ void setTimeBasedRange( bool bTimeBased, sal_Int32 nStart, sal_Int32 nEnd) const;
+
+ const TimeBasedInfo& getTimeBasedInfo() const { return maTimeBasedInfo; }
void startControllerLockTimer();
@@ -183,6 +194,7 @@ private:
sal_Int32 countSeries() const;
ChartModel& getModel() const;
+ mutable TimeBasedInfo maTimeBasedInfo;
};
} // namespace chart