Package org.apache.poi.xssf.usermodel
Class XSSFDxfStyleProvider
- java.lang.Object
 - 
- 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
Constructors Constructor Description XSSFDxfStyleProvider(CTDxf dxf, int stripeSize, IndexedColorMap colorMap) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BorderFormattinggetBorderFormatting()FontFormattinggetFontFormatting()ExcelNumberFormatgetNumberFormat()PatternFormattinggetPatternFormatting()intgetStripeSize()This is the number of rows or columns in a band or stripe. 
 - 
 
- 
- 
Constructor Detail
- 
XSSFDxfStyleProvider
public XSSFDxfStyleProvider(CTDxf dxf, int stripeSize, IndexedColorMap colorMap)
- Parameters:
 dxf-stripeSize- 0 for non-stripe styles, > 1 for stripescolorMap-
 
 - 
 
- 
Method Detail
- 
getBorderFormatting
public BorderFormatting getBorderFormatting()
- Specified by:
 getBorderFormattingin interfaceDifferentialStyleProvider- Returns:
 - - border formatting object  if defined,  
nullotherwise 
 
- 
getFontFormatting
public FontFormatting getFontFormatting()
- Specified by:
 getFontFormattingin interfaceDifferentialStyleProvider- Returns:
 - - font formatting object  if defined,  
nullotherwise 
 
- 
getNumberFormat
public ExcelNumberFormat getNumberFormat()
- Specified by:
 getNumberFormatin interfaceDifferentialStyleProvider- Returns:
 - number format defined for this rule, or null if the cell default should be used
 
 
- 
getPatternFormatting
public PatternFormatting getPatternFormatting()
- Specified by:
 getPatternFormattingin interfaceDifferentialStyleProvider- Returns:
 - - pattern formatting object if defined, 
nullotherwise 
 
- 
getStripeSize
public int getStripeSize()
Description copied from interface:DifferentialStyleProviderThis is the number of rows or columns in a band or stripe. For styles that represent stripes, it must be > 1, for all others it is 0. Not the greatest overloading by the OOXML spec.- Specified by:
 getStripeSizein interfaceDifferentialStyleProvider- Returns:
 - number of rows/columns in a stripe for stripe styles, 0 for all others
 
 
 - 
 
 -