summaryrefslogtreecommitdiff
path: root/sc/inc/dptabsrc.hxx
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2011-01-17 13:20:22 +0100
committerMikhail Voytenko <mav@openoffice.org>2011-01-17 13:20:22 +0100
commitcd42389ad67b403a07a0dda8e2a6e213def49251 (patch)
tree51e19c743788a549502b7c801c64e11142103310 /sc/inc/dptabsrc.hxx
parent3d6a5a98cda10e18dacd96028f2bf0ec0b478988 (diff)
removetooltypes01: #i112600# remove tooltypes from sc
Diffstat (limited to 'sc/inc/dptabsrc.hxx')
-rw-r--r--sc/inc/dptabsrc.hxx98
1 files changed, 49 insertions, 49 deletions
diff --git a/sc/inc/dptabsrc.hxx b/sc/inc/dptabsrc.hxx
index 18210f38e80e..cf0685636178 100644
--- a/sc/inc/dptabsrc.hxx
+++ b/sc/inc/dptabsrc.hxx
@@ -127,10 +127,10 @@ private:
long nRowDimCount;
long nDataDimCount;
long nPageDimCount;
- BOOL bColumnGrand;
- BOOL bRowGrand;
- BOOL bIgnoreEmptyRows;
- BOOL bRepeatIfEmpty;
+ sal_Bool bColumnGrand;
+ sal_Bool bRowGrand;
+ sal_Bool bIgnoreEmptyRows;
+ sal_Bool bRepeatIfEmpty;
long nDupCount;
@@ -142,13 +142,13 @@ private:
com::sun::star::uno::Sequence<com::sun::star::sheet::MemberResult>* pRowResults;
List aColLevelList;
List aRowLevelList;
- BOOL bResultOverflow;
+ sal_Bool bResultOverflow;
::std::auto_ptr<rtl::OUString> mpGrandTotalName;
void CreateRes_Impl();
void FillMemberResults();
- void FillLevelList( USHORT nOrientation, List& rList );
+ void FillLevelList( sal_uInt16 nOrientation, List& rList );
void FillCalcInfo(bool bIsRow, ScDPTableData::CalcInfo& rInfo, bool &bHasAutoShow);
/**
@@ -175,8 +175,8 @@ public:
void SetGrandTotalName(const ::rtl::OUString& rName);
const ::rtl::OUString* GetGrandTotalName() const;
- USHORT GetOrientation(long nColumn);
- void SetOrientation(long nColumn, USHORT nNew);
+ sal_uInt16 GetOrientation(long nColumn);
+ void SetOrientation(long nColumn, sal_uInt16 nNew);
long GetPosition(long nColumn);
long GetDataDimensionCount();
@@ -189,13 +189,13 @@ public:
long GetDataLayoutDim(){ return pData->GetColumnCount(); }
SCROW GetMemberId( long nDim, const ScDPItemData& rData );
// End Comments
- BOOL IsDataLayoutDimension(long nDim);
- USHORT GetDataLayoutOrientation();
+ sal_Bool IsDataLayoutDimension(long nDim);
+ sal_uInt16 GetDataLayoutOrientation();
- BOOL IsDateDimension(long nDim);
- UINT32 GetNumberFormat(long nDim);
+ sal_Bool IsDateDimension(long nDim);
+ sal_uInt32 GetNumberFormat(long nDim);
- BOOL SubTotalAllowed(long nColumn); //! move to ScDPResultData
+ sal_Bool SubTotalAllowed(long nColumn); //! move to ScDPResultData
ScDPDimension* AddDuplicated(long nSource, const String& rNewName);
long GetDupCount() const { return nDupCount; }
@@ -285,15 +285,15 @@ public:
virtual String getDataDescription(); //! ???
- virtual BOOL getColumnGrand() const;
- virtual void setColumnGrand(BOOL bSet);
- virtual BOOL getRowGrand() const;
- virtual void setRowGrand(BOOL bSet);
+ virtual sal_Bool getColumnGrand() const;
+ virtual void setColumnGrand(sal_Bool bSet);
+ virtual sal_Bool getRowGrand() const;
+ virtual void setRowGrand(sal_Bool bSet);
- virtual BOOL getIgnoreEmptyRows() const;
- virtual void setIgnoreEmptyRows(BOOL bSet);
- virtual BOOL getRepeatIfEmpty() const;
- virtual void setRepeatIfEmpty(BOOL bSet);
+ virtual sal_Bool getIgnoreEmptyRows() const;
+ virtual void setIgnoreEmptyRows(sal_Bool bSet);
+ virtual sal_Bool getRepeatIfEmpty() const;
+ virtual void setRepeatIfEmpty(sal_Bool bSet);
virtual void validate(); //! ???
virtual void disposeData();
@@ -353,14 +353,14 @@ private:
long nDim; // dimension index (== column ID)
ScDPHierarchies* pHierarchies;
long nUsedHier;
- USHORT nFunction; // enum GeneralFunction
+ sal_uInt16 nFunction; // enum GeneralFunction
String aName; // if empty, take from source
::std::auto_ptr<rtl::OUString> mpLayoutName;
::std::auto_ptr<rtl::OUString> mpSubtotalName;
long nSourceDim; // >=0 if dup'ed
::com::sun::star::sheet::DataPilotFieldReference
aReferenceValue; // settings for "show data as" / "displayed value"
- BOOL bHasSelectedPage;
+ sal_Bool bHasSelectedPage;
String aSelectedPage;
ScDPItemData* pSelectedData; // internal, temporary, created from aSelectedPage
sal_Bool mbHasHiddenMember;
@@ -440,26 +440,26 @@ public:
virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
throw(::com::sun::star::uno::RuntimeException);
- virtual USHORT getOrientation() const;
- virtual void setOrientation(USHORT nNew);
+ virtual sal_uInt16 getOrientation() const;
+ virtual void setOrientation(sal_uInt16 nNew);
virtual long getPosition() const;
virtual void setPosition(long nNew);
- virtual BOOL getIsDataLayoutDimension() const;
- virtual USHORT getFunction() const;
- virtual void setFunction(USHORT nNew); // for data dimension
+ virtual sal_Bool getIsDataLayoutDimension() const;
+ virtual sal_uInt16 getFunction() const;
+ virtual void setFunction(sal_uInt16 nNew); // for data dimension
virtual long getUsedHierarchy() const;
virtual void setUsedHierarchy(long nNew);
- virtual BOOL isDuplicated() const;
+ virtual sal_Bool isDuplicated() const;
- BOOL HasSelectedPage() const { return bHasSelectedPage; }
+ sal_Bool HasSelectedPage() const { return bHasSelectedPage; }
const ScDPItemData& GetSelectedData();
const ::com::sun::star::sheet::DataPilotFieldReference& GetReferenceValue() const;
-//UNUSED2009-05 BOOL IsValidPage( const ScDPItemData& rData );
+//UNUSED2009-05 sal_Bool IsValidPage( const ScDPItemData& rData );
// Wang Xu Ming -- 2009-8-17
// DataPilot Migration - Cache&&Performance
- BOOL IsVisible( const ScDPItemData& rData );
+ sal_Bool IsVisible( const ScDPItemData& rData );
// End Comments
};
@@ -595,7 +595,7 @@ private:
long nLev;
ScDPMembers* pMembers;
com::sun::star::uno::Sequence<com::sun::star::sheet::GeneralFunction> aSubTotals;
- BOOL bShowEmpty;
+ sal_Bool bShowEmpty;
::com::sun::star::sheet::DataPilotFieldSortInfo aSortInfo; // stored user settings
::com::sun::star::sheet::DataPilotFieldAutoShowInfo aAutoShowInfo; // stored user settings
::com::sun::star::sheet::DataPilotFieldLayoutInfo aLayoutInfo; // stored user settings
@@ -603,7 +603,7 @@ private:
::std::vector<sal_Int32> aGlobalOrder; // result of sorting by name or position
long nSortMeasure; // measure (index of data dimension) to sort by
long nAutoMeasure; // measure (index of data dimension) for AutoShow
- BOOL bEnableLayout; // enabled only for row fields, not for the innermost one
+ sal_Bool bEnableLayout; // enabled only for row fields, not for the innermost one
public:
ScDPLevel( ScDPSource* pSrc, long nD, long nH, long nL );
@@ -676,31 +676,31 @@ public:
virtual com::sun::star::uno::Sequence<com::sun::star::sheet::GeneralFunction> getSubTotals() const;
virtual void setSubTotals(const com::sun::star::uno::Sequence<
com::sun::star::sheet::GeneralFunction>& rNew);
- virtual BOOL getShowEmpty() const;
- virtual void setShowEmpty(BOOL bSet);
+ virtual sal_Bool getShowEmpty() const;
+ virtual void setShowEmpty(sal_Bool bSet);
const ::com::sun::star::sheet::DataPilotFieldSortInfo& GetSortInfo() const { return aSortInfo; }
const ::com::sun::star::sheet::DataPilotFieldAutoShowInfo& GetAutoShow() const { return aAutoShowInfo; }
void EvaluateSortOrder();
- void SetEnableLayout( BOOL bSet );
+ void SetEnableLayout( sal_Bool bSet );
const ::std::vector<sal_Int32>& GetGlobalOrder() const { return aGlobalOrder; }
::std::vector<sal_Int32>& GetGlobalOrder() { return aGlobalOrder; }
long GetSortMeasure() const { return nSortMeasure; }
long GetAutoMeasure() const { return nAutoMeasure; }
- BOOL IsOutlineLayout() const
+ sal_Bool IsOutlineLayout() const
{ return bEnableLayout &&
aLayoutInfo.LayoutMode !=
::com::sun::star::sheet::DataPilotFieldLayoutMode::TABULAR_LAYOUT; }
- BOOL IsSubtotalsAtTop() const
+ sal_Bool IsSubtotalsAtTop() const
{ return bEnableLayout &&
aLayoutInfo.LayoutMode ==
::com::sun::star::sheet::DataPilotFieldLayoutMode::OUTLINE_SUBTOTALS_TOP; }
- BOOL IsAddEmpty() const { return bEnableLayout && aLayoutInfo.AddEmptyLines; }
+ sal_Bool IsAddEmpty() const { return bEnableLayout && aLayoutInfo.AddEmptyLines; }
//! number format (for data fields and date fields)
};
@@ -781,18 +781,18 @@ private:
::std::auto_ptr<rtl::OUString> mpLayoutName;
sal_Int32 nPosition; // manual sorting
- BOOL bVisible;
- BOOL bShowDet;
+ sal_Bool bVisible;
+ sal_Bool bShowDet;
public:
// Wang Xu Ming -- 2009-8-17
// DataPilot Migration - Cache&&Performance
ScDPMember( ScDPSource* pSrc, long nD, long nH, long nL,
- SCROW nIndex /*const String& rN, double fV, BOOL bHV */);
+ SCROW nIndex /*const String& rN, double fV, sal_Bool bHV */);
// End Comments
virtual ~ScDPMember();
- BOOL IsNamedItem( const ScDPItemData& r ) const;
+ sal_Bool IsNamedItem( const ScDPItemData& r ) const;
String GetNameStr() const;
void FillItemData( ScDPItemData& rData ) const;
// Wang Xu Ming -- 2009-8-17
@@ -800,7 +800,7 @@ public:
// const ScDPItemData& GetItemData() const{ return maData; }
const ScDPItemData& GetItemData() const;
inline SCROW GetItemDataId() const { return mnDataId; }
- BOOL IsNamedItem( SCROW nIndex ) const;
+ sal_Bool IsNamedItem( SCROW nIndex ) const;
// End Comments
SC_DLLPUBLIC const ::rtl::OUString* GetLayoutName() const;
@@ -861,10 +861,10 @@ public:
virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
throw(::com::sun::star::uno::RuntimeException);
- virtual BOOL getIsVisible() const;
- virtual void setIsVisible(BOOL bSet);
- virtual BOOL getShowDetails() const;
- virtual void setShowDetails(BOOL bSet);
+ virtual sal_Bool getIsVisible() const;
+ virtual void setIsVisible(sal_Bool bSet);
+ virtual sal_Bool getShowDetails() const;
+ virtual void setShowDetails(sal_Bool bSet);
sal_Int32 getPosition() const;
void setPosition(sal_Int32 nNew);