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
7649a142
Kaydet (Commit)
7649a142
authored
Tem 03, 2014
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Make these non-inline.
Change-Id: I0de443a78e3024c7d3834f964a92f5ccdabe3cc3
üst
9dd15210
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
4 deletions
+24
-4
InternalData.hxx
chart2/source/inc/InternalData.hxx
+4
-4
InternalData.cxx
chart2/source/tools/InternalData.cxx
+20
-0
No files found.
chart2/source/inc/InternalData.hxx
Dosyayı görüntüle @
7649a142
...
@@ -66,15 +66,15 @@ public:
...
@@ -66,15 +66,15 @@ public:
/// @return the index of the newly appended row
/// @return the index of the newly appended row
sal_Int32
appendRow
();
sal_Int32
appendRow
();
sal_Int32
getRowCount
()
const
{
return
m_nRowCount
;}
sal_Int32
getRowCount
()
const
;
sal_Int32
getColumnCount
()
const
{
return
m_nColumnCount
;}
sal_Int32
getColumnCount
()
const
;
typedef
::
std
::
vector
<
::
std
::
vector
<
::
com
::
sun
::
star
::
uno
::
Any
>
>
tVecVecAny
;
//inner index is hierarchical level
typedef
::
std
::
vector
<
::
std
::
vector
<
::
com
::
sun
::
star
::
uno
::
Any
>
>
tVecVecAny
;
//inner index is hierarchical level
void
setComplexRowLabels
(
const
tVecVecAny
&
rNewRowLabels
);
void
setComplexRowLabels
(
const
tVecVecAny
&
rNewRowLabels
);
tVecVecAny
getComplexRowLabels
()
const
{
return
m_aRowLabels
;}
tVecVecAny
getComplexRowLabels
()
const
;
void
setComplexColumnLabels
(
const
tVecVecAny
&
rNewColumnLabels
);
void
setComplexColumnLabels
(
const
tVecVecAny
&
rNewColumnLabels
);
tVecVecAny
getComplexColumnLabels
()
const
{
return
m_aColumnLabels
;}
tVecVecAny
getComplexColumnLabels
()
const
;
void
dump
()
const
;
void
dump
()
const
;
...
...
chart2/source/tools/InternalData.cxx
Dosyayı görüntüle @
7649a142
...
@@ -376,6 +376,16 @@ sal_Int32 InternalData::appendRow()
...
@@ -376,6 +376,16 @@ sal_Int32 InternalData::appendRow()
return
getRowCount
()
-
1
;
return
getRowCount
()
-
1
;
}
}
sal_Int32
InternalData
::
getRowCount
()
const
{
return
m_nRowCount
;
}
sal_Int32
InternalData
::
getColumnCount
()
const
{
return
m_nColumnCount
;
}
void
InternalData
::
insertRow
(
sal_Int32
nAfterIndex
)
void
InternalData
::
insertRow
(
sal_Int32
nAfterIndex
)
{
{
// note: -1 is allowed, as we insert after the given index
// note: -1 is allowed, as we insert after the given index
...
@@ -496,6 +506,11 @@ void InternalData::setComplexRowLabels( const vector< vector< uno::Any > >& rNew
...
@@ -496,6 +506,11 @@ void InternalData::setComplexRowLabels( const vector< vector< uno::Any > >& rNew
enlargeData
(
0
,
nNewRowCount
);
enlargeData
(
0
,
nNewRowCount
);
}
}
InternalData
::
tVecVecAny
InternalData
::
getComplexRowLabels
()
const
{
return
m_aRowLabels
;
}
void
InternalData
::
setComplexColumnLabels
(
const
vector
<
vector
<
uno
::
Any
>
>&
rNewColumnLabels
)
void
InternalData
::
setComplexColumnLabels
(
const
vector
<
vector
<
uno
::
Any
>
>&
rNewColumnLabels
)
{
{
m_aColumnLabels
=
rNewColumnLabels
;
m_aColumnLabels
=
rNewColumnLabels
;
...
@@ -506,6 +521,11 @@ void InternalData::setComplexColumnLabels( const vector< vector< uno::Any > >& r
...
@@ -506,6 +521,11 @@ void InternalData::setComplexColumnLabels( const vector< vector< uno::Any > >& r
enlargeData
(
nNewColumnCount
,
0
);
enlargeData
(
nNewColumnCount
,
0
);
}
}
InternalData
::
tVecVecAny
InternalData
::
getComplexColumnLabels
()
const
{
return
m_aColumnLabels
;
}
#ifdef DEBUG_INTERNAL_DATA
#ifdef DEBUG_INTERNAL_DATA
void
InternalData
::
dump
()
const
void
InternalData
::
dump
()
const
{
{
...
...
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