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
63011eb5
Kaydet (Commit)
63011eb5
authored
Tem 27, 2010
tarafından
Daniel Rentz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
mib17: move VBA specific interfaces into vba subdir
üst
f7680356
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
12 deletions
+10
-12
basides2.cxx
basctl/source/basicide/basides2.cxx
+0
-1
bastype2.cxx
basctl/source/basicide/bastype2.cxx
+4
-5
scriptdocument.cxx
basctl/source/basicide/scriptdocument.cxx
+6
-6
No files found.
basctl/source/basicide/basides2.cxx
Dosyayı görüntüle @
63011eb5
...
...
@@ -51,7 +51,6 @@
#include <tools/diagnose_ex.h>
#include <sfx2/sfxdefs.hxx>
#include <sfx2/signaturestate.hxx>
#include <com/sun/star/script/XVBAModuleInfo.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/container/XNamed.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
...
...
basctl/source/basicide/bastype2.cxx
Dosyayı görüntüle @
63011eb5
...
...
@@ -52,9 +52,8 @@
#include <comphelper/componentcontext.hxx>
#include <map>
#include <com/sun/star/script/ModuleType.hpp>
#include <com/sun/star/script/XVBAModuleInfo.hpp>
#include <com/sun/star/script/
vba/
XVBAModuleInfo.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/script/XVBAModuleInfo.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/container/XNamed.hpp>
...
...
@@ -65,7 +64,7 @@ void ModuleInfoHelper::getObjectName( const uno::Reference< container::XNameCont
{
try
{
uno
::
Reference
<
script
::
XVBAModuleInfo
>
xVBAModuleInfo
(
rLib
,
uno
::
UNO_QUERY
);
uno
::
Reference
<
script
::
vba
::
XVBAModuleInfo
>
xVBAModuleInfo
(
rLib
,
uno
::
UNO_QUERY
);
if
(
xVBAModuleInfo
.
is
()
&&
xVBAModuleInfo
->
hasModuleInfo
(
rModName
)
)
{
script
::
ModuleInfo
aModuleInfo
=
xVBAModuleInfo
->
getModuleInfo
(
rModName
);
...
...
@@ -86,8 +85,8 @@ void ModuleInfoHelper::getObjectName( const uno::Reference< container::XNameCont
sal_Int32
ModuleInfoHelper
::
getModuleType
(
const
uno
::
Reference
<
container
::
XNameContainer
>&
rLib
,
const
String
&
rModName
)
{
sal_Int32
nType
=
com
::
sun
::
star
::
script
::
ModuleType
::
NORMAL
;
uno
::
Reference
<
script
::
XVBAModuleInfo
>
xVBAModuleInfo
(
rLib
,
uno
::
UNO_QUERY
);
sal_Int32
nType
=
::
script
::
ModuleType
::
NORMAL
;
uno
::
Reference
<
script
::
vba
::
XVBAModuleInfo
>
xVBAModuleInfo
(
rLib
,
uno
::
UNO_QUERY
);
if
(
xVBAModuleInfo
.
is
()
&&
xVBAModuleInfo
->
hasModuleInfo
(
rModName
)
)
{
script
::
ModuleInfo
aModuleInfo
=
xVBAModuleInfo
->
getModuleInfo
(
rModName
);
...
...
basctl/source/basicide/scriptdocument.cxx
Dosyayı görüntüle @
63011eb5
...
...
@@ -53,8 +53,8 @@
#include <com/sun/star/frame/XModel2.hpp>
#include <com/sun/star/awt/XWindow2.hpp>
#include <com/sun/star/document/XEmbeddedScripts.hpp>
#include <com/sun/star/script/
XVBAModuleInfo
.hpp>
#include <com/sun/star/script/
XVBACompat
.hpp>
#include <com/sun/star/script/
vba/XVBACompatibility
.hpp>
#include <com/sun/star/script/
vba/XVBAModuleInfo
.hpp>
/** === end UNO includes === **/
#include <sfx2/objsh.hxx>
...
...
@@ -142,8 +142,8 @@ namespace basctl
using
::
com
::
sun
::
star
::
document
::
XEventBroadcaster
;
using
::
com
::
sun
::
star
::
document
::
XEmbeddedScripts
;
using
::
com
::
sun
::
star
::
script
::
ModuleInfo
;
using
::
com
::
sun
::
star
::
script
::
XVBAModuleInfo
;
using
::
com
::
sun
::
star
::
script
::
XVBACompat
;
using
::
com
::
sun
::
star
::
script
::
vba
::
XVBACompatibility
;
using
::
com
::
sun
::
star
::
script
::
vba
::
XVBAModuleInfo
;
/** === end UNO using === **/
namespace
MacroExecMode
=
::
com
::
sun
::
star
::
document
::
MacroExecMode
;
namespace
FrameSearchFlag
=
::
com
::
sun
::
star
::
frame
::
FrameSearchFlag
;
...
...
@@ -456,9 +456,9 @@ namespace basctl
#ifdef FUTURE_VBA_CWS
if
(
!
isApplication
()
)
{
Reference
<
XVBACompat
>
xVBACompat
(
getLibraryContainer
(
E_SCRIPTS
),
UNO_QUERY
);
Reference
<
XVBACompat
ibility
>
xVBACompat
(
getLibraryContainer
(
E_SCRIPTS
),
UNO_QUERY
);
if
(
xVBACompat
.
is
()
)
bResult
=
xVBACompat
->
getVBACompat
ModeOn
();
bResult
=
xVBACompat
->
getVBACompat
ibilityMode
();
}
#endif
return
bResult
;
...
...
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