Documentation ¶
Index ¶
- func DocPageLocationsAddLocations(builder *flatbuffers.Builder, locations flatbuffers.UOffsetT)
- func DocPageLocationsEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func DocPageLocationsStart(builder *flatbuffers.Builder)
- func DocPageLocationsStartLocationsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func TextLocationAddLlx(builder *flatbuffers.Builder, llx float32)
- func TextLocationAddLly(builder *flatbuffers.Builder, lly float32)
- func TextLocationAddOffset(builder *flatbuffers.Builder, offset uint32)
- func TextLocationAddUrx(builder *flatbuffers.Builder, urx float32)
- func TextLocationAddUry(builder *flatbuffers.Builder, ury float32)
- func TextLocationEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func TextLocationStart(builder *flatbuffers.Builder)
- type PagePositions
- type TextLocation
- func (rcv *TextLocation) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *TextLocation) Llx() float32
- func (rcv *TextLocation) Lly() float32
- func (rcv *TextLocation) MutateLlx(n float32) bool
- func (rcv *TextLocation) MutateLly(n float32) bool
- func (rcv *TextLocation) MutateOffset(n uint32) bool
- func (rcv *TextLocation) MutateUrx(n float32) bool
- func (rcv *TextLocation) MutateUry(n float32) bool
- func (rcv *TextLocation) Offset() uint32
- func (rcv *TextLocation) Table() flatbuffers.Table
- func (rcv *TextLocation) Urx() float32
- func (rcv *TextLocation) Ury() float32
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
Click to show internal directories.
Click to hide internal directories.