-
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
Add elements to PHPWord object via html #231
Conversation
Wow. You're fast :) I'll review and merge your code tonight or early tomorrow. Thanks. |
@ivanlanin was already writing a few days :) (Actually evenings) |
Merged. I moved |
Don't forget to sync. Your local fork seems not updated. |
Sorry @ivanlanin but not in the near future. |
No problem. Thanks for you contributions. Success with your project. Please check out the latest develop branch whenever you have time to start developing PHPWord again. |
I will certainly keep track on the developments on this project. 👍 |
Here is my proposal for the function to add elements to a PHPWord object, for example a Section or a TextBox.
I decided to write it as a static function set similar to the conversion functions like 'emuToPixels', because these functions also convert a HTML snippet to an object subtree, which is inserted into the PHPWord object.