|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.xwpf.usermodel.XWPFStyle
public class XWPFStyle
Field Summary | |
---|---|
protected XWPFStyles |
styles
|
Constructor Summary | |
---|---|
XWPFStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style)
constructor |
|
XWPFStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style,
XWPFStyles styles)
constructor |
Method Summary | |
---|---|
java.lang.String |
getBasisStyleID()
|
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle |
getCTStyle()
get ctStyle |
java.lang.String |
getLinkStyleID()
get StyleID of the linked Style |
java.lang.String |
getName()
|
java.lang.String |
getNextStyleID()
get StyleID of the next style |
java.lang.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(java.lang.String styleId)
set styleID |
void |
setType(org.openxmlformats.schemas.wordprocessingml.x2006.main.STStyleType.Enum type)
set styleType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected XWPFStyles styles
Constructor Detail |
---|
public XWPFStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style)
style
- public XWPFStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style, XWPFStyles styles)
style
- styles
- Method Detail |
---|
public java.lang.String getStyleId()
public org.openxmlformats.schemas.wordprocessingml.x2006.main.STStyleType.Enum getType()
public void setStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style)
style
- public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle getCTStyle()
public void setStyleId(java.lang.String styleId)
styleId
- public void setType(org.openxmlformats.schemas.wordprocessingml.x2006.main.STStyleType.Enum type)
type
- public XWPFStyles getStyles()
public java.lang.String getBasisStyleID()
public java.lang.String getLinkStyleID()
public java.lang.String getNextStyleID()
public java.lang.String getName()
public boolean hasSameName(XWPFStyle compStyle)
compStyle
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |