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
0be6a5ef
Kaydet (Commit)
0be6a5ef
authored
Mar 28, 2014
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Transfer back properties from the chart type object to template object.
Change-Id: I3484a2ae0141087835e34e4e174bdc24b3357854
üst
cd1e8972
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
GL3DBarChartTypeTemplate.cxx
chart2/source/model/template/GL3DBarChartTypeTemplate.cxx
+21
-0
GL3DBarChartTypeTemplate.hxx
chart2/source/model/template/GL3DBarChartTypeTemplate.hxx
+5
-0
No files found.
chart2/source/model/template/GL3DBarChartTypeTemplate.cxx
Dosyayı görüntüle @
0be6a5ef
...
...
@@ -125,6 +125,27 @@ uno::Reference<chart2::XChartType> GL3DBarChartTypeTemplate::getChartTypeForInde
return
xResult
;
}
sal_Bool
SAL_CALL
GL3DBarChartTypeTemplate
::
matchesTemplate
(
const
css
::
uno
::
Reference
<
css
::
chart2
::
XDiagram
>&
xDiagram
,
sal_Bool
bAdaptProperties
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
{
bool
bResult
=
ChartTypeTemplate
::
matchesTemplate
(
xDiagram
,
bAdaptProperties
);
if
(
bResult
&&
bAdaptProperties
)
{
uno
::
Reference
<
chart2
::
XChartType
>
xChartType
=
DiagramHelper
::
getChartTypeByIndex
(
xDiagram
,
0
);
uno
::
Reference
<
beans
::
XPropertySet
>
xPS
(
xChartType
,
uno
::
UNO_QUERY
);
if
(
xPS
.
is
())
{
setFastPropertyValue_NoBroadcast
(
PROP_GL3DCHARTTYPE_ROUNDED_EDGE
,
xPS
->
getPropertyValue
(
CHART_UNONAME_ROUNDED_EDGE
));
}
}
return
bResult
;
}
uno
::
Reference
<
chart2
::
XChartType
>
GL3DBarChartTypeTemplate
::
getChartTypeForNewSeries
(
const
uno
::
Sequence
<
uno
::
Reference
<
chart2
::
XChartType
>
>&
/*xOldChartTypes*/
)
throw
(
::
css
::
uno
::
RuntimeException
,
::
std
::
exception
)
...
...
chart2/source/model/template/GL3DBarChartTypeTemplate.hxx
Dosyayı görüntüle @
0be6a5ef
...
...
@@ -38,6 +38,11 @@ public:
// XChartTypeTemplate
virtual
sal_Bool
SAL_CALL
matchesTemplate
(
const
css
::
uno
::
Reference
<
css
::
chart2
::
XDiagram
>&
xDiagram
,
sal_Bool
bAdaptProperties
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
);
virtual
css
::
uno
::
Reference
<
css
::
chart2
::
XChartType
>
SAL_CALL
getChartTypeForNewSeries
(
const
css
::
uno
::
Sequence
<
css
::
uno
::
Reference
<
css
::
chart2
::
XChartType
>
>&
xOldChartTypes
)
throw
(
::
css
::
uno
::
RuntimeException
,
::
std
::
exception
)
SAL_OVERRIDE
;
...
...
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