Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DecodedDocument ¶
type DecodedDocument struct {
Raw *raw.Document
Streams map[raw.ObjectRef]Stream
Perms raw.Permissions
Encrypted bool
MetadataEncrypted bool
}
DecodedDocument contains decoded objects plus a back-reference to the raw doc.
type Decoder ¶
type Decoder interface {
Decode(ctx context.Context, rawDoc *raw.Document) (*DecodedDocument, error)
}
Decoder transforms Raw IR into Decoded IR (applies filters/security).
func NewDecoder ¶
NewDecoder constructs a basic Decoder that applies filter decoding to streams.
Click to show internal directories.
Click to hide internal directories.