Class ConditionalFormattingExpressionRule


  • public class ConditionalFormattingExpressionRule
    extends ConditionalFormattingRule
    A ConditionalFormattingExpressionRule defines a conditional formatting rule for a worksheet of type = "expression"
    • Constructor Detail

      • ConditionalFormattingExpressionRule

        public ConditionalFormattingExpressionRule​(String expression,
                                                   boolean stopIfTrue)
        Constructor
        Parameters:
        expression - When the expression evaluates to true, the specified style is applied
        stopIfTrue - True indicates no rules with lower priority shall be applied over this rule, when this rule evaluates to true
    • Method Detail

      • write

        public void write​(org.dhatim.fastexcel.Writer w)
                   throws IOException
        Write this conditionalFormatting as an XML element.
        Parameters:
        w - Output writer.
        Throws:
        IOException - If an I/O error occurs.