org.apache.poi.xssf.usermodel
Class XSSFDxfStyleProvider

java.lang.Object
  extended by org.apache.poi.xssf.usermodel.XSSFDxfStyleProvider
All Implemented Interfaces:
DifferentialStyleProvider

public class XSSFDxfStyleProvider
extends java.lang.Object
implements DifferentialStyleProvider

Style based on a dxf record - e.g. table style element or conditional formatting rule


Constructor Summary
XSSFDxfStyleProvider(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTDxf dxf, int stripeSize, IndexedColorMap colorMap)
           
 
Method Summary
 BorderFormatting getBorderFormatting()
           
 FontFormatting getFontFormatting()
           
 ExcelNumberFormat getNumberFormat()
           
 PatternFormatting getPatternFormatting()
           
 int getStripeSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSSFDxfStyleProvider

public XSSFDxfStyleProvider(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTDxf dxf,
                            int stripeSize,
                            IndexedColorMap colorMap)
Parameters:
dxf -
stripeSize - 0 for non-stripe styles, > 1 for stripes
colorMap -
Method Detail

getBorderFormatting

public BorderFormatting getBorderFormatting()
Specified by:
getBorderFormatting in interface DifferentialStyleProvider

getFontFormatting

public FontFormatting getFontFormatting()
Specified by:
getFontFormatting in interface DifferentialStyleProvider

getNumberFormat

public ExcelNumberFormat getNumberFormat()
Specified by:
getNumberFormat in interface DifferentialStyleProvider

getPatternFormatting

public PatternFormatting getPatternFormatting()
Specified by:
getPatternFormatting in interface DifferentialStyleProvider

getStripeSize

public int getStripeSize()
Specified by:
getStripeSize in interface DifferentialStyleProvider