|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwriter2latex.office.OfficeStyleFamily
public class OfficeStyleFamily
Container class representing a style family in OOo
Constructor Summary | |
---|---|
OfficeStyleFamily(java.lang.Class styleClass)
Create a new OfficeStyleFamily based on a class |
Method Summary | |
---|---|
OfficeStyle |
getDefaultStyle()
Get the default style for this family |
java.lang.String |
getDisplayName(java.lang.String sName)
Get the display name for the style with the specified name. |
OfficeStyle |
getStyle(java.lang.String sName)
Get a style by name |
OfficeStyle |
getStyleByDisplayName(java.lang.String sDisplayName)
Get a style by display name. |
java.util.Enumeration |
getStylesEnumeration()
Get all named styles in the family (ie. excluding the default style) |
void |
loadStyleFromDOM(org.w3c.dom.Node node,
boolean bAutomatic)
Load a style from a DOM representation |
void |
setDefaultStyle(OfficeStyle style)
Define the default style for this family, ie. an unnamed style providing defaults for some style properties. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OfficeStyleFamily(java.lang.Class styleClass)
styleClass
- the subclass of OfficeStyle used to represent styles
in this familyMethod Detail |
---|
public void setDefaultStyle(OfficeStyle style)
style
- the new default stylepublic OfficeStyle getDefaultStyle()
public OfficeStyle getStyle(java.lang.String sName)
sName
- the name of the style
public OfficeStyle getStyleByDisplayName(java.lang.String sDisplayName)
sDisplayName
- the display name of the style
public java.lang.String getDisplayName(java.lang.String sName)
sName
- the style name
public java.util.Enumeration getStylesEnumeration()
public void loadStyleFromDOM(org.w3c.dom.Node node, boolean bAutomatic)
node
- the style:... node representing the stylebAutomatic
- if true, the style is an automatic style
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |