Forum


Replies: 4   Views: 3480
Creating a paragraph with textboxs
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by clio  · 03-05-2015 - 08:04

Hello, I'm trying to create a paragraph with an inline textbox by using the 'addTextBox' method as the following: ┌─────┐ │    │ is a textbox which provides a space for users to print it out and fill by hand. └─────┘ By the documentation, there is a parameter called 'textWrap' with available attributes 'tight', 'square', 'through' and 'none'. I can set a textbox as inline in MS Word but I can't find the 'inline' option in phpdocx. Is there any way to achieve this? Best regards, Henry

Posted by admin  · 04-05-2015 - 08:43

Hello, What version and license of phpdocx are you using? Regards.

Posted by clio  · 04-05-2015 - 13:05

Hello, I am using the trial version with version number 4.6. Best regards.

Posted by admin  · 04-05-2015 - 14:00

Hello, We recommend you to use form elements to create an input field. Please check this method: http://www.phpdocx.com/api-documentation/word-content/insert-form-element-Word-document-with-PHP Regards, Jorge

Posted by clio  · 05-05-2015 - 06:14

Hello, That is exactly what I want. Thanks for your help. Best regards.