Class: Openoffice::Font
- Inherits:
-
Object
- Object
- Openoffice::Font
- Defined in:
- lib/roo/openoffice.rb
Instance Attribute Summary collapse
-
#bold ⇒ Object
Returns the value of attribute bold.
-
#italic ⇒ Object
Returns the value of attribute italic.
-
#underline ⇒ Object
Returns the value of attribute underline.
Instance Method Summary collapse
Instance Attribute Details
#bold ⇒ Object
Returns the value of attribute bold.
130 131 132 |
# File 'lib/roo/openoffice.rb', line 130 def bold @bold end |
#italic ⇒ Object
Returns the value of attribute italic.
130 131 132 |
# File 'lib/roo/openoffice.rb', line 130 def italic @italic end |
#underline ⇒ Object
Returns the value of attribute underline.
130 131 132 |
# File 'lib/roo/openoffice.rb', line 130 def underline @underline end |
Instance Method Details
#bold? ⇒ Boolean
132 133 134 |
# File 'lib/roo/openoffice.rb', line 132 def bold? @bold == 'bold' end |
#italic? ⇒ Boolean
136 137 138 |
# File 'lib/roo/openoffice.rb', line 136 def italic? @italic == 'italic' end |
#underline? ⇒ Boolean
140 141 142 |
# File 'lib/roo/openoffice.rb', line 140 def underline? @underline != nil end |