public class XWPFStyle
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected XWPFStyles |
styles |
Constructor and Description |
---|
XWPFStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style)
constructor
|
XWPFStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style,
XWPFStyles styles)
constructor
|
Modifier and Type | Method and Description |
---|---|
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
|
protected XWPFStyles styles
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
- 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
- Copyright © 2005-2010 Potix Corporation. All Rights Reserved.