I am publishing a Word document from DOORS data that contains a DOORS table. The DOORS table has variable width cells in the same column (sometimes called "column spanning"). The attached image is a chart very similar to what I hope to illustrate through a table. Each object in the DOORS table specifies the desired cell width in its attributes. Each object in the DOORS table specifies the desired cell width in its attributes. I have tried many settings in the RPE Document Template, but Word continues to assign every cell in a column the same width as the widest cell in that column.
My template formats the table through Module/Object/Table, Module/Object/Table/Row and Module/Object/Table/Row/Cell queries. The table style specifies "fixed cell width in columns" and "resize to fit contents" as "false". The cellWidth property of the cell in my template is set to the Module/Object/Table/Row/Cell query's "TableCellWidth" attribute. I have also tried setting the colSpan attribute without any success.
Has anyone successfully published Word tables with variable width cells in the same column through RPE? Is there a software limitation keeping me from this goal?
Thanks in advance,
This topic has been locked.
4 replies Latest Post - 2012-10-24T08:41:05Z by Krogen
Pinned topic Column spanning: Word table from a DOORS table
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-10-24T08:41:05Z at 2012-10-24T08:41:05Z by Krogen
Krogen 270004CWWX7 Posts
Re: Column spanning: Word table from a DOORS table2012-10-23T18:18:01Z in response to KrogenThank you for your response, but I don't quite understand. Is there a typo in your response?
I attached a picture that shows how the elements are laid out in my template. It also shows how I set the cell's "Formatting > specific > cell width" property to the Data Expression "module/object/table/row/object/TableCellWidth".
Thanks for your help.
Re: Column spanning: Word table from a DOORS table2012-10-23T18:40:19Z in response to SystemAdminI forgot an important detail. I modified the template to output the value of the Data Expression (TableCellWidth) I assign to the cell's "cell width" property. The numbers output are the same widths assigned each cell in DOORS--all are measurements in pixel units.
Krogen 270004CWWX7 PostsACCEPTED ANSWER
Re: Column spanning: Word table from a DOORS table2012-10-24T08:41:05Z in response to SystemAdminHi, the configuration I wrote was to maintain in the word document the cell with of the doors object. I thought it was what you were requesting.
Attached to this post is a picture of the cell configuration I have in my templates where the with is the same.