summaryrefslogtreecommitdiff
path: root/sc/inc/scabstdlg.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/scabstdlg.hxx')
-rw-r--r--sc/inc/scabstdlg.hxx132
1 files changed, 66 insertions, 66 deletions
diff --git a/sc/inc/scabstdlg.hxx b/sc/inc/scabstdlg.hxx
index 40711a200e19..247ee21fe76b 100644
--- a/sc/inc/scabstdlg.hxx
+++ b/sc/inc/scabstdlg.hxx
@@ -73,15 +73,15 @@ public:
class AbstractScAutoFormatDlg : public VclAbstractDialog //add for ScAutoFormatDlg
{
public:
- virtual USHORT GetIndex() const = 0 ;
+ virtual sal_uInt16 GetIndex() const = 0 ;
virtual String GetCurrFormatName() = 0;
};
class AbstractScColRowLabelDlg : public VclAbstractDialog //add for ScColRowLabelDlg
{
public:
- virtual BOOL IsCol() = 0;
- virtual BOOL IsRow() = 0;
+ virtual sal_Bool IsCol() = 0;
+ virtual sal_Bool IsRow() = 0;
};
class AbstractScDataPilotDatabaseDlg :public VclAbstractDialog //add for ScDataPilotDatabaseDlg
@@ -93,8 +93,8 @@ public:
class AbstractScDataPilotSourceTypeDlg : public VclAbstractDialog //add for ScDataPilotSourceTypeDlg
{
public:
- virtual BOOL IsDatabase() const = 0;
- virtual BOOL IsExternal() const = 0;
+ virtual sal_Bool IsDatabase() const = 0;
+ virtual sal_Bool IsExternal() const = 0;
};
class AbstractScDataPilotServiceDlg : public VclAbstractDialog //add for ScDataPilotServiceDlg
@@ -117,7 +117,7 @@ class AbstractScDeleteContentsDlg: public VclAbstractDialog //add for ScDeleteC
{
public:
virtual void DisableObjects() = 0 ;
- virtual USHORT GetDelContentsCmdBits() const = 0;
+ virtual sal_uInt16 GetDelContentsCmdBits() const = 0;
};
class AbstractScFillSeriesDlg: public VclAbstractDialog //add for ScFillSeriesDlg
@@ -130,13 +130,13 @@ public:
virtual double GetStep() const = 0;
virtual double GetMax() const = 0;
virtual String GetStartStr() const = 0;
- virtual void SetEdStartValEnabled(BOOL bFlag=FALSE) = 0;
+ virtual void SetEdStartValEnabled(sal_Bool bFlag=sal_False) = 0;
};
class AbstractScGroupDlg : public VclAbstractDialog //add for ScGroupDlg
{
public:
- virtual BOOL GetColsChecked() const = 0;
+ virtual sal_Bool GetColsChecked() const = 0;
};
class AbstractScInsertCellDlg : public VclAbstractDialog //add for ScInsertCellDlg
@@ -148,14 +148,14 @@ public:
class AbstractScInsertContentsDlg : public VclAbstractDialog //add for ScInsertContentsDlg
{
public:
- virtual USHORT GetInsContentsCmdBits() const = 0;
- virtual USHORT GetFormulaCmdBits() const = 0 ;
- virtual BOOL IsSkipEmptyCells() const = 0;
- virtual BOOL IsLink() const = 0;
- virtual void SetFillMode( BOOL bSet ) = 0;
- virtual void SetOtherDoc( BOOL bSet ) = 0;
- virtual BOOL IsTranspose() const = 0;
- virtual void SetChangeTrack( BOOL bSet ) = 0;
+ virtual sal_uInt16 GetInsContentsCmdBits() const = 0;
+ virtual sal_uInt16 GetFormulaCmdBits() const = 0 ;
+ virtual sal_Bool IsSkipEmptyCells() const = 0;
+ virtual sal_Bool IsLink() const = 0;
+ virtual void SetFillMode( sal_Bool bSet ) = 0;
+ virtual void SetOtherDoc( sal_Bool bSet ) = 0;
+ virtual sal_Bool IsTranspose() const = 0;
+ virtual void SetChangeTrack( sal_Bool bSet ) = 0;
virtual void SetCellShiftDisabled( int nDisable ) = 0;
virtual InsCellCmd GetMoveMode() = 0;
};
@@ -163,13 +163,13 @@ public:
class AbstractScInsertTableDlg : public VclAbstractDialog //add for ScInsertTableDlg
{
public:
- virtual BOOL GetTablesFromFile() = 0;
- virtual BOOL GetTablesAsLink() = 0;
- virtual const String* GetFirstTable( USHORT* pN = NULL ) = 0;
+ virtual sal_Bool GetTablesFromFile() = 0;
+ virtual sal_Bool GetTablesAsLink() = 0;
+ virtual const String* GetFirstTable( sal_uInt16* pN = NULL ) = 0;
virtual ScDocShell* GetDocShellTables() = 0;
- virtual BOOL IsTableBefore() = 0;
- virtual USHORT GetTableCount() = 0;
- virtual const String* GetNextTable( USHORT* pN = NULL ) = 0;
+ virtual sal_Bool IsTableBefore() = 0;
+ virtual sal_uInt16 GetTableCount() = 0;
+ virtual const String* GetNextTable( sal_uInt16* pN = NULL ) = 0;
};
@@ -184,12 +184,12 @@ class AbstractScLinkedAreaDlg : public VclAbstractDialog2 //add for ScLinkedAre
public:
virtual void InitFromOldLink( const String& rFile, const String& rFilter,
const String& rOptions, const String& rSource,
- ULONG nRefresh ) = 0;
+ sal_uLong nRefresh ) = 0;
virtual String GetURL() = 0;
virtual String GetFilter() = 0; // may be empty
virtual String GetOptions() = 0; // filter options
virtual String GetSource() = 0; // separated by ";"
- virtual ULONG GetRefresh() = 0; // 0 if disabled
+ virtual sal_uLong GetRefresh() = 0; // 0 if disabled
};
class AbstractScMetricInputDlg : public VclAbstractDialog //add for ScMetricInputDlg
@@ -201,17 +201,17 @@ public:
class AbstractScMoveTableDlg : public VclAbstractDialog //add for ScMoveTableDlg
{
public:
- virtual USHORT GetSelectedDocument () const = 0;
- virtual USHORT GetSelectedTable () const = 0;
- virtual BOOL GetCopyTable () const = 0;
- virtual void SetCopyTable (BOOL bFlag=TRUE) = 0;
- virtual void EnableCopyTable (BOOL bFlag=TRUE) = 0;
+ virtual sal_uInt16 GetSelectedDocument () const = 0;
+ virtual sal_uInt16 GetSelectedTable () const = 0;
+ virtual sal_Bool GetCopyTable () const = 0;
+ virtual void SetCopyTable (sal_Bool bFlag=sal_True) = 0;
+ virtual void EnableCopyTable (sal_Bool bFlag=sal_True) = 0;
};
class AbstractScNameCreateDlg : public VclAbstractDialog //add for ScNameCreateDlg
{
public:
- virtual USHORT GetFlags() const = 0;
+ virtual sal_uInt16 GetFlags() const = 0;
};
class AbstractScNamePasteDlg : public VclAbstractDialog //add for ScNamePasteDlg
@@ -229,14 +229,14 @@ public:
class AbstractScDPFunctionDlg : public VclAbstractDialog //add for ScDPFunctionDlg
{
public:
- virtual USHORT GetFuncMask() const = 0;
+ virtual sal_uInt16 GetFuncMask() const = 0;
virtual ::com::sun::star::sheet::DataPilotFieldReference GetFieldRef() const = 0;
};
class AbstractScDPSubtotalDlg : public VclAbstractDialog //add for ScDPSubtotalDlg
{
public:
- virtual USHORT GetFuncMask() const = 0;
+ virtual sal_uInt16 GetFuncMask() const = 0;
virtual void FillLabelData( ScDPLabelData& rLabelData ) const = 0;
};
@@ -264,20 +264,20 @@ class AbstractScNewScenarioDlg : public VclAbstractDialog //add for ScNewScenar
public:
virtual void SetScenarioData( const String& rName, const String& rComment,
- const Color& rColor, USHORT nFlags ) = 0;
+ const Color& rColor, sal_uInt16 nFlags ) = 0;
virtual void GetScenarioData( String& rName, String& rComment,
- Color& rColor, USHORT& rFlags ) const = 0;
+ Color& rColor, sal_uInt16& rFlags ) const = 0;
};
class AbstractScShowTabDlg : public VclAbstractDialog //add for ScShowTabDlg
{
public:
- virtual void Insert( const String& rString, BOOL bSelected ) = 0;
- virtual USHORT GetSelectEntryCount() const = 0;
+ virtual void Insert( const String& rString, sal_Bool bSelected ) = 0;
+ virtual sal_uInt16 GetSelectEntryCount() const = 0;
virtual void SetDescription(const String& rTitle, const String& rFixedText, const rtl::OString& nDlgHelpId, const rtl::OString& nLbHelpId ) = 0;
- virtual String GetSelectEntry(USHORT nPos) const = 0;
- virtual USHORT GetSelectEntryPos(USHORT nPos) const = 0;
+ virtual String GetSelectEntry(sal_uInt16 nPos) const = 0;
+ virtual sal_uInt16 GetSelectEntryPos(sal_uInt16 nPos) const = 0;
};
class AbstractScStringInputDlg : public VclAbstractDialog //add for ScStringInputDlg
@@ -324,27 +324,27 @@ public:
int nId) = 0;
virtual AbstractScColRowLabelDlg * CreateScColRowLabelDlg (Window* pParent, //add for ScColRowLabelDlg
int nId,
- BOOL bCol = FALSE,
- BOOL bRow = FALSE) = 0;
+ sal_Bool bCol = sal_False,
+ sal_Bool bRow = sal_False) = 0;
virtual VclAbstractDialog * CreateScColOrRowDlg( Window* pParent, //add for ScColOrRowDlg
const String& rStrTitle,
const String& rStrLabel,
int nId,
- BOOL bColDefault = TRUE ) = 0;
+ sal_Bool bColDefault = sal_True ) = 0;
virtual VclAbstractDialog * CreateScSortWarningDlg ( Window* pParent, const String& rExtendText, const String& rCurrentText, int nId ) = 0; //add for ScSortWarningDlg
virtual AbstractScDataPilotDatabaseDlg * CreateScDataPilotDatabaseDlg (Window* pParent ,int nId ) = 0; //add for ScDataPilotDatabaseDlg
- virtual AbstractScDataPilotSourceTypeDlg * CreateScDataPilotSourceTypeDlg ( Window* pParent, BOOL bEnableExternal, int nId ) = 0; //add for ScDataPilotSourceTypeDlg
+ virtual AbstractScDataPilotSourceTypeDlg * CreateScDataPilotSourceTypeDlg ( Window* pParent, sal_Bool bEnableExternal, int nId ) = 0; //add for ScDataPilotSourceTypeDlg
virtual AbstractScDataPilotServiceDlg * CreateScDataPilotServiceDlg( Window* pParent, //add for ScDataPilotServiceDlg
const com::sun::star::uno::Sequence<rtl::OUString>& rServices,
int nId ) = 0;
- virtual AbstractScDeleteCellDlg * CreateScDeleteCellDlg( Window* pParent, int nId, BOOL bDisallowCellMove = FALSE ) = 0 ; //add for ScDeleteCellDlg
+ virtual AbstractScDeleteCellDlg * CreateScDeleteCellDlg( Window* pParent, int nId, sal_Bool bDisallowCellMove = sal_False ) = 0 ; //add for ScDeleteCellDlg
virtual AbstractScDeleteContentsDlg * CreateScDeleteContentsDlg(Window* pParent,int nId, //add for ScDeleteContentsDlg
- USHORT nCheckDefaults = 0 ) = 0;
+ sal_uInt16 nCheckDefaults = 0 ) = 0;
virtual AbstractScFillSeriesDlg * CreateScFillSeriesDlg( Window* pParent, //add for ScFillSeriesDlg
ScDocument& rDocument,
FillDir eFillDir,
@@ -353,29 +353,29 @@ public:
String aStartStr,
double fStep,
double fMax,
- USHORT nPossDir,
+ sal_uInt16 nPossDir,
int nId) = 0;
virtual AbstractScGroupDlg * CreateAbstractScGroupDlg( Window* pParent, //add for ScGroupDlg
- USHORT nResId,
+ sal_uInt16 nResId,
int nId,
- BOOL bUnGroup = FALSE,
- BOOL bRows = TRUE ) = 0;
+ sal_Bool bUnGroup = sal_False,
+ sal_Bool bRows = sal_True ) = 0;
virtual AbstractScInsertCellDlg * CreateScInsertCellDlg( Window* pParent, //add for ScInsertCellDlg
int nId,
- BOOL bDisallowCellMove = FALSE ) = 0;
+ sal_Bool bDisallowCellMove = sal_False ) = 0;
virtual AbstractScInsertContentsDlg * CreateScInsertContentsDlg( Window* pParent, //add for ScInsertContentsDlg
int nId,
- USHORT nCheckDefaults = 0,
+ sal_uInt16 nCheckDefaults = 0,
const String* pStrTitle = NULL ) = 0;
virtual AbstractScInsertTableDlg * CreateScInsertTableDlg ( Window* pParent, ScViewData& rViewData, //add for ScInsertTableDlg
SCTAB nTabCount, bool bFromFile, int nId) = 0;
virtual AbstractScSelEntryDlg * CreateScSelEntryDlg ( Window* pParent, // add for ScSelEntryDlg
- USHORT nResId,
+ sal_uInt16 nResId,
const String& aTitle,
const String& aLbTitle,
List& aEntryList,
@@ -383,12 +383,12 @@ public:
virtual AbstractScLinkedAreaDlg * CreateScLinkedAreaDlg ( Window* pParent, int nId) = 0; //add for ScLinkedAreaDlg
virtual AbstractScMetricInputDlg * CreateScMetricInputDlg ( Window* pParent, //add for ScMetricInputDlg
- USHORT nResId, // Ableitung fuer jeden Dialog!
+ sal_uInt16 nResId, // Ableitung fuer jeden Dialog!
long nCurrent,
long nDefault,
int nId ,
FieldUnit eFUnit = FUNIT_MM,
- USHORT nDecimals = 2,
+ sal_uInt16 nDecimals = 2,
long nMaximum = 1000,
long nMinimum = 0,
long nFirst = 1,
@@ -396,13 +396,13 @@ public:
virtual AbstractScMoveTableDlg * CreateScMoveTableDlg( Window* pParent, int nId ) = 0; //add for ScMoveTableDlg
- virtual AbstractScNameCreateDlg * CreateScNameCreateDlg ( Window * pParent, USHORT nFlags, int nId ) = 0; //add for ScNameCreateDlg
+ virtual AbstractScNameCreateDlg * CreateScNameCreateDlg ( Window * pParent, sal_uInt16 nFlags, int nId ) = 0; //add for ScNameCreateDlg
virtual AbstractScNamePasteDlg * CreateScNamePasteDlg ( Window * pParent, const ScRangeName* pList, //add for ScNamePasteDlg
- int nId , BOOL bInsList=TRUE ) = 0;
+ int nId , sal_Bool bInsList=sal_True ) = 0;
virtual AbstractScPivotFilterDlg * CreateScPivotFilterDlg ( Window* pParent, //add for ScPivotFilterDlg
- const SfxItemSet& rArgSet, USHORT nSourceTab , int nId ) = 0;
+ const SfxItemSet& rArgSet, sal_uInt16 nSourceTab , int nId ) = 0;
virtual AbstractScDPFunctionDlg * CreateScDPFunctionDlg( Window* pParent, int nId,
const ScDPLabelDataVec& rLabelVec,
@@ -428,11 +428,11 @@ public:
virtual AbstractScDPShowDetailDlg * CreateScDPShowDetailDlg( Window* pParent, int nId,
ScDPObject& rDPObj,
- USHORT nOrient ) = 0;
+ sal_uInt16 nOrient ) = 0;
virtual AbstractScNewScenarioDlg * CreateScNewScenarioDlg ( Window* pParent, const String& rName, //add for ScNewScenarioDlg
int nId,
- BOOL bEdit = FALSE, BOOL bSheetProtected = FALSE ) = 0;
+ sal_Bool bEdit = sal_False, sal_Bool bSheetProtected = sal_False ) = 0;
virtual AbstractScShowTabDlg * CreateScShowTabDlg ( Window* pParent, int nId ) = 0; //add for ScShowTabDlg
virtual AbstractScStringInputDlg * CreateScStringInputDlg ( Window* pParent, //add for ScStringInputDlg
@@ -451,12 +451,12 @@ public:
virtual AbstractScImportOptionsDlg * CreateScImportOptionsDlg ( Window* pParent, //add for ScImportOptionsDlg
int nId,
- BOOL bAscii = TRUE,
+ sal_Bool bAscii = sal_True,
const ScImportOptions* pOptions = NULL,
const String* pStrTitle = NULL,
- BOOL bMultiByte = FALSE,
- BOOL bOnlyDbtoolsEncodings = FALSE,
- BOOL bImport = TRUE ) = 0;
+ sal_Bool bMultiByte = sal_False,
+ sal_Bool bOnlyDbtoolsEncodings = sal_False,
+ sal_Bool bImport = sal_True ) = 0;
virtual SfxAbstractTabDialog * CreateScAttrDlg( SfxViewFrame* pFrame, //add for ScAttrDlg
Window* pParent,
@@ -468,11 +468,11 @@ public:
const SfxItemSet& rCoreSet,
const String& rPageStyle,
int nId,
- USHORT nResId = RID_SCDLG_HFEDIT ) = 0;
+ sal_uInt16 nResId = RID_SCDLG_HFEDIT ) = 0;
virtual SfxAbstractTabDialog * CreateScStyleDlg( Window* pParent,//add for ScStyleDlg
SfxStyleSheetBase& rStyleBase,
- USHORT nRscId,
+ sal_uInt16 nRscId,
int nId) = 0;
virtual SfxAbstractTabDialog * CreateScSubTotalDlg( Window* pParent, //add for ScSubTotalDlg
@@ -495,8 +495,8 @@ public:
virtual SfxAbstractTabDialog * CreateScSortDlg( Window* pParent, //add for ScSortDlg
const SfxItemSet* pArgSet,int nId ) = 0;
// for tabpage
- virtual CreateTabPage GetTabPageCreatorFunc( USHORT nId ) = 0;
- virtual GetTabPageRanges GetTabPageRangesFunc( USHORT nId ) = 0;
+ virtual CreateTabPage GetTabPageCreatorFunc( sal_uInt16 nId ) = 0;
+ virtual GetTabPageRanges GetTabPageRangesFunc( sal_uInt16 nId ) = 0;
};
#endif