summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/workbook/workbook.rb
diff options
context:
space:
mode:
authorJurriaan Pruis <[email protected]>2014-03-01 21:17:25 +0100
committerJurriaan Pruis <[email protected]>2014-03-01 21:17:25 +0100
commit043dc9ad9a807c9011821840cd3f43ca71456c2e (patch)
tree6396b045e3fc3302a53d82dbcbcff408efd1662e /lib/axlsx/workbook/workbook.rb
parent852586d08d757204f7b2ad424e273518ff17892c (diff)
downloadcaxlsx-043dc9ad9a807c9011821840cd3f43ca71456c2e.tar.gz
caxlsx-043dc9ad9a807c9011821840cd3f43ca71456c2e.zip
Implemented RichText (multiple text runs)
and added multiline autowidth for both RichText and normal strings
Diffstat (limited to 'lib/axlsx/workbook/workbook.rb')
-rw-r--r--lib/axlsx/workbook/workbook.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/axlsx/workbook/workbook.rb b/lib/axlsx/workbook/workbook.rb
index 040628d3..784ee0b4 100644
--- a/lib/axlsx/workbook/workbook.rb
+++ b/lib/axlsx/workbook/workbook.rb
@@ -5,6 +5,8 @@ require 'axlsx/workbook/worksheet/auto_filter/auto_filter.rb'
require 'axlsx/workbook/worksheet/date_time_converter.rb'
require 'axlsx/workbook/worksheet/protected_range.rb'
require 'axlsx/workbook/worksheet/protected_ranges.rb'
+require 'axlsx/workbook/worksheet/rich_text_run'
+require 'axlsx/workbook/worksheet/rich_text'
require 'axlsx/workbook/worksheet/cell_serializer.rb'
require 'axlsx/workbook/worksheet/cell.rb'
require 'axlsx/workbook/worksheet/page_margins.rb'
@@ -292,7 +294,7 @@ require 'axlsx/workbook/worksheet/selection.rb'
end
r << Relationship.new(self, STYLES_R, STYLES_PN)
if use_shared_strings
- r << Relationship.new(self, SHARED_STRINGS_R, SHARED_STRINGS_PN)
+ r << Relationship.new(self, SHARED_STRINGS_R, SHARED_STRINGS_PN)
end
r
end