Extraction of Rich Text Section table inside a cell in RPE word output from ETM testcase section
We are facing an issue while extracting a custom rich text section in the RPE generated Word output, specifically when attempting to place the rich text content inside a table cell.
In our use case, the custom section contains Rich Text attributes that include:
· Tables embedded within the rich text
· The table contains mixed content "text and embedded images"
When we include the rich text section within a cell, the formatting gets distorted, particularly because we do not have control over defining a specific width for the cell content via REST. As a result, the layout of the rich text content does not render properly within the cell. <o:p> </o:p>
We attempted the following approaches to resolve the issue:
XHTML Input to XHTML Output
· Provided the content as XHTML input and extracted it as XHTML output
· However, the content width within the cell is still not rendered correctly, and formatting issues persist
· Direct XHTML Output Rendering
Generated the output directly as XHTML
· In this approach, the data appears correctly formatted
· But we encounter another issue where embedded images are missing in the generated output