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
4fa65f95
Kaydet (Commit)
4fa65f95
authored
Nis 20, 2012
tarafından
Noel Power
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
implement VBA Application.DisplayFullScreen bnc#757885
üst
6a018dec
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
1 deletion
+24
-1
XApplication.idl
oovbaapi/ooo/vba/excel/XApplication.idl
+1
-0
viewutil.hxx
sc/source/ui/inc/viewutil.hxx
+1
-1
vbaapplication.cxx
sc/source/ui/vba/vbaapplication.cxx
+20
-0
vbaapplication.hxx
sc/source/ui/vba/vbaapplication.hxx
+2
-0
No files found.
oovbaapi/ooo/vba/excel/XApplication.idl
Dosyayı görüntüle @
4fa65f95
...
@@ -74,6 +74,7 @@ interface XApplication
...
@@ -74,6 +74,7 @@ interface XApplication
[
attribute
]
boolean
Visible
;
[
attribute
]
boolean
Visible
;
[
attribute
]
boolean
Iteration
;
[
attribute
]
boolean
Iteration
;
[
attribute
]
long
EnableCancelKey
;
[
attribute
]
long
EnableCancelKey
;
[
attribute
]
boolean
DisplayFullScreen
;
void
setDefaultFilePath
(
[
in
]
string
DefaultFilePath
)
raises
(
com
::
sun
::
star
::
script
::
BasicErrorException
)
;
void
setDefaultFilePath
(
[
in
]
string
DefaultFilePath
)
raises
(
com
::
sun
::
star
::
script
::
BasicErrorException
)
;
...
...
sc/source/ui/inc/viewutil.hxx
Dosyayı görüntüle @
4fa65f95
...
@@ -50,7 +50,7 @@ enum ScUpdateMode { SC_UPDATE_ALL, SC_UPDATE_CHANGED, SC_UPDATE_MARKS };
...
@@ -50,7 +50,7 @@ enum ScUpdateMode { SC_UPDATE_ALL, SC_UPDATE_CHANGED, SC_UPDATE_MARKS };
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
class
S
cViewUtil
// static Methoden
class
S
C_DLLPUBLIC
ScViewUtil
// static Methoden
{
{
public
:
public
:
static
sal_Bool
ExecuteCharMap
(
const
SvxFontItem
&
rOldFont
,
static
sal_Bool
ExecuteCharMap
(
const
SvxFontItem
&
rOldFont
,
...
...
sc/source/ui/vba/vbaapplication.cxx
Dosyayı görüntüle @
4fa65f95
...
@@ -119,6 +119,8 @@
...
@@ -119,6 +119,8 @@
#include <basic/sbxobj.hxx>
#include <basic/sbxobj.hxx>
#include "vbafiledialog.hxx"
#include "vbafiledialog.hxx"
#include "viewutil.hxx"
using
namespace
::
ooo
::
vba
;
using
namespace
::
ooo
::
vba
;
using
namespace
::
com
::
sun
::
star
;
using
namespace
::
com
::
sun
::
star
;
using
::
com
::
sun
::
star
::
uno
::
Reference
;
using
::
com
::
sun
::
star
::
uno
::
Reference
;
...
@@ -874,6 +876,24 @@ ScVbaApplication::getEnableEvents() throw (uno::RuntimeException)
...
@@ -874,6 +876,24 @@ ScVbaApplication::getEnableEvents() throw (uno::RuntimeException)
return
mrAppSettings
.
mbEnableEvents
;
return
mrAppSettings
.
mbEnableEvents
;
}
}
sal_Bool
SAL_CALL
ScVbaApplication
::
getDisplayFullScreen
()
throw
(
uno
::
RuntimeException
)
{
SfxViewShell
*
pShell
=
excel
::
getCurrentBestViewShell
(
mxContext
);
if
(
pShell
)
return
ScViewUtil
::
IsFullScreen
(
*
pShell
);
return
sal_False
;
}
void
SAL_CALL
ScVbaApplication
::
setDisplayFullScreen
(
sal_Bool
bSet
)
throw
(
uno
::
RuntimeException
)
{
// #FIXME calling ScViewUtil::SetFullScreen( *pShell, bSet );
// directly results in a strange crash, using dispatch instead
if
(
bSet
!=
getDisplayFullScreen
()
)
dispatchRequests
(
getCurrentDocument
(),
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".uno:FullScreen"
)
)
);
}
sal_Bool
SAL_CALL
sal_Bool
SAL_CALL
ScVbaApplication
::
getVisible
()
throw
(
uno
::
RuntimeException
)
ScVbaApplication
::
getVisible
()
throw
(
uno
::
RuntimeException
)
{
{
...
...
sc/source/ui/vba/vbaapplication.hxx
Dosyayı görüntüle @
4fa65f95
...
@@ -122,6 +122,8 @@ public:
...
@@ -122,6 +122,8 @@ public:
virtual
sal_Bool
SAL_CALL
getEnableEvents
()
throw
(
css
::
uno
::
RuntimeException
);
virtual
sal_Bool
SAL_CALL
getEnableEvents
()
throw
(
css
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
setEnableEvents
(
sal_Bool
bEnable
)
throw
(
css
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
setEnableEvents
(
sal_Bool
bEnable
)
throw
(
css
::
uno
::
RuntimeException
);
virtual
sal_Bool
SAL_CALL
getDisplayFullScreen
()
throw
(
css
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
setDisplayFullScreen
(
sal_Bool
bSet
)
throw
(
css
::
uno
::
RuntimeException
);
virtual
css
::
uno
::
Any
SAL_CALL
Windows
(
const
css
::
uno
::
Any
&
aIndex
)
throw
(
css
::
uno
::
RuntimeException
);
virtual
css
::
uno
::
Any
SAL_CALL
Windows
(
const
css
::
uno
::
Any
&
aIndex
)
throw
(
css
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
wait
(
double
time
)
throw
(
css
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
wait
(
double
time
)
throw
(
css
::
uno
::
RuntimeException
);
virtual
css
::
uno
::
Any
SAL_CALL
Range
(
const
css
::
uno
::
Any
&
Cell1
,
const
css
::
uno
::
Any
&
Cell2
)
throw
(
css
::
uno
::
RuntimeException
);
virtual
css
::
uno
::
Any
SAL_CALL
Range
(
const
css
::
uno
::
Any
&
Cell1
,
const
css
::
uno
::
Any
&
Cell2
)
throw
(
css
::
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