Top Deprecated By Reference
LibreOffice 24.8.4

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description

Returns:

The office window instance.
com.sun.star.comp.beans.LocalOfficeConnection.createOfficeWindow
(Container
This is an AWT container.
container
)

com.sun.star.comp.beans.LocalOfficeConnection.setContainerFactory(ContainerFactory
This is an application provided AWT container factory.
containerFactory
)

com.sun.star.comp.beans.OOoBean(OfficeConnection iConnection)

Clients could use the getOOoConnection to obtain an OfficeConnection and use it as argument in a constructor for another OOoBean instance. Calling the dispose method of the OfficeConnection or the OOoBean's stopOOoConnection method would make all instances of OOoBean stop working.

com.sun.star.comp.beans.OOoBean.applyToolVisibilities()

Clients should use the service com.sun.star.frame.LayoutManager, which can be obtained from a frame, to control toolbars. See also setAllBarsVisible.

com.sun.star.comp.beans.OOoBean.clearDocument(boolean
Not only the document content but also the state of the bean, like visibility of child components is cleared.
bClearStateToo
)

There is currently no way to dismiss changes, except for loading of the unchanged initial document. Furthermore it is unclear how derived classes handle this and what exactly their state is (e.g. what members make up their state). Calling this method on a derived class requires knowledge about their implementation. Therefore a deriving class should declare their own clearDocument if needed. Clients should call the clearDocument of the deriving class or clear which discards the currently displayed document.

Returns:

True if the menu bar is visible, false if the menu bar is hidden.
com.sun.star.comp.beans.OOoBean.isMenuBarVisible
()

Clients should use the service com.sun.star.frame.LayoutManager, which can be obtained from a frame, to control toolbars. See also setAllBarsVisible.

com.sun.star.comp.beans.OOoBean.isOOoConnected()

This method is not useful in a multithreaded environment. Then all threads accessing the instance would have to be synchronized in order to make is method work. It is better to call OOoBean's methods and be prepared to catch a NoConnectionException.

Returns:

True if the main function bar is visible, false if the main function bar is hidden.
com.sun.star.comp.beans.OOoBean.isStandardBarVisible
()

Clients should use the service com.sun.star.frame.LayoutManager, which can be obtained from a frame, to control toolbars. See also setAllBarsVisible.

Returns:

True if the status function bar is visible, false if the status function bar is hidden.
com.sun.star.comp.beans.OOoBean.isStatusBarVisible
()

Clients should use the service com.sun.star.frame.LayoutManager, which can be obtained from a frame, to control toolbars. See also setAllBarsVisible.

Returns:

True if the tool function bar is visible, false if the tool function bar is hidden.
com.sun.star.comp.beans.OOoBean.isToolBarVisible
()

Clients should use the service com.sun.star.frame.LayoutManager, which can be obtained from a frame, to control toolbars. See also setAllBarsVisible.

com.sun.star.comp.beans.OOoBean.releaseSystemWindow()

When Component.removeNotify of the parent window of the actual office window is called, then the actions are performed for which this method needed to be called previously.

com.sun.star.comp.beans.OOoBean.setAllBarsVisible(boolean bVisible)

Clients should use the service com.sun.star.frame.LayoutManager, which can be obtained from a frame, to control toolbars. For example:

com.sun.star.beans.XPropertySet xPropSet =
  (com.sun.star.beans.XPropertySet) UnoRuntime.queryInterface(
    com.sun.star.beans.XPropertySet.class, aFrame );
com.sun.star.frame.XLayoutManager xLayoutManager =
  (com.sun.star.frame.XLayoutManager) UnoRuntime.queryInterface(
    com.sun.star.frame.XLayoutManager.class,
    xPropSet.getPropertyValue( "LayoutManager" ) );
xLayoutManager.showElement("private:resource/menubar/menubar");
        
com.sun.star.comp.beans.OOoBean.setMenuBarVisible(boolean
If false, the menu bar is disabled, If true, the menu bar is visible.
bVisible
)

Clients should use the service com.sun.star.frame.LayoutManager, which can be obtained from a frame, to control toolbars. See also setAllBarsVisible.

