summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/util/constants.rb
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-09-25 09:34:17 +0900
committerRandy Morgan <[email protected]>2012-09-25 09:34:17 +0900
commit3178c786043537c0130af2955d29d01ec5fa4dd8 (patch)
treea836f46aa47e99176e028ccd8027f88105c0c082 /lib/axlsx/util/constants.rb
parente73bd501eb15106daeb4cf9830991a8181835b06 (diff)
downloadcaxlsx-3178c786043537c0130af2955d29d01ec5fa4dd8.tar.gz
caxlsx-3178c786043537c0130af2955d29d01ec5fa4dd8.zip
more work on deep autofilter implementation
Adding in Filters, Filter, DateGroupItem and FilterColumns. Still needs more specs/docs but we are almost there.
Diffstat (limited to 'lib/axlsx/util/constants.rb')
-rw-r--r--lib/axlsx/util/constants.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/axlsx/util/constants.rb b/lib/axlsx/util/constants.rb
index 28460e8b..a83f76e6 100644
--- a/lib/axlsx/util/constants.rb
+++ b/lib/axlsx/util/constants.rb
@@ -263,11 +263,14 @@ module Axlsx
# error message for RegexValidator
ERR_REGEX = "Invalid Data. %s does not match %s."
+ # error message for RangeValidator
+ ERR_RANGE = "Invalid Data. %s must be between %s and %s, (inclusive:%s) you gave: %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 sheets that use a name which includes a colon
-
+
ERR_SHEET_NAME_COLON_FORBIDDEN = "Your worksheet name '%s' contains a colon, which is not allowed by MS Excel and will cause repair warnings. Please change the name of your sheet."
# error message for duplicate sheet names