mirror of
https://github.com/fumiama/go-docx.git
synced 2026-06-08 17:20:26 +08:00
add SplitByParagraph
This commit is contained in:
@@ -192,7 +192,7 @@ func main() {
|
||||
fmt.Println("Plain text:")
|
||||
for _, it := range doc.Document.Body.Items {
|
||||
switch it.(type) {
|
||||
case *docx.Paragraph, *docx.WTable: // printable
|
||||
case *docx.Paragraph, *docx.Table: // printable
|
||||
fmt.Println(it)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user