Class: OpenXml::DrawingML::Properties::BulletSizePercent
- Inherits:
-
ValueProperty
- Object
- Properties::ValueProperty
- ValueProperty
- OpenXml::DrawingML::Properties::BulletSizePercent
- Defined in:
- lib/openxml/drawingml/properties/bullet_size_percent.rb
Instance Method Summary collapse
Instance Method Details
#invalid_message ⇒ Object
13 14 15 |
# File 'lib/openxml/drawingml/properties/bullet_size_percent.rb', line 13 def "Invalid bullet_size_percent: value must be a percentage between 25% and 400%" end |
#valid? ⇒ Boolean
8 9 10 11 |
# File 'lib/openxml/drawingml/properties/bullet_size_percent.rb', line 8 def valid? # ST_TextBulletSizePercent - Part 1, section 20.1.10.61 /0*((2[5-9])|([3-9][0-9])|([1-3][0-9][0-9])|400)%/ =~ value end |