Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines
Generally html and css are not perfect for placing text or image exactly inch by inch like in printing or using word processor. Your idea of using world processor to PDF then merging with reports is great. A possible solution is exporting your report to PDF, then using some popular PDF packages like:
https://packagist.org/packages/iio/libmergepdf
or:
https://packagist.org/packages/jurosh/pdf-merge
to merge the report's PDF with your word's PDF for a final result and output it for users to download to their machines / mobile devices.
Thanks. I already use soffice to convert word documents to png files. Koolreport displays the png files fine as one of the columns of a report with this code:
Table::create(array(
"dataStore" => $this->dataStore("ppts"),
"showFooter" => true,
"columns" => array(
"last_date_modified"=>array("label"=>"date of document"),
"description",
"reason",
"business_component",
"thumbnail_url" => array("label"=>"substantiation",
"formatValue"=> "<img width='500px' height='400px' src='".base_url()."/@value' />"
),
),
"cssClass"=>array(
"table"=>"table-bordered table-striped table-hover"
)
));
Is there anyway to display this same .png wthout a Table?
Let KoolReport help you to make great reports. It's free & open-source released under MIT license.
Download KoolReport View demo