|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openoffice.da.comp.w2lcommon.helper.StyleNameProvider
public class StyleNameProvider
This class provides access to the style names and localized style names of the current document
| Constructor Summary | |
|---|---|
StyleNameProvider(com.sun.star.uno.XComponentContext xContext)
Construct a new StyleNameProvider |
|
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getDisplayNames(java.lang.String sFamily)
Get the mapping of internal names to display names for a style family |
java.util.Map<java.lang.String,java.lang.String> |
getInternalNames(java.lang.String sFamily)
Get the mapping of display names to internal names for a style family |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StyleNameProvider(com.sun.star.uno.XComponentContext xContext)
StyleNameProvider
xContext - the componemt context to get the desktop from| Method Detail |
|---|
public java.util.Map<java.lang.String,java.lang.String> getDisplayNames(java.lang.String sFamily)
sFamily - the style family (for text documents this should be CharacterStyles, ParagraphStyles, FrameStyles, PageStyles or NumberingStyles)
public java.util.Map<java.lang.String,java.lang.String> getInternalNames(java.lang.String sFamily)
sFamily - the style family (for text documents this should be CharacterStyles, ParagraphStyles, FrameStyles, PageStyles or NumberingStyles)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||