Interface DifferentialStyleProvider

All Known Subinterfaces:
ConditionalFormattingRule
All Known Implementing Classes:
HSSFConditionalFormattingRule, XSSFConditionalFormattingRule, XSSFDxfStyleProvider

public interface DifferentialStyleProvider
Interface for classes providing differential style definitions, such as conditional format rules and table/pivot table styles.
Since:
3.17 beta 1
  • Method Details

    • getBorderFormatting

      BorderFormatting getBorderFormatting()
      Returns:
      - border formatting object if defined, null otherwise
    • getFontFormatting

      FontFormatting getFontFormatting()
      Returns:
      - font formatting object if defined, null otherwise
    • getNumberFormat

      ExcelNumberFormat getNumberFormat()
      Returns:
      number format defined for this rule, or null if the cell default should be used
    • getPatternFormatting

      PatternFormatting getPatternFormatting()
      Returns:
      - pattern formatting object if defined, null otherwise
    • getStripeSize

      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:
      number of rows/columns in a stripe for stripe styles, 0 for all others