Skip to content

Commit

Permalink
Attempt workaround: only emit odd header/footer
Browse files Browse the repository at this point in the history
  • Loading branch information
robheittman committed Jun 24, 2012
1 parent 3b21228 commit c95f1d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/axlsx/workbook/worksheet/header_footer.rb
Expand Up @@ -70,7 +70,8 @@ def right_footer=(v); @right_footer = v; end
# @return [String]
def to_xml_string(str = '')
str << '<headerFooter>'
['even','odd'].each do |which|
# By spec: ['odd','even','all']
['odd'].each do |which|
str << "<#{which}Header>"
if @left_header
str << '&amp;L'
Expand Down

0 comments on commit c95f1d9

Please sign in to comment.