Documentation
¶
Index ¶
- type Parser
- func (p *Parser) GetSupportedTypes() []string
- func (p *Parser) Parse(ctx context.Context, content []byte, metadata map[string]any) (*core.Document, error)
- func (p *Parser) ParseStream(ctx context.Context, r io.Reader, metadata map[string]any) (<-chan *core.Document, error)
- func (p *Parser) Supports(contentType string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct{}
Parser implements a PPT/PPTX document parser using unidoc/unioffice.
func DefaultParser ¶ added in v1.1.3
func DefaultParser() *Parser
DefaultParser creates a new PPT parser instance.
func (*Parser) GetSupportedTypes ¶
GetSupportedTypes returns the file extensions this parser supports.
func (*Parser) Parse ¶
func (p *Parser) Parse(ctx context.Context, content []byte, metadata map[string]any) (*core.Document, error)
Parse implements legacy core.Parser interface.
Click to show internal directories.
Click to hide internal directories.