ooxml

package
v1.2.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2025 License: MIT Imports: 12 Imported by: 0

README

Text Extractor for docx/xlsx/pptx/pdf

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DocxBytesTextify added in v1.0.27

func DocxBytesTextify(w io.Writer, bs []byte) error

DocxBytesTextify Extract docx data to writer

func DocxBytesTextifyString added in v1.0.27

func DocxBytesTextifyString(bs []byte) (string, error)

DocxBytesTextifyString Extract docx data to string

func DocxFileTextify

func DocxFileTextify(w io.Writer, name string) error

DocxFileTextify Extract docx file to writer

func DocxFileTextifyString added in v1.0.27

func DocxFileTextifyString(name string) (string, error)

DocxFileTextifyString Extract docx file to string

func DocxReaderTextify

func DocxReaderTextify(w io.Writer, r io.ReaderAt, size int64) error

DocxReaderTextify Extract docx reader to writer

func DocxReaderTextifyString added in v1.0.27

func DocxReaderTextifyString(r io.ReaderAt, size int64) (string, error)

DocxReaderTextifyString Extract docx reader to string

func DocxZipReaderTextify added in v1.0.27

func DocxZipReaderTextify(w io.Writer, zr *zip.Reader) error

DocxZipReaderTextify Extract docx zip reader to writer

func DocxZipReaderTextifyString added in v1.0.27

func DocxZipReaderTextifyString(zr *zip.Reader) (string, error)

DocxZipReaderTextifyString Extract docx zip reader to string

func PptxBytesTextify added in v1.0.27

func PptxBytesTextify(w io.Writer, bs []byte, options ...string) error

PptxBytesTextify Extract pptx data to writer options:

-nopgbrk             : don't insert page breaks '\f' between pages

func PptxBytesTextifyString added in v1.0.27

func PptxBytesTextifyString(bs []byte, options ...string) (string, error)

PptxBytesTextifyString Extract pptx data to string options:

-nopgbrk             : don't insert page breaks '\f' between pages

func PptxFileTextify added in v1.0.27

func PptxFileTextify(w io.Writer, name string, options ...string) error

PptxFileTextify Extract pptx file to writer options:

-nopgbrk             : don't insert page breaks '\f' between pages

func PptxFileTextifyString added in v1.0.27

func PptxFileTextifyString(name string, options ...string) (string, error)

PptxFileTextifyString Extract pptx file to string options:

-nopgbrk             : don't insert page breaks '\f' between pages

func PptxReaderTextify added in v1.0.27

func PptxReaderTextify(w io.Writer, r io.ReaderAt, size int64, options ...string) error

PptxReaderTextify Extract pptx reader to writer options:

-nopgbrk             : don't insert page breaks '\f' between pages

func PptxReaderTextifyString added in v1.0.27

func PptxReaderTextifyString(r io.ReaderAt, size int64, options ...string) (string, error)

PptxReaderTextifyString Extract pptx reader to string options:

-nopgbrk             : don't insert page breaks '\f' between pages

func PptxZipReaderTextify added in v1.0.27

func PptxZipReaderTextify(w io.Writer, zr *zip.Reader, options ...string) error

PptxZipReaderTextify Extract pptx zip reader to writer options:

-nopgbrk             : don't insert page breaks '\f' between pages

func PptxZipReaderTextifyString added in v1.0.27

func PptxZipReaderTextifyString(zr *zip.Reader, options ...string) (string, error)

PptxZipReaderTextifyString Extract pptx zip reader to string options:

-nopgbrk             : don't insert page breaks '\f' between pages

func XlsxBytesTextify added in v1.0.27

func XlsxBytesTextify(w io.Writer, bs []byte) error

XlsxBytesTextify Extract xlsx data to writer

func XlsxBytesTextifyString added in v1.0.27

func XlsxBytesTextifyString(bs []byte) (string, error)

XlsxBytesTextifyString Extract xlsx data to string

func XlsxFileTextify

func XlsxFileTextify(w io.Writer, name string) error

XlsxFileTextify Extract xlsx file to writer

func XlsxFileTextifyString added in v1.0.27

func XlsxFileTextifyString(name string) (string, error)

XlsxFileTextifyString Extract xlsx file to string

func XlsxReaderTextify

func XlsxReaderTextify(w io.Writer, r io.ReaderAt, size int64) error

XlsxReaderTextify Extract xlsx reader to writer

func XlsxReaderTextifyString added in v1.0.27

func XlsxReaderTextifyString(r io.ReaderAt, size int64) (string, error)

XlsxReaderTextifyString Extract xlsx reader to string

func XlsxZipReaderTextify added in v1.0.27

func XlsxZipReaderTextify(w io.Writer, zr *zip.Reader) error

XlsxZipReaderTextify Extract xlsx zip reader to writer

func XlsxZipReaderTextifyString added in v1.0.27

func XlsxZipReaderTextifyString(zr *zip.Reader) (string, error)

XlsxZipReaderTextifyString Extract xlsx zip reader to string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL