Safe Haskell | None |
---|---|
Language | Haskell98 |
Cross reference
- data XRef
- data XRefEntry
- data TableEntry = TableEntry {}
- data StreamEntry
- lastXRef :: MonadIO m => RIS -> PdfE m XRef
- prevXRef :: MonadIO m => RIS -> XRef -> PdfE m (Maybe XRef)
- trailer :: MonadIO m => RIS -> XRef -> PdfE m Dict
- lookupTableEntry :: MonadIO m => RIS -> Ref -> PdfE m (Maybe TableEntry)
- lookupStreamEntry :: MonadIO m => Stream IS -> Ref -> PdfE m (Maybe StreamEntry)
- isTable :: MonadIO m => IS -> PdfE m Bool
Documentation
Cross reference
Entry in cross reference
data TableEntry Source
Entry in cross reference table
data StreamEntry Source
Entry in cross reference stream
StreamEntryFree Int Int | Object number and generation |
StreamEntryUsed Int64 Int | Object offset (in bytes from the beginning of file) and generation |
StreamEntryCompressed Int Int | Object number of object stream and index within the object stream |
:: MonadIO m | |
=> RIS | input stream to read from |
-> Ref | indirect object to look for |
-> PdfE m (Maybe TableEntry) |
Read xref entry for the indirect object from xref table
RIS position should point to the begining of the next line after "xref" keyword