Hi guys!
CreateDocxFromTemplate central part pf header and footer image not showing, how i can implement template with all header and footer?
Hi guys!
CreateDocxFromTemplate central part pf header and footer image not showing, how i can implement template with all header and footer?
Hello,
Sorry but we don't understand your question, please explain it in more detail. When you load a template using CreateDocxFromTemplate no content is changed unless you replace placeholders or use DOCXPath:
https://www.phpdocx.com/documentation/practical/working-with-templates
https://www.phpdocx.com/documentation/introduction/docxpath
Regards.
I have image in header and fotter on full width, but then i make a createdocxfromtemplate - i have it cutted (no center part of image) - only text - but no image
https://crm.oooleader.ru/2.png - i have such template
https://crm.oooleader.ru/1.png - if i use createfromtemplate and save - i have cutted center part
Hello,
CreateDocxFromTemplate doesn't do any change to the template unless some method is called. What code are you running after opening the template with CreateDocxFromTemplate?
Regards.
Yes, you right - i get this after transformDocument - i convert docx to pdf and i get this situation. In docx everything is fine! Any ideas how i can convert it to pdf without such problem?
Hello,
What conversion plugin method are you using to transform the document?
Please send both files (DOCX and PDF) to contact[at]phpdocx.com so we can check them.
Regards.
Hello,
Thanks for sending the requested documents.
The problem is that your server is using a very old LibreOffice (5.2). As explained on the documentation pages, we recommend using the latest version available on https://libreoffice.org/. Using a newer release the PDF output is correct.
Regards.