org.apache.poi.xwpf.converter.core.styles.paragraph
Class AbstractParagraphValueProvider<Value>

java.lang.Object
  extended by org.apache.poi.xwpf.converter.core.styles.AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFParagraph>
      extended by org.apache.poi.xwpf.converter.core.styles.paragraph.AbstractParagraphValueProvider<Value>
All Implemented Interfaces:
IValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFParagraph>
Direct Known Subclasses:
AbstractIndentationParagraphValueProvider, AbstractParagraphBorderValueProvider, AbstractSpacingParagraphValueProvider, ParagraphAlignmentValueProvider, ParagraphBackgroundColorValueProvider, ParagraphKeepNextValueProvider, ParagraphNumPrValueProvider, ParagraphTabsValueProvider

public abstract class AbstractParagraphValueProvider<Value>
extends AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFParagraph>


Constructor Summary
AbstractParagraphValueProvider()
           
 
Method Summary
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr getCTPPr(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTDocDefaults docDefaults)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr getCTPPr(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr getCTPPr(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblStylePr tblStylePr)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr getCTPPr(org.apache.poi.xwpf.usermodel.XWPFParagraph paragraph)
           
protected  org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle getDefaultStyle(org.apache.poi.xwpf.usermodel.XWPFParagraph element, XWPFStylesDocument styleManager)
           
protected  org.apache.poi.xwpf.usermodel.XWPFTableCell getParentTableCell(org.apache.poi.xwpf.usermodel.XWPFParagraph paragraph)
          Returns the table cell which is the parent of the XWPF element and null otherwise
protected  String[] getStyleID(org.apache.poi.xwpf.usermodel.XWPFParagraph paragraph)
           
abstract  Value getValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr ppr)
           
protected  Value getValueFromDocDefaultsStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTDocDefaults docDefaults, XWPFStylesDocument stylesDocument)
           
 Value getValueFromElement(org.apache.poi.xwpf.usermodel.XWPFParagraph paragraph, XWPFStylesDocument stylesDocument)
           
protected  Value getValueFromStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style, XWPFStylesDocument stylesDocument)
           
protected  Value getValueFromTableStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblStylePr tblStylePr, XWPFStylesDocument stylesDocument)
           
 
Methods inherited from class org.apache.poi.xwpf.converter.core.styles.AbstractValueProvider
getDefaultValue, getKey, getKeyBuffer, getStaticValue, getValue, getValueFromDefaultStyle, getValueFromDocDefaultsStyle, getValueFromStyleIds, getValueFromStyles, internalGetValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractParagraphValueProvider

public AbstractParagraphValueProvider()
Method Detail

getCTPPr

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr getCTPPr(org.apache.poi.xwpf.usermodel.XWPFParagraph paragraph)

getCTPPr

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr getCTPPr(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style)

getCTPPr

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr getCTPPr(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblStylePr tblStylePr)

getCTPPr

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr getCTPPr(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTDocDefaults docDefaults)

getValueFromElement

public Value getValueFromElement(org.apache.poi.xwpf.usermodel.XWPFParagraph paragraph,
                                 XWPFStylesDocument stylesDocument)
Specified by:
getValueFromElement in class AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFParagraph>

getValueFromStyle

protected Value getValueFromStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style,
                                  XWPFStylesDocument stylesDocument)
Specified by:
getValueFromStyle in class AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFParagraph>

getValueFromTableStyle

protected Value getValueFromTableStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblStylePr tblStylePr,
                                       XWPFStylesDocument stylesDocument)
Specified by:
getValueFromTableStyle in class AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFParagraph>

getValueFromDocDefaultsStyle

protected Value getValueFromDocDefaultsStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTDocDefaults docDefaults,
                                             XWPFStylesDocument stylesDocument)
Specified by:
getValueFromDocDefaultsStyle in class AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFParagraph>

getValue

public abstract Value getValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr ppr)

getStyleID

protected String[] getStyleID(org.apache.poi.xwpf.usermodel.XWPFParagraph paragraph)
Specified by:
getStyleID in class AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFParagraph>

getDefaultStyle

protected org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle getDefaultStyle(org.apache.poi.xwpf.usermodel.XWPFParagraph element,
                                                                                         XWPFStylesDocument styleManager)
Specified by:
getDefaultStyle in class AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFParagraph>

getParentTableCell

protected org.apache.poi.xwpf.usermodel.XWPFTableCell getParentTableCell(org.apache.poi.xwpf.usermodel.XWPFParagraph paragraph)
Description copied from class: AbstractValueProvider
Returns the table cell which is the parent of the XWPF element and null otherwise

Specified by:
getParentTableCell in class AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFParagraph>
Returns:


Copyright © 2013. All rights reserved.