com.sun.star.comp.beans.OOoBean.setStandardBarVisible(boolean
If false, the main function bar is disabled, If true, the main function bar is visible.
bVisible
)

Clients should use the service com.sun.star.frame.LayoutManager, which can be obtained from a frame, to control toolbars. See also setAllBarsVisible.

com.sun.star.comp.beans.OOoBean.setStatusBarVisible(boolean
If false, the status function bar is disabled, If true, the status function bar is visible.
bVisible
)

Clients should use the service com.sun.star.frame.LayoutManager, which can be obtained from a frame, to control toolbars. See also setAllBarsVisible.

com.sun.star.comp.beans.OOoBean.setToolBarVisible(boolean
If false, the tool function bar is disabled, If true, the tool function bar is visible.
bVisible
)

Clients should use the service com.sun.star.frame.LayoutManager, which can be obtained from a frame, to control toolbars. See also setAllBarsVisible.

com.sun.star.comp.beans.OOoBean.setToolVisible(String aProperty, String aResourceURL, boolean bOldValue, boolean
If false, the tool bar is disabled, If true, the tool bar is visible.
bNewValue
)

Clients should use the service com.sun.star.frame.LayoutManager, which can be obtained from a frame, to control toolbars. See also setAllBarsVisible.

com.sun.star.comp.helper.SharedLibraryLoader

use class Bootstrap bootstrapping a native UNO installation and use the shared library loader service. The SharedLibraryLoader class provides the functionality of the com.sun.star.loader.SharedLibrary service. See also UNOIDL com.sun.star.lang.ServiceManager.

Returns:

returns a factory.
com.sun.star.comp.loader.FactoryHelper.getServiceFactory
(Class<?>
the implementing class.
implClass
,
com.sun.star.lang.XMultiServiceFactory
the given multi service factory (service manager).
multiFactory
,
com.sun.star.registry.XRegistryKey
the given registry key.
regKey
)

as of UDK 1.0

com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge(Object[]
the custom parameters: arg[0] == protocol_name, arg[1] == xConnection, arg[2] == xInstanceProvider.
args
)

as of UDK 1.0

com.sun.star.lib.uno.typeinfo.ConstantTypeInfo

UNOTYPEINFO for constants is not needed

com.sun.star.uno.Any(Class<?>
the type of the any.
zInterface
,
Object
the data of the any.
object
)

as of UDK 2.0

com.sun.star.uno.Ascii(char
the char value.
c
)

do not use.

com.sun.star.uno.AsciiString(String
the String value.
s
)

do not use.

com.sun.star.uno.IBridge

As of UDK 3.2, this interface is deprecated, without offering a replacement.

com.sun.star.uno.IEnvironment

As of UDK 3.2, this interface is deprecated, without offering a replacement.

com.sun.star.uno.IMapping

As of UDK 3.2, this interface is deprecated, without offering a replacement.

com.sun.star.uno.UnoRuntime.DEBUG

As of UDK 3.2.0, do not use this internal field.

com.sun.star.uno.UnoRuntime()

As of UDK 3.2.0, do not create instances of this class. It is considered a historic mistake to have a public constructor for this class, which only has static members. Also, this class might be changed to become final in a future version.

Returns:

the requested bridge
com.sun.star.uno.UnoRuntime.getBridge
(IEnvironment
the source environment
from
,
IEnvironment
the target environment
to
,
Object[]
the initial arguments for the bridge
args
)

As of UDK 3.2.0, this method is deprecated, without offering a replacement.

Returns:

the requested bridge
com.sun.star.uno.UnoRuntime.getBridgeByName
(String
the name of the source environment
from
,
Object
the context for the source environment
fromContext
,
String
the name of the target environment
to
,
Object
the context for the target environment
toContext
,
Object[]
the initial arguments for the bridge
args
)

As of UDK 3.2.0, this method is deprecated, without offering a replacement.

Returns:

an array of IBridge objects
com.sun.star.uno.UnoRuntime.getBridges
()

As of UDK 3.2.0, this method is deprecated, without offering a replacement.

Returns:

an environment.
com.sun.star.uno.UnoRuntime.getEnvironment
(String
the name of the environment
name
,
Object
the context of the environment
context
)

As of UDK 3.2.0, this method is deprecated, without offering a replacement.

Returns:

the requested mapping
com.sun.star.uno.UnoRuntime.getMapping
(IEnvironment
the source environment
from
,
IEnvironment
the target environment
to
)

As of UDK 3.2.0, this method is deprecated, without offering a replacement.

Returns:

the requested mapping
com.sun.star.uno.UnoRuntime.getMappingByName
(String
the name of the source environment
from
,
String
the name of the target environment
to
)

As of UDK 3.2.0, this method is deprecated, without offering a replacement.

Returns:

true if another thread didn't re-insert some bridge or environment before the method returns. Why that information would be useful is anybody's guess.
com.sun.star.uno.UnoRuntime.reset
()

As of UDK 3.2.0, this method is deprecated, without offering a replacement.

Deprecated Reference Summary

SinceItem with Deprecated Reference and Description
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge

IBridge is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge._java_environment

IEnvironment is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge(IEnvironment java_environment, IEnvironment remote_environment, Object[] args)

IEnvironment is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

the source environment of this bridge.
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.getSourceEnvironment
()

IEnvironment is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

the destination environment of this bridge.
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.getTargetEnvironment
()

IEnvironment is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.lib.uno.environments.java.java_environment

IEnvironment is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.lib.uno.environments.remote.remote_environment

IEnvironment is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.lib.uno.protocols.urp.urp(IBridge bridge, String attributes, InputStream input, OutputStream output)

IBridge is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.lib.uno.protocols.urp.Unmarshal.bridge

IBridge is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.lib.uno.protocols.urp.Unmarshal(IBridge bridge, int cacheSize)

IBridge is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.lib.uno.protocols.urp.Marshal.bridge

IBridge is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.lib.uno.protocols.urp.Marshal(IBridge bridge, short cacheSize)

IBridge is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

the source environment of this bridge
com.sun.star.uno.IBridge.getSourceEnvironment
()

IEnvironment is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

the destination environment of this bridge
com.sun.star.uno.IBridge.getTargetEnvironment
()

IEnvironment is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.uno.UnoRuntime.BridgeTurner

IBridge is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.uno.UnoRuntime.BridgeTurner.bridge

IBridge is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.uno.UnoRuntime.BridgeTurner(IBridge bridge)

IBridge is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.uno.UnoRuntime.BridgeTurner.getSourceEnvironment()

IEnvironment is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.uno.UnoRuntime.BridgeTurner.getTargetEnvironment()

IEnvironment is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.uno.UnoRuntime.MappingWrapper

IMapping is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.uno.UnoRuntime.MappingWrapper.bridge

IBridge is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.uno.UnoRuntime.MappingWrapper(IBridge bridge)

IBridge is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.comp.beans.LocalOfficeConnection

OfficeConnection is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.comp.beans.LocalOfficeConnection.OfficeService

NativeService is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.comp.beans.LocalOfficeWindow

OfficeWindow is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.comp.beans.LocalOfficeWindow.mConnection

OfficeConnection is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.comp.beans.LocalOfficeWindow(OfficeConnection
The office connection object the window belongs to.
connection
)

OfficeConnection is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.comp.beans.NativeConnection.connect(NativeService aNativeService)

NativeService is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

The office window instance.
com.sun.star.comp.beans.OfficeConnection.createOfficeWindow
(Container
This is an AWT container.
container
)

OfficeWindow is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.comp.beans.OfficeConnection.setContainerFactory(ContainerFactory
This is an application provided AWT container factory.
containerFactory
)

ContainerFactory is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.comp.beans.OOoBean.iConnection

OfficeConnection is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.comp.beans.OOoBean.xFrameWindow

OfficeWindow is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.comp.beans.OOoBean.getOOoConnection()

OfficeConnection is deprecated or references (maybe indirectly) at least one deprecated element.

com.sun.star.comp.beans.OOoBean.setOOoConnection(OfficeConnection iNewConnection)

OfficeConnection is deprecated or references (maybe indirectly) at least one deprecated element.