dependabot[bot] on composer
dependabot[bot] on composer
Update dompdf/dompdf requiremen… (compare)
@phpdave Thanks for Reply.
But i noticed that span tag is not working properly inside any other tag like heading tag, paragraph tag and list tag in addHtml() case.
Below is the the code i am fetching from database after replacing template {keywords}. Even Heading tags are also not working for writing doc file. if there is any span tag inside li tag then li content is not printing in word file.
<h1><span style="text-decoration: underline;">LME Copper 3 Month Forward - 2017-01-24 06:30:00 Contract</span></h1>
<p class="MsoNormal" style="font-size: 12.16px;">Furthermore, <span style="font-size: 12.16px;">the mid-January push above a key resistance at 2210, neutralised the bearish intermediate-term trend, shifting the intermediate term outlook to neutral.</span></p>
<ul>
<li>We see an upside bias for 1873; break here aims maybe up to 1900/1910.</li>
<li>But below 1841 opens risk down to <span style="font-size: 12.16px;">1811</span>.</li>
</ul>
Please help me to sort out these issues.
Hello, I'm trying to generate pdf from .docx, however, some style could not be set also most important table data doesnot show inside pdf. it generate blank table.
I use following code
use PhpOffice\PhpWord\IOFactory;
use PhpOffice\PhpWord\PhpWord;
use PhpOffice\PhpWord\TemplateProcessor;
$fileName = base_path('templates').'/'.'FINAL Desk.docx';
$newFilePdf = base_path('templates').'/'.'final_'.time().'.pdf';
Settings::setPdfRendererName('dompdf');
Settings::setPdfRendererPath('.');
$phpWord = IOFactory::load($fileName, 'Word2007');
$phpWord->save($newFilePdf , 'PDF');
.doc
file. Is it just impossible to do this on unix? Seems like the error is related to a microsoft library for reading the fonts within a doc file.is there any way to count the number of lines left before inserting another item
@pascaldls have u got any solutions