The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End PHPWord differences

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #200042

    I am developing on an iMac that has Word 2008. My client could use a number of versions, but the person overseeing the project uses Word 2010 on a Windows laptop.

    There are some differences I can’t explain of the same document from one version of Word to the next.

    For example, adding lines are different colours on their version of work VS mine.

    $headerLinestyle = array(
        'weight' => 2,
        'width'  => PhpOfficePhpWordSharedConverter::inchToPoint(6.3),
        'height' => 0,
        'color'  => 669999

    On my mac Word 2008, the lines are 6.3″, and #669999. On her laptop Word 2010, the lines are 4.25″ and #9922ff.

    I do not have #9922ff anywhere in my code. I have no idea where this value is coming from.

    If anyone has any experience with creating Word documents in PHP using this or other libraries I’d LOVE to hear from you :)

Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.