public class XSSFDxfStyleProvider extends java.lang.Object implements DifferentialStyleProvider
Constructor and Description |
---|
XSSFDxfStyleProvider(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTDxf dxf, int stripeSize, IndexedColorMap colorMap) |
Modifier and Type | Method and Description |
---|---|
BorderFormatting |
getBorderFormatting() |
FontFormatting |
getFontFormatting() |
ExcelNumberFormat |
getNumberFormat() |
PatternFormatting |
getPatternFormatting() |
int |
getStripeSize()
This is the number of rows or columns in a band or stripe.
(这是条带或条带中的行数或列数。)
|
public XSSFDxfStyleProvider(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTDxf dxf, int stripeSize, IndexedColorMap colorMap)
dxf
-
(dxf -)
stripeSize
- 0 for non-stripe styles, > 1 for stripes
(stripeSize - 0 表示非条纹样式,> 1 表示条纹)
colorMap
-
(颜色映射 -)
public BorderFormatting getBorderFormatting()
getBorderFormatting
in interface
DifferentialStyleProvider
(接口DifferentialStyleProvider中的getBorderFormatting)
null
otherwise
(- 如果定义了边框格式化对象,则返回 null)
public FontFormatting getFontFormatting()
getFontFormatting
in interface
DifferentialStyleProvider
(接口DifferentialStyleProvider中的getFontFormatting)
null
otherwise
(- 如果已定义字体格式化对象,则为 null)
public ExcelNumberFormat getNumberFormat()
getNumberFormat
in interface
DifferentialStyleProvider
(接口 DifferentialStyleProvider 中的 getNumberFormat)
public PatternFormatting getPatternFormatting()
getPatternFormatting
in interface
DifferentialStyleProvider
(接口DifferentialStyleProvider中的getPatternFormatting)
null
otherwise
(- 如果定义了模式格式化对象,则为 null)
public int getStripeSize()
DifferentialStyleProvider
getStripeSize
in interface
DifferentialStyleProvider
(接口 DifferentialStyleProvider 中的 getStripeSize)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.