summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-02-12 21:15:12 +0900
committerRandy Morgan <[email protected]>2012-02-12 21:15:12 +0900
commitee73010db0c473472cde0f0ed12bae9428b6d84e (patch)
tree0c44f067f3d4b957a030346a5800107a157d6f60 /lib
parentdc9d2b37e4287d4fc650215fba50c7fe3631aee4 (diff)
downloadcaxlsx-ee73010db0c473472cde0f0ed12bae9428b6d84e.tar.gz
caxlsx-ee73010db0c473472cde0f0ed12bae9428b6d84e.zip
small optimization and readme update.
Diffstat (limited to 'lib')
-rw-r--r--lib/axlsx/workbook/workbook.rb6
-rw-r--r--lib/axlsx/workbook/worksheet/cell.rb1
2 files changed, 3 insertions, 4 deletions
diff --git a/lib/axlsx/workbook/workbook.rb b/lib/axlsx/workbook/workbook.rb
index b9db0a45..e2a8e73e 100644
--- a/lib/axlsx/workbook/workbook.rb
+++ b/lib/axlsx/workbook/workbook.rb
@@ -96,10 +96,8 @@ require 'axlsx/workbook/shared_strings_table.rb'
#end
# Creates a new Workbook
- #
- # @option options [Boolean] date1904. If this is not specified, we try to determine if the platform is bsd/darwin and set date1904 to true automatically.
- # @option
- #
+ # The recomended way to work with workbooks is via Package#workbook
+ # @option options [Boolean] date1904. If this is not specified, we try to determine if the platform is bsd/darwin and set date1904 to true automatically.
def initialize(options={})
@styles = Styles.new
@worksheets = SimpleTypedList.new Worksheet
diff --git a/lib/axlsx/workbook/worksheet/cell.rb b/lib/axlsx/workbook/worksheet/cell.rb
index 728bc22f..5ca5b759 100644
--- a/lib/axlsx/workbook/worksheet/cell.rb
+++ b/lib/axlsx/workbook/worksheet/cell.rb
@@ -24,6 +24,7 @@ module Axlsx
class Cell
+ # An array of available inline styes.
INLINE_STYLES = ['value', 'type', 'font_name', 'charset',
'family', 'b', 'i', 'strike','outline',
'shadow', 'condense', 'extend', 'u',