Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Width of lines and spaceAfter of addTextBreak inconsistency between versions of Word #520

Open
gurnzbot opened this issue Apr 9, 2015 · 1 comment

Comments

@gurnzbot
Copy link

gurnzbot commented Apr 9, 2015

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 widths on their version of Word vs. mine.

The code is:

$section->addShape(
    'line',
    array(
            'points'  => '1,1 450,1',
            'outline' => array(
              'color'  => '#669999',
              'line'   => 'single',
              'weight' => 6,
            ),
         )
);

The resulting lines are basically full-page width for me, and half-page for them.

Adding text breaks also produces differences:

$paragraphStyle = array();
$paragraphStyle['align']      = "center";
$paragraphStyle['spaceAfter'] = 0;

$section->addTextBreak(3, array(), $paragraphStyle);

The resulting breaks have no spaceAfter for me, and 5 for her.

I'm lost. I'm hoping this is the correct place to bring this up!!


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If this is still an issue for you, please try to help by debugging it further and sharing your results.
Thank you for your contributions.

@github-actions github-actions bot added the Stale label Nov 18, 2022
@Progi1984 Progi1984 removed the Stale label Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants