Top Constructors Methods
org.jabref.model.openoffice.uno

public Class UnoNamed

extends Object
Class Inheritance
Imports
org.jabref.model.openoffice.DocumentAnnotation, com.sun.star.container.XNamed, com.sun.star.lang.XMultiServiceFactory, com.sun.star.text.XTextContent, com.sun.star.uno.Exception

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static com.sun.star.container.XNamed

Returns:

The XNamed interface, in case we need to check the actual name.
insertNamedTextContent
(String
For example "com.sun.star.text.ReferenceMark", "com.sun.star.text.Bookmark" or "com.sun.star.text.TextSection".

Passed to this.asXMultiServiceFactory().createInstance(service) The result is expected to support the XNamed and XTextContent interfaces.

service
,
DocumentAnnotation documentAnnotation)

Insert a new instance of a service at the provided cursor position.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

UnoNamedback to summary
private UnoNamed()

Method Detail

insertNamedTextContentback to summary
pack-priv static com.sun.star.container.XNamed insertNamedTextContent(String service, DocumentAnnotation documentAnnotation) throws CreationException

Insert a new instance of a service at the provided cursor position.

Parameters
service:String

For example "com.sun.star.text.ReferenceMark", "com.sun.star.text.Bookmark" or "com.sun.star.text.TextSection".

Passed to this.asXMultiServiceFactory().createInstance(service) The result is expected to support the XNamed and XTextContent interfaces.

Returns:com.sun.star.container.XNamed

The XNamed interface, in case we need to check the actual name.