Package | Description |
---|---|
org.zkoss.poi.xwpf.usermodel |
Modifier and Type | Method and Description |
---|---|
XWPFStyle |
XWPFStyles.getStyle(String styleID)
get style by a styleID
|
XWPFStyle |
XWPFStyles.getStyleWithSameName(XWPFStyle style)
get the style with the same name
if this style is not existing, return null
|
Modifier and Type | Method and Description |
---|---|
List<XWPFStyle> |
XWPFStyles.getUsedStyleList(XWPFStyle style)
get the styles which are related to the parameter style and their relatives
this method can be used to copy all styles from one document to another document
|
Modifier and Type | Method and Description |
---|---|
void |
XWPFStyles.addStyle(XWPFStyle style)
add a style to the document
|
XWPFStyle |
XWPFStyles.getStyleWithSameName(XWPFStyle style)
get the style with the same name
if this style is not existing, return null
|
List<XWPFStyle> |
XWPFStyles.getUsedStyleList(XWPFStyle style)
get the styles which are related to the parameter style and their relatives
this method can be used to copy all styles from one document to another document
|
boolean |
XWPFStyle.hasSameName(XWPFStyle compStyle)
compares the names of the Styles
|
Copyright © 2020. All rights reserved.