Module | Spreadsheet::Datatypes |
In: |
lib/spreadsheet/datatypes.rb
|
This module defines convenience-methods for the definition of Spreadsheet attributes (boolean, colors and enumerations)
COLORS | = | [ :builtin_black, :builtin_white, :builtin_red, :builtin_green, :builtin_blue, :builtin_yellow, :builtin_magenta, :builtin_cyan, :text, :border, :pattern_bg, :dialog_bg, :chart_text, :chart_bg, :chart_border, :tooltip_bg, :tooltip_text, :aqua, :black, :blue, :cyan, :brown, :fuchsia, :gray, :grey, :green, :lime, :magenta, :navy, :orange, :purple, :red, :silver, :white, :yellow ] | Valid colors for color attributes. |
Define instance methods to read and write color attributes. For valid colors see COLORS
Define instance methods to read and write enumeration attributes.