diff options
author | Martin Gütlein <martin.guetlein@gmail.com> | 2009-11-25 12:40:12 +0100 |
---|---|---|
committer | Martin Gütlein <martin.guetlein@gmail.com> | 2009-11-25 12:40:12 +0100 |
commit | 4e76efe724aa723e1f79fb09d4e908323720f1de (patch) | |
tree | 864bd7f58eaa748bbd143e4b4dcd3ff6e4885ffc /report/xml_report.rb | |
parent | db65b03dc761f7788dad5bdbfd9e0d7e8376f6cb (diff) |
set content-tpye when accessing ressources, check report types, ...
Diffstat (limited to 'report/xml_report.rb')
-rw-r--r-- | report/xml_report.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/report/xml_report.rb b/report/xml_report.rb index 4c97505..be66851 100644 --- a/report/xml_report.rb +++ b/report/xml_report.rb @@ -84,8 +84,8 @@ class Reports::XMLReport media = Element.new("mediaobject") image = Element.new("imageobject") imagedata = Reports::XMLReportUtil.attribute_element("imagedata",{"contentwidth" => "75%", "fileref" => path, "format"=>filetype}) + #imagedata = Reports::XMLReportUtil.attribute_element("imagedata",{"width" => "6in", "fileref" => path, "format"=>filetype}) @resource_path_elements[imagedata] = "fileref" - #imagedata = XMLReportUtil.attribute_element("imagedata",{"width" => "6in", "fileref" => path, "format"=>filetype}) image << imagedata media << image media << Reports::XMLReportUtil.text_element("caption", caption) if caption |