public class XWPFStyle extends Object
| Modifier and Type | Field and Description |
|---|---|
protected XWPFStyles |
styles |
| Constructor and Description |
|---|
XWPFStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style) |
XWPFStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style,
XWPFStyles styles) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBasisStyleID() |
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle |
getCTStyle()
get ctStyle
|
String |
getLinkStyleID()
get StyleID of the linked Style
|
String |
getName() |
String |
getNextStyleID()
get StyleID of the next style
|
String |
getStyleId()
get StyleID of the style
|
XWPFStyles |
getStyles()
get styles
|
org.openxmlformats.schemas.wordprocessingml.x2006.main.STStyleType.Enum |
getType()
get Type of the Style
|
boolean |
hasSameName(XWPFStyle compStyle)
compares the names of the Styles
|
void |
setStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style)
set style
|
void |
setStyleId(String styleId)
set styleID
|
void |
setType(org.openxmlformats.schemas.wordprocessingml.x2006.main.STStyleType.Enum type)
set styleType
|
protected XWPFStyles styles
public XWPFStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style)
public XWPFStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style,
XWPFStyles styles)
public String getStyleId()
public void setStyleId(String styleId)
public org.openxmlformats.schemas.wordprocessingml.x2006.main.STStyleType.Enum getType()
public void setType(org.openxmlformats.schemas.wordprocessingml.x2006.main.STStyleType.Enum type)
public void setStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style)
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle getCTStyle()
public XWPFStyles getStyles()
public String getBasisStyleID()
public String getLinkStyleID()
public String getNextStyleID()
public String getName()
public boolean hasSameName(XWPFStyle compStyle)