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
d821f5aa
Kaydet (Commit)
d821f5aa
authored
Eki 15, 2013
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
implement XMultiPropertySet
Change-Id: I91878c0883f0de03341eee65f2925ec3beb71889
üst
eb26543b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
2 deletions
+51
-2
DummyXShape.hxx
chart2/source/view/inc/DummyXShape.hxx
+23
-2
DummyXShape.cxx
chart2/source/view/main/DummyXShape.cxx
+28
-0
No files found.
chart2/source/view/inc/DummyXShape.hxx
Dosyayı görüntüle @
d821f5aa
...
...
@@ -10,11 +10,12 @@
#ifndef CHART2_DUMMY_XSHAPE_HXX
#define CHART2_DUMMY_XSHAPE_HXX
#include <cppuhelper/implbase
5
.hxx>
#include <cppuhelper/implbase
6
.hxx>
#include <com/sun/star/drawing/XShape.hpp>
#include <com/sun/star/drawing/XShapes.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XMultiPropertySet.hpp>
#include <com/sun/star/container/XNamed.hpp>
#include <com/sun/star/container/XChild.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
...
...
@@ -36,9 +37,10 @@ class DummyChart;
struct
OpenglContext
;
class
DummyXShape
:
public
cppu
::
WeakImplHelper
5
<
class
DummyXShape
:
public
cppu
::
WeakImplHelper
6
<
::
com
::
sun
::
star
::
drawing
::
XShape
,
com
::
sun
::
star
::
beans
::
XPropertySet
,
com
::
sun
::
star
::
beans
::
XMultiPropertySet
,
com
::
sun
::
star
::
container
::
XNamed
,
com
::
sun
::
star
::
container
::
XChild
,
com
::
sun
::
star
::
lang
::
XServiceInfo
>
...
...
@@ -67,6 +69,25 @@ public:
virtual
void
SAL_CALL
addVetoableChangeListener
(
const
OUString
&
PropertyName
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XVetoableChangeListener
>&
aListener
)
throw
(
::
com
::
sun
::
star
::
beans
::
UnknownPropertyException
,
::
com
::
sun
::
star
::
lang
::
WrappedTargetException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
removeVetoableChangeListener
(
const
OUString
&
PropertyName
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XVetoableChangeListener
>&
aListener
)
throw
(
::
com
::
sun
::
star
::
beans
::
UnknownPropertyException
,
::
com
::
sun
::
star
::
lang
::
WrappedTargetException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
// XMultiPropertySet
virtual
void
SAL_CALL
setPropertyValues
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>&
aPropertyNames
,
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Any
>&
aValues
)
throw
(
::
com
::
sun
::
star
::
beans
::
PropertyVetoException
,
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
::
com
::
sun
::
star
::
lang
::
WrappedTargetException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Any
>
SAL_CALL
getPropertyValues
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>&
aPropertyNames
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
addPropertiesChangeListener
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>&
aPropertyNames
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertiesChangeListener
>&
xListener
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
removePropertiesChangeListener
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertiesChangeListener
>&
xListener
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
firePropertiesChangeEvent
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>&
aPropertyNames
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertiesChangeListener
>&
xListener
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
// XChild
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XInterface
>
SAL_CALL
getParent
(
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
setParent
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XInterface
>&
Parent
)
throw
(
::
com
::
sun
::
star
::
lang
::
NoSupportException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
...
...
chart2/source/view/main/DummyXShape.cxx
Dosyayı görüntüle @
d821f5aa
...
...
@@ -100,6 +100,34 @@ void DummyXShape::removeVetoableChangeListener( const OUString&, const uno::Refe
{
}
void
DummyXShape
::
setPropertyValues
(
const
uno
::
Sequence
<
OUString
>&
,
const
uno
::
Sequence
<
uno
::
Any
>&
)
throw
(
beans
::
PropertyVetoException
,
lang
::
IllegalArgumentException
,
lang
::
WrappedTargetException
,
uno
::
RuntimeException
)
{
}
uno
::
Sequence
<
uno
::
Any
>
DummyXShape
::
getPropertyValues
(
const
uno
::
Sequence
<
OUString
>&
)
throw
(
uno
::
RuntimeException
)
{
return
uno
::
Sequence
<
uno
::
Any
>
();
}
void
DummyXShape
::
addPropertiesChangeListener
(
const
uno
::
Sequence
<
OUString
>&
,
const
uno
::
Reference
<
beans
::
XPropertiesChangeListener
>&
)
throw
(
uno
::
RuntimeException
)
{
}
void
DummyXShape
::
removePropertiesChangeListener
(
const
uno
::
Reference
<
beans
::
XPropertiesChangeListener
>&
)
throw
(
uno
::
RuntimeException
)
{
}
void
DummyXShape
::
firePropertiesChangeEvent
(
const
uno
::
Sequence
<
OUString
>&
,
const
uno
::
Reference
<
beans
::
XPropertiesChangeListener
>&
)
throw
(
uno
::
RuntimeException
)
{
}
OUString
DummyXShape
::
getImplementationName
()
throw
(
uno
::
RuntimeException
)
{
...
...
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