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
1a25d464
Kaydet (Commit)
1a25d464
authored
Eki 05, 2012
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remaining places in calc core are adapted to overlapping cond formats
Change-Id: I096623d3c531d21eca2f5be29f22a1677a738b0d
üst
3cb337fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
10 deletions
+8
-10
attarray.cxx
sc/source/core/data/attarray.cxx
+7
-7
column2.cxx
sc/source/core/data/column2.cxx
+1
-3
No files found.
sc/source/core/data/attarray.cxx
Dosyayı görüntüle @
1a25d464
...
@@ -297,7 +297,7 @@ void ScAttrArray::AddCondFormat( SCROW nStartRow, SCROW nEndRow, sal_uInt32 nInd
...
@@ -297,7 +297,7 @@ void ScAttrArray::AddCondFormat( SCROW nStartRow, SCROW nEndRow, sal_uInt32 nInd
nTempEndRow
=
std
::
min
<
SCROW
>
(
nPatternEndRow
,
nEndRow
);
nTempEndRow
=
std
::
min
<
SCROW
>
(
nPatternEndRow
,
nEndRow
);
const
SfxPoolItem
*
pItem
=
NULL
;
const
SfxPoolItem
*
pItem
=
NULL
;
SfxItemState
eState
=
pPattern
->
GetItemSet
().
GetItemState
(
ATTR_CONDITIONAL
,
true
,
&
pItem
);
pPattern
->
GetItemSet
().
GetItemState
(
ATTR_CONDITIONAL
,
true
,
&
pItem
);
std
::
vector
<
sal_uInt32
>
aCondFormatData
;
std
::
vector
<
sal_uInt32
>
aCondFormatData
;
if
(
pItem
)
if
(
pItem
)
aCondFormatData
=
static_cast
<
const
ScCondFormatItem
*>
(
pItem
)
->
GetCondFormatData
();
aCondFormatData
=
static_cast
<
const
ScCondFormatItem
*>
(
pItem
)
->
GetCondFormatData
();
...
@@ -1229,9 +1229,9 @@ bool ScAttrArray::HasAttrib( SCROW nRow1, SCROW nRow2, sal_uInt16 nMask ) const
...
@@ -1229,9 +1229,9 @@ bool ScAttrArray::HasAttrib( SCROW nRow1, SCROW nRow2, sal_uInt16 nMask ) const
}
}
if
(
nMask
&
HASATTR_CONDITIONAL
)
if
(
nMask
&
HASATTR_CONDITIONAL
)
{
{
const
SfxUInt32Item
*
pConditional
=
bool
bContainsCondFormat
=
(
const
SfxUInt32Item
*
)
&
pPattern
->
GetItem
(
ATTR_CONDITIONAL
);
!
static_cast
<
const
ScCondFormatItem
&>
(
pPattern
->
GetItem
(
ATTR_CONDITIONAL
)).
GetCondFormatData
().
empty
(
);
if
(
pConditional
->
GetValue
()
!=
0
)
if
(
bContainsCondFormat
)
bFound
=
true
;
bFound
=
true
;
}
}
if
(
nMask
&
HASATTR_PROTECTED
)
if
(
nMask
&
HASATTR_PROTECTED
)
...
@@ -1242,9 +1242,9 @@ bool ScAttrArray::HasAttrib( SCROW nRow1, SCROW nRow2, sal_uInt16 nMask ) const
...
@@ -1242,9 +1242,9 @@ bool ScAttrArray::HasAttrib( SCROW nRow1, SCROW nRow2, sal_uInt16 nMask ) const
if
(
pProtect
->
GetProtection
()
||
pProtect
->
GetHideCell
()
)
if
(
pProtect
->
GetProtection
()
||
pProtect
->
GetHideCell
()
)
bFoundTemp
=
true
;
bFoundTemp
=
true
;
const
SfxUInt32Item
*
pConditional
=
bool
bContainsCondFormat
=
(
const
SfxUInt32Item
*
)
&
pPattern
->
GetItem
(
ATTR_CONDITIONAL
);
!
static_cast
<
const
ScCondFormatItem
&>
(
pPattern
->
GetItem
(
ATTR_CONDITIONAL
)).
GetCondFormatData
().
empty
(
);
if
(
pConditional
->
GetValue
()
!=
0
)
if
(
bContainsCondFormat
)
{
{
SCROW
nRowStartCond
=
std
::
max
<
SCROW
>
(
nRow1
,
i
?
pData
[
i
-
1
].
nRow
+
1
:
0
);
SCROW
nRowStartCond
=
std
::
max
<
SCROW
>
(
nRow1
,
i
?
pData
[
i
-
1
].
nRow
+
1
:
0
);
SCROW
nRowEndCond
=
std
::
min
<
SCROW
>
(
nRow2
,
pData
[
i
].
nRow
);
SCROW
nRowEndCond
=
std
::
min
<
SCROW
>
(
nRow2
,
pData
[
i
].
nRow
);
...
...
sc/source/core/data/column2.cxx
Dosyayı görüntüle @
1a25d464
...
@@ -126,9 +126,7 @@ long ScColumn::GetNeededSize( SCROW nRow, OutputDevice* pDev,
...
@@ -126,9 +126,7 @@ long ScColumn::GetNeededSize( SCROW nRow, OutputDevice* pDev,
}
}
// bedingte Formatierung
// bedingte Formatierung
const
SfxItemSet
*
pCondSet
=
NULL
;
const
SfxItemSet
*
pCondSet
=
pDocument
->
GetCondResult
(
nCol
,
nRow
,
nTab
);
if
(
((
const
SfxUInt32Item
&
)
pPattern
->
GetItem
(
ATTR_CONDITIONAL
)).
GetValue
()
)
pCondSet
=
pDocument
->
GetCondResult
(
nCol
,
nRow
,
nTab
);
// Zeilenumbruch?
// Zeilenumbruch?
...
...
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