Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnnotationEvent ¶
AnnotationEvent reports an annotation present on a page.
func (AnnotationEvent) Type ¶
func (AnnotationEvent) Type() EventType
type ContentOperationEvent ¶
ContentOperationEvent emits a single decoded content operation.
func (ContentOperationEvent) Type ¶
func (ContentOperationEvent) Type() EventType
type DocumentEndEvent ¶
type DocumentEndEvent struct{}
func (DocumentEndEvent) Type ¶
func (DocumentEndEvent) Type() EventType
type DocumentStartEvent ¶
func (DocumentStartEvent) Type ¶
func (DocumentStartEvent) Type() EventType
type DocumentStream ¶
type InlineImage ¶
type InlineImage struct {
Dict semantic.DictOperand
Data []byte
}
InlineImage represents BI/ID/EI inline image segments parsed from content streams. It is retained for potential consumers even though no dedicated event type is emitted.
type MetadataEvent ¶
type MetadataEvent struct {
Info raw.DocumentMetadata
}
MetadataEvent emits document-level metadata.
func (MetadataEvent) Type ¶
func (MetadataEvent) Type() EventType
type PageEndEvent ¶
type PageEndEvent struct{ Index int }
PageEndEvent marks the end of a page.
func (PageEndEvent) Type ¶
func (PageEndEvent) Type() EventType
type PageStartEvent ¶
PageStartEvent marks the beginning of a page and carries basic geometry.
func (PageStartEvent) Type ¶
func (PageStartEvent) Type() EventType
type Parser ¶
type Parser interface {
Stream(ctx Context, r ReaderAt, cfg StreamConfig) (DocumentStream, error)
}
type ResourceRefEvent ¶
ResourceRefEvent reports a resource reference encountered on a page.
func (ResourceRefEvent) Type ¶
func (ResourceRefEvent) Type() EventType
type StreamConfig ¶
Click to show internal directories.
Click to hide internal directories.