org.apache.poi.xwpf.converter.core.styles.paragraph
Class AbstractSpacingParagraphValueProvider<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>
          extended by org.apache.poi.xwpf.converter.core.styles.paragraph.AbstractSpacingParagraphValueProvider<Value>
All Implemented Interfaces:
IValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFParagraph>
Direct Known Subclasses:
ParagraphLineSpacingValueProvider, ParagraphSpacingAfterValueProvider, ParagraphSpacingBeforeValueProvider

public abstract class AbstractSpacingParagraphValueProvider<Value>
extends AbstractParagraphValueProvider<Value>


Constructor Summary
AbstractSpacingParagraphValueProvider()
           
 
Method Summary
protected  StringBuilder getKeyBuffer(org.apache.poi.xwpf.usermodel.XWPFParagraph element, XWPFStylesDocument stylesDocument, String styleId, org.openxmlformats.schemas.wordprocessingml.x2006.main.STTblStyleOverrideType.Enum type)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSpacing getSpacing(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr ppr)
           
 Value getValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr ppr)
           
protected abstract  Value getValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSpacing ind)
           
 
Methods inherited from class org.apache.poi.xwpf.converter.core.styles.paragraph.AbstractParagraphValueProvider
getCTPPr, getCTPPr, getCTPPr, getCTPPr, getDefaultStyle, getParentTableCell, getStyleID, getValueFromDocDefaultsStyle, getValueFromElement, getValueFromStyle, getValueFromTableStyle
 
Methods inherited from class org.apache.poi.xwpf.converter.core.styles.AbstractValueProvider
getDefaultValue, getKey, 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

AbstractSpacingParagraphValueProvider

public AbstractSpacingParagraphValueProvider()
Method Detail

getValue

public Value getValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr ppr)
Specified by:
getValue in class AbstractParagraphValueProvider<Value>

getSpacing

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSpacing getSpacing(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPr ppr)

getKeyBuffer

protected StringBuilder getKeyBuffer(org.apache.poi.xwpf.usermodel.XWPFParagraph element,
                                     XWPFStylesDocument stylesDocument,
                                     String styleId,
                                     org.openxmlformats.schemas.wordprocessingml.x2006.main.STTblStyleOverrideType.Enum type)
Overrides:
getKeyBuffer in class AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFParagraph>

getValue

protected abstract Value getValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSpacing ind)


Copyright © 2013. All rights reserved.