Dodaj podpis do tabeli lub rysunku w OpenXml
Próbuję utworzyć tę strukturę w OpenXml:
<P>
<Table />
<Caption>Table 1 - Some Text 1 </Caption>
<Picture />
<Caption>Figure 1 - Some Text 2 </Caption>
</P>
Pod względem kodu mam:
var currentLine = new Paragraph();
currentLine.AppendChild(new Run(elem)); -> Where the elem is Table
...
currentLine.AppendChild(new Run(elem2)); -> Where the elem2 is Drawing
Tęsknię więc tylko za sposobem dodawania podpisów, tych samych napisów, które mogę zrobić w Referencjach MS Word-> Wstaw podpis.
Niektóre informacje, jak to osiągnąć, byłyby bardzo mile widziane.
Rui