Bug #66092 [Fbk->NoF]: Adding shadow to border on generated Word document fails

From: Date: Tue, 30 Dec 2014 10:42:09 +0000
Subject: Bug #66092 [Fbk->NoF]: Adding shadow to border on generated Word document fails
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-189442@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66092&edit=1 ID: 66092 Updated by: php-bugs@lists.php.net Reported by: adam dot tallon at version1 dot com Summary: Adding shadow to border on generated Word document fails -Status: Feedback +Status: No Feedback Type: Bug Package: COM related Operating System: Windows Server 2008 R2 PHP Version: 5 Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2014-05-08 16:19:57] ab@php.net @adam dot tallon at version1 dot com, please post a worky reproduce snippet, your current containing things like "$this->mWord" are unfortunately not usable. Thanks ------------------------------------------------------------------------ [2013-11-15 19:15:29] requinix@php.net PHP neither knows nor cares that you're trying to set a shadow. Word is the one throwing the exception, not PHP, and it does so for all sorts of situations - not just border shadows on a table. Speaking of which, here's someone who claims Table.Borders.Shadow=true never works. http://shaunakelly.com/word/styles/borders-in-table-styles.html As for what I was getting at earlier, it's quite possible that PHP 5 is executing faster than Word can handle the scripting. I see you added the table on the line before - maybe it's too soon to modify it. Try making the script pause for a second before continuing. ------------------------------------------------------------------------ [2013-11-15 09:22:53] adam dot tallon at version1 dot com Meant to add that the error is only thrown when the '$vTable->Borders->Shadow = TRUE;' line is set yo true, if it's set to FALSE then the document generates fine, which would indicate to me that there is a bug in passing a true value for shadows. Thanks for your feedback. ------------------------------------------------------------------------ [2013-11-15 09:12:39] adam dot tallon at version1 dot com The same version of word is being used on the old server and the new server, the only thing that's change is the version of PHP from 4 too 5. ------------------------------------------------------------------------ [2013-11-14 18:16:46] requinix@php.net I'm sure it's not a PHP bug. Have you considered that it's an issue with Word? Some very brief Googling suggests that even executing too quickly can cause this problem. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=66092 -- Edit this bug report at https://bugs.php.net/bug.php?id=66092&edit=1

« previous php.bugs (#189442) next »