Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
985c6b45
Kaydet (Commit)
985c6b45
authored
Şub 10, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_Bool->bool
Change-Id: I7176217c4b9593386209db2fba8f26f45c39c5ca
üst
cc66810d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
27 deletions
+27
-27
docoptio.hxx
sc/inc/docoptio.hxx
+25
-25
impop.cxx
sc/source/filter/excel/impop.cxx
+1
-1
viewdata.cxx
sc/source/ui/view/viewdata.cxx
+1
-1
No files found.
sc/inc/docoptio.hxx
Dosyayı görüntüle @
985c6b45
...
...
@@ -31,7 +31,7 @@
class
SC_DLLPUBLIC
ScDocOptions
{
double
fIterEps
;
// epsilon value dazu
double
fIterEps
;
// epsilon value dazu
sal_uInt16
nIterCount
;
///< number
sal_uInt16
nPrecStandardFormat
;
///< precision for standard format
sal_uInt16
nDay
;
///< Null date:
...
...
@@ -39,32 +39,32 @@ class SC_DLLPUBLIC ScDocOptions
sal_uInt16
nYear
;
sal_uInt16
nYear2000
;
///< earlier 19YY is assumed, 20YY otherwise (if only YY of year is given)
sal_uInt16
nTabDistance
;
///< distance of standard tabs
sal_Bool
bIsIgnoreCase
;
///< ignore case for comparisons?
sal_Bool
bIsIter
;
///< iterations for circular refs
sal_Bool
bCalcAsShown
;
///< calculate as shown (wrt precision)
sal_Bool
bMatchWholeCell
;
///< search criteria must match the whole cell
sal_Bool
bDoAutoSpell
;
///< auto-spelling
sal_Bool
bLookUpColRowNames
;
///< determine column-/row titles automagically
sal_Bool
bFormulaRegexEnabled
;
///< regular expressions in formulas enabled
bool
bIsIgnoreCase
;
///< ignore case for comparisons?
bool
bIsIter
;
///< iterations for circular refs
bool
bCalcAsShown
;
///< calculate as shown (wrt precision)
bool
bMatchWholeCell
;
///< search criteria must match the whole cell
bool
bDoAutoSpell
;
///< auto-spelling
bool
bLookUpColRowNames
;
///< determine column-/row titles automagically
bool
bFormulaRegexEnabled
;
///< regular expressions in formulas enabled
public
:
ScDocOptions
();
ScDocOptions
(
const
ScDocOptions
&
rCpy
);
~
ScDocOptions
();
sal_Bool
IsLookUpColRowNames
()
const
{
return
bLookUpColRowNames
;
}
void
SetLookUpColRowNames
(
sal_B
ool
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
;
}
bool
IsLookUpColRowNames
()
const
{
return
bLookUpColRowNames
;
}
void
SetLookUpColRowNames
(
b
ool
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
;
}
sal_uInt16
GetIterCount
()
const
{
return
nIterCount
;
}
void
SetIterCount
(
sal_uInt16
nCount
)
{
nIterCount
=
nCount
;
}
double
GetIterEps
()
const
{
return
fIterEps
;
}
void
SetIterEps
(
double
fEps
)
{
fIterEps
=
fEps
;
}
double
GetIterEps
()
const
{
return
fIterEps
;
}
void
SetIterEps
(
double
fEps
)
{
fIterEps
=
fEps
;
}
void
GetDate
(
sal_uInt16
&
rD
,
sal_uInt16
&
rM
,
sal_uInt16
&
rY
)
const
{
rD
=
nDay
;
rM
=
nMonth
;
rY
=
nYear
;}
...
...
@@ -79,17 +79,17 @@ public:
inline
bool
operator
==
(
const
ScDocOptions
&
rOpt
)
const
;
inline
bool
operator
!=
(
const
ScDocOptions
&
rOpt
)
const
;
sal_uInt16
GetStdPrecision
()
const
{
return
nPrecStandardFormat
;
}
sal_uInt16
GetStdPrecision
()
const
{
return
nPrecStandardFormat
;
}
void
SetStdPrecision
(
sal_uInt16
n
)
{
nPrecStandardFormat
=
n
;
}
sal_Bool
IsCalcAsShown
()
const
{
return
bCalcAsShown
;
}
void
SetCalcAsShown
(
sal_Bool
bVal
)
{
bCalcAsShown
=
bVal
;
}
bool
IsCalcAsShown
()
const
{
return
bCalcAsShown
;
}
void
SetCalcAsShown
(
bool
bVal
)
{
bCalcAsShown
=
bVal
;
}
void
SetYear2000
(
sal_uInt16
nVal
)
{
nYear2000
=
nVal
;
}
sal_uInt16
GetYear2000
()
const
{
return
nYear2000
;
}
void
SetFormulaRegexEnabled
(
sal_B
ool
bVal
)
{
bFormulaRegexEnabled
=
bVal
;
}
sal_B
ool
IsFormulaRegexEnabled
()
const
{
return
bFormulaRegexEnabled
;
}
void
SetFormulaRegexEnabled
(
b
ool
bVal
)
{
bFormulaRegexEnabled
=
bVal
;
}
b
ool
IsFormulaRegexEnabled
()
const
{
return
bFormulaRegexEnabled
;
}
};
...
...
sc/source/filter/excel/impop.cxx
Dosyayı görüntüle @
985c6b45
...
...
@@ -782,7 +782,7 @@ void ImportExcel::ReadUsesElfs()
if
(
maStrm
.
ReaduInt16
()
!=
0
)
{
ScDocOptions
aDocOpt
=
GetDoc
().
GetDocOptions
();
aDocOpt
.
SetLookUpColRowNames
(
sal_T
rue
);
aDocOpt
.
SetLookUpColRowNames
(
t
rue
);
GetDoc
().
SetDocOptions
(
aDocOpt
);
}
}
...
...
sc/source/ui/view/viewdata.cxx
Dosyayı görüntüle @
985c6b45
...
...
@@ -2989,7 +2989,7 @@ sal_Bool ScViewData::UpdateFixY( SCTAB nTab ) // sal_True = Wert g
void
ScViewData
::
UpdateOutlinerFlags
(
Outliner
&
rOutl
)
const
{
ScDocument
*
pLocalDoc
=
GetDocument
();
sal_B
ool
bOnlineSpell
=
pLocalDoc
->
GetDocOptions
().
IsAutoSpell
();
b
ool
bOnlineSpell
=
pLocalDoc
->
GetDocOptions
().
IsAutoSpell
();
sal_uLong
nCntrl
=
rOutl
.
GetControlWord
();
nCntrl
|=
EE_CNTRL_URLSFXEXECUTE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment