org.apache.poi.xwpf.converter.xhtml.internal.styles
Class CSSStylesDocument

java.lang.Object
  extended by org.apache.poi.xwpf.converter.core.styles.XWPFStylesDocument
      extended by org.apache.poi.xwpf.converter.xhtml.internal.styles.CSSStylesDocument

public class CSSStylesDocument
extends XWPFStylesDocument


Field Summary
 
Fields inherited from class org.apache.poi.xwpf.converter.core.styles.XWPFStylesDocument
EMPTY_VALUE
 
Constructor Summary
CSSStylesDocument(org.apache.poi.xwpf.usermodel.XWPFDocument document, boolean ignoreStylesIfUnused, Integer indent)
           
 
Method Summary
 CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)
           
 CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr, String className)
           
 CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr)
           
 CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr, String className)
           
 CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr)
           
 CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr, String className)
           
 CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)
           
 CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr, String className)
           
 CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTrPr trPr)
           
 CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTrPr trPr, String className)
           
 String getClassNames(String styleID)
           
 List<CSSStyle> getCSSStyles()
           
 String getValueAsPoint(float value)
           
protected  void initialize()
           
 void save(ContentHandler contentHandler)
           
protected  void visitStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style, boolean defaultStyle)
           
 
Methods inherited from class org.apache.poi.xwpf.converter.core.styles.XWPFStylesDocument
getBackgroundColor, getBackgroundColor, getBackgroundColor, getBackgroundColor, getBorderBottom, getBorderBottom, getBorderLeft, getBorderLeft, getBorderRight, getBorderRight, getBorderTop, getBorderTop, getCTSettings, getDefaultCharacterStyle, getDefaultNumberingStyle, getDefaultParagraphStyle, getDefaultTableStyle, getDefaultTabStop, getDocDefaults, getFontColor, getFontColor, getFontFamilyAscii, getFontFamilyAscii, getFontFamilyEastAsia, getFontFamilyEastAsia, getFontFamilyHAnsi, getFontFamilyHAnsi, getFontNameToUse, getFontsAltName, getFontsDocument, getFontSize, getFontSize, getFontStyleBold, getFontStyleBold, getFontStyleItalic, getFontStyleItalic, getFontStyleStrike, getFontStyleStrike, getIndentationFirstLine, getIndentationFirstLine, getIndentationHanging, getIndentationHanging, getIndentationLeft, getIndentationLeft, getIndentationRight, getIndentationRight, getParagraphAlignment, getParagraphAlignment, getParagraphNumPr, getParagraphNumPr, getParagraphSpacing, getParagraphSpacing, getParagraphTabs, getParagraphTabs, getSettings, getSpacingAfter, getSpacingAfter, getSpacingBefore, getSpacingBefore, getStyle, getStyle, 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, 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, getTableInfo, getTableMarginBottom, getTableMarginBottom, getTableMarginLeft, getTableMarginLeft, getTableMarginRight, getTableMarginRight, getTableMarginTop, getTableMarginTop, getTableRowHeight, getTableRowHeight, getTableRowMarginBottom, getTableRowMarginBottom, getTableRowMarginLeft, getTableRowMarginLeft, getTableRowMarginRight, getTableRowMarginRight, getTableRowMarginTop, getTableRowMarginTop, getTableStyle, getTableWidth, getTableWidth, getTableWidth, getTextDirection, getTextDirection, getTextHighlighting, getTextHighlighting, getThemeDocuments, getUnderline, getUnderline, getValue, isBorderInside, isTableRowHeader, setFontNameToUse, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 Detail

initialize

protected void initialize()
                   throws org.apache.xmlbeans.XmlException,
                          IOException
Overrides:
initialize in class 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 XWPFStylesDocument

createCSSStyle

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

createCSSStyle

public CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr 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)


Copyright © 2013. All rights reserved.