Quantcast
Channel: TX Text Control Community
Viewing all articles
Browse latest Browse all 1022

Remove spaces at top of page

$
0
0
Hi!

Well I'm using livedocx for convert DOCX, DOC... to PDF and I have a problem. When I convert a document, the resulting PDF is not the same as the original document, it creates spaces at the beginning of the page. do I have to specify the format to convert? My code:

PHP Code:

$mailMerge = new Zend_Service_LiveDocx_MailMerge();
$mailMerge->setUsername('xxxx')
->
setPassword('xxxxx')
->
setWsdl('xxxxpremiumxxxxxxx?WSDL');
$mailMerge->setLocalTemplate($wordsPath.$filename);
$mailMerge->createDocument();
$document $mailMerge->retrieveDocument('pdf');
file_put_contents($pdf$document); 

I would also like to know if there is any way (or documentation) to edit documents generated to add content. Or, as in this case, remove the blanks.

Sorry for my terrible English.

Viewing all articles
Browse latest Browse all 1022


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>