summaryrefslogtreecommitdiff
path: root/sc/inc/docoptio.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/docoptio.hxx')
-rw-r--r--sc/inc/docoptio.hxx74
1 files changed, 37 insertions, 37 deletions
diff --git a/sc/inc/docoptio.hxx b/sc/inc/docoptio.hxx
index 6f6d4c859a5c..0c365fe06051 100644
--- a/sc/inc/docoptio.hxx
+++ b/sc/inc/docoptio.hxx
@@ -37,47 +37,47 @@
class SC_DLLPUBLIC ScDocOptions
{
double fIterEps; // Epsilon-Wert dazu
- USHORT nIterCount; // Anzahl
+ sal_uInt16 nIterCount; // Anzahl
sal_uInt16 nPrecStandardFormat; // precision for standard format
- USHORT nDay; // Nulldatum:
- USHORT nMonth;
- USHORT nYear;
- USHORT nYear2000; // bis zu welcher zweistelligen Jahreszahl 20xx angenommen wird
- USHORT nTabDistance; // Abstand Standardtabulatoren
- BOOL bIsIgnoreCase; // Gross-/Kleinschr. bei Vergleichen
- BOOL bIsIter; // Iteration bei cirk. Ref
- BOOL bCalcAsShown; // berechnen wie angezeigt (Precision)
- BOOL bMatchWholeCell; // Suchkriterien muessen ganze Zelle matchen
- BOOL bDoAutoSpell; // Auto-Spelling
- BOOL bLookUpColRowNames; // Spalten-/Zeilenbeschriftungen automagisch suchen
- BOOL bFormulaRegexEnabled; // regular expressions in formulas enabled
+ sal_uInt16 nDay; // Nulldatum:
+ sal_uInt16 nMonth;
+ sal_uInt16 nYear;
+ sal_uInt16 nYear2000; // bis zu welcher zweistelligen Jahreszahl 20xx angenommen wird
+ sal_uInt16 nTabDistance; // Abstand Standardtabulatoren
+ sal_Bool bIsIgnoreCase; // Gross-/Kleinschr. bei Vergleichen
+ sal_Bool bIsIter; // Iteration bei cirk. Ref
+ sal_Bool bCalcAsShown; // berechnen wie angezeigt (Precision)
+ sal_Bool bMatchWholeCell; // Suchkriterien muessen ganze Zelle matchen
+ sal_Bool bDoAutoSpell; // Auto-Spelling
+ sal_Bool bLookUpColRowNames; // Spalten-/Zeilenbeschriftungen automagisch suchen
+ sal_Bool bFormulaRegexEnabled; // regular expressions in formulas enabled
public:
ScDocOptions();
ScDocOptions( const ScDocOptions& rCpy );
~ScDocOptions();
- BOOL IsLookUpColRowNames() const { return bLookUpColRowNames; }
- void SetLookUpColRowNames( BOOL bVal ) { bLookUpColRowNames = bVal; }
- BOOL IsAutoSpell() const { return bDoAutoSpell; }
- void SetAutoSpell( BOOL bVal ) { bDoAutoSpell = bVal; }
- BOOL IsMatchWholeCell() const { return bMatchWholeCell; }
- void SetMatchWholeCell( BOOL bVal ){ bMatchWholeCell = bVal; }
- BOOL IsIgnoreCase() const { return bIsIgnoreCase; }
- void SetIgnoreCase( BOOL bVal ) { bIsIgnoreCase = bVal; }
- BOOL IsIter() const { return bIsIter; }
- void SetIter( BOOL bVal ) { bIsIter = bVal; }
- USHORT GetIterCount() const { return nIterCount; }
- void SetIterCount( USHORT nCount) { nIterCount = nCount; }
+ sal_Bool IsLookUpColRowNames() const { return bLookUpColRowNames; }
+ void SetLookUpColRowNames( sal_Bool bVal ) { bLookUpColRowNames = bVal; }
+ sal_Bool IsAutoSpell() const { return bDoAutoSpell; }
+ void SetAutoSpell( sal_Bool bVal ) { bDoAutoSpell = bVal; }
+ sal_Bool IsMatchWholeCell() const { return bMatchWholeCell; }
+ void SetMatchWholeCell( sal_Bool bVal ){ bMatchWholeCell = bVal; }
+ sal_Bool IsIgnoreCase() const { return bIsIgnoreCase; }
+ void SetIgnoreCase( sal_Bool bVal ) { bIsIgnoreCase = bVal; }
+ sal_Bool IsIter() const { return bIsIter; }
+ void SetIter( sal_Bool bVal ) { bIsIter = bVal; }
+ sal_uInt16 GetIterCount() const { return nIterCount; }
+ void SetIterCount( sal_uInt16 nCount) { nIterCount = nCount; }
double GetIterEps() const { return fIterEps; }
void SetIterEps( double fEps ) { fIterEps = fEps; }
- void GetDate( USHORT& rD, USHORT& rM, USHORT& rY ) const
+ void GetDate( sal_uInt16& rD, sal_uInt16& rM, sal_uInt16& rY ) const
{ rD = nDay; rM = nMonth; rY = nYear;}
- void SetDate (USHORT nD, USHORT nM, USHORT nY)
+ void SetDate (sal_uInt16 nD, sal_uInt16 nM, sal_uInt16 nY)
{ nDay = nD; nMonth = nM; nYear = nY; }
- USHORT GetTabDistance() const { return nTabDistance;}
- void SetTabDistance( USHORT nTabDist ) {nTabDistance = nTabDist;}
+ sal_uInt16 GetTabDistance() const { return nTabDistance;}
+ void SetTabDistance( sal_uInt16 nTabDist ) {nTabDistance = nTabDist;}
void ResetDocOptions();
inline void CopyTo(ScDocOptions& rOpt);
@@ -89,14 +89,14 @@ public:
sal_uInt16 GetStdPrecision() const { return nPrecStandardFormat; }
void SetStdPrecision( sal_uInt16 n ) { nPrecStandardFormat = n; }
- BOOL IsCalcAsShown() const { return bCalcAsShown; }
- void SetCalcAsShown( BOOL bVal ) { bCalcAsShown = bVal; }
+ sal_Bool IsCalcAsShown() const { return bCalcAsShown; }
+ void SetCalcAsShown( sal_Bool bVal ) { bCalcAsShown = bVal; }
- void SetYear2000( USHORT nVal ) { nYear2000 = nVal; }
- USHORT GetYear2000() const { return nYear2000; }
+ void SetYear2000( sal_uInt16 nVal ) { nYear2000 = nVal; }
+ sal_uInt16 GetYear2000() const { return nYear2000; }
- void SetFormulaRegexEnabled( BOOL bVal ) { bFormulaRegexEnabled = bVal; }
- BOOL IsFormulaRegexEnabled() const { return bFormulaRegexEnabled; }
+ void SetFormulaRegexEnabled( sal_Bool bVal ) { bFormulaRegexEnabled = bVal; }
+ sal_Bool IsFormulaRegexEnabled() const { return bFormulaRegexEnabled; }
};
@@ -174,8 +174,8 @@ class SC_DLLPUBLIC ScTpCalcItem : public SfxPoolItem
{
public:
TYPEINFO();
-//UNUSED2008-05 ScTpCalcItem( USHORT nWhich );
- ScTpCalcItem( USHORT nWhich,
+//UNUSED2008-05 ScTpCalcItem( sal_uInt16 nWhich );
+ ScTpCalcItem( sal_uInt16 nWhich,
const ScDocOptions& rOpt );
ScTpCalcItem( const ScTpCalcItem& rItem );
~ScTpCalcItem();