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
e517948e
Kaydet (Commit)
e517948e
authored
Tem 29, 2015
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
set some properties from chart line panel
Change-Id: Idbe26d7ea554512391b22299ac6dccaeaa71d584
üst
9bb03b49
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
5 deletions
+46
-5
ChartLinePanel.cxx
chart2/source/controller/sidebar/ChartLinePanel.cxx
+46
-5
No files found.
chart2/source/controller/sidebar/ChartLinePanel.cxx
Dosyayı görüntüle @
e517948e
...
...
@@ -12,6 +12,11 @@
#include "PropertyHelper.hxx"
#include "ChartController.hxx"
#include <svx/xlnwtit.hxx>
#include <svx/xlinjoit.hxx>
#include <svx/xlndsit.hxx>
#include <svx/xlntrit.hxx>
#include <com/sun/star/view/XSelectionSupplier.hpp>
namespace
chart
{
namespace
sidebar
{
...
...
@@ -174,12 +179,26 @@ void ChartLinePanel::updateModel(
xSelectionSupplier
->
addSelectionChangeListener
(
mxSelectionListener
.
get
());
}
void
ChartLinePanel
::
setLineStyle
(
const
XLineStyleItem
&
/*rItem*/
)
void
ChartLinePanel
::
setLineStyle
(
const
XLineStyleItem
&
rItem
)
{
css
::
uno
::
Reference
<
css
::
beans
::
XPropertySet
>
xPropSet
=
getPropSet
(
mxModel
);
if
(
!
xPropSet
.
is
())
return
;
xPropSet
->
setPropertyValue
(
"LineStyle"
,
css
::
uno
::
makeAny
(
rItem
.
GetValue
()));
}
void
ChartLinePanel
::
setLineDash
(
const
XLineDashItem
&
/*rItem*/
)
void
ChartLinePanel
::
setLineDash
(
const
XLineDashItem
&
rItem
)
{
css
::
uno
::
Reference
<
css
::
beans
::
XPropertySet
>
xPropSet
=
getPropSet
(
mxModel
);
if
(
!
xPropSet
.
is
())
return
;
xPropSet
->
setPropertyValue
(
"LineDash"
,
css
::
uno
::
makeAny
(
rItem
.
GetValue
()));
}
void
ChartLinePanel
::
setLineEndStyle
(
const
XLineEndItem
*
/*pItem*/
)
...
...
@@ -190,20 +209,42 @@ void ChartLinePanel::setLineStartStyle(const XLineStartItem* /*pItem*/)
{
}
void
ChartLinePanel
::
setLineJoint
(
const
XLineJointItem
*
/*pItem*/
)
void
ChartLinePanel
::
setLineJoint
(
const
XLineJointItem
*
pItem
)
{
css
::
uno
::
Reference
<
css
::
beans
::
XPropertySet
>
xPropSet
=
getPropSet
(
mxModel
);
if
(
!
xPropSet
.
is
())
return
;
if
(
pItem
)
xPropSet
->
setPropertyValue
(
"LineJoint"
,
css
::
uno
::
makeAny
(
pItem
->
GetValue
()));
}
void
ChartLinePanel
::
setLineCap
(
const
XLineCapItem
*
/*pItem*/
)
{
}
void
ChartLinePanel
::
setLineTransparency
(
const
XLineTransparenceItem
&
/*rItem*/
)
void
ChartLinePanel
::
setLineTransparency
(
const
XLineTransparenceItem
&
rItem
)
{
css
::
uno
::
Reference
<
css
::
beans
::
XPropertySet
>
xPropSet
=
getPropSet
(
mxModel
);
if
(
!
xPropSet
.
is
())
return
;
xPropSet
->
setPropertyValue
(
"LineTransparence"
,
css
::
uno
::
makeAny
(
rItem
.
GetValue
()));
}
void
ChartLinePanel
::
setLineWidth
(
const
XLineWidthItem
&
/*rItem*/
)
void
ChartLinePanel
::
setLineWidth
(
const
XLineWidthItem
&
rItem
)
{
css
::
uno
::
Reference
<
css
::
beans
::
XPropertySet
>
xPropSet
=
getPropSet
(
mxModel
);
if
(
!
xPropSet
.
is
())
return
;
xPropSet
->
setPropertyValue
(
"LineWidth"
,
css
::
uno
::
makeAny
(
rItem
.
GetValue
()));
}
}
}
...
...
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