org.apache.poi.xwpf.converter.core.styles
Class XWPFStylesDocument

java.lang.Object
  extended by org.apache.poi.xwpf.converter.core.styles.XWPFStylesDocument
Direct Known Subclasses:
CSSStylesDocument

public class XWPFStylesDocument
extends Object


Field Summary
static Object EMPTY_VALUE
           
 
Constructor Summary
XWPFStylesDocument(org.apache.poi.xwpf.usermodel.XWPFDocument document)
           
XWPFStylesDocument(org.apache.poi.xwpf.usermodel.XWPFDocument document, boolean lazyInitialization)
           
 
Method Summary
 Color getBackgroundColor(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)
           
 Color getBackgroundColor(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr)
           
 Color getBackgroundColor(org.apache.poi.xwpf.usermodel.XWPFParagraph paragraph)
           
 Color getBackgroundColor(org.apache.poi.xwpf.usermodel.XWPFRun run)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTBorder getBorderBottom(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTBorder getBorderBottom(org.apache.poi.xwpf.usermodel.XWPFParagraph docxParagraph)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTBorder getBorderLeft(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTBorder getBorderLeft(org.apache.poi.xwpf.usermodel.XWPFParagraph docxParagraph)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTBorder getBorderRight(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTBorder getBorderRight(org.apache.poi.xwpf.usermodel.XWPFParagraph docxParagraph)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTBorder getBorderTop(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTBorder getBorderTop(org.apache.poi.xwpf.usermodel.XWPFParagraph docxParagraph)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSettings getCTSettings()
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle getDefaultCharacterStyle()
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle getDefaultNumberingStyle()
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle getDefaultParagraphStyle()
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle getDefaultTableStyle()
           
 float getDefaultTabStop()
          17.15.1.25 defaultTabStop (Distance Between Automatic Tab Stops) This element specifies the value which shall be used as the multiplier to generate automatic tab stops in this document.
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTDocDefaults getDocDefaults()
           
 Color getFontColor(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr)
           
 Color getFontColor(org.apache.poi.xwpf.usermodel.XWPFRun run)
           
 String getFontFamilyAscii(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr)
           
 String getFontFamilyAscii(org.apache.poi.xwpf.usermodel.XWPFRun run)
           
 String getFontFamilyEastAsia(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr)
           
 String getFontFamilyEastAsia(org.apache.poi.xwpf.usermodel.XWPFRun run)
           
 String getFontFamilyHAnsi(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr)
           
 String getFontFamilyHAnsi(org.apache.poi.xwpf.usermodel.XWPFRun run)
           
 String getFontNameToUse(String fontName)
           
 List<String> getFontsAltName(String fontName)
           
 List<org.openxmlformats.schemas.wordprocessingml.x2006.main.FontsDocument> getFontsDocument()
           
 Float getFontSize(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr)
           
 Float getFontSize(org.apache.poi.xwpf.usermodel.XWPFRun run)
           
 Boolean getFontStyleBold(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr)
           
 Boolean getFontStyleBold(org.apache.poi.xwpf.usermodel.XWPFRun run)
           
 Boolean getFontStyleItalic(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr)
           
 Boolean getFontStyleItalic(org.apache.poi.xwpf.usermodel.XWPFRun run)
           
 Boolean getFontStyleStrike(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr)
           
 Boolean getFontStyleStrike(org.apache.poi.xwpf.usermodel.XWPFRun run)
           
 Float getIndentationFirstLine(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)
           
 Float getIndentationFirstLine(org.apache.poi.xwpf.usermodel.XWPFParagraph paragraph)
           
 Float getIndentationHanging(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)
           
 Float getIndentationHanging(org.apache.poi.xwpf.usermodel.XWPFParagraph paragraph)
           
 Float getIndentationLeft(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)
           
 Float getIndentationLeft(org.apache.poi.xwpf.usermodel.XWPFParagraph paragraph)
           
 Float getIndentationRight(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)
           
 Float getIndentationRight(org.apache.poi.xwpf.usermodel.XWPFParagraph paragraph)
           
 org.apache.poi.xwpf.usermodel.ParagraphAlignment getParagraphAlignment(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)
           
 org.apache.poi.xwpf.usermodel.ParagraphAlignment getParagraphAlignment(org.apache.poi.xwpf.usermodel.XWPFParagraph paragraph)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTNumPr getParagraphNumPr(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTNumPr getParagraphNumPr(org.apache.poi.xwpf.usermodel.XWPFParagraph docxParagraph)
           
 ParagraphLineSpacing getParagraphSpacing(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)
           
 ParagraphLineSpacing getParagraphSpacing(org.apache.poi.xwpf.usermodel.XWPFParagraph docxParagraph)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTabs getParagraphTabs(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTabs getParagraphTabs(org.apache.poi.xwpf.usermodel.XWPFParagraph docxParagraph)
           
 org.apache.poi.xwpf.usermodel.XWPFSettings getSettings()
           
 Float getSpacingAfter(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)
           
 Float getSpacingAfter(org.apache.poi.xwpf.usermodel.XWPFParagraph docxParagraph)
           
 Float getSpacingBefore(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)
           
 Float getSpacingBefore(org.apache.poi.xwpf.usermodel.XWPFParagraph docxParagraph)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle getStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTString basedOn)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle getStyle(String styleId)
           
 org.apache.poi.xwpf.usermodel.ParagraphAlignment getTableAlignment(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPr tblPr)
           
 org.apache.poi.xwpf.usermodel.ParagraphAlignment getTableAlignment(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr)
           
 org.apache.poi.xwpf.usermodel.ParagraphAlignment getTableAlignment(org.apache.poi.xwpf.usermodel.XWPFTable table)
           
 TableCellBorder getTableBorder(org.apache.poi.xwpf.usermodel.XWPFTable table, BorderSide borderSide)
           
 TableCellBorder getTableBorderBottom(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPr tblPr)
           
 TableCellBorder getTableBorderBottom(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr)
           
 TableCellBorder getTableBorderBottom(org.apache.poi.xwpf.usermodel.XWPFTable table)
           
 TableCellBorder getTableBorderInside(org.apache.poi.xwpf.usermodel.XWPFTable table, BorderSide borderSide)
           
 TableCellBorder getTableBorderInsideH(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPr tblPr)
           
 TableCellBorder getTableBorderInsideH(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr)
           
 TableCellBorder getTableBorderInsideH(org.apache.poi.xwpf.usermodel.XWPFTable table)
           
 TableCellBorder getTableBorderInsideV(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPr tblPr)
           
 TableCellBorder getTableBorderInsideV(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr)
           
 TableCellBorder getTableBorderInsideV(org.apache.poi.xwpf.usermodel.XWPFTable table)
           
 TableCellBorder getTableBorderLeft(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPr tblPr)
           
 TableCellBorder getTableBorderLeft(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr)
           
 TableCellBorder getTableBorderLeft(org.apache.poi.xwpf.usermodel.XWPFTable table)
           
 TableCellBorder getTableBorderRight(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPr tblPr)
           
 TableCellBorder getTableBorderRight(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr)
           
 TableCellBorder getTableBorderRight(org.apache.poi.xwpf.usermodel.XWPFTable table)
           
 TableCellBorder getTableBorderTop(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPr tblPr)
           
 TableCellBorder getTableBorderTop(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr)
           
 TableCellBorder getTableBorderTop(org.apache.poi.xwpf.usermodel.XWPFTable table)
           
 Color getTableCellBackgroundColor(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)
           
 Color getTableCellBackgroundColor(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)
           
 TableCellBorder getTableCellBorder(org.apache.poi.xwpf.usermodel.XWPFTableCell cell, BorderSide borderSide)
           
 TableCellBorder getTableCellBorderBottom(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)
           
 TableCellBorder getTableCellBorderBottom(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)
           
 TableCellBorder getTableCellBorderInside(org.apache.poi.xwpf.usermodel.XWPFTableCell cell, BorderSide borderSide)
           
 TableCellBorder getTableCellBorderInsideH(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)
           
 TableCellBorder getTableCellBorderInsideH(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)
           
 TableCellBorder getTableCellBorderInsideV(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)
           
 TableCellBorder getTableCellBorderInsideV(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)
           
 TableCellBorder getTableCellBorderLeft(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)
           
 TableCellBorder getTableCellBorderLeft(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)
           
 TableCellBorder getTableCellBorderRight(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)
           
 TableCellBorder getTableCellBorderRight(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)
           
 TableCellBorder getTableCellBorderTop(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)
           
 TableCellBorder getTableCellBorderTop(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)
           
 TableCellBorder getTableCellBorderWithConflicts(org.apache.poi.xwpf.usermodel.XWPFTableCell cell, BorderSide borderSide)
          Returns the table cell borders with conflicts.
 BigInteger getTableCellGridSpan(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)
           
 BigInteger getTableCellGridSpan(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)
           
 TableCellInfo getTableCellInfo(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)
           
 Float getTableCellMarginBottom(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)
           
 Float getTableCellMarginBottom(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)
           
 Float getTableCellMarginLeft(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)
           
 Float getTableCellMarginLeft(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)
           
 Float getTableCellMarginRight(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)
           
 Float getTableCellMarginRight(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)
           
 Float getTableCellMarginTop(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)
           
 Float getTableCellMarginTop(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)
           
 Boolean getTableCellNoWrap(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)
           
 Boolean getTableCellNoWrap(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.STVerticalJc.Enum getTableCellVerticalAlignment(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.STMerge.Enum getTableCellVMerge(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.STMerge.Enum getTableCellVMerge(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)
           
 TableWidth getTableCellWith(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)
           
 TableWidth getTableCellWith(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)
           
 Float getTableIndentation(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPr tblPr)
           
 Float getTableIndentation(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr)
           
 Float getTableIndentation(org.apache.poi.xwpf.usermodel.XWPFTable table)
           
 TableInfo getTableInfo(org.apache.poi.xwpf.usermodel.XWPFTable table)
           
 Float getTableMarginBottom(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tcPr)
           
 Float getTableMarginBottom(org.apache.poi.xwpf.usermodel.XWPFTable table)
           
 Float getTableMarginLeft(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tcPr)
           
 Float getTableMarginLeft(org.apache.poi.xwpf.usermodel.XWPFTable table)
           
 Float getTableMarginRight(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tcPr)
           
 Float getTableMarginRight(org.apache.poi.xwpf.usermodel.XWPFTable table)
           
 Float getTableMarginTop(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tcPr)
           
 Float getTableMarginTop(org.apache.poi.xwpf.usermodel.XWPFTable table)
           
 TableHeight getTableRowHeight(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTrPr trPr)
           
 TableHeight getTableRowHeight(org.apache.poi.xwpf.usermodel.XWPFTableRow row)
           
 Float getTableRowMarginBottom(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrEx tblPrEx)
           
 Float getTableRowMarginBottom(org.apache.poi.xwpf.usermodel.XWPFTableRow row)
           
 Float getTableRowMarginLeft(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrEx tblPrEx)
           
 Float getTableRowMarginLeft(org.apache.poi.xwpf.usermodel.XWPFTableRow row)
           
 Float getTableRowMarginRight(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrEx tblPrEx)
           
 Float getTableRowMarginRight(org.apache.poi.xwpf.usermodel.XWPFTableRow row)
           
 Float getTableRowMarginTop(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrEx tblPrEx)
           
 Float getTableRowMarginTop(org.apache.poi.xwpf.usermodel.XWPFTableRow row)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblStylePr getTableStyle(String tableStyleID, org.openxmlformats.schemas.wordprocessingml.x2006.main.STTblStyleOverrideType.Enum type)
           
 TableWidth getTableWidth(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPr tblPr)
           
 TableWidth getTableWidth(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr)
           
 TableWidth getTableWidth(org.apache.poi.xwpf.usermodel.XWPFTable table)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTextDirection getTextDirection(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTextDirection getTextDirection(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)
           
 Color getTextHighlighting(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr)
           
 Color getTextHighlighting(org.apache.poi.xwpf.usermodel.XWPFRun run)
           
 List<org.openxmlformats.schemas.drawingml.x2006.main.ThemeDocument> getThemeDocuments()
           
 org.apache.poi.xwpf.usermodel.UnderlinePatterns getUnderline(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr)
           
 org.apache.poi.xwpf.usermodel.UnderlinePatterns getUnderline(org.apache.poi.xwpf.usermodel.XWPFRun run)
           
<T> T
getValue(String key)
           
protected  void initialize()
           
 boolean isBorderInside(org.apache.poi.xwpf.usermodel.XWPFTableCell cell, BorderSide borderSide)
           
 boolean isTableRowHeader(org.apache.poi.xwpf.usermodel.XWPFTableRow row)
           
 void setFontNameToUse(String fontName, String altFfontName)
           
<T> void
setValue(String key, T value)
           
protected  void visitStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style, boolean defaultStyle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_VALUE

public static final Object EMPTY_VALUE
Constructor Detail

XWPFStylesDocument

public XWPFStylesDocument(org.apache.poi.xwpf.usermodel.XWPFDocument document)
                   throws org.apache.xmlbeans.XmlException,
                          IOException
Throws:
org.apache.xmlbeans.XmlException
IOException

XWPFStylesDocument

public XWPFStylesDocument(org.apache.poi.xwpf.usermodel.XWPFDocument document,
                          boolean lazyInitialization)
                   throws org.apache.xmlbeans.XmlException,
                          IOException
Throws:
org.apache.xmlbeans.XmlException
IOException
Method Detail

initialize

protected void initialize()
                   throws org.apache.xmlbeans.XmlException,
                          IOException
Throws:
org.apache.xmlbeans.XmlException
IOException

visitStyle

protected void visitStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style,
                          boolean defaultStyle)

getDefaultParagraphStyle

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle getDefaultParagraphStyle()

getStyle

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle getStyle(String styleId)

getDocDefaults

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTDocDefaults getDocDefaults()

getSpacingBefore

public Float getSpacingBefore(org.apache.poi.xwpf.usermodel.XWPFParagraph docxParagraph)
Parameters:
docxParagraph -
Returns:

getSpacingBefore

public Float getSpacingBefore(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)

getSpacingAfter

public Float getSpacingAfter(org.apache.poi.xwpf.usermodel.XWPFParagraph docxParagraph)

getSpacingAfter

public Float getSpacingAfter(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)

getIndentationLeft

public Float getIndentationLeft(org.apache.poi.xwpf.usermodel.XWPFParagraph paragraph)

getIndentationLeft

public Float getIndentationLeft(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)

getIndentationRight

public Float getIndentationRight(org.apache.poi.xwpf.usermodel.XWPFParagraph paragraph)

getIndentationRight

public Float getIndentationRight(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)

getIndentationFirstLine

public Float getIndentationFirstLine(org.apache.poi.xwpf.usermodel.XWPFParagraph paragraph)

getIndentationFirstLine

public Float getIndentationFirstLine(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)

getIndentationHanging

public Float getIndentationHanging(org.apache.poi.xwpf.usermodel.XWPFParagraph paragraph)

getIndentationHanging

public Float getIndentationHanging(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)

getBackgroundColor

public Color getBackgroundColor(org.apache.poi.xwpf.usermodel.XWPFParagraph paragraph)

getBackgroundColor

public Color getBackgroundColor(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)

getParagraphAlignment

public org.apache.poi.xwpf.usermodel.ParagraphAlignment getParagraphAlignment(org.apache.poi.xwpf.usermodel.XWPFParagraph paragraph)
Parameters:
paragraph -
Returns:

getParagraphAlignment

public org.apache.poi.xwpf.usermodel.ParagraphAlignment getParagraphAlignment(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)

getBorderTop

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTBorder getBorderTop(org.apache.poi.xwpf.usermodel.XWPFParagraph docxParagraph)

getBorderTop

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTBorder getBorderTop(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)

getBorderBottom

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTBorder getBorderBottom(org.apache.poi.xwpf.usermodel.XWPFParagraph docxParagraph)

getBorderBottom

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTBorder getBorderBottom(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)

getBorderLeft

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTBorder getBorderLeft(org.apache.poi.xwpf.usermodel.XWPFParagraph docxParagraph)

getBorderLeft

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTBorder getBorderLeft(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)

getBorderRight

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTBorder getBorderRight(org.apache.poi.xwpf.usermodel.XWPFParagraph docxParagraph)

getBorderRight

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTBorder getBorderRight(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)

getParagraphTabs

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTabs getParagraphTabs(org.apache.poi.xwpf.usermodel.XWPFParagraph docxParagraph)

getParagraphTabs

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTabs getParagraphTabs(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)

getParagraphSpacing

public ParagraphLineSpacing getParagraphSpacing(org.apache.poi.xwpf.usermodel.XWPFParagraph docxParagraph)

getParagraphSpacing

public ParagraphLineSpacing getParagraphSpacing(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)

getParagraphNumPr

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTNumPr getParagraphNumPr(org.apache.poi.xwpf.usermodel.XWPFParagraph docxParagraph)

getParagraphNumPr

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTNumPr getParagraphNumPr(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr pPr)

getFontFamilyAscii

public String getFontFamilyAscii(org.apache.poi.xwpf.usermodel.XWPFRun run)
Parameters:
run -
Returns:

getFontFamilyAscii

public String getFontFamilyAscii(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr)

getFontFamilyEastAsia

public String getFontFamilyEastAsia(org.apache.poi.xwpf.usermodel.XWPFRun run)

getFontFamilyEastAsia

public String getFontFamilyEastAsia(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr)

getFontFamilyHAnsi

public String getFontFamilyHAnsi(org.apache.poi.xwpf.usermodel.XWPFRun run)

getFontFamilyHAnsi

public String getFontFamilyHAnsi(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr)

getFontSize

public Float getFontSize(org.apache.poi.xwpf.usermodel.XWPFRun run)

getFontSize

public Float getFontSize(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr)

getFontStyleBold

public Boolean getFontStyleBold(org.apache.poi.xwpf.usermodel.XWPFRun run)

getFontStyleBold

public Boolean getFontStyleBold(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr)

getFontStyleItalic

public Boolean getFontStyleItalic(org.apache.poi.xwpf.usermodel.XWPFRun run)

getFontStyleItalic

public Boolean getFontStyleItalic(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr)

getFontStyleStrike

public Boolean getFontStyleStrike(org.apache.poi.xwpf.usermodel.XWPFRun run)

getFontStyleStrike

public Boolean getFontStyleStrike(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr)

getFontColor

public Color getFontColor(org.apache.poi.xwpf.usermodel.XWPFRun run)

getFontColor

public Color getFontColor(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr)

getUnderline

public org.apache.poi.xwpf.usermodel.UnderlinePatterns getUnderline(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr)

getUnderline

public org.apache.poi.xwpf.usermodel.UnderlinePatterns getUnderline(org.apache.poi.xwpf.usermodel.XWPFRun run)

getBackgroundColor

public Color getBackgroundColor(org.apache.poi.xwpf.usermodel.XWPFRun run)

getBackgroundColor

public Color getBackgroundColor(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr)

getTextHighlighting

public Color getTextHighlighting(org.apache.poi.xwpf.usermodel.XWPFRun run)

getTextHighlighting

public Color getTextHighlighting(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rPr)

getTableWidth

public TableWidth getTableWidth(org.apache.poi.xwpf.usermodel.XWPFTable table)
Parameters:
table -
Returns:

getTableWidth

public TableWidth getTableWidth(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPr tblPr)

getTableWidth

public TableWidth getTableWidth(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr)

getTableAlignment

public org.apache.poi.xwpf.usermodel.ParagraphAlignment getTableAlignment(org.apache.poi.xwpf.usermodel.XWPFTable table)

getTableAlignment

public org.apache.poi.xwpf.usermodel.ParagraphAlignment getTableAlignment(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPr tblPr)

getTableAlignment

public org.apache.poi.xwpf.usermodel.ParagraphAlignment getTableAlignment(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr)

getTableIndentation

public Float getTableIndentation(org.apache.poi.xwpf.usermodel.XWPFTable table)

getTableIndentation

public Float getTableIndentation(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPr tblPr)

getTableIndentation

public Float getTableIndentation(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr)

getTableBorderTop

public TableCellBorder getTableBorderTop(org.apache.poi.xwpf.usermodel.XWPFTable table)

getTableBorderTop

public TableCellBorder getTableBorderTop(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPr tblPr)

getTableBorderTop

public TableCellBorder getTableBorderTop(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr)

getTableBorderBottom

public TableCellBorder getTableBorderBottom(org.apache.poi.xwpf.usermodel.XWPFTable table)

getTableBorderBottom

public TableCellBorder getTableBorderBottom(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPr tblPr)

getTableBorderBottom

public TableCellBorder getTableBorderBottom(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr)

getTableBorderLeft

public TableCellBorder getTableBorderLeft(org.apache.poi.xwpf.usermodel.XWPFTable table)

getTableBorderLeft

public TableCellBorder getTableBorderLeft(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPr tblPr)

getTableBorderLeft

public TableCellBorder getTableBorderLeft(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr)

getTableBorderRight

public TableCellBorder getTableBorderRight(org.apache.poi.xwpf.usermodel.XWPFTable table)

getTableBorderRight

public TableCellBorder getTableBorderRight(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPr tblPr)

getTableBorderRight

public TableCellBorder getTableBorderRight(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr)

getTableBorderInsideH

public TableCellBorder getTableBorderInsideH(org.apache.poi.xwpf.usermodel.XWPFTable table)

getTableBorderInsideH

public TableCellBorder getTableBorderInsideH(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPr tblPr)

getTableBorderInsideH

public TableCellBorder getTableBorderInsideH(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr)

getTableBorderInsideV

public TableCellBorder getTableBorderInsideV(org.apache.poi.xwpf.usermodel.XWPFTable table)

getTableBorderInsideV

public TableCellBorder getTableBorderInsideV(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPr tblPr)

getTableBorderInsideV

public TableCellBorder getTableBorderInsideV(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tblPr)

getTableMarginTop

public Float getTableMarginTop(org.apache.poi.xwpf.usermodel.XWPFTable table)

getTableMarginTop

public Float getTableMarginTop(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tcPr)

getTableMarginBottom

public Float getTableMarginBottom(org.apache.poi.xwpf.usermodel.XWPFTable table)

getTableMarginBottom

public Float getTableMarginBottom(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tcPr)

getTableMarginLeft

public Float getTableMarginLeft(org.apache.poi.xwpf.usermodel.XWPFTable table)

getTableMarginLeft

public Float getTableMarginLeft(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tcPr)

getTableMarginRight

public Float getTableMarginRight(org.apache.poi.xwpf.usermodel.XWPFTable table)

getTableMarginRight

public Float getTableMarginRight(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrBase tcPr)

getTableRowHeight

public TableHeight getTableRowHeight(org.apache.poi.xwpf.usermodel.XWPFTableRow row)
Parameters:
row -
Returns:

getTableRowHeight

public TableHeight getTableRowHeight(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTrPr trPr)
Parameters:
cell -
Returns:

getTableRowMarginTop

public Float getTableRowMarginTop(org.apache.poi.xwpf.usermodel.XWPFTableRow row)

getTableRowMarginTop

public Float getTableRowMarginTop(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrEx tblPrEx)

getTableRowMarginBottom

public Float getTableRowMarginBottom(org.apache.poi.xwpf.usermodel.XWPFTableRow row)

getTableRowMarginBottom

public Float getTableRowMarginBottom(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrEx tblPrEx)

getTableRowMarginLeft

public Float getTableRowMarginLeft(org.apache.poi.xwpf.usermodel.XWPFTableRow row)

getTableRowMarginLeft

public Float getTableRowMarginLeft(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrEx tblPrEx)

getTableRowMarginRight

public Float getTableRowMarginRight(org.apache.poi.xwpf.usermodel.XWPFTableRow row)

getTableRowMarginRight

public Float getTableRowMarginRight(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrEx tblPrEx)

isTableRowHeader

public boolean isTableRowHeader(org.apache.poi.xwpf.usermodel.XWPFTableRow row)

getTableCellVerticalAlignment

public org.openxmlformats.schemas.wordprocessingml.x2006.main.STVerticalJc.Enum getTableCellVerticalAlignment(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)
Parameters:
cell -
Returns:

getTableCellBackgroundColor

public Color getTableCellBackgroundColor(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)

getTableCellBackgroundColor

public Color getTableCellBackgroundColor(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)

getTableCellGridSpan

public BigInteger getTableCellGridSpan(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)

getTableCellGridSpan

public BigInteger getTableCellGridSpan(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)

getTableCellWith

public TableWidth getTableCellWith(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)

getTableCellWith

public TableWidth getTableCellWith(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)

getTextDirection

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTextDirection getTextDirection(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)

getTextDirection

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTextDirection getTextDirection(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)

getTableCellVMerge

public org.openxmlformats.schemas.wordprocessingml.x2006.main.STMerge.Enum getTableCellVMerge(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)

getTableCellVMerge

public org.openxmlformats.schemas.wordprocessingml.x2006.main.STMerge.Enum getTableCellVMerge(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)

getTableCellBorderWithConflicts

public TableCellBorder getTableCellBorderWithConflicts(org.apache.poi.xwpf.usermodel.XWPFTableCell cell,
                                                       BorderSide borderSide)
Returns the table cell borders with conflicts.

Parameters:
cell -
borderSide -
Returns:
See Also:
http://officeopenxml.com/WPtableCellBorderConflicts.php

isBorderInside

public boolean isBorderInside(org.apache.poi.xwpf.usermodel.XWPFTableCell cell,
                              BorderSide borderSide)

getTableBorder

public TableCellBorder getTableBorder(org.apache.poi.xwpf.usermodel.XWPFTable table,
                                      BorderSide borderSide)

getTableBorderInside

public TableCellBorder getTableBorderInside(org.apache.poi.xwpf.usermodel.XWPFTable table,
                                            BorderSide borderSide)

getTableCellBorderInside

public TableCellBorder getTableCellBorderInside(org.apache.poi.xwpf.usermodel.XWPFTableCell cell,
                                                BorderSide borderSide)

getTableCellBorder

public TableCellBorder getTableCellBorder(org.apache.poi.xwpf.usermodel.XWPFTableCell cell,
                                          BorderSide borderSide)

getTableCellBorderTop

public TableCellBorder getTableCellBorderTop(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)

getTableCellBorderTop

public TableCellBorder getTableCellBorderTop(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)

getTableCellBorderBottom

public TableCellBorder getTableCellBorderBottom(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)

getTableCellBorderBottom

public TableCellBorder getTableCellBorderBottom(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)

getTableCellBorderLeft

public TableCellBorder getTableCellBorderLeft(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)

getTableCellBorderLeft

public TableCellBorder getTableCellBorderLeft(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)

getTableCellBorderRight

public TableCellBorder getTableCellBorderRight(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)

getTableCellBorderRight

public TableCellBorder getTableCellBorderRight(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)

getTableCellBorderInsideH

public TableCellBorder getTableCellBorderInsideH(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)

getTableCellBorderInsideH

public TableCellBorder getTableCellBorderInsideH(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)

getTableCellBorderInsideV

public TableCellBorder getTableCellBorderInsideV(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)

getTableCellBorderInsideV

public TableCellBorder getTableCellBorderInsideV(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)

getTableCellMarginTop

public Float getTableCellMarginTop(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)

getTableCellMarginTop

public Float getTableCellMarginTop(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)

getTableCellMarginBottom

public Float getTableCellMarginBottom(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)

getTableCellMarginBottom

public Float getTableCellMarginBottom(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)

getTableCellMarginLeft

public Float getTableCellMarginLeft(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)

getTableCellMarginLeft

public Float getTableCellMarginLeft(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)

getTableCellMarginRight

public Float getTableCellMarginRight(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)

getTableCellMarginRight

public Float getTableCellMarginRight(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)

getTableCellNoWrap

public Boolean getTableCellNoWrap(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)

getTableCellNoWrap

public Boolean getTableCellNoWrap(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)

getDefaultCharacterStyle

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle getDefaultCharacterStyle()

getDefaultNumberingStyle

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle getDefaultNumberingStyle()

getDefaultTableStyle

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle getDefaultTableStyle()

getStyle

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle getStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTString basedOn)

getValue

public <T> T getValue(String key)

setValue

public <T> void setValue(String key,
                         T value)

getTableCellInfo

public TableCellInfo getTableCellInfo(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)

getTableInfo

public TableInfo getTableInfo(org.apache.poi.xwpf.usermodel.XWPFTable table)

getTableStyle

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblStylePr getTableStyle(String tableStyleID,
                                                                                         org.openxmlformats.schemas.wordprocessingml.x2006.main.STTblStyleOverrideType.Enum type)

getDefaultTabStop

public float getDefaultTabStop()
17.15.1.25 defaultTabStop (Distance Between Automatic Tab Stops) This element specifies the value which shall be used as the multiplier to generate automatic tab stops in this document. Automatic tab stops refer to the tab stop locations which occur after all custom tab stops in the current paragraph have been surpassed. If this element is omitted, then automatic tab stops should be generated at 720 twentieths of a point (0.5") intervals across the displayed page. [Example: Consider a WordprocessingML document

Returns:

getSettings

public org.apache.poi.xwpf.usermodel.XWPFSettings getSettings()

getCTSettings

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSettings getCTSettings()

getThemeDocuments

public List<org.openxmlformats.schemas.drawingml.x2006.main.ThemeDocument> getThemeDocuments()
                                                                                      throws Exception
Throws:
Exception

getFontsDocument

public List<org.openxmlformats.schemas.wordprocessingml.x2006.main.FontsDocument> getFontsDocument()
                                                                                            throws Exception
Throws:
Exception

getFontsAltName

public List<String> getFontsAltName(String fontName)
                             throws Exception
Throws:
Exception

getFontNameToUse

public String getFontNameToUse(String fontName)

setFontNameToUse

public void setFontNameToUse(String fontName,
                             String altFfontName)


Copyright © 2013. All rights reserved.