page orientation

is it possible change page orientation?

Id #54 | Release: None | Updated: May 6 at 9:54 AM by ganchimeg | Created: May 6 at 9:54 AM by ganchimeg

temp file creation

Hello, I am getting some permission related errors with this library. I noticed the following line in the constructor of PHPWord_Template (line 67 of Template.php in my version): $this->_temp...

Id #53 | Release: None | Updated: Mar 29 at 6:15 PM by Mirtaheri | Created: Mar 29 at 6:02 PM by Mirtaheri

How to add image from url?

Hello! I try add image from my site (http://mysite/image.php). code: <?php require_once '../PHPWord.php'; $PHPWord = new PHPWord(); $section = $PHPWord->createSection(); $section->addMemoryImag...

Id #52 | Release: None | Updated: Mar 2 at 10:50 PM by WhiteSem | Created: Mar 2 at 10:50 PM by WhiteSem

Use template to create sequential pages

I have rewritten the template.php code so that it can create a new page from a single page/document, for when a user has to create a page for each loop. My code is not great, but it seems functiona...

Id #51 | Release: None | Updated: Jan 10 at 11:46 AM by edinmusic | Created: Jan 9 at 9:07 PM by Lloydie

How to bring value from webpage/html to PHP word code?

I'm having a problem here which I don't know how to bring data that pass by url and send to PHPWord, so that the passed value can be use as data in my PHPWord.. My system will be accessed by lots ...

Id #50 | Release: None | Updated: Apr 23 at 4:48 PM by aburgett | Created: Dec 26, 2012 at 6:28 AM by ezwanjb

Advanced string replace in setValue

When started using Phpword it saved me a lot of time as i needed to replace a template in docx using php. I had a minor issue when started using the setValue method. I found that using Word, the pr...

Id #49 | Release: None | Updated: Apr 23 at 6:56 AM by manuthalasseril | Created: Nov 20, 2012 at 10:08 PM by mxd4n13l0n

implementation of table - colspan

It would be a huge improvement to be able to create cells that combine different collumns into 1.

Id #48 | Release: None | Updated: Apr 23 at 12:52 PM by aburgett | Created: Aug 16, 2012 at 3:28 PM by gert789

Fatal error: Class 'ZipArchive' not found

I find this library very useful and easy to implement. Its working with the apache server installed on my PC and its working on several free hosting accounts too, but on my paid shared hosting acc...

Id #47 | Release: None | Updated: Aug 6, 2012 at 9:20 PM by DernierGod | Created: Aug 6, 2012 at 9:20 PM by DernierGod

Template Open, temporary file

When you open a template it creates a temporary file based on the location of the template. This assumes that the webserver has permissions to do this. There should really be a way of setting a tem...

Id #46 | Release: None | Updated: Jun 23, 2012 at 3:15 PM by jamestr | Created: Jun 23, 2012 at 3:15 PM by jamestr

Fgcolor parameter

Can anyone explain me how to use the fgcolor parameter ? I have this, but it doesn't work : $PHPWord->addFontStyle('FontTitle', array('fgColor'=>'FGCOLOR_BLACK', 'color'=>'FFFFFF','size'=>14));

Id #45 | Release: None | Updated: May 8, 2012 at 2:30 PM by Sirocco_Sh | Created: May 8, 2012 at 2:30 PM by Sirocco_Sh