class Axlsx::IconSet
@see ConditionalFormattingRule#initialize
@see Worksheet#add_conditional_formatting
@note The recommended way to manage these rules is via Worksheet#add_conditional_formatting
def iconSet=(v); Axlsx::validate_icon_set(v); @iconSet = v end
- See: iconSet -
def iconSet=(v); Axlsx::validate_icon_set(v); @iconSet = v end
def initialize(options = {})
(**options)-
showValue(Boolean) -- -
percent(Boolean) -- -
reverse(Boolean) -- -
iconSet(String) --
def initialize(options = {}) @percent = @showValue = true @reverse = false @iconSet = "3TrafficLights1" initialize_value_objects parse_options options yield self if block_given? end
def initialize_value_objects
Initalize the simple typed list of value objects
def initialize_value_objects @value_objects = SimpleTypedList.new Cfvo @value_objects.concat [Cfvo.new(:type => :percent, :val => 0), Cfvo.new(:type => :percent, :val => 33), Cfvo.new(:type => :percent, :val => 67)] @value_objects.lock end
def percent=(v); Axlsx.validate_boolean(v); @percent = v end
- See: percent -
def percent=(v); Axlsx.validate_boolean(v); @percent = v end
def reverse=(v); Axlsx.validate_boolean(v); @reverse = v end
- See: reverse -
def reverse=(v); Axlsx.validate_boolean(v); @reverse = v end
def showValue=(v); Axlsx.validate_boolean(v); @showValue = v end
- See: showValue -
def showValue=(v); Axlsx.validate_boolean(v); @showValue = v end
def to_xml_string(str = "")
-
(String)-
Parameters:
-
str(String) --
def to_xml_string(str = "") serialized_tag('iconSet', str) do @value_objects.each { |cfvo| cfvo.to_xml_string(str) } end end