lib/write_xlsx/package/app.rb in write_xlsx-0.85.11 vs lib/write_xlsx/package/app.rb in write_xlsx-0.86.0
- old
+ new
@@ -30,10 +30,11 @@
write_titles_of_parts
write_manager
write_company
write_links_up_to_date
write_shared_doc
+ write_hyperlink_base
write_hyperlinks_changed
write_app_version
end
end
end
@@ -216,9 +217,20 @@
#
def write_shared_doc
data = 'false'
@writer.data_element('SharedDoc', data)
+ end
+
+ #
+ # Write the <HyperlinkBase> element.
+ #
+ def write_hyperlink_base
+ data = @properties[:hyperlink_base]
+
+ return unless data
+
+ @writer.data_element('HyperlinkBase', data)
end
#
# Write the <HyperlinksChanged> element.
#