summaryrefslogtreecommitdiffstats
path: root/lib/roo/font.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/roo/font.rb')
-rw-r--r--lib/roo/font.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/roo/font.rb b/lib/roo/font.rb
new file mode 100644
index 0000000..40e9c55
--- /dev/null
+++ b/lib/roo/font.rb
@@ -0,0 +1,17 @@
+module Roo
+ class Font
+ attr_accessor :bold, :italic, :underline
+
+ def bold?
+ @bold
+ end
+
+ def italic?
+ @italic
+ end
+
+ def underline?
+ @underline
+ end
+ end
+end