locations

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DocPageLocationsAddLocations

func DocPageLocationsAddLocations(builder *flatbuffers.Builder, locations flatbuffers.UOffsetT)

func DocPageLocationsEnd

func DocPageLocationsEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func DocPageLocationsStart

func DocPageLocationsStart(builder *flatbuffers.Builder)

func DocPageLocationsStartLocationsVector

func DocPageLocationsStartLocationsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func TextLocationAddLlx

func TextLocationAddLlx(builder *flatbuffers.Builder, llx float32)

func TextLocationAddLly

func TextLocationAddLly(builder *flatbuffers.Builder, lly float32)

func TextLocationAddOffset

func TextLocationAddOffset(builder *flatbuffers.Builder, offset uint32)

func TextLocationAddUrx

func TextLocationAddUrx(builder *flatbuffers.Builder, urx float32)

func TextLocationAddUry

func TextLocationAddUry(builder *flatbuffers.Builder, ury float32)

func TextLocationEnd

func TextLocationEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func TextLocationStart

func TextLocationStart(builder *flatbuffers.Builder)

Types

type PagePositions

type PagePositions struct {
	// contains filtered or unexported fields
}

func GetRootAsDocPageLocations

func GetRootAsDocPageLocations(buf []byte, offset flatbuffers.UOffsetT) *PagePositions

func (*PagePositions) Init

func (rcv *PagePositions) Init(buf []byte, i flatbuffers.UOffsetT)

func (*PagePositions) Locations

func (rcv *PagePositions) Locations(obj *TextLocation, j int) bool

func (*PagePositions) LocationsLength

func (rcv *PagePositions) LocationsLength() int

func (*PagePositions) Table

func (rcv *PagePositions) Table() flatbuffers.Table

type TextLocation

type TextLocation struct {
	// contains filtered or unexported fields
}

TextLocation is a serializable version of UniPDF's extractor.TextMark.

func GetRootAsTextLocation

func GetRootAsTextLocation(buf []byte, offset flatbuffers.UOffsetT) *TextLocation

func (*TextLocation) Init

func (rcv *TextLocation) Init(buf []byte, i flatbuffers.UOffsetT)

func (*TextLocation) Llx

func (rcv *TextLocation) Llx() float32

func (*TextLocation) Lly

func (rcv *TextLocation) Lly() float32

func (*TextLocation) MutateLlx

func (rcv *TextLocation) MutateLlx(n float32) bool

func (*TextLocation) MutateLly

func (rcv *TextLocation) MutateLly(n float32) bool

func (*TextLocation) MutateOffset

func (rcv *TextLocation) MutateOffset(n uint32) bool

func (*TextLocation) MutateUrx

func (rcv *TextLocation) MutateUrx(n float32) bool

func (*TextLocation) MutateUry

func (rcv *TextLocation) MutateUry(n float32) bool

func (*TextLocation) Offset

func (rcv *TextLocation) Offset() uint32

func (*TextLocation) Table

func (rcv *TextLocation) Table() flatbuffers.Table

func (*TextLocation) Urx

func (rcv *TextLocation) Urx() float32

func (*TextLocation) Ury

func (rcv *TextLocation) Ury() float32

Jump to

Keyboard shortcuts

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