public class FieldMasterNameProvider
extends java.lang.Object
Constructor and Description |
---|
FieldMasterNameProvider(com.sun.star.uno.XComponentContext xContext)
Construct a new
FieldMasterNameProvider |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getFieldMasterNames(java.lang.String sPrefix)
Get the names of all field masters relative to a given prefix
|
public FieldMasterNameProvider(com.sun.star.uno.XComponentContext xContext)
FieldMasterNameProvider
xContext
- the component context to get the desktop frompublic java.util.Set<java.lang.String> getFieldMasterNames(java.lang.String sPrefix)
sPrefix
- the prefix to look for, e.g. "com.sun.star.text.fieldmaster.SetExpression."Set
containing all known names with the given prefix, stripped for the prefix