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
ed497c01
Kaydet (Commit)
ed497c01
authored
Tem 22, 2015
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
handle ContainsHeader property at database range
Change-Id: If0d54ab1dee6c861b973dc490f6c4a1e11260546
üst
6dddd1aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
datauno.cxx
sc/source/ui/unoobj/datauno.cxx
+9
-0
No files found.
sc/source/ui/unoobj/datauno.cxx
Dosyayı görüntüle @
ed497c01
...
...
@@ -123,6 +123,7 @@ static const SfxItemPropertyMapEntry* lcl_GetDBRangePropertyMap()
{
OUString
(
SC_UNONAME_TOKENINDEX
),
0
,
cppu
::
UnoType
<
sal_Int32
>::
get
(),
beans
::
PropertyAttribute
::
READONLY
,
0
},
{
OUString
(
SC_UNONAME_USEFLTCRT
),
0
,
cppu
::
UnoType
<
bool
>::
get
(),
0
,
0
},
{
OUString
(
SC_UNONAME_TOTALSROW
),
0
,
cppu
::
UnoType
<
bool
>::
get
(),
0
,
0
},
{
OUString
(
SC_UNONAME_CONTHDR
)
,
0
,
cppu
::
UnoType
<
bool
>::
get
(),
0
,
0
},
{
OUString
(),
0
,
css
::
uno
::
Type
(),
0
,
0
}
};
return
aDBRangePropertyMap_Impl
;
...
...
@@ -2085,6 +2086,8 @@ void SAL_CALL ScDatabaseRangeObj::setPropertyValue(
}
else
if
(
aString
==
SC_UNONAME_TOTALSROW
)
aNewData
.
SetTotals
(
ScUnoHelpFunctions
::
GetBoolFromAny
(
aValue
)
);
else
if
(
aString
==
SC_UNONAME_CONTHDR
)
aNewData
.
SetHeader
(
ScUnoHelpFunctions
::
GetBoolFromAny
(
aValue
)
);
else
bDo
=
false
;
...
...
@@ -2170,6 +2173,12 @@ uno::Any SAL_CALL ScDatabaseRangeObj::getPropertyValue( const OUString& aPropert
ScUnoHelpFunctions
::
SetBoolInAny
(
aRet
,
bTotals
);
}
else
if
(
aString
==
SC_UNONAME_CONTHDR
)
{
bool
bHeader
(
GetDBData_Impl
()
->
HasHeader
());
ScUnoHelpFunctions
::
SetBoolInAny
(
aRet
,
bHeader
);
}
}
return
aRet
;
}
...
...
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