# File lib/fusioncharts/exporter/fc_exporter_pdf.rb, line 15 def process_export(stream,meta,format) fc_error=nil @pdf_binary=nil begin fc_exporter = Fusioncharts::Exporter::Generator::PDFGenerator.new(stream, meta["width"].to_i, meta["height"].to_i, meta["bgColor"]) # Parameter whether to compress the data or not @pdf_binary=fc_exporter.get_pdf_objects(true) #logger.info "PDF Binary created" rescue Exception => e print "Exception occurred="+e.to_s fc_error= Fusioncharts::Exporter::FcError.new("516") end return @pdf_binary,fc_error!=nil ? fc_error : true end