-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Paragraph style hanging #358
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
Comments
yes - it seems true edit PhpOffice\PhpWord\Style\Paragraph.php about the line 182
and set the 720 to 0
or delete the whole line |
I just had to work with hanging indents with version 0.17.0 and Word 2007 output. Here is the current status:
UPDATE:: relevant code was added all the way back in 2012 through #11 without specific explanation for why the value is multiplied |
Uh oh!
There was an error while loading. Please reload this page.
The hanging option does not work for paragraphs in Word2007 or RTF. One, it generates a first line indent rather than a hanging indent, and two, the amount of the indent is completely wrong - for example, setting a twips value of 1/2 inch was calculated as 4.09 inches.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: