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
3030a3a5
Kaydet (Commit)
3030a3a5
authored
Nis 12, 2012
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
offapi: remove obsolete XInplaceLayout (2nd try)
This is related to
10e580c5
üst
5bce9624
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
2 additions
and
151 deletions
+2
-151
layoutmanager.hxx
framework/inc/services/layoutmanager.hxx
+2
-10
layoutmanager.cxx
framework/source/layoutmanager/layoutmanager.cxx
+0
-14
UnoApi_offapi.mk
offapi/UnoApi_offapi.mk
+0
-1
LayoutManager.idl
offapi/com/sun/star/frame/LayoutManager.idl
+0
-7
XInplaceLayout.idl
offapi/com/sun/star/frame/XInplaceLayout.idl
+0
-68
Jar_OOoRunner.mk
qadevOOo/Jar_OOoRunner.mk
+0
-1
com.sun.star.comp.framework.LayoutManager.csv
.../objdsc/fwk/com.sun.star.comp.framework.LayoutManager.csv
+0
-2
_XInplaceLayout.java
qadevOOo/tests/java/ifc/frame/_XInplaceLayout.java
+0
-48
No files found.
framework/inc/services/layoutmanager.hxx
Dosyayı görüntüle @
3030a3a5
...
@@ -67,7 +67,6 @@
...
@@ -67,7 +67,6 @@
#include <com/sun/star/awt/XWindowListener.hpp>
#include <com/sun/star/awt/XWindowListener.hpp>
#include <com/sun/star/util/XURLTransformer.hpp>
#include <com/sun/star/util/XURLTransformer.hpp>
#include <com/sun/star/ui/XUIElementFactory.hpp>
#include <com/sun/star/ui/XUIElementFactory.hpp>
#include <com/sun/star/frame/XInplaceLayout.hpp>
#include <com/sun/star/ui/DockingArea.hpp>
#include <com/sun/star/ui/DockingArea.hpp>
#include <com/sun/star/awt/XTopWindow2.hpp>
#include <com/sun/star/awt/XTopWindow2.hpp>
#include <com/sun/star/awt/XDockableWindow.hpp>
#include <com/sun/star/awt/XDockableWindow.hpp>
...
@@ -79,7 +78,7 @@
...
@@ -79,7 +78,7 @@
// other includes
// other includes
//_________________________________________________________________________________________________________________
//_________________________________________________________________________________________________________________
#include <cppuhelper/propshlp.hxx>
#include <cppuhelper/propshlp.hxx>
#include <cppuhelper/implbase
8
.hxx>
#include <cppuhelper/implbase
7
.hxx>
#include <cppuhelper/interfacecontainer.hxx>
#include <cppuhelper/interfacecontainer.hxx>
#include <comphelper/propertycontainer.hxx>
#include <comphelper/propertycontainer.hxx>
#include <tools/wintypes.hxx>
#include <tools/wintypes.hxx>
...
@@ -96,12 +95,11 @@ namespace framework
...
@@ -96,12 +95,11 @@ namespace framework
{
{
class
InfoHelperBuilder
;
class
InfoHelperBuilder
;
}
}
typedef
::
cppu
::
WeakImplHelper
8
<
::
com
::
sun
::
star
::
lang
::
XServiceInfo
typedef
::
cppu
::
WeakImplHelper
7
<
::
com
::
sun
::
star
::
lang
::
XServiceInfo
,
::
com
::
sun
::
star
::
frame
::
XLayoutManager
,
::
com
::
sun
::
star
::
frame
::
XLayoutManager
,
::
com
::
sun
::
star
::
awt
::
XWindowListener
,
::
com
::
sun
::
star
::
awt
::
XWindowListener
,
::
com
::
sun
::
star
::
frame
::
XFrameActionListener
,
::
com
::
sun
::
star
::
frame
::
XFrameActionListener
,
::
com
::
sun
::
star
::
ui
::
XUIConfigurationListener
,
::
com
::
sun
::
star
::
ui
::
XUIConfigurationListener
,
::
com
::
sun
::
star
::
frame
::
XInplaceLayout
,
::
com
::
sun
::
star
::
frame
::
XMenuBarMergingAcceptor
,
::
com
::
sun
::
star
::
frame
::
XMenuBarMergingAcceptor
,
::
com
::
sun
::
star
::
frame
::
XLayoutManagerEventBroadcaster
,
::
com
::
sun
::
star
::
frame
::
XLayoutManagerEventBroadcaster
>
LayoutManager_Base
;
>
LayoutManager_Base
;
...
@@ -160,12 +158,6 @@ namespace framework
...
@@ -160,12 +158,6 @@ namespace framework
virtual
void
SAL_CALL
setVisible
(
sal_Bool
bVisible
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
setVisible
(
sal_Bool
bVisible
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
sal_Bool
SAL_CALL
isVisible
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
sal_Bool
SAL_CALL
isVisible
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
//---------------------------------------------------------------------------------------------------------
// XInplaceLayout
//---------------------------------------------------------------------------------------------------------
virtual
void
SAL_CALL
setInplaceMenuBar
(
sal_Int64
pInplaceMenuBarPointer
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
resetInplaceMenuBar
(
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
//---------------------------------------------------------------------------------------------------------
//---------------------------------------------------------------------------------------------------------
// XMenuBarMergingAcceptor
// XMenuBarMergingAcceptor
//---------------------------------------------------------------------------------------------------------
//---------------------------------------------------------------------------------------------------------
...
...
framework/source/layoutmanager/layoutmanager.cxx
Dosyayı görüntüle @
3030a3a5
...
@@ -26,14 +26,12 @@
...
@@ -26,14 +26,12 @@
*
*
************************************************************************/
************************************************************************/
// my own includes
// my own includes
#include <services/layoutmanager.hxx>
#include <services/layoutmanager.hxx>
#include <helpers.hxx>
#include <helpers.hxx>
#include <threadhelp/resetableguard.hxx>
#include <threadhelp/resetableguard.hxx>
#include <services.h>
#include <services.h>
#include <framework/sfxhelperfunctions.hxx>
#include <framework/sfxhelperfunctions.hxx>
#include <framework/sfxhelperfunctions.hxx>
#include <uielement/menubarwrapper.hxx>
#include <uielement/menubarwrapper.hxx>
#include <framework/addonsoptions.hxx>
#include <framework/addonsoptions.hxx>
...
@@ -1248,18 +1246,6 @@ throw (RuntimeException)
...
@@ -1248,18 +1246,6 @@ throw (RuntimeException)
implts_reset
(
sal_True
);
implts_reset
(
sal_True
);
}
}
void
SAL_CALL
LayoutManager
::
setInplaceMenuBar
(
sal_Int64
)
throw
(
uno
::
RuntimeException
)
{
OSL_FAIL
(
"This method is obsolete and should not be used!
\n
"
);
}
void
SAL_CALL
LayoutManager
::
resetInplaceMenuBar
()
throw
(
uno
::
RuntimeException
)
{
OSL_FAIL
(
"This method is obsolete and should not be used!
\n
"
);
}
//---------------------------------------------------------------------------------------------------------
//---------------------------------------------------------------------------------------------------------
// XMenuBarMergingAcceptor
// XMenuBarMergingAcceptor
//---------------------------------------------------------------------------------------------------------
//---------------------------------------------------------------------------------------------------------
...
...
offapi/UnoApi_offapi.mk
Dosyayı görüntüle @
3030a3a5
...
@@ -2519,7 +2519,6 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,offapi/com/sun/star/frame,\
...
@@ -2519,7 +2519,6 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,offapi/com/sun/star/frame,\
XFrameSetModel \
XFrameSetModel \
XFrames \
XFrames \
XFramesSupplier \
XFramesSupplier \
XInplaceLayout \
XInterceptorInfo \
XInterceptorInfo \
XLayoutManager \
XLayoutManager \
XLayoutManagerEventBroadcaster \
XLayoutManagerEventBroadcaster \
...
...
offapi/com/sun/star/frame/LayoutManager.idl
Dosyayı görüntüle @
3030a3a5
...
@@ -32,7 +32,6 @@
...
@@ -32,7 +32,6 @@
#
include
<
com
/
sun
/
star
/
frame
/
XLayoutManager
.
idl>
#
include
<
com
/
sun
/
star
/
frame
/
XLayoutManager
.
idl>
#
include
<
com
/
sun
/
star
/
frame
/
XFrameActionListener
.
idl>
#
include
<
com
/
sun
/
star
/
frame
/
XFrameActionListener
.
idl>
#
include
<
com
/
sun
/
star
/
ui
/
XUIConfigurationListener
.
idl>
#
include
<
com
/
sun
/
star
/
ui
/
XUIConfigurationListener
.
idl>
#
include
<
com
/
sun
/
star
/
frame
/
XInplaceLayout
.
idl>
#
include
<
com
/
sun
/
star
/
beans
/
XPropertySet
.
idl>
#
include
<
com
/
sun
/
star
/
beans
/
XPropertySet
.
idl>
#
include
<
com
/
sun
/
star
/
frame
/
XMenuBarMergingAcceptor
.
idl>
#
include
<
com
/
sun
/
star
/
frame
/
XMenuBarMergingAcceptor
.
idl>
#
include
<
com
/
sun
/
star
/
frame
/
XLayoutManagerEventBroadcaster
.
idl>
#
include
<
com
/
sun
/
star
/
frame
/
XLayoutManagerEventBroadcaster
.
idl>
...
@@ -100,12 +99,6 @@ service LayoutManager
...
@@ -100,12 +99,6 @@ service LayoutManager
*/
*/
[
optional
]
interface
::
com
::
sun
::
star
::
frame
::
XLayoutManagerEventBroadcaster
;
[
optional
]
interface
::
com
::
sun
::
star
::
frame
::
XLayoutManagerEventBroadcaster
;
/**
interface
to
support
settings
a
menu
bar
for
inplace
editing
of
components
inside
OpenOffice
.
org.
@
deprecated
*/
[
optional
]
interface
::
com
::
sun
::
star
::
frame
::
XInplaceLayout
;
}
;
}
;
}
; }; }; };
}
; }; }; };
...
...
offapi/com/sun/star/frame/XInplaceLayout.idl
deleted
100644 → 0
Dosyayı görüntüle @
5bce9624
/*
-*-
Mode
:
C
++
; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
*
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_frame_XInplaceLayout_idl__
#
define
__com_sun_star_frame_XInplaceLayout_idl__
#
include
<
com
/
sun
/
star
/
uno
/
XInterface
.
idl>
//=============================================================================
module
com
{
module
sun
{
module
star
{
module
frame
{
//=============================================================================
/**
special
interface
to
support
inplace
editing
of
components
inside
OpenOffice
.
org.
@
deprecated
@
since
OOo
2.0
*/
interface
XInplaceLayout
:
com
::
sun
::
star
::
uno
::
XInterface
{
/**
sets
an
inplace
menu
to
the
container
window
of
the
attached
frame
.
@
param
InplaceMenuBarPointer
must
be
a
VCL
menu
bar
pointer
which
is
accessible
within
the
layout
manager
process
.
*/
void
setInplaceMenuBar
(
[
in
]
hyper
InplaceMenuBarPointer
)
;
/**
removes
an
inplace
menu
and
sets
back
a
previously
created
menu
bar
if
one
has
been
set
before
.
*/
void
resetInplaceMenuBar
()
;
}
;
}
; }; }; };
#
endif
/*
vim
:
set
shiftwidth
=
4
softtabstop
=
4
expandtab
:
*/
qadevOOo/Jar_OOoRunner.mk
Dosyayı görüntüle @
3030a3a5
...
@@ -558,7 +558,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\
...
@@ -558,7 +558,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\
qadevOOo/tests/java/ifc/frame/_XFrameActionListener \
qadevOOo/tests/java/ifc/frame/_XFrameActionListener \
qadevOOo/tests/java/ifc/frame/_XFrameLoader \
qadevOOo/tests/java/ifc/frame/_XFrameLoader \
qadevOOo/tests/java/ifc/frame/_XFramesSupplier \
qadevOOo/tests/java/ifc/frame/_XFramesSupplier \
qadevOOo/tests/java/ifc/frame/_XInplaceLayout \
qadevOOo/tests/java/ifc/frame/_XLayoutManager \
qadevOOo/tests/java/ifc/frame/_XLayoutManager \
qadevOOo/tests/java/ifc/frame/_XModel \
qadevOOo/tests/java/ifc/frame/_XModel \
qadevOOo/tests/java/ifc/frame/_XModuleManager \
qadevOOo/tests/java/ifc/frame/_XModuleManager \
...
...
qadevOOo/objdsc/fwk/com.sun.star.comp.framework.LayoutManager.csv
Dosyayı görüntüle @
3030a3a5
"LayoutManager";"com::sun::star::lang::XEventListener";"disposing()"
"LayoutManager";"com::sun::star::lang::XEventListener";"disposing()"
"LayoutManager";"com::sun::star::frame::XInplaceLayout#optional";"setInplaceMenuBar()"
"LayoutManager";"com::sun::star::frame::XInplaceLayout#optional";"resetInplaceMenuBar()"
"LayoutManager";"com::sun::star::frame::XLayoutManager";"attachFrame()"
"LayoutManager";"com::sun::star::frame::XLayoutManager";"attachFrame()"
"LayoutManager";"com::sun::star::frame::XLayoutManager";"reset()"
"LayoutManager";"com::sun::star::frame::XLayoutManager";"reset()"
"LayoutManager";"com::sun::star::frame::XLayoutManager";"getCurrentDockingArea()"
"LayoutManager";"com::sun::star::frame::XLayoutManager";"getCurrentDockingArea()"
...
...
qadevOOo/tests/java/ifc/frame/_XInplaceLayout.java
deleted
100644 → 0
Dosyayı görüntüle @
5bce9624
/*************************************************************************
*
* 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.
*
************************************************************************/
package
ifc
.
frame
;
import
com.sun.star.frame.XInplaceLayout
;
import
lib.MultiMethodTest
;
public
class
_XInplaceLayout
extends
MultiMethodTest
{
public
XInplaceLayout
oObj
=
null
;
public
void
_setInplaceMenuBar
()
{
log
.
print
(
"This method exists for inplace editing with own modules. "
);
log
.
println
(
"It makes no sense to call it from Java."
);
// oObj.setInplaceMenuBar(l);
tRes
.
tested
(
"setInplaceMenuBar()"
,
true
);
}
public
void
_resetInplaceMenuBar
()
{
requiredMethod
(
"setInplaceMenuBar()"
);
oObj
.
resetInplaceMenuBar
();
tRes
.
tested
(
"resetInplaceMenuBar()"
,
true
);
}
}
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