I am trying to reproduce the table below in Aspose.Words 188.8.131.52 It must appear in a TextBox and may have paragraphs of text before/after in the TextBox. I tried to create this by creating a table inside a table. The outer table has a red cell border. The inner table only puts a blue border around the first cell.
I am having a few issues at the moment. My code is attached. I have used multiple document builders to render the tables in an attempt to stop them interfering with each other.
- When I set a cell to have a blue border, every cell after this is blue.
- When I add a table inside another table's cell, every cell in that table is the same width as the original cell. I am trying to get the entire inner table the width of the original cell.
- When there is an inner table, half doesn't appear. Even when I expand the TextBox it cannot be seen.
- The border of the outer cell is not displayed when there is an inner table.
Thank you for your time. Any guidance would be appreciated.