Top Description Methods
org.apache.poi.ss.usermodel

public Interface DifferentialStyleProvider

Known Direct Subinterfaces
org.apache.poi.ss.usermodel.ConditionalFormattingRule

Interface for classes providing differential style definitions, such as conditional format rules and table/pivot table styles.
Since
3.17 beta 1

Method Summary

Modifier and TypeMethod and Description
public BorderFormatting

Returns:

- border formatting object if defined, null otherwise
getBorderFormatting
()

public FontFormatting

Returns:

- font formatting object if defined, null otherwise
getFontFormatting
()

public ExcelNumberFormat

Returns:

number format defined for this rule, or null if the cell default should be used
getNumberFormat
()

public PatternFormatting

Returns:

- pattern formatting object if defined, null otherwise
getPatternFormatting
()

public int

Returns:

number of rows/columns in a stripe for stripe styles, 0 for all others
getStripeSize
()

This is the number of rows or columns in a band or stripe.

Method Detail

getBorderFormattingback to summary
public BorderFormatting getBorderFormatting()
Returns:BorderFormatting

- border formatting object if defined, null otherwise

getFontFormattingback to summary
public FontFormatting getFontFormatting()
Returns:FontFormatting

- font formatting object if defined, null otherwise

getNumberFormatback to summary
public ExcelNumberFormat getNumberFormat()
Returns:ExcelNumberFormat

number format defined for this rule, or null if the cell default should be used

getPatternFormattingback to summary
public PatternFormatting getPatternFormatting()
Returns:PatternFormatting

- pattern formatting object if defined, null otherwise

getStripeSizeback to summary
public int getStripeSize()

This 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.

Returns:int

number of rows/columns in a stripe for stripe styles, 0 for all others