diff options
author | Niklas Nebel <nn@openoffice.org> | 2010-09-01 17:53:25 +0200 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2010-09-01 17:53:25 +0200 |
commit | 892fc048a385eebb365a0bfc7172f334f5d0ab57 (patch) | |
tree | 9b92e83a5958446f75dcbe9e9080fb5dd12b2899 /sc/inc/dpobject.hxx | |
parent | calc59: #i114202# save table:show-empty attribute only if valid in ScDPSaveDi... (diff) | |
download | core-892fc048a385eebb365a0bfc7172f334f5d0ab57.tar.gz core-892fc048a385eebb365a0bfc7172f334f5d0ab57.zip |
calc59: #i114256# Don't move DataPilot fields to orientations that the source doesn't support
Diffstat (limited to 'sc/inc/dpobject.hxx')
-rw-r--r-- | sc/inc/dpobject.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx index 44aa1daa9a92..e1b88919dad6 100644 --- a/sc/inc/dpobject.hxx +++ b/sc/inc/dpobject.hxx @@ -186,7 +186,7 @@ public: bool IsDataDescriptionCell(const ScAddress& rPos); bool IsDimNameInUse(const ::rtl::OUString& rName) const; - String GetDimName( long nDim, BOOL& rIsDataLayout ); + String GetDimName( long nDim, BOOL& rIsDataLayout, sal_Int32* pFlags = NULL ); BOOL IsDuplicated( long nDim ); long GetDimCount(); void GetHeaderPositionData(const ScAddress& rPos, ::com::sun::star::sheet::DataPilotTableHeaderData& rData); @@ -259,6 +259,8 @@ public: PivotField* pRefColFields = NULL, SCSIZE nRefColCount = 0, PivotField* pRefRowFields = NULL, SCSIZE nRefRowCount = 0, PivotField* pRefPageFields = NULL, SCSIZE nRefPageCount = 0 ); + + static bool IsOrientationAllowed( USHORT nOrient, sal_Int32 nDimFlags ); }; |