I'm trying to create this structure in OpenXml:
<P>
<Table />
<Caption>Table 1 - Some Text 1 </Caption>
<Picture />
<Caption>Figure 1 - Some Text 2 </Caption>
</P>
In terms of code I have:
var currentLine = new Paragraph();
currentLine.AppendChild(new Run(elem)); -> Where the elem is Table
...
currentLine.AppendChild(new Run(elem2)); -> Where the elem2 is Drawing
So I only miss the way to add captions, the same captions that I can do in MS Word References-> Insert Caption.
Some information how to accomplish this would be very appreciated.
Rui