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

Commented Unassigned: How to use UTF-8 [59]

Hello,I'd like to use UTF-8 with phpword ... but```header('content-type: text/html; charset: utf-8'); ```doesn't work ...How can I use it (for the french language like 'é' or 'à' ...) ?ThanksComments:...

View Article


New Post: Undeclared Prefix

Hi I have created word document using PHPWord template. If the template having images, then I try to open the created document it says that Undeclared prefix.The file test.docx cannot be opened because...

View Article


New Post: The Office Open XML file cannot be opened because there are...

I found it occurs when the template having images.

View Article

New Post: Help needed on addText()

Hi I just started using PHPWord, which i think is awesome. I'm trying to put the following text (using custom font) in the word file: $fontStyleTitle = array('name'=>'Times New Roman',...

View Article

New Post: Help needed on addText()

Got it... change the addText function in Section.php to:public function addText($text, $styleFont = null, $styleParagraph = null) { $givenText = $text; $text = new PHPWord_Section_Text($givenText,...

View Article


New Post: The Office Open XML file cannot be opened because there are...

Whats is the value of $course? In somewhere you have to use iconv() function to convert charset of text you want to write to UTF since PHPWord accept only UTF8 as charset and also you have to change...

View Article

Created Unassigned: Splitting a cell [60]

How can one split a cell in phpWord, all i can see is just colspan

View Article

Edited Unassigned: Splitting a cell PHPWord [60]

How can one split a cell in phpWord, all i can see is just colspan

View Article


New Post: How to convert Word .doc 2007 to 2003 using phpword?

How to convert Word .docx 2007 to .doc 2003 using phpword? I didn't find such a feature

View Article


New Post: Table in a cell?

I got this working , please try In PHPword/Writer/Word2007/base.php protected function _writeTable(PHPWord_Shared_XMLWriter $objWriter = null, PHPWord_Section_Table $table) { $_rows =...

View Article

New Post: Table in a cell?

In PhpWord/Section/Table/Cell.php //Add this at the end of class PHPWord_Section_Table_Cellpublic function addTable($style = null) { $table = new PHPWord_Section_Table('table', $this->_pCount,...

View Article

New Post: Nested tables

I just got solution for this issue. please see https://phpword.codeplex.com/discussions/245828

View Article

Commented Issue: implementation of table - colspan [48]

It would be a huge improvement to be able to create cells that combine different collumns into 1.Comments: Hi, Thank you for your work. I applied all the changes as in the diff but nothing works (row...

View Article


Commented Unassigned: the phpword does not display text but page code! [62]

my code is:if(isset($_POST['submit'])){ require_once 'PHPWord.php';$PHPWord = new PHPWord();$section = $PHPWord->createSection();$section->addText($_POST['editor1']); ///textarea...

View Article

New Post: Header Witdh

Hi everyone greetings from south america: I need to set independently the width of my header but the only option is configure the with for the entire document. I read a lot of threads but apparently...

View Article


New Post: Multiple addText in a table cell

Hi I wish to add text in various colours to a table cell. So I define a table cell: $WORD_table->addRow(); $cell=$WORD_table->addCell(9637,array('gridSpan' => 5)); And then in a loop do:...

View Article

Reviewed: PHPWord 0.6.2-1 Beta (okt 01, 2013)

Rated 5 Stars (out of 5) - That's really a nice, working and easy to install tool!!! I hope you do not stop the project (cuz I see since 2011 did not have updates) because is an excellent library.

View Article


New Post: Make DOCX file read-only?

Is there a way to make the DOCX file created with PHPWord read-only? I looked around and didn't see anything about it. Thanks.

View Article

New Post: Colspan and Rowspan

How to make that work colSpan: Make it as it is written in a previous post PHPWord\Writer\Word2007\Base.php protected function _writeCellStyle $brdCol = $style->getBorderColor(); after :$GridSpan =...

View Article

New Post: Is it possible to convert doc to docx?

hi , i trying but I have the following problem ( ! ) Warning: ZipArchive::getFromName(): Invalid or unitialized Zip object in C:\wamp\www\doctest\class\PHPWord\Template.php on line 76 Call StackTime...

View Article
Browsing all 450 articles
Browse latest View live


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