types

package
v0.0.7-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 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 BreakType

type BreakType string
const (
	BreakTypePage         BreakType = "page"
	BreakTypeColumn       BreakType = "column"
	BreakTypeTextWrapping BreakType = "textWrapping"
	BreakTypeUnsupported  BreakType = "unsupported"
)

type DrawingPositionType

type DrawingPositionType string
const (
	DrawingPositionAnchor DrawingPositionType = "wp:anchor"
	DrawingPositionInline DrawingPositionType = "wp:inline"
)

type FontPitchType

type FontPitchType string
const (
	FontPitchTypeDefault  FontPitchType = "default"
	FontPitchTypeFixed    FontPitchType = "fixed"
	FontPitchTypeVariable FontPitchType = "variable"
)

type PoistionH

type PoistionH struct {
	RelativeFrom RelativeFromHType
	PosOffset    int
}

func (*PoistionH) MarshalXML

func (p *PoistionH) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (*PoistionH) UnmarshalXML

func (p *PoistionH) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

type PoistionV

type PoistionV struct {
	RelativeFrom RelativeFromVType
	PosOffset    int
}

func (*PoistionV) MarshalXML

func (p *PoistionV) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (*PoistionV) UnmarshalXML

func (p *PoistionV) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

type PositionType

type PositionType struct {
	XAttr int `xml:"x,attr"`
	YAttr int `xml:"y,attr"`
}

type RelativeFromHType

type RelativeFromHType string
const (
	RelativeFromHTypeCharacter     RelativeFromHType = "character"
	RelativeFromHTypeColumn        RelativeFromHType = "column"
	RelativeFromHTypeInsideMargin  RelativeFromHType = "insideMargin"
	RelativeFromHTypeLeftMargin    RelativeFromHType = "leftMargin"
	RelativeFromHTypeMargin        RelativeFromHType = "margin"
	RelativeFromHTypeOutsizeMargin RelativeFromHType = "outsizeMargin"
	RelativeFromHTypePage          RelativeFromHType = "page"
	RelativeFromHTypeRightMargin   RelativeFromHType = "rightMargin"
)

type RelativeFromVType

type RelativeFromVType string
const (
	RelativeFromVTypeBottomMargin  RelativeFromVType = "bottomMargin"
	RelativeFromVTypeInsideMargin  RelativeFromVType = "insideMargin"
	RelativeFromVTypeLine          RelativeFromVType = "line"
	RelativeFromVTypeMargin        RelativeFromVType = "margin"
	RelativeFromVTypeOutsizeMargin RelativeFromVType = "outsizeMargin"
	RelativeFromVTypePage          RelativeFromVType = "page"
	RelativeFromVTypeParagraph     RelativeFromVType = "paragraph"
	RelativeFromVTypeTopMargin     RelativeFromVType = "topMargin"
)

Jump to

Keyboard shortcuts

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