public class CSSStylesDocument extends XWPFStylesDocument
EMPTY_VALUE| Constructor and Description |
|---|
CSSStylesDocument(org.apache.poi.xwpf.usermodel.XWPFDocument document,
boolean ignoreStylesIfUnused,
java.lang.Integer indent) |
| Modifier and Type | Method and Description |
|---|---|
CSSStyle |
createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPrBase pPr) |
CSSStyle |
createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPrBase pPr,
java.lang.String className) |
CSSStyle |
createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr) |
CSSStyle |
createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr,
java.lang.String className) |
CSSStyle |
createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr) |
CSSStyle |
createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr,
java.lang.String className) |
CSSStyle |
createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr) |
CSSStyle |
createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr,
java.lang.String className) |
CSSStyle |
createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTrPr trPr) |
CSSStyle |
createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTrPr trPr,
java.lang.String className) |
java.lang.String |
getClassNames(java.lang.String styleID) |
java.util.List<CSSStyle> |
getCSSStyles() |
java.lang.String |
getValueAsPoint(float value) |
protected void |
initialize() |
void |
save(org.xml.sax.ContentHandler contentHandler) |
protected void |
visitStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style,
boolean defaultStyle) |
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, setValuepublic CSSStylesDocument(org.apache.poi.xwpf.usermodel.XWPFDocument document,
boolean ignoreStylesIfUnused,
java.lang.Integer indent)
throws org.apache.xmlbeans.XmlException,
java.io.IOException
org.apache.xmlbeans.XmlExceptionjava.io.IOExceptionprotected void initialize()
throws org.apache.xmlbeans.XmlException,
java.io.IOException
initialize in class XWPFStylesDocumentorg.apache.xmlbeans.XmlExceptionjava.io.IOExceptionprotected void visitStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style,
boolean defaultStyle)
visitStyle in class XWPFStylesDocumentpublic CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPrBase pPr)
public CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPrBase pPr, java.lang.String className)
public CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr)
public CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr, java.lang.String className)
public CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr)
public CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr, java.lang.String className)
public CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTrPr trPr)
public CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTrPr trPr, java.lang.String className)
public CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)
public CSSStyle createCSSStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr, java.lang.String className)
public java.util.List<CSSStyle> getCSSStyles()
public void save(org.xml.sax.ContentHandler contentHandler)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic java.lang.String getValueAsPoint(float value)
public java.lang.String getClassNames(java.lang.String styleID)
Copyright © 2022. All Rights Reserved.