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
0ba7b36a
Kaydet (Commit)
0ba7b36a
authored
Nis 18, 2014
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Retrieve and store broadcasters into data table.
Change-Id: I107ccbbc61a5e8024f21a7a30fae9fea00c90bde
üst
e729c45b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
1 deletion
+16
-1
column.hxx
sc/inc/column.hxx
+2
-0
column2.cxx
sc/source/core/data/column2.cxx
+11
-0
table3.cxx
sc/source/core/data/table3.cxx
+3
-1
No files found.
sc/inc/column.hxx
Dosyayı görüntüle @
0ba7b36a
...
...
@@ -514,6 +514,8 @@ public:
SvtBroadcaster
*
GetBroadcaster
(
SCROW
nRow
);
const
SvtBroadcaster
*
GetBroadcaster
(
SCROW
nRow
)
const
;
const
SvtBroadcaster
*
GetBroadcaster
(
sc
::
ColumnBlockConstPosition
&
rBlockPos
,
SCROW
nRow
)
const
;
void
DeleteBroadcasters
(
sc
::
ColumnBlockPosition
&
rBlockPos
,
SCROW
nRow1
,
SCROW
nRow2
);
void
PrepareBroadcastersForDestruction
();
bool
HasBroadcaster
()
const
;
...
...
sc/source/core/data/column2.cxx
Dosyayı görüntüle @
0ba7b36a
...
...
@@ -1794,6 +1794,17 @@ const SvtBroadcaster* ScColumn::GetBroadcaster(SCROW nRow) const
return
maBroadcasters
.
get
<
SvtBroadcaster
*>
(
nRow
);
}
const
SvtBroadcaster
*
ScColumn
::
GetBroadcaster
(
sc
::
ColumnBlockConstPosition
&
rBlockPos
,
SCROW
nRow
)
const
{
sc
::
BroadcasterStoreType
::
const_position_type
aPos
=
maBroadcasters
.
position
(
rBlockPos
.
miBroadcasterPos
,
nRow
);
rBlockPos
.
miBroadcasterPos
=
aPos
.
first
;
if
(
aPos
.
first
->
type
!=
sc
::
element_type_broadcaster
)
return
NULL
;
return
sc
::
broadcaster_block
::
at
(
*
aPos
.
first
->
data
,
aPos
.
second
);
}
void
ScColumn
::
DeleteBroadcasters
(
sc
::
ColumnBlockPosition
&
rBlockPos
,
SCROW
nRow1
,
SCROW
nRow2
)
{
rBlockPos
.
miBroadcasterPos
=
...
...
sc/source/core/data/table3.cxx
Dosyayı görüntüle @
0ba7b36a
...
...
@@ -226,8 +226,9 @@ public:
{
ScRefCellValue
maCell
;
const
sc
::
CellTextAttr
*
mpAttr
;
const
SvtBroadcaster
*
mpBroadcaster
;
Cell
()
:
mpAttr
(
NULL
)
{}
Cell
()
:
mpAttr
(
NULL
)
,
mpBroadcaster
(
NULL
)
{}
};
typedef
std
::
vector
<
Cell
>
RowType
;
...
...
@@ -353,6 +354,7 @@ ScSortInfoArray* ScTable::CreateSortInfoArray( SCCOLROW nInd1, SCCOLROW nInd2 )
rCell
.
maCell
=
rCol
.
GetCellValue
(
aBlockPos
,
nRow
);
rCell
.
mpAttr
=
rCol
.
GetCellTextAttr
(
aBlockPos
,
nRow
);
rCell
.
mpBroadcaster
=
rCol
.
GetBroadcaster
(
aBlockPos
,
nRow
);
}
}
}
...
...
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