Class FieldMasterNameProvider
java.lang.Object
org.openoffice.da.comp.w2lcommon.helper.FieldMasterNameProvider
This class provides access to the names of all field masters in the current document
-
Constructor Summary
ConstructorsConstructorDescriptionFieldMasterNameProvider
(com.sun.star.uno.XComponentContext xContext) Construct a newFieldMasterNameProvider
-
Method Summary
Modifier and TypeMethodDescriptiongetFieldMasterNames
(String sPrefix) Get the names of all field masters relative to a given prefix
-
Constructor Details
-
FieldMasterNameProvider
public FieldMasterNameProvider(com.sun.star.uno.XComponentContext xContext) Construct a newFieldMasterNameProvider
- Parameters:
xContext
- the component context to get the desktop from
-
-
Method Details
-
getFieldMasterNames
Get the names of all field masters relative to a given prefix- Parameters:
sPrefix
- the prefix to look for, e.g. "com.sun.star.text.fieldmaster.SetExpression."- Returns:
- a read only
Set
containing all known names with the given prefix, stripped for the prefix
-