summaryrefslogtreecommitdiffstats
path: root/sc/inc
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2017-09-09 11:06:19 +0200
committerTamás Zolnai <tamas.zolnai@collabora.com>2017-09-09 12:13:53 +0200
commit7c429ddca63c09a2b656715292968000bfe86a1a (patch)
tree1b189c920e7b780be9c34b6260ab926acb916ca5 /sc/inc
parenttdf#108572 remove connections only for current shell (diff)
downloadcore-7c429ddca63c09a2b656715292968000bfe86a1a.tar.gz
core-7c429ddca63c09a2b656715292968000bfe86a1a.zip
tdf#112278: Pivot table: filtering of non-string fields is not exported to XLS
It is needed to use the right string representation of field value. During export this representation is available directly, next to the actual value. During import we can use the number format attached to the corresponding pivot field. Change-Id: Ie8f731f6c72d7f55f43c318e52d63dc4e993d9c0 Reviewed-on: https://gerrit.libreoffice.org/42069 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/dpobject.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx
index 1f1546204e6f..39299c79ab26 100644
--- a/sc/inc/dpobject.hxx
+++ b/sc/inc/dpobject.hxx
@@ -179,6 +179,8 @@ public:
tools::Rectangle& rPosRect, css::sheet::DataPilotFieldOrientation& rOrient, long& rDimPos );
bool IsFilterButton( const ScAddress& rPos );
+ OUString GetFormattedString( const OUString& rDimName, const double fValue );
+
double GetPivotData(
const OUString& rDataFieldName,
std::vector<css::sheet::DataPilotFieldFilter>& rFilters);