diff options
| author | Randy Morgan <[email protected]> | 2012-02-23 19:50:16 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-02-23 19:50:16 +0900 |
| commit | f93ac348f13b9cdc8df48e7d566aec1bf03b5ddd (patch) | |
| tree | dcda87833af0c2329c994ce76f1cf69bb934db95 /lib/axlsx/util/constants.rb | |
| parent | d9705fa234819fd640e2e5fdb5422a8d22d8ff3b (diff) | |
| download | caxlsx-f93ac348f13b9cdc8df48e7d566aec1bf03b5ddd.tar.gz caxlsx-f93ac348f13b9cdc8df48e7d566aec1bf03b5ddd.zip | |
worksheet names need to be limited to 31 characters
Diffstat (limited to 'lib/axlsx/util/constants.rb')
| -rw-r--r-- | lib/axlsx/util/constants.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/axlsx/util/constants.rb b/lib/axlsx/util/constants.rb index b2cbad26..e9a0a02a 100644 --- a/lib/axlsx/util/constants.rb +++ b/lib/axlsx/util/constants.rb @@ -224,6 +224,9 @@ module Axlsx # error message for RegexValidator ERR_REGEX = "Invalid Data. %s does not match %s." + # error message for sheets that use a name which is longer than 31 bytes + ERR_SHEET_NAME_TOO_LONG = "Your worksheet name '%s' is too long. Worksheet names must be 31 characters (bytes) or less" + # 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" end |
