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
a7cc0fae
Kaydet (Commit)
a7cc0fae
authored
May 03, 2013
tarafından
Noel Power
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
support Shape.Alternative
Change-Id: I6d822ef0d06e222f454c1279be16e33bcaae0037
üst
ca3447ea
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
+19
-0
vbashape.hxx
include/vbahelper/vbashape.hxx
+2
-0
XShape.idl
oovbaapi/ooo/vba/msforms/XShape.idl
+1
-0
vbashape.cxx
vbahelper/source/vbahelper/vbashape.cxx
+16
-0
No files found.
include/vbahelper/vbashape.hxx
Dosyayı görüntüle @
a7cc0fae
...
@@ -62,6 +62,8 @@ public:
...
@@ -62,6 +62,8 @@ public:
// Attributes
// Attributes
virtual
OUString
SAL_CALL
getName
()
throw
(
css
::
uno
::
RuntimeException
);
virtual
OUString
SAL_CALL
getName
()
throw
(
css
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
setName
(
const
OUString
&
_name
)
throw
(
css
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
setName
(
const
OUString
&
_name
)
throw
(
css
::
uno
::
RuntimeException
);
virtual
OUString
SAL_CALL
getAlternativeText
()
throw
(
css
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
setAlternativeText
(
const
OUString
&
_name
)
throw
(
css
::
uno
::
RuntimeException
);
virtual
double
SAL_CALL
getHeight
()
throw
(
css
::
uno
::
RuntimeException
);
virtual
double
SAL_CALL
getHeight
()
throw
(
css
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
setHeight
(
double
_height
)
throw
(
css
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
setHeight
(
double
_height
)
throw
(
css
::
uno
::
RuntimeException
);
virtual
double
SAL_CALL
getWidth
()
throw
(
css
::
uno
::
RuntimeException
);
virtual
double
SAL_CALL
getWidth
()
throw
(
css
::
uno
::
RuntimeException
);
...
...
oovbaapi/ooo/vba/msforms/XShape.idl
Dosyayı görüntüle @
a7cc0fae
...
@@ -28,6 +28,7 @@ interface XShapeRange;
...
@@ -28,6 +28,7 @@ interface XShapeRange;
interface
XShape
:
ooo
::
vba
::
XHelperInterface
interface
XShape
:
ooo
::
vba
::
XHelperInterface
{
{
[
attribute
]
string
Name
;
[
attribute
]
string
Name
;
[
attribute
]
string
AlternativeText
;
[
attribute
]
double
Height
;
[
attribute
]
double
Height
;
[
attribute
]
double
Width
;
[
attribute
]
double
Width
;
[
attribute
]
double
Left
;
[
attribute
]
double
Left
;
...
...
vbahelper/source/vbahelper/vbashape.cxx
Dosyayı görüntüle @
a7cc0fae
...
@@ -167,6 +167,22 @@ ScVbaShape::setName( const OUString& _name ) throw (uno::RuntimeException)
...
@@ -167,6 +167,22 @@ ScVbaShape::setName( const OUString& _name ) throw (uno::RuntimeException)
xNamed
->
setName
(
_name
);
xNamed
->
setName
(
_name
);
}
}
OUString
SAL_CALL
ScVbaShape
::
getAlternativeText
()
throw
(
uno
::
RuntimeException
)
{
OUString
sAltText
;
uno
::
Reference
<
beans
::
XPropertySet
>
xProps
(
m_xShape
,
uno
::
UNO_QUERY_THROW
);
xProps
->
getPropertyValue
(
OUString
(
"Title"
)
)
>>=
sAltText
;
return
sAltText
;
}
void
SAL_CALL
ScVbaShape
::
setAlternativeText
(
const
OUString
&
sAltText
)
throw
(
uno
::
RuntimeException
)
{
uno
::
Reference
<
beans
::
XPropertySet
>
xProps
(
m_xShape
,
uno
::
UNO_QUERY_THROW
);
xProps
->
setPropertyValue
(
OUString
(
"Title"
),
uno
::
Any
(
sAltText
)
);
}
double
SAL_CALL
double
SAL_CALL
ScVbaShape
::
getHeight
()
throw
(
uno
::
RuntimeException
)
ScVbaShape
::
getHeight
()
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