Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DOCX2Text ¶
DOCX2Text extracts text of a Word document Size is the full size of the input file.
func IsFileDOCX ¶
IsFileDOCX checks if the data indicates a DOCX file DOCX has a signature of 50 4B 03 04
Types ¶
type WordDocument ¶
type WordDocument struct {
Paragraphs []WordParagraph
}
WordDocument is a full word doc
func (WordDocument) AsText ¶
func (w WordDocument) AsText() string
AsText returns all text in the document
type WordParagraph ¶
WordParagraph is a single paragraph
Click to show internal directories.
Click to hide internal directories.