Class: Openoffice::Font
- Inherits:
-
Object
- Object
- Openoffice::Font
- Defined in:
- lib/roo/openoffice.rb
Instance Attribute Summary (collapse)
-
- (Object) bold
Returns the value of attribute bold.
-
- (Object) italic
Returns the value of attribute italic.
-
- (Object) underline
Returns the value of attribute underline.
Instance Method Summary (collapse)
Instance Attribute Details
- (Object) bold
Returns the value of attribute bold
110 111 112 |
# File 'lib/roo/openoffice.rb', line 110 def bold @bold end |
- (Object) italic
Returns the value of attribute italic
110 111 112 |
# File 'lib/roo/openoffice.rb', line 110 def italic @italic end |
- (Object) underline
Returns the value of attribute underline
110 111 112 |
# File 'lib/roo/openoffice.rb', line 110 def underline @underline end |
Instance Method Details
- (Boolean) bold?
112 113 114 |
# File 'lib/roo/openoffice.rb', line 112 def bold? @bold == 'bold' end |
- (Boolean) italic?
116 117 118 |
# File 'lib/roo/openoffice.rb', line 116 def italic? @italic == 'italic' end |
- (Boolean) underline?
120 121 122 |
# File 'lib/roo/openoffice.rb', line 120 def underline? @underline != nil end |