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
ca7bffb0
Kaydet (Commit)
ca7bffb0
authored
Şub 06, 2019
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add a dummy implementation of WordBasic.AppCount()
Change-Id: Ia9e78c331d2cb711653ee3e64597ebf2824e0eeb
üst
f58e3f17
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
XWordBasic.idl
oovbaapi/ooo/vba/word/XWordBasic.idl
+1
-0
vbaapplication.cxx
sw/source/ui/vba/vbaapplication.cxx
+10
-0
No files found.
oovbaapi/ooo/vba/word/XWordBasic.idl
Dosyayı görüntüle @
ca7bffb0
...
...
@@ -42,6 +42,7 @@ interface XWordBasic
long
AppMaximize
(
[
in
]
string
WindowName
,
[
in
]
any
State
)
;
long
DocMaximize
(
[
in
]
any
State
)
;
void
AppShow
(
[
in
]
string
WindowName
)
;
long
AppCount
()
;
}
;
}
; }; };
...
...
sw/source/ui/vba/vbaapplication.cxx
Dosyayı görüntüle @
ca7bffb0
...
...
@@ -112,6 +112,7 @@ public:
virtual
sal_Int32
SAL_CALL
AppMaximize
(
const
OUString
&
WindowName
,
const
css
::
uno
::
Any
&
State
)
override
;
virtual
sal_Int32
SAL_CALL
DocMaximize
(
const
css
::
uno
::
Any
&
State
)
override
;
virtual
void
SAL_CALL
AppShow
(
const
OUString
&
WindowName
)
override
;
virtual
sal_Int32
SAL_CALL
AppCount
()
override
;
};
SwVbaApplication
::
SwVbaApplication
(
uno
::
Reference
<
uno
::
XComponentContext
>&
xContext
)
:
...
...
@@ -667,4 +668,13 @@ SwWordBasic::AppShow( const OUString& WindowName )
// FIXME: Implement if necessary
}
sal_Int32
SAL_CALL
SwWordBasic
::
AppCount
()
{
SAL_INFO
(
"sw.vba"
,
"WordBasic.AppCount()"
);
// FIXME: Implement if necessary. Return a random number for now.
return
2
;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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