java.lang.Object
fr.opensagres.poi.xwpf.converter.core.styles.XWPFStylesDocument
fr.opensagres.poi.xwpf.converter.xhtml.internal.styles.CSSStylesDocument

public class CSSStylesDocument extends fr.opensagres.poi.xwpf.converter.core.styles.XWPFStylesDocument
  • Field Summary

    Fields inherited from class fr.opensagres.poi.xwpf.converter.core.styles.XWPFStylesDocument

    EMPTY_VALUE
  • Constructor Summary

    Constructors
    Constructor
    Description
    CSSStylesDocument(org.apache.poi.xwpf.usermodel.XWPFDocument document, boolean ignoreStylesIfUnused, Integer indent)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPrBase pPr)
     
    createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPrBase pPr, String className)
     
    createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr)
     
    createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr, String className)
     
    createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr)
     
    createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr, String className)
     
    createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)
     
    createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr, String className)
     
    createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTrPr trPr)
     
    createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTrPr trPr, String className)
     
     
     
    getValueAsPoint(float value)
     
    protected void
     
    void
    save(ContentHandler contentHandler)
     
    protected void
    visitStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style, boolean defaultStyle)
     

    Methods inherited from class fr.opensagres.poi.xwpf.converter.core.styles.XWPFStylesDocument

    getBackgroundColor, getBackgroundColor, getBackgroundColor, getBackgroundColor, getBackgroundColor, getBorderBottom, getBorderBottom, getBorderLeft, getBorderLeft, getBorderRight, getBorderRight, getBorderTop, getBorderTop, getCTSettings, getDefaultCharacterStyle, getDefaultNumberingStyle, getDefaultParagraphStyle, getDefaultTableStyle, getDefaultTabStop, getDocDefaults, getFontColor, getFontColor, getFontColor, getFontFamilyAscii, getFontFamilyAscii, getFontFamilyAscii, getFontFamilyEastAsia, getFontFamilyEastAsia, getFontFamilyEastAsia, getFontFamilyHAnsi, getFontFamilyHAnsi, getFontFamilyHAnsi, getFontNameToUse, getFontsAltName, getFontSize, getFontSize, getFontSize, getFontStyleBold, getFontStyleBold, getFontStyleBold, getFontStyleItalic, getFontStyleItalic, getFontStyleItalic, getFontStyleStrike, getFontStyleStrike, getFontStyleStrike, getIndentationFirstLine, getIndentationFirstLine, getIndentationFirstLine, getIndentationHanging, getIndentationHanging, getIndentationHanging, getIndentationLeft, getIndentationLeft, getIndentationLeft, getIndentationRight, getIndentationRight, getIndentationRight, getParagraphAlignment, getParagraphAlignment, getParagraphAlignment, getParagraphNumPr, getParagraphNumPr, getParagraphSpacing, getParagraphSpacing, getParagraphSpacing, getParagraphTabs, getParagraphTabs, getSpacingAfter, getSpacingAfter, getSpacingAfter, getSpacingBefore, getSpacingBefore, getSpacingBefore, getStyle, getStyle, getTableAlignment, getTableAlignment, getTableAlignment, getTableAlignment, getTableBorder, getTableBorderBottom, getTableBorderBottom, getTableBorderBottom, getTableBorderInside, getTableBorderInsideH, getTableBorderInsideH, getTableBorderInsideH, getTableBorderInsideV, getTableBorderInsideV, getTableBorderInsideV, getTableBorderLeft, getTableBorderLeft, getTableBorderLeft, getTableBorderRight, getTableBorderRight, getTableBorderRight, getTableBorderTop, getTableBorderTop, getTableBorderTop, getTableCellBackgroundColor, getTableCellBackgroundColor, getTableCellBackgroundColor, getTableCellBorder, getTableCellBorderBottom, getTableCellBorderBottom, getTableCellBorderInside, getTableCellBorderInsideH, getTableCellBorderInsideH, getTableCellBorderInsideV, getTableCellBorderInsideV, getTableCellBorderLeft, getTableCellBorderLeft, getTableCellBorderRight, getTableCellBorderRight, getTableCellBorderTop, getTableCellBorderTop, getTableCellBorderWithConflicts, getTableCellGridSpan, getTableCellGridSpan, getTableCellInfo, getTableCellMarginBottom, getTableCellMarginBottom, getTableCellMarginLeft, getTableCellMarginLeft, getTableCellMarginRight, getTableCellMarginRight, getTableCellMarginTop, getTableCellMarginTop, getTableCellNoWrap, getTableCellNoWrap, getTableCellVerticalAlignment, getTableCellVMerge, getTableCellVMerge, getTableCellWith, getTableCellWith, getTableIndentation, getTableIndentation, getTableIndentation, getTableIndentation, getTableInfo, getTableMarginBottom, getTableMarginBottom, getTableMarginLeft, getTableMarginLeft, getTableMarginRight, getTableMarginRight, getTableMarginTop, getTableMarginTop, getTableRowHeight, getTableRowHeight, getTableRowMarginBottom, getTableRowMarginBottom, getTableRowMarginLeft, getTableRowMarginLeft, getTableRowMarginRight, getTableRowMarginRight, getTableRowMarginTop, getTableRowMarginTop, getTableStyle, getTableWidth, getTableWidth, getTableWidth, getTableWidth, getTextDirection, getTextDirection, getTextHighlighting, getTextHighlighting, getTextHighlighting, getThemeDocuments, getUnderline, getUnderline, getUnderline, getValue, getVerticalAlign, getVerticalAlign, getVerticalAlignFontFactor, getVerticalAlignOffset, isBorderInside, isTableRowHeader, isTableRowHeader, setFontNameToUse, setValue

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CSSStylesDocument

      public CSSStylesDocument(org.apache.poi.xwpf.usermodel.XWPFDocument document, boolean ignoreStylesIfUnused, Integer indent) throws org.apache.xmlbeans.XmlException, IOException
      Throws:
      org.apache.xmlbeans.XmlException
      IOException
  • Method Details

    • initialize

      protected void initialize() throws org.apache.xmlbeans.XmlException, IOException
      Overrides:
      initialize in class fr.opensagres.poi.xwpf.converter.core.styles.XWPFStylesDocument
      Throws:
      org.apache.xmlbeans.XmlException
      IOException
    • visitStyle

      protected void visitStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style, boolean defaultStyle)
      Overrides:
      visitStyle in class fr.opensagres.poi.xwpf.converter.core.styles.XWPFStylesDocument
    • createCSSStyle

      public CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPrBase pPr)
    • createCSSStyle

      public CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPrBase pPr, String className)
    • createCSSStyle

      public CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr)
    • createCSSStyle

      public CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr, String className)
    • createCSSStyle

      public CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr)
    • createCSSStyle

      public CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr, String className)
    • createCSSStyle

      public CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTrPr trPr)
    • createCSSStyle

      public CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTrPr trPr, String className)
    • createCSSStyle

      public CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)
    • createCSSStyle

      public CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr, String className)
    • getCSSStyles

      public List<CSSStyle> getCSSStyles()
    • save

      public void save(ContentHandler contentHandler) throws SAXException
      Throws:
      SAXException
    • getValueAsPoint

      public String getValueAsPoint(float value)
    • getClassNames

      public String getClassNames(String styleID)