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
276a046d
Kaydet (Commit)
276a046d
authored
Eki 08, 2014
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Annotate code.
Change-Id: If26d21593f36a39de3bc5b81717e5000795c97ae
üst
a98f12b0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
1 deletion
+15
-1
VAxisBase.cxx
chart2/source/view/axes/VAxisBase.cxx
+5
-0
VAxisBase.hxx
chart2/source/view/axes/VAxisBase.hxx
+5
-1
VCartesianCoordinateSystem.cxx
chart2/source/view/axes/VCartesianCoordinateSystem.cxx
+2
-0
VCoordinateSystem.hxx
chart2/source/view/inc/VCoordinateSystem.hxx
+3
-0
No files found.
chart2/source/view/axes/VAxisBase.cxx
Dosyayı görüntüle @
276a046d
...
...
@@ -118,6 +118,11 @@ void VAxisBase::setExrtaLinePositionAtOtherAxis( const double& fCrossingAt )
m_aAxisProperties
.
m_pfExrtaLinePositionAtOtherAxis
=
new
double
(
fCrossingAt
);
}
sal_Int32
VAxisBase
::
getDimensionCount
()
const
{
return
m_nDimension
;
}
bool
VAxisBase
::
isAnythingToDraw
()
{
if
(
!
m_aAxisProperties
.
m_xAxisModel
.
is
()
)
...
...
chart2/source/view/axes/VAxisBase.hxx
Dosyayı görüntüle @
276a046d
...
...
@@ -39,7 +39,11 @@ public:
::
com
::
sun
::
star
::
util
::
XNumberFormatsSupplier
>&
xNumberFormatsSupplier
);
virtual
~
VAxisBase
();
sal_Int32
getDimensionCount
()
{
return
m_nDimension
;}
/**
* Return the number of dimensions the diagram has. 2 for x and y, and 3
* for x, y, and z.
*/
sal_Int32
getDimensionCount
()
const
;
virtual
void
createMaximumLabels
()
=
0
;
virtual
void
createLabels
()
=
0
;
...
...
chart2/source/view/axes/VCartesianCoordinateSystem.cxx
Dosyayı görüntüle @
276a046d
...
...
@@ -109,8 +109,10 @@ void VCartesianCoordinateSystem::createVAxisList(
sal_Int32
nDimensionIndex
=
0
;
// dimension index -> x, y or z axis.
for
(
nDimensionIndex
=
0
;
nDimensionIndex
<
nDimensionCount
;
nDimensionIndex
++
)
{
// axis index -> primary or secondary axis.
sal_Int32
nMaxAxisIndex
=
m_xCooSysModel
->
getMaximumAxisIndexByDimension
(
nDimensionIndex
);
for
(
sal_Int32
nAxisIndex
=
0
;
nAxisIndex
<=
nMaxAxisIndex
;
nAxisIndex
++
)
{
...
...
chart2/source/view/inc/VCoordinateSystem.hxx
Dosyayı görüntüle @
276a046d
...
...
@@ -98,6 +98,9 @@ public:
::
com
::
sun
::
star
::
chart2
::
XCoordinateSystem
>
getModel
()
const
{
return
m_xCooSysModel
;}
/**
* Create "view" axis obejcts 'VAxis' from the coordinate system model.
*/
virtual
void
createVAxisList
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
util
::
XNumberFormatsSupplier
>
&
xNumberFormatsSupplier
,
const
::
com
::
sun
::
star
::
awt
::
Size
&
rFontReferenceSize
...
...
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