alto

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alto

type Alto struct {
	XMLName     xml.Name     `xml:"alto,omitempty" json:"alto,omitempty"`
	Description *Description `xml:"Description,omitempty" json:"Description,omitempty"`
	Layout      *Layout      `xml:"Layout,omitempty" json:"Layout,omitempty"`
}

func (*Alto) WriteTo

func (a *Alto) WriteTo(w io.Writer) (int64, error)

type Description

type Description struct {
	XMLName                xml.Name                `xml:"Description,omitempty" json:"Description,omitempty"`
	MeasurementUnit        *MeasurementUnit        `xml:"MeasurementUnit,omitempty" json:"MeasurementUnit,omitempty"`
	OCRProcessing          *OCRProcessing          `xml:"OCRProcessing,omitempty" json:"OCRProcessing,omitempty"`
	SourceImageInformation *SourceImageInformation `xml:"sourceImageInformation,omitempty" json:"sourceImageInformation,omitempty"`
}

type FileName

type FileName struct {
	XMLName xml.Name `xml:"fileName,omitempty" json:"fileName,omitempty"`
	Text    string   `xml:",chardata" json:",omitempty"`
}

type Layout

type Layout struct {
	XMLName xml.Name `xml:"Layout,omitempty" json:"Layout,omitempty"`
	Page    *Page    `xml:"Page,omitempty" json:"Page,omitempty"`
}

type MeasurementUnit

type MeasurementUnit struct {
	XMLName xml.Name `xml:"MeasurementUnit,omitempty" json:"MeasurementUnit,omitempty"`
	Text    string   `xml:",chardata" json:",omitempty"`
}

type OCRProcessing

type OCRProcessing struct {
	XMLName           xml.Name           `xml:"OCRProcessing,omitempty" json:"OCRProcessing,omitempty"`
	OcrProcessingStep *OcrProcessingStep `xml:"ocrProcessingStep,omitempty" json:"ocrProcessingStep,omitempty"`
}

type OcrProcessingStep

type OcrProcessingStep struct {
	XMLName                xml.Name                `xml:"ocrProcessingStep,omitempty" json:"ocrProcessingStep,omitempty"`
	ProcessingDateTime     *ProcessingDateTime     `xml:"processingDateTime,omitempty" json:"processingDateTime,omitempty"`
	ProcessingSoftware     *ProcessingSoftware     `xml:"processingSoftware,omitempty" json:"processingSoftware,omitempty"`
	ProcessingStepSettings *ProcessingStepSettings `xml:"processingStepSettings,omitempty" json:"processingStepSettings,omitempty"`
}

type Page

type Page struct {
	XMLName    xml.Name    `xml:"Page,omitempty" json:"Page,omitempty"`
	AttrHEIGHT string      `xml:"HEIGHT,attr"  json:",omitempty"`
	AttrWIDTH  string      `xml:"WIDTH,attr"  json:",omitempty"`
	PrintSpace *PrintSpace `xml:"PrintSpace,omitempty" json:"PrintSpace,omitempty"`
}

type PrintSpace

type PrintSpace struct {
	XMLName    xml.Name     `xml:"PrintSpace,omitempty" json:"PrintSpace,omitempty"`
	AttrHEIGHT string       `xml:"HEIGHT,attr"  json:",omitempty"`
	AttrHPOS   string       `xml:"HPOS,attr"  json:",omitempty"`
	AttrVPOS   string       `xml:"VPOS,attr"  json:",omitempty"`
	AttrWIDTH  string       `xml:"WIDTH,attr"  json:",omitempty"`
	TextBlock  []*TextBlock `xml:"TextBlock,omitempty" json:"TextBlock,omitempty"`
}

type ProcessingDateTime

type ProcessingDateTime struct {
	XMLName xml.Name `xml:"processingDateTime,omitempty" json:"processingDateTime,omitempty"`
	Text    string   `xml:",chardata" json:",omitempty"`
}

type ProcessingSoftware

type ProcessingSoftware struct {
	XMLName xml.Name `xml:"processingSoftware,omitempty" json:"processingSoftware,omitempty"`
	Text    string   `xml:",chardata" json:",omitempty"`
}

type ProcessingStepSettings

type ProcessingStepSettings struct {
	XMLName xml.Name `xml:"processingStepSettings,omitempty" json:"processingStepSettings,omitempty"`
	Text    string   `xml:",chardata" json:",omitempty"`
}

type SourceImageInformation

type SourceImageInformation struct {
	XMLName  xml.Name  `xml:"sourceImageInformation,omitempty" json:"sourceImageInformation,omitempty"`
	FileName *FileName `xml:"fileName,omitempty" json:"fileName,omitempty"`
}

type String

type String struct {
	XMLName     xml.Name `xml:"String,omitempty" json:"String,omitempty"`
	AttrCONTENT string   `xml:"CONTENT,attr"  json:",omitempty"`
	AttrHEIGHT  string   `xml:"HEIGHT,attr"  json:",omitempty"`
	AttrHPOS    string   `xml:"HPOS,attr"  json:",omitempty"`
	AttrVPOS    string   `xml:"VPOS,attr"  json:",omitempty"`
	AttrWIDTH   string   `xml:"WIDTH,attr"  json:",omitempty"`
}

type TextBlock

type TextBlock struct {
	XMLName    xml.Name  `xml:"TextBlock,omitempty" json:"TextBlock,omitempty"`
	AttrHEIGHT string    `xml:"HEIGHT,attr"  json:",omitempty"`
	AttrHPOS   string    `xml:"HPOS,attr"  json:",omitempty"`
	AttrID     string    `xml:"ID,attr"  json:",omitempty"`
	AttrVPOS   string    `xml:"VPOS,attr"  json:",omitempty"`
	AttrWIDTH  string    `xml:"WIDTH,attr"  json:",omitempty"`
	TextLine   *TextLine `xml:"TextLine,omitempty" json:"TextLine,omitempty"`
}

type TextLine

type TextLine struct {
	XMLName    xml.Name `xml:"TextLine,omitempty" json:"TextLine,omitempty"`
	AttrHEIGHT string   `xml:"HEIGHT,attr"  json:",omitempty"`
	AttrHPOS   string   `xml:"HPOS,attr"  json:",omitempty"`
	AttrVPOS   string   `xml:"VPOS,attr"  json:",omitempty"`
	AttrWIDTH  string   `xml:"WIDTH,attr"  json:",omitempty"`
	String     *String  `xml:"String,omitempty" json:"String,omitempty"`
}

Jump to

Keyboard shortcuts

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