## Uses of Class
org.apache.poi.xwpf.usermodel.XWPFStyle

- Packages that use XWPFStyle
  Package | Description
  --- | ---
  org.apache.poi.xwpf.usermodel |

- - ### Uses of XWPFStyle in org.apache.poi.xwpf.usermodel

    Methods in org.apache.poi.xwpf.usermodel that return XWPFStyle
    Modifier and Type | Method and Description
    --- | ---
    `XWPFStyle` | XWPFStyles.`getStyle(java.lang.String styleID)` Get style by a styleID
    `XWPFStyle` | XWPFStyles.`getStyleWithName(java.lang.String styleName)` Get the style with the specified name, if any.
    `XWPFStyle` | XWPFStyles.`getStyleWithSameName(XWPFStyle style)` get the style with the same name if this style is not existing, return null

    Methods in org.apache.poi.xwpf.usermodel that return types with arguments of type XWPFStyle
    Modifier and Type | Method and Description
    --- | ---
    `java.util.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

    Methods in org.apache.poi.xwpf.usermodel with parameters of type XWPFStyle
    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
    `java.util.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 The Apache Software Foundation or its licensors, as applicable.