Quantcast
Channel: PHPWord
Browsing all 450 articles
Browse latest View live

New Post: about phpword work in linux

Sounds like a permissions problem.

View Article


New Post: Way to specify location of a table?

Is there a way to move a table to a particular location on the page? I tried the following: $styleTable = array('borderSize'=>6, 'left'=>3000, 'top'=>3000, 'borderColor'=>'006699',...

View Article


New Post: about phpword work in linux

Yestoday night ,I put the code in my other linux OS, works ok ! then ,I think maybe it's the problem of the LAMP, wait me set up new LAMP(It's company's Test machine), wait a moment !!!。。。。

View Article

New Post: about phpword work in linux

I no set up,I see the error logs ,there is "Class 'ZipArchive' " not found, there is the answer http://hi.baidu.com/cloudwhite/item/719588e3e40f66266cabb84a strange,in windows there is no need !! now...

View Article

New Post: Way to specify location of a table?

I tested a bit of positioning code. This is for a hard coded position, but it's easy enough to make the positions variables. It's inside _writeTable inside Base.php. 2419 and 1239 are 1.68 inches and...

View Article


New Post: Variable on Footer of Docx Template

This works excellently for me. Anyone know how to add x number of headers without having to add each one?

View Article

New Post: Fatal error: Call to a member function loadTemplate() on a...

Hi every body, I'm just discovering PHPWord which seems to suit OK my needs. I try to load template.docx to see how it complies to my requirements, but every time i run the script i get the flwg error...

View Article

New Post: Fatal error: Call to a member function loadTemplate() on a...

u must instantiate the object $PHPWord ;) $PHPWord = new PHPWord(); $template = $PHPWord->loadTemplate('Examples/Template.docx');

View Article


New Post: Fatal error: Call to a member function loadTemplate() on a...

Many thks Mourad now i run into into an other trouble : the issue from the template is empty ! My code :<?php // Include the PHPWord.php, all other classes were loaded by an autoloader require_once...

View Article


New Post: Problem w/ Template.docx

Hi every body, The issue from the template is empty ! What's wrong with may code ? My code :<?php // Include the PHPWord.php, all other classes were loaded by an autoloader require_once...

View Article

New Post: Fatal error: Call to a member function loadTemplate() on a...

File names do not accept the ":", tried to change the shape of the time to H-i-s

View Article

New Post: Fatal error: Call to a member function loadTemplate() on a...

Just great, it perfectly works. Thousands of thanks !!!!

View Article

New Post: How to solve this problem? Thank you

Warning: ZipArchive::getFromName() [ziparchive.getfromname]: Invalid or unitialized Zip object in D:\PHPnow\htdocs\tmgc\admin0\PHPWord\PHPWord\Template.php on line 74 Warning: ZipArchive::close()...

View Article


New Post: Problem w/ Template.docx

create template file "Template.docx" under the same directory of Template.php then edit the template file using microsoft word. you may put variable ${Value1}, ${Value2} .... to replace the value of...

View Article

New Post: Problem w/ Template.docx

replace : $objWriter = PHPWord_IOFactory::createWriter($PHPWord, 'Word2007'); $objWriter->save('../ComperioV1/dossierPerso/Template.docx'); by :...

View Article


New Post: Problem w/ Template.docx

Thank U guys for good advises. Now i would like to know if i can have several templates and i can i manage this ? I issued, with MS Word, 3 templates (Templates1.docx, Templates2.docx, Templates2.docx)...

View Article

New Post: How to divide long code into sections?

My word document is usually 5 pages sometimes it is longer. When I create my word document my code gets messy. I am trying to divide my code into sections but it doesn't seem to work. This is what I am...

View Article


New Post: How to use MS Word built in style sheet with PHPWord template

Hi every body, My query is in the subject; Many Thks

View Article

New Post: Downloading doc file without saving file on server

$objWriter = PHPWord_IOFactory::createWriter($PHPWord, 'Word2007'); $filename = 'myfile.docx';//krishna $objWriter->save($filename); header('Content-Description: File Transfer');...

View Article

New Post: Downloading doc file without saving file on server

Krishna-Winnou systems and services $objWriter = PHPWord_IOFactory::createWriter($PHPWord, 'Word2007'); $filename = 'myfile.docx';//krishna $objWriter->save($filename); header('Content-Description:...

View Article
Browsing all 450 articles
Browse latest View live


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