diff --git a/docx/table.go b/docx/table.go index 47b1b02..253cf33 100644 --- a/docx/table.go +++ b/docx/table.go @@ -196,6 +196,11 @@ type Row struct { ct ctypes.Row } +// getCt returns a pointer to the underlying Row Complex Type. +func (r *Row) GetCt() *ctypes.Row { + return &r.ct +} + // Add Cell to row and returns Cell func (r *Row) AddCell() *Cell { cell := Cell{ @@ -219,6 +224,11 @@ type Cell struct { ct ctypes.Cell } +// getCt returns a pointer to the underlying Cell Complex Type. +func (c *Cell) GetCt() *ctypes.Cell { + return &c.ct +} + // Adds paragraph with text and returns Paragraph func (c *Cell) AddParagraph(text string) *Paragraph { p := newParagraph(c.root, paraWithText(text))