models

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

type Image struct {
	Top    int    `xml:"top,attr"`
	Left   int    `xml:"left,attr"`
	Width  int    `xml:"width,attr"`
	Height int    `xml:"height,attr"`
	Src    string `xml:"src,attr"`
}

type Page

type Page struct {
	Number int     `xml:"number,attr"`
	Height int     `xml:"height,attr"`
	Width  int     `xml:"width,attr"`
	Texts  []Text  `xml:"text"`
	Images []Image `xml:"image"`
}

type Pdf2Xml

type Pdf2Xml struct {
	XMLName xml.Name `xml:"pdf2xml"`
	Pages   []Page   `xml:"page"`
}

type Text

type Text struct {
	Top     int    `xml:"top,attr"`
	Left    int    `xml:"left,attr"`
	Width   int    `xml:"width,attr"`
	Content string `xml:",innerxml"`
}

Jump to

Keyboard shortcuts

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