mirror of
https://github.com/unidoc/unioffice.git
synced 2025-04-25 13:48:53 +08:00
include CT_SdtRow entries in table.Rows() (#261)
This commit is contained in:
parent
bd218fda99
commit
001376ca65
@ -81,6 +81,11 @@ func (t Table) Rows() []Row {
|
||||
for _, ctRow := range rc.Tr {
|
||||
ret = append(ret, Row{t.d, ctRow})
|
||||
}
|
||||
if rc.Sdt != nil && rc.Sdt.SdtContent != nil {
|
||||
for _, ctRow := range rc.Sdt.SdtContent.Tr {
|
||||
ret = append(ret, Row{t.d, ctRow})
|
||||
}
|
||||
}
|
||||
}
|
||||
return ret
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user