I have multiple contentConrols in a table and trying to implement hide/display feature.
While hide - taking getOoxml() of the ContentControl inside the table and deleting it.
While Display - InsertOoxml(xml,'Replace') method in the same table to create again that ContentControl.
But Iam facing below two issues.
- If I do hide/display more than one time (second attempt) unable to insert as ContentControl with that Ooxml
and showing as corrupted. - After using Insertooxml(xml,'Replace') method getting extra paragraph every time.
If there is no ContentControl inside a table in the document, it is working fine.
Could someone help me how to resolve these issues?
Thanks for reporting this issue. It has been put on our backlog<Bug#6255624> for internal track. We unfortunately have no timelines to share at this point.