I have a template in ODT and I want to write something in the footer
of every pages. I can add it to the template, but when I process with
Ruby, the footer disappear.
I'm still using Documatic to render odt file.
here is my call to render the template:
options = Ruport::Controller::Options.new( :template_file =>
tmp_filename,
:output_file => filename_base )
Documatic::OpenDocumentText::Template.process_template(
:options => options,
:data => { 'data' => @data} )
So, is there a way to write something in the footer of an ODT using
Documatic ? and what can I do to make my code Ruport complient ?
Thanks for Help
Have you created the footer in your ODT doc? Have you added (and
properly formatted, eg. as "Ruby Value") into the footer the code
needed?
This is whai I have in the footer section of my ODT:
This is statically inserted in the footer:
data['data_footer'] - the end.
where:
data['data_footer']
is formatted as "Ruby Value" character style.
Hope this will Help!
Antonio Liccardo