-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
How to set fixed width for tables in phpword (auto fit : fixed column width) #531
Comments
I just found out that you have to set style "layout" fixed on your table like below
and then the long word will wrap itself inside the cell. If you preset a table style on your phpword object, the layout style won't work.
In ms word you also need to set the autofit option directly on each table, maybe that's why. I think this issue can be closed? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Hi,
Im using phpword version 0.12.0. I have a problem on managing large contents writing inside cell. Even the cell have some fixed width , if the content too large (case when there is no space between characters), cell layouts becomes broken. (please see the image)
![word](https://cloud.githubusercontent.com/assets/7867140/7451687/1fb266be-f271-11e4-9f7f-c2c3df2854e1.PNG)
![enter image description here][1]
Any one know how to solve this situation. Thanks in advance
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: