By: Chris
Date: 2012-02-14
Time: 18:24
|
Open TBS Table in docx with Dynamic Columns and RowsI am trying to create a docx file using a template that will have a table in it with a variable number of columns and a variable number of rows. Has anyone done this before? If so, I could use some advice on both the PHP side and the word template side. Thanks!
|
|
By: Skrol29
Date: 2012-02-15
Time: 01:44
|
Re: Open TBS Table in docx with Dynamic Columns and RowsHi Chris,
There is an example in the TBS package (examples are also available online) that show the principle for dynamic columns in HTML tables. Unfortunately, Ms Word tables are not this easy because they have an extra invisible elements. The synopsis for a Ms Word table is:
I have coded a small plug-in which is able to to deleted a set of rows in such Ms Word tables. But I have not yet the good tip for expending them using MergeBlock. |
|
By: Chris
Date: 2012-02-15
Time: 21:27
|
Re: Open TBS Table in docx with Dynamic Columns and RowsThat's too bad. Would it be possible for me to dynamically delete some of the columns until I have just the columns I want left?
|
|
By: Skrol29
Date: 2012-02-16
Time: 13:53
|
Re: Open TBS Table in docx with Dynamic Columns and RowsYes, that is the purpose of the plug-in I have.
Let me know if you'd like me to send it to you. |
|
By: Skrol29
Date: 2012-02-17
Time: 00:09
|
Re: Open TBS Table in docx with Dynamic Columns and RowsHi,
Here it is (I've deleted you previous post with your email): http://www.tinybutstrong.com/forum.php?thr=2879 |