Example usage for org.apache.poi.xwpf.usermodel XWPFDocument getStyle

List of usage examples for org.apache.poi.xwpf.usermodel XWPFDocument getStyle

Introduction

In this page you can find the example usage for org.apache.poi.xwpf.usermodel XWPFDocument getStyle.

Prototype

@Internal
public CTStyles getStyle() throws XmlException, IOException 

Source Link

Document

Returns the styles object used

Usage

From source file:fr.opensagres.poi.xwpf.converter.core.styles.XWPFStylesDocument.java

License:Open Source License

public XWPFStylesDocument(XWPFDocument document, boolean lazyInitialization) throws XmlException, IOException {
    this(document.getStyle(), getFontsDocument(document), getThemeDocuments(document), getCTSettings(document),
            lazyInitialization);/*from  w  w  w.  java  2s  . c o  m*/
}