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

public Class UnoNameAccess

extends Object
Class Inheritance
Imports
java.util.Optional, com.sun.star.container.NoSuchElementException, com.sun.star.container.XNameAccess, com.sun.star.lang.WrappedTargetException, com.sun.star.text.XTextContent

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Optional<com.sun.star.text.XTextContent>

Returns:

null if name not found, or if the result does not support the XTextContent interface.
getTextContentByName
(com.sun.star.container.XNameAccess nameAccess, String name)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

UnoNameAccessback to summary
private UnoNameAccess()

Method Detail

getTextContentByNameback to summary
public static Optional<com.sun.star.text.XTextContent> getTextContentByName(com.sun.star.container.XNameAccess nameAccess, String name) throws com.sun.star.lang.WrappedTargetException
Returns:Optional<com.sun.star.text.XTextContent>

null if name not found, or if the result does not support the XTextContent interface.