Method: Axlsx::HeaderFooter#to_xml_string
- Defined in:
- lib/axlsx/workbook/worksheet/header_footer.rb
#to_xml_string(str = '') ⇒ String
Serializes the header/footer object.
44 45 46 47 48 49 50 |
# File 'lib/axlsx/workbook/worksheet/header_footer.rb', line 44 def to_xml_string(str = '') serialized_tag('headerFooter', str) do serialized_element_attributes(str) do |value| value = ::CGI.escapeHTML(value) end end end |