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
a61d4e2f
Kaydet (Commit)
a61d4e2f
authored
Agu 13, 2010
tarafından
Joerg Skottke [jsk]
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
jl154: Local merge
üst
651a4efc
c6f4e782
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
516 additions
and
41 deletions
+516
-41
makefile.mk
offapi/com/sun/star/script/makefile.mk
+1
-3
VBAEventId.idl
offapi/com/sun/star/script/vba/VBAEventId.idl
+140
-0
VBAEventProcessor.idl
offapi/com/sun/star/script/vba/VBAEventProcessor.idl
+49
-0
VBASpreadsheetEventProcessor.idl
.../com/sun/star/script/vba/VBASpreadsheetEventProcessor.idl
+50
-0
VBATextEventProcessor.idl
offapi/com/sun/star/script/vba/VBATextEventProcessor.idl
+50
-0
XVBACompatibility.idl
offapi/com/sun/star/script/vba/XVBACompatibility.idl
+14
-13
XVBAEventProcessor.idl
offapi/com/sun/star/script/vba/XVBAEventProcessor.idl
+106
-0
XVBAModuleInfo.idl
offapi/com/sun/star/script/vba/XVBAModuleInfo.idl
+25
-23
makefile.mk
offapi/com/sun/star/script/vba/makefile.mk
+52
-0
build.lst
offapi/prj/build.lst
+3
-2
d.lst
offapi/prj/d.lst
+2
-0
makefile.mk
offapi/util/makefile.mk
+1
-0
d.lst
offuh/prj/d.lst
+3
-0
salinit.cxx
sal/osl/w32/salinit.cxx
+20
-0
No files found.
offapi/com/sun/star/script/makefile.mk
Dosyayı görüntüle @
a61d4e2f
...
...
@@ -49,10 +49,8 @@ IDLFILES=\
XPersistentLibraryContainer.idl
\
XStorageBasedLibraryContainer.idl
\
ModuleSizeExceededRequest.idl
\
XVBACompat.idl
\
XVBAModuleInfo.idl
\
ModuleInfo.idl
\
ModuleType.idl
\
ModuleType.idl
# ------------------------------------------------------------------
...
...
offapi/com/sun/star/script/vba/VBAEventId.idl
0 → 100755
Dosyayı görüntüle @
a61d4e2f
/*************************************************************************
*
*
DO
NOT
ALTER
OR
REMOVE
COPYRIGHT
NOTICES
OR
THIS
FILE
HEADER
.
*
*
Copyright
2000
,
2010
Oracle
and
/
or
its
affiliates
.
*
*
OpenOffice
.
org
-
a
multi
-
platform
office
productivity
suite
*
*
This
file
is
part
of
OpenOffice
.
org.
*
*
OpenOffice
.
org
is
free
software
:
you
can
redistribute
it
and
/
or
modify
*
it
under
the
terms
of
the
GNU
Lesser
General
Public
License
version
3
*
only
,
as
published
by
the
Free
Software
Foundation
.
*
*
OpenOffice
.
org
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
*
GNU
Lesser
General
Public
License
version
3
for
more
details
*
(
a
copy
is
included
in
the
LICENSE
file
that
accompanied
this
code
)
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
License
*
version
3
along
with
OpenOffice
.
org.
If
not
,
see
*
<
http
:
//
www
.
openoffice.org/license.html>
*
for
a
copy
of
the
LGPLv3
License
.
*
************************************************************************/
#
ifndef
__com_sun_star_script_vba_VBAEventId_idl__
#
define
__com_sun_star_script_vba_VBAEventId_idl__
//=============================================================================
module
com
{
module
sun
{
module
star
{
module
script
{
module
vba
{
//=============================================================================
/**
Constants
used
to
identify
VBA
document
events
.
<
p
>
If
one
of
these
events
is
fired
,
a
specific
VBA
macro
in
a
specific
document
code
module
will
be
executed
.
</p>
<
p
>
Each
event
expects
some
specific
arguments
to
be
passed
to
<
member
>
XVBAEventProcessor
::
processVbaEvent
</
member
>.
</
p
>
@
see
XVBAEventProcessor
*/
constants
VBAEventId
{
//=========================================================================
/**
An
identifier
not
corresponding
to
any
VBA
document
event
.
*/
const
long
NO_EVENT
=
-
1
;
//=========================================================================
//
Global
events
(
identifiers
from
1
to
999
)
/**
New
document
opened
from
template
.
No
arguments
.
*/
const
long
AUTO_NEW
=
1
;
/**
Document
opened
(
loaded
)
.
No
arguments
.
*/
const
long
AUTO_OPEN
=
2
;
/**
Document
about
to
be
closed
.
No
arguments
.
*/
const
long
AUTO_CLOSE
=
3
;
/**
Application
start
.
No
arguments
.
*/
const
long
AUTO_EXEC
=
4
;
/**
Application
exit
.
No
arguments
.
*/
const
long
AUTO_EXIT
=
5
;
//=========================================================================
//
MS
Word
(
identifiers
from
1001
to
1999
)
/**
New
text
document
opened
from
template
.
No
arguments
.
*/
const
long
DOCUMENT_NEW
=
1001
;
/**
Text
document
opened
(
loaded
)
.
No
arguments
.
*/
const
long
DOCUMENT_OPEN
=
1002
;
/**
Document
about
to
be
closed
.
No
arguments
.
*/
const
long
DOCUMENT_CLOSE
=
1003
;
//=========================================================================
//
MS
Excel
(
identifiers
from
2001
to
2999
)
//-------------------------------------------------------------------------
//
document
events
(
2001
-
2099
)
/**
Document
activated
.
No
arguments
.
*/
const
long
WORKBOOK_ACTIVATE
=
2001
;
/**
Document
deactivated
.
No
arguments
.
*/
const
long
WORKBOOK_DEACTIVATE
=
2002
;
/**
Document
opened
(
loaded
)
.
No
arguments
.
*/
const
long
WORKBOOK_OPEN
=
2003
;
/**
Document
about
to
be
closed
.
Arguments
:
[
out
]
boolean
bCancel
.
*/
const
long
WORKBOOK_BEFORECLOSE
=
2004
;
/**
Document
about
to
be
printed
.
Arguments
:
[
out
]
boolean
bCancel
.
*/
const
long
WORKBOOK_BEFOREPRINT
=
2005
;
/**
Document
about
to
be
saved
.
Arguments
:
boolean
bSaveAs
,
[
out
]
boolean
bCancel
.
*/
const
long
WORKBOOK_BEFORESAVE
=
2006
;
/**
Document
has
been
saved
.
Arguments
:
boolean
bSuccess
.
*/
const
long
WORKBOOK_AFTERSAVE
=
2007
;
/**
New
sheet
inserted
.
Arguments
:
short
nSheet
.
*/
const
long
WORKBOOK_NEWSHEET
=
2008
;
/**
Document
window
has
been
activated
.
No
arguments
.
*/
const
long
WORKBOOK_WINDOWACTIVATE
=
2009
;
/**
Document
window
has
been
deactivated
.
No
arguments
.
*/
const
long
WORKBOOK_WINDOWDEACTIVATE
=
2010
;
/**
Document
window
has
been
resized
.
No
arguments
.
*/
const
long
WORKBOOK_WINDOWRESIZE
=
2011
;
//-------------------------------------------------------------------------
//
sheet
events
(
2101
-
2199
)
/**
Worksheet
has
been
activated
(
made
visible
)
.
Arguments
:
short
nSheet
.
*/
const
long
WORKSHEET_ACTIVATE
=
2101
;
/**
Worksheet
has
been
activated
(
made
visible
)
.
Arguments
:
short
nSheet
.
*/
const
long
WORKSHEET_DEACTIVATE
=
2102
;
/**
Double
click
in
the
sheet
.
Arguments
:
XRange
/
XSheetCellRangeContainer
aRange
,
[
out
]
boolean
bCancel
.
*/
const
long
WORKSHEET_BEFOREDOUBLECLICK
=
2103
;
/**
Right
click
in
the
sheet
.
Arguments
:
XRange
/
XSheetCellRangeContainer
aRange
,
[
out
]
boolean
bCancel
.
*/
const
long
WORKSHEET_BEFORERIGHTCLICK
=
2104
;
/**
Cells
in
sheet
have
been
recalculated
.
Arguments
:
short
nSheet
.
*/
const
long
WORKSHEET_CALCULATE
=
2105
;
/**
Cells
in
sheet
have
been
changed
.
Arguments
:
XRange
/
XSheetCellRangeContainer
aRange
.
*/
const
long
WORKSHEET_CHANGE
=
2106
;
/**
Selection
in
sheet
has
been
changed
.
Arguments
:
XRange
/
XSheetCellRangeContainer
aRange
.
*/
const
long
WORKSHEET_SELECTIONCHANGE
=
2107
;
/**
Hyperlink
has
been
clicked
.
Arguments
:
XCell
aCell
.
*/
const
long
WORKSHEET_FOLLOWHYPERLINK
=
2108
;
//=========================================================================
/**
Implementations
are
allowed
to
use
identifiers
above
this
value
for
any
internal
purpose
.
*/
const
long
USERDEFINED_START
=
1000000
;
}
;
//=============================================================================
}
; }; }; }; };
//=============================================================================
#
endif
offapi/com/sun/star/script/vba/VBAEventProcessor.idl
0 → 100755
Dosyayı görüntüle @
a61d4e2f
/*************************************************************************
*
*
DO
NOT
ALTER
OR
REMOVE
COPYRIGHT
NOTICES
OR
THIS
FILE
HEADER
.
*
*
Copyright
2000
,
2010
Oracle
and
/
or
its
affiliates
.
*
*
OpenOffice
.
org
-
a
multi
-
platform
office
productivity
suite
*
*
This
file
is
part
of
OpenOffice
.
org.
*
*
OpenOffice
.
org
is
free
software
:
you
can
redistribute
it
and
/
or
modify
*
it
under
the
terms
of
the
GNU
Lesser
General
Public
License
version
3
*
only
,
as
published
by
the
Free
Software
Foundation
.
*
*
OpenOffice
.
org
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
*
GNU
Lesser
General
Public
License
version
3
for
more
details
*
(
a
copy
is
included
in
the
LICENSE
file
that
accompanied
this
code
)
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
License
*
version
3
along
with
OpenOffice
.
org.
If
not
,
see
*
<
http
:
//
www
.
openoffice.org/license.html>
*
for
a
copy
of
the
LGPLv3
License
.
*
************************************************************************/
#
ifndef
__com_sun_star_script_vba_VBAEventProcessor_idl__
#
define
__com_sun_star_script_vba_VBAEventProcessor_idl__
#
include
<
com
/
sun
/
star
/
script
/
vba
/
XVBAEventProcessor
.
idl>
//=============================================================================
module
com
{
module
sun
{
module
star
{
module
script
{
module
vba
{
//=============================================================================
service
VBAEventProcessor
:
XVBAEventProcessor
{
}
;
//=============================================================================
}
; }; }; }; };
//=============================================================================
#
endif
offapi/com/sun/star/script/vba/VBASpreadsheetEventProcessor.idl
0 → 100755
Dosyayı görüntüle @
a61d4e2f
/*************************************************************************
*
*
DO
NOT
ALTER
OR
REMOVE
COPYRIGHT
NOTICES
OR
THIS
FILE
HEADER
.
*
*
Copyright
2000
,
2010
Oracle
and
/
or
its
affiliates
.
*
*
OpenOffice
.
org
-
a
multi
-
platform
office
productivity
suite
*
*
This
file
is
part
of
OpenOffice
.
org.
*
*
OpenOffice
.
org
is
free
software
:
you
can
redistribute
it
and
/
or
modify
*
it
under
the
terms
of
the
GNU
Lesser
General
Public
License
version
3
*
only
,
as
published
by
the
Free
Software
Foundation
.
*
*
OpenOffice
.
org
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
*
GNU
Lesser
General
Public
License
version
3
for
more
details
*
(
a
copy
is
included
in
the
LICENSE
file
that
accompanied
this
code
)
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
License
*
version
3
along
with
OpenOffice
.
org.
If
not
,
see
*
<
http
:
//
www
.
openoffice.org/license.html>
*
for
a
copy
of
the
LGPLv3
License
.
*
************************************************************************/
#
ifndef
__com_sun_star_script_vba_VBASpreadsheetEventProcessor_idl__
#
define
__com_sun_star_script_vba_VBASpreadsheetEventProcessor_idl__
#
include
<
com
/
sun
/
star
/
script
/
vba
/
VBAEventProcessor
.
idl>
//=============================================================================
module
com
{
module
sun
{
module
star
{
module
script
{
module
vba
{
//=============================================================================
service
VBASpreadsheetEventProcessor
{
service
VBAEventProcessor
;
}
;
//=============================================================================
}
; }; }; }; };
//=============================================================================
#
endif
offapi/com/sun/star/script/vba/VBATextEventProcessor.idl
0 → 100755
Dosyayı görüntüle @
a61d4e2f
/*************************************************************************
*
*
DO
NOT
ALTER
OR
REMOVE
COPYRIGHT
NOTICES
OR
THIS
FILE
HEADER
.
*
*
Copyright
2000
,
2010
Oracle
and
/
or
its
affiliates
.
*
*
OpenOffice
.
org
-
a
multi
-
platform
office
productivity
suite
*
*
This
file
is
part
of
OpenOffice
.
org.
*
*
OpenOffice
.
org
is
free
software
:
you
can
redistribute
it
and
/
or
modify
*
it
under
the
terms
of
the
GNU
Lesser
General
Public
License
version
3
*
only
,
as
published
by
the
Free
Software
Foundation
.
*
*
OpenOffice
.
org
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
*
GNU
Lesser
General
Public
License
version
3
for
more
details
*
(
a
copy
is
included
in
the
LICENSE
file
that
accompanied
this
code
)
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
License
*
version
3
along
with
OpenOffice
.
org.
If
not
,
see
*
<
http
:
//
www
.
openoffice.org/license.html>
*
for
a
copy
of
the
LGPLv3
License
.
*
************************************************************************/
#
ifndef
__com_sun_star_script_vba_VBATextEventProcessor_idl__
#
define
__com_sun_star_script_vba_VBATextEventProcessor_idl__
#
include
<
com
/
sun
/
star
/
script
/
vba
/
VBAEventProcessor
.
idl>
//=============================================================================
module
com
{
module
sun
{
module
star
{
module
script
{
module
vba
{
//=============================================================================
service
VBATextEventProcessor
{
service
VBAEventProcessor
;
}
;
//=============================================================================
}
; }; }; }; };
//=============================================================================
#
endif
offapi/com/sun/star/script/
XVBACompat
.idl
→
offapi/com/sun/star/script/
vba/XVBACompatibility
.idl
Dosyayı görüntüle @
a61d4e2f
...
...
@@ -2,13 +2,10 @@
*
*
DO
NOT
ALTER
OR
REMOVE
COPYRIGHT
NOTICES
OR
THIS
FILE
HEADER
.
*
*
Copyright
200
8
by
Sun
Microsystems
,
Inc
.
*
Copyright
200
0
,
2010
Oracle
and
/
or
its
affiliates
.
*
*
OpenOffice
.
org
-
a
multi
-
platform
office
productivity
suite
*
*
$
RCSfile
:
XLibraryContainer
.
idl
,
v
$
*
$
Revision
:
1.4
$
*
*
This
file
is
part
of
OpenOffice
.
org.
*
*
OpenOffice
.
org
is
free
software
:
you
can
redistribute
it
and
/
or
modify
...
...
@@ -27,23 +24,27 @@
*
for
a
copy
of
the
LGPLv3
License
.
*
************************************************************************/
#
ifndef
__com_sun_star_script_XVBACompat_idl__
#
define
__com_sun_star_script_XVBACompat_idl__
#
ifndef
__com_sun_star_uno_XInterface_idl__
#
ifndef
__com_sun_star_script_vba_XVBACompatibility_idl__
#
define
__com_sun_star_script_vba_XVBACompatibility_idl__
#
include
<
com
/
sun
/
star
/
uno
/
XInterface
.
idl>
#
endif
//=============================================================================
module
com
{
module
sun
{
module
star
{
module
script
{
module
com
{
module
sun
{
module
star
{
module
script
{
module
vba
{
interface
XVBACompat
:
com
::
sun
::
star
::
uno
::
XInterface
interface
XVBACompat
ibility
{
//-------------------------------------------------------------------------
//=============================================================================
[
attribute
]
boolean
VBACompatModeOn
;
[
attribute
]
boolean
VBACompatibilityMode
;
}
; }; }; };
//-------------------------------------------------------------------------
}
;
}
; }; }; }; };
//=============================================================================
#
endif
offapi/com/sun/star/script/vba/XVBAEventProcessor.idl
0 → 100755
Dosyayı görüntüle @
a61d4e2f
/*************************************************************************
*
*
DO
NOT
ALTER
OR
REMOVE
COPYRIGHT
NOTICES
OR
THIS
FILE
HEADER
.
*
*
Copyright
2000
,
2010
Oracle
and
/
or
its
affiliates
.
*
*
OpenOffice
.
org
-
a
multi
-
platform
office
productivity
suite
*
*
This
file
is
part
of
OpenOffice
.
org.
*
*
OpenOffice
.
org
is
free
software
:
you
can
redistribute
it
and
/
or
modify
*
it
under
the
terms
of
the
GNU
Lesser
General
Public
License
version
3
*
only
,
as
published
by
the
Free
Software
Foundation
.
*
*
OpenOffice
.
org
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
*
GNU
Lesser
General
Public
License
version
3
for
more
details
*
(
a
copy
is
included
in
the
LICENSE
file
that
accompanied
this
code
)
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
License
*
version
3
along
with
OpenOffice
.
org.
If
not
,
see
*
<
http
:
//
www
.
openoffice.org/license.html>
*
for
a
copy
of
the
LGPLv3
License
.
*
************************************************************************/
#
ifndef
__com_sun_star_script_vba_XVBAEventProcessor_idl__
#
define
__com_sun_star_script_vba_XVBAEventProcessor_idl__
#
include
<
com
/
sun
/
star
/
uno
/
XInterface
.
idl>
#
include
<
com
/
sun
/
star
/
lang
/
IllegalArgumentException
.
idl>
#
include
<
com
/
sun
/
star
/
script
/
provider
/
ScriptFrameworkErrorException
.
idl>
#
include
<
com
/
sun
/
star
/
util
/
VetoException
.
idl>
//=============================================================================
module
com
{
module
sun
{
module
star
{
module
script
{
module
vba
{
//=============================================================================
/**
Executes
VBA
event
handlers
.
*/
interface
XVBAEventProcessor
{
//-------------------------------------------------------------------------
/**
Returns
whether
a
VBA
event
handler
exists
.
@
param
nEventId
The
identifier
of
the
event
.
Must
be
a
constant
from
<
type
>
VBAEventId
</
type
>.
@
param
aArgs
Additional
arguments
needed
to
identify
some
event
handlers
,
e
.
g.
a
sheet
index
for
spreadsheet
events
.
@
return
<
TRUE
/
>
,
if
the
VBA
event
handler
exists
.
@
throws
<
type
scope
=
"::com::sun::star::lang"
>
IllegalArgumentException
</
type
>
if
the
passed
event
identifier
is
not
supported
,
or
if
the
passed
specifier
is
required
but
invalid
.
**/
boolean
hasVbaEventHandler
(
[
in
]
long
nEventId
,
[
in
]
sequence
<
any
>
aArgs
)
raises
(::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
)
;
//-------------------------------------------------------------------------
/**
Executes
a
VBA
event
handler
.
@
param
nEventId
The
identifier
of
the
event
.
Must
be
a
constant
from
<
type
>
VBAEventId
</
type
>.
@
param
aArgs
The
input
arguments
needed
to
create
the
argument
list
of
the
VBA
event
handler
.
@
throws
<
type
scope
=
"::com::sun::star::lang"
>
IllegalArgumentException
</
type
>
if
the
passed
event
identifier
is
not
supported
,
or
if
the
passed
arguments
do
not
conform
to
the
arguments
expected
by
the
specified
event
.
@
throws
<
type
scope
=
"::com::sun::star::script::provider"
>
ScriptFrameworkErrorException
</
type
>
if
the
VBA
event
handler
could
not
be
invoked
.
Reasons
may
be
,
that
handling
of
VBA
events
is
not
enabled
,
that
the
VBA
event
handler
macro
has
not
been
found
,
or
that
the
execution
of
the
macro
has
been
aborted
with
an
error
.
@
throws
<
type
scope
=
"::com::sun::star::util"
>
VetoException
</
type
>
if
the
VBA
event
handler
has
indicated
to
veto
the
event
.
**/
void
processVbaEvent
(
[
in
]
long
nEventId
,
[
in
]
sequence
<
any
>
aArgs
)
raises
(::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
::
com
::
sun
::
star
::
script
::
provider
::
ScriptFrameworkErrorException
,
::
com
::
sun
::
star
::
util
::
VetoException
)
;
//-------------------------------------------------------------------------
}
;
//=============================================================================
}
; }; }; }; };
//=============================================================================
#
endif
offapi/com/sun/star/script/XVBAModuleInfo.idl
→
offapi/com/sun/star/script/
vba/
XVBAModuleInfo.idl
Dosyayı görüntüle @
a61d4e2f
...
...
@@ -2,13 +2,10 @@
*
*
DO
NOT
ALTER
OR
REMOVE
COPYRIGHT
NOTICES
OR
THIS
FILE
HEADER
.
*
*
Copyright
200
8
by
Sun
Microsystems
,
Inc
.
*
Copyright
200
0
,
2010
Oracle
and
/
or
its
affiliates
.
*
*
OpenOffice
.
org
-
a
multi
-
platform
office
productivity
suite
*
*
$
RCSfile
:
XLibraryContainer
.
idl
,
v
$
*
$
Revision
:
1.4
$
*
*
This
file
is
part
of
OpenOffice
.
org.
*
*
OpenOffice
.
org
is
free
software
:
you
can
redistribute
it
and
/
or
modify
...
...
@@ -27,47 +24,52 @@
*
for
a
copy
of
the
LGPLv3
License
.
*
************************************************************************/
#
ifndef
__com_sun_star_script_XVBACompat_idl__
#
define
__com_sun_star_script_XVBACompat_idl__
#
ifndef
__com_sun_star_uno_XInterface_idl__
#
ifndef
__com_sun_star_script_vba_XVBAModuleInfo_idl__
#
define
__com_sun_star_script_vba_XVBAModuleInfo_idl__
#
include
<
com
/
sun
/
star
/
uno
/
XInterface
.
idl>
#
endif
#
ifndef
__com_sun_star_script_ModuleInfo_idl__
#
include
<
com
/
sun
/
star
/
script
/
ModuleInfo
.
idl>
#
endif
#
ifndef
__com_sun_star_lang_IllegalArgumentException_idl__
#
include
<
com
/
sun
/
star
/
lang
/
IllegalArgumentException
.
idl>
#
endif
#
ifndef
__com_sun_star_container_ElementExistException_idl__
#
include
<
com
/
sun
/
star
/
container
/
ElementExistException
.
idl>
#
endif
#
ifndef
__com_sun_star_lang_WrappedTargetException_idl__
#
include
<
com
/
sun
/
star
/
lang
/
WrappedTargetException
.
idl>
#
endif
#
ifndef
__com_sun_star_container_NoSuchElementException_idl__
#
include
<
com
/
sun
/
star
/
container
/
NoSuchElementException
.
idl>
#
endif
//=============================================================================
module
com
{
module
sun
{
module
star
{
module
script
{
module
com
{
module
sun
{
module
star
{
module
script
{
module
vba
{
interface
XVBAModuleInfo
:
com
::
sun
::
star
::
uno
::
XInterface
interface
XVBAModuleInfo
{
//-------------------------------------------------------------------------
com
::
sun
::
star
::
script
::
ModuleInfo
getModuleInfo
(
[
in
]
string
ModuleName
)
com
::
sun
::
star
::
script
::
ModuleInfo
getModuleInfo
(
[
in
]
string
ModuleName
)
raises
(
com
::
sun
::
star
::
container
::
NoSuchElementException
,
com
::
sun
::
star
::
lang
::
WrappedTargetException
)
;
boolean
hasModuleInfo
(
[
in
]
string
ModuleName
)
;
//-------------------------------------------------------------------------
boolean
hasModuleInfo
(
[
in
]
string
ModuleName
)
;
//-------------------------------------------------------------------------
void
insertModuleInfo
(
[
in
]
string
ModuleName
,
[
in
]
com
::
sun
::
star
::
script
::
ModuleInfo
ModuleInfo
)
raises
(
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
com
::
sun
::
star
::
container
::
ElementExistException
,
com
::
sun
::
star
::
lang
::
WrappedTargetException
)
;
//-------------------------------------------------------------------------
void
removeModuleInfo
(
[
in
]
string
ModuleName
)
raises
(
com
::
sun
::
star
::
container
::
NoSuchElementException
,
com
::
sun
::
star
::
lang
::
WrappedTargetException
)
;
}
; }; }; };
//-------------------------------------------------------------------------
}
;
}
; }; }; }; };
//=============================================================================
#
endif
offapi/com/sun/star/script/vba/makefile.mk
0 → 100755
Dosyayı görüntüle @
a61d4e2f
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ
=
..
$/
..
$/
..
$/
..
$/
..
PRJNAME
=
offapi
TARGET
=
cssscriptvba
PACKAGE
=
com
$/
sun
$/
star
$/
script
$/
vba
# --- Settings -----------------------------------------------------
.INCLUDE
:
$(PRJ)$/util$/makefile.pmk
# ------------------------------------------------------------------------
IDLFILES
=
\
VBAEventId.idl
\
VBAEventProcessor.idl
\
VBASpreadsheetEventProcessor.idl
\
VBATextEventProcessor.idl
\
XVBACompatibility.idl
\
XVBAEventProcessor.idl
\
XVBAModuleInfo.idl
# ------------------------------------------------------------------
.INCLUDE
:
target.mk
.INCLUDE
:
$(PRJ)$/util$/target.pmk
offapi/prj/build.lst
Dosyayı görüntüle @
a61d4e2f
...
...
@@ -3,6 +3,7 @@ oa offapi usr1 - all oa_mkout NULL
oa offapi\com\sun\star\script nmake - all oa_script oa_embed NULL
oa offapi\com\sun\star\script\browse nmake - all oa_sfbrowse NULL
oa offapi\com\sun\star\script\provider nmake - all oa_sfprovider NULL
oa offapi\com\sun\star\script\vba nmake - all oa_script_vba NULL
oa offapi\com\sun\star\auth nmake - all oa_auth NULL
oa offapi\com\sun\star\accessibility nmake - all oa_accessibility oa_awt NULL
oa offapi\com\sun\star\awt nmake - all oa_awt NULL
...
...
@@ -21,10 +22,10 @@ oa offapi\com\sun\star\datatransfer\dnd nmake - all oa_datatrans_dnd oa_awt NULL
oa offapi\com\sun\star\deployment nmake - all oa_deployment oa_ucb oa_xml_input NULL
oa offapi\com\sun\star\deployment\test nmake - all oa_deploymenttest oa_ucb NULL
oa offapi\com\sun\star\deployment\ui nmake - all oa_deployment_ui oa_awt oa_ui_dialogs NULL
oa offapi\com\sun\star\embed nmake - all oa_embed NULL
oa offapi\com\sun\star\document nmake - all oa_docu oa_embed NULL
oa offapi\com\sun\star\drawing nmake - all oa_draw NULL
oa offapi\com\sun\star\drawing\framework nmake - all oa_draw_framework NULL
oa offapi\com\sun\star\embed nmake - all oa_embed NULL
oa offapi\com\sun\star\form nmake - all oa_form oa_inspection NULL
oa offapi\com\sun\star\form\component nmake - all oa_fcomp oa_form oa_form_submission NULL
oa offapi\com\sun\star\form\inspection nmake - all oa_finsp oa_fcomp oa_inspection NULL
...
...
@@ -105,4 +106,4 @@ oa offapi\com\sun\star\rendering nmake - all oa_rendering oa_geometry NU
oa offapi\com\sun\star\rdf nmake - all oa_rdf oa_datatransfer oa_text NULL
oa offapi\com\sun\star\office nmake - all oa_office oa_text NULL
oa offapi\drafts\com\sun\star\form nmake - all oa_drafts_form NULL
oa offapi\util nmake - all oa_util oa_auth oa_awt oa_awttree oa_awtgrid oa_chart oa_chart2 oa_chart2_data oa_config oa_configbootstrap oa_configbackend oa_configbackend_xml oa_datatrans_clip oa_datatrans_dnd oa_datatransfer oa_docu oa_draw oa_draw_framework oa_embed oa_fcomp oa_finsp oa_fcontr oa_fieldmaster oa_form oa_xforms oa_formula oa_frame oa_i18n oa_inst oa_ldap oa_ling2 oa_logging oa_mail oa_media oa_mozilla oa_packages oa_manifest oa_zippackage oa_plug oa_pres oa_animations oa_putil oa_resrc oa_sax oa_xml_input oa_scan oa_sdb oa_sdbtools oa_sdbapp oa_sdbc oa_sdbcx oa_setup oa_sheet oa_style oa_svg oa_sync oa_sync2 oa_system oa_table oa_task oa_text oa_textfield oa_docinfo oa_ucb oa_view oa_xml oa_xml_dom oa_xml_xpath oa_xml_views oa_xml_events oa_image oa_xsd oa_inspection oa_ui oa_ui_dialogs oa_accessibility oa_form_binding oa_form_validation oa_form_submission oa_fruntime oa_geometry oa_rendering oa_sfprovider oa_sfbrowse oa_drafts_form oa_deployment oa_deploymenttest oa_deployment_ui oa_frame_status oa_gallery oa_graphic oa_security oa_crypto_sax oa_crypto oa_csax oa_wrapper oa_script oa_smarttags oa_report oa_reportins oa_reportmeta oa_rdf oa_oooimprovement oa_office oa_prestextfield oa_starme NULL
oa offapi\util nmake - all oa_util oa_auth oa_awt oa_awttree oa_awtgrid oa_chart oa_chart2 oa_chart2_data oa_config oa_configbootstrap oa_configbackend oa_configbackend_xml oa_datatrans_clip oa_datatrans_dnd oa_datatransfer oa_docu oa_draw oa_draw_framework oa_embed oa_fcomp oa_finsp oa_fcontr oa_fieldmaster oa_form oa_xforms oa_formula oa_frame oa_i18n oa_inst oa_ldap oa_ling2 oa_logging oa_mail oa_media oa_mozilla oa_packages oa_manifest oa_zippackage oa_plug oa_pres oa_animations oa_putil oa_resrc oa_sax oa_xml_input oa_scan oa_sdb oa_sdbtools oa_sdbapp oa_sdbc oa_sdbcx oa_setup oa_sheet oa_style oa_svg oa_sync oa_sync2 oa_system oa_table oa_task oa_text oa_textfield oa_docinfo oa_ucb oa_view oa_xml oa_xml_dom oa_xml_xpath oa_xml_views oa_xml_events oa_image oa_xsd oa_inspection oa_ui oa_ui_dialogs oa_accessibility oa_form_binding oa_form_validation oa_form_submission oa_fruntime oa_geometry oa_rendering oa_sfprovider oa_sfbrowse oa_drafts_form oa_deployment oa_deploymenttest oa_deployment_ui oa_frame_status oa_gallery oa_graphic oa_security oa_crypto_sax oa_crypto oa_csax oa_wrapper oa_script oa_s
cript_vba oa_s
marttags oa_report oa_reportins oa_reportmeta oa_rdf oa_oooimprovement oa_office oa_prestextfield oa_starme NULL
offapi/prj/d.lst
Dosyayı görüntüle @
a61d4e2f
...
...
@@ -69,6 +69,7 @@ mkdir: %COMMON_DEST%\idl%_EXT%\com\sun\star\scanner
mkdir: %COMMON_DEST%\idl%_EXT%\com\sun\star\script
mkdir: %COMMON_DEST%\idl%_EXT%\com\sun\star\script\browse
mkdir: %COMMON_DEST%\idl%_EXT%\com\sun\star\script\provider
mkdir: %COMMON_DEST%\idl%_EXT%\com\sun\star\script\vba
mkdir: %COMMON_DEST%\idl%_EXT%\com\sun\star\sdb
mkdir: %COMMON_DEST%\idl%_EXT%\com\sun\star\sdb\application
mkdir: %COMMON_DEST%\idl%_EXT%\com\sun\star\sdb\tools
...
...
@@ -185,6 +186,7 @@ mkdir: %COMMON_DEST%\idl%_EXT%\drafts\com\sun\star\form
..\com\sun\star\script\*.idl %COMMON_DEST%\idl%_EXT%\com\sun\star\script
..\com\sun\star\script\browse\*.idl %COMMON_DEST%\idl%_EXT%\com\sun\star\script\browse
..\com\sun\star\script\provider\*.idl %COMMON_DEST%\idl%_EXT%\com\sun\star\script\provider
..\com\sun\star\script\vba\*.idl %COMMON_DEST%\idl%_EXT%\com\sun\star\script\vba
..\com\sun\star\sdb\*.idl %COMMON_DEST%\idl%_EXT%\com\sun\star\sdb
..\com\sun\star\sdb\application\*.idl %COMMON_DEST%\idl%_EXT%\com\sun\star\sdb\application
..\com\sun\star\sdb\tools\*.idl %COMMON_DEST%\idl%_EXT%\com\sun\star\sdb\tools
...
...
offapi/util/makefile.mk
Dosyayı görüntüle @
a61d4e2f
...
...
@@ -95,6 +95,7 @@ UNOIDLDBFILES= \
$(UCR)$/
cssdomevents.db
\
$(UCR)$/
cssscanner.db
\
$(UCR)$/
cssscript.db
\
$(UCR)$/
cssscriptvba.db
\
$(UCR)$/
csssdb.db
\
$(UCR)$/
csssdbc.db
\
$(UCR)$/
csssdbcx.db
\
...
...
offuh/prj/d.lst
Dosyayı görüntüle @
a61d4e2f
...
...
@@ -72,6 +72,7 @@ mkdir: %_DEST%\inc%_EXT%\offuh\com\sun\star\sdbc
mkdir: %_DEST%\inc%_EXT%\offuh\com\sun\star\sdbcx
mkdir: %_DEST%\inc%_EXT%\offuh\com\sun\star\scanner
mkdir: %_DEST%\inc%_EXT%\offuh\com\sun\star\script
mkdir: %_DEST%\inc%_EXT%\offuh\com\sun\star\script\vba
mkdir: %_DEST%\inc%_EXT%\offuh\com\sun\star\sheet
mkdir: %_DEST%\inc%_EXT%\offuh\com\sun\star\smarttags
mkdir: %_DEST%\inc%_EXT%\offuh\com\sun\star\style
...
...
@@ -271,6 +272,8 @@ mkdir: %_DEST%\inc%_EXT%\offuh\com\sun\star\rdf
..\%__SRC%\inc\offuh\com\sun\star\scanner\*.hpp %_DEST%\inc%_EXT%\offuh\com\sun\star\scanner\*.hpp
..\%__SRC%\inc\offuh\com\sun\star\script\*.hdl %_DEST%\inc%_EXT%\offuh\com\sun\star\script\*.hdl
..\%__SRC%\inc\offuh\com\sun\star\script\*.hpp %_DEST%\inc%_EXT%\offuh\com\sun\star\script\*.hpp
..\%__SRC%\inc\offuh\com\sun\star\script\vba\*.hdl %_DEST%\inc%_EXT%\offuh\com\sun\star\script\vba\*.hdl
..\%__SRC%\inc\offuh\com\sun\star\script\vba\*.hpp %_DEST%\inc%_EXT%\offuh\com\sun\star\script\vba\*.hpp
..\%__SRC%\inc\offuh\com\sun\star\sheet\*.hdl %_DEST%\inc%_EXT%\offuh\com\sun\star\sheet\*.hdl
..\%__SRC%\inc\offuh\com\sun\star\sheet\*.hpp %_DEST%\inc%_EXT%\offuh\com\sun\star\sheet\*.hpp
..\%__SRC%\inc\offuh\com\sun\star\smarttags\*.hdl %_DEST%\inc%_EXT%\offuh\com\sun\star\smarttags\*.hdl
...
...
sal/osl/w32/salinit.cxx
Dosyayı görüntüle @
a61d4e2f
...
...
@@ -40,6 +40,26 @@ extern "C" {
void
SAL_CALL
sal_detail_initialize
(
int
argc
,
char
**
argv
)
{
// SetProcessDEPPolicy(PROCESS_DEP_ENABLE);
// SetDllDirectoryW(L"");
// SetSearchPathMode(
// BASE_SEARCH_PATH_ENABLE_SAFE_SEARCHMODE | BASE_SEARCH_PATH_PERMANENT);
HMODULE
h
=
GetModuleHandleW
(
L"kernel32.dll"
);
if
(
h
!=
0
)
{
FARPROC
p
=
GetProcAddress
(
h
,
"SetProcessDEPPolicy"
);
if
(
p
!=
0
)
{
reinterpret_cast
<
BOOL
(
WINAPI
*
)(
DWORD
)
>
(
p
)(
0x00000001
);
}
p
=
GetProcAddress
(
h
,
"SetDllDirectoryW"
);
if
(
p
!=
0
)
{
reinterpret_cast
<
BOOL
(
WINAPI
*
)(
LPCWSTR
)
>
(
p
)(
L""
);
}
p
=
GetProcAddress
(
h
,
"SetSearchPathMode"
);
if
(
p
!=
0
)
{
reinterpret_cast
<
BOOL
(
WINAPI
*
)(
DWORD
)
>
(
p
)(
0x8001
);
}
}
WSADATA
wsaData
;
int
error
;
WORD
wVersionRequested
;
...
...
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