org.apache.poi.xwpf.converter.core.styles.run
Class RunFontFamilyValueProvider

java.lang.Object
  extended by org.apache.poi.xwpf.converter.core.styles.AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFRun>
      extended by org.apache.poi.xwpf.converter.core.styles.run.AbstractRunValueProvider<String>
          extended by org.apache.poi.xwpf.converter.core.styles.run.RunFontFamilyValueProvider
All Implemented Interfaces:
IValueProvider<String,org.apache.poi.xwpf.usermodel.XWPFRun>
Direct Known Subclasses:
RunFontFamilyAsciiValueProvider, RunFontFamilyEastAsiaValueProvider, RunFontFamilyHAnsiValueProvider

public abstract class RunFontFamilyValueProvider
extends AbstractRunValueProvider<String>


Constructor Summary
RunFontFamilyValueProvider()
           
 
Method Summary
protected abstract  String getFamily(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTFonts fonts)
           
protected abstract  org.openxmlformats.schemas.wordprocessingml.x2006.main.STTheme.Enum getTheme(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTFonts fonts)
           
 String getValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr ppr, XWPFStylesDocument stylesDocument)
           
protected  String getValueFromDocDefaultsStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTDocDefaults docDefaults, XWPFStylesDocument stylesDocument)
           
 
Methods inherited from class org.apache.poi.xwpf.converter.core.styles.run.AbstractRunValueProvider
getDefaultStyle, getParentTableCell, getRPr, getRPr, getRPr, getRPr, getStyleID, getValueFromElement, getValueFromStyle, getValueFromTableStyle
 
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

RunFontFamilyValueProvider

public RunFontFamilyValueProvider()
Method Detail

getValue

public String getValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr ppr,
                       XWPFStylesDocument stylesDocument)
Specified by:
getValue in class AbstractRunValueProvider<String>

getValueFromDocDefaultsStyle

protected String getValueFromDocDefaultsStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTDocDefaults docDefaults,
                                              XWPFStylesDocument stylesDocument)
Overrides:
getValueFromDocDefaultsStyle in class AbstractRunValueProvider<String>

getTheme

protected abstract org.openxmlformats.schemas.wordprocessingml.x2006.main.STTheme.Enum getTheme(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTFonts fonts)

getFamily

protected abstract String getFamily(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTFonts fonts)


Copyright © 2013. All rights reserved.