diff options
| author | Randy Morgan <[email protected]> | 2012-04-23 09:38:49 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-04-23 09:38:49 +0900 |
| commit | 372fb7b2fe3408e8aab9b1b4ae5285aa98a8a945 (patch) | |
| tree | 1a67fcc7cd7135fb6da182ddee06e094f2ff6540 /lib/axlsx/util | |
| parent | 050f4cfac1b3a52da16b98f3a494083f0de5348f (diff) | |
| download | caxlsx-372fb7b2fe3408e8aab9b1b4ae5285aa98a8a945.tar.gz caxlsx-372fb7b2fe3408e8aab9b1b4ae5285aa98a8a945.zip | |
first stage refactoring for Style#add_style [inprogress]
Diffstat (limited to 'lib/axlsx/util')
| -rw-r--r-- | lib/axlsx/util/constants.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/axlsx/util/constants.rb b/lib/axlsx/util/constants.rb index c37b596a..4ec6f4d6 100644 --- a/lib/axlsx/util/constants.rb +++ b/lib/axlsx/util/constants.rb @@ -232,4 +232,11 @@ module Axlsx # error message for duplicate sheet names ERR_DUPLICATE_SHEET_NAME = "There is already a worksheet in this workbook named '%s'. Please use a unique name" + # error message when user does not provide color and or style options for border in Style#add_sytle + ERR_INVALID_BORDER_OPTIONS = "border hash must include both style and color. e.g. :border => { :color => 'FF000000', :style => :thin }. You provided: %s" + + ERR_INVALID_DXF_BORDER_OPTIONS = "border options required for dxf style stypes. e.g. :border => { :color => 'FF000000', :style => :thin }. You provided: %s" + + ERR_INVALID_BORDER_ID = "The border id you specified (%s) does not exist. Please add a border with Style#add_style before referencing its index." + end |
