evert

package module
v0.0.0-...-0e8aa15 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2024 License: AGPL-3.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Evert

type Evert struct {
	Doc *docx.Docx
}

func New

func New(file io.ReaderAt, size int64) (*Evert, error)

func (*Evert) GetBytes

func (E *Evert) GetBytes() ([]byte, error)

func (*Evert) SaveFormattedDoc

func (E *Evert) SaveFormattedDoc(path string) error

type EvertFormatter

type EvertFormatter struct {
	EvertDoc *Evert
}

func NewFormatter

func NewFormatter(doc *Evert) *EvertFormatter

func (*EvertFormatter) AddSpace

func (EF *EvertFormatter) AddSpace(idx int, elements *[]interface{})

func (*EvertFormatter) CapitalizePictureSentence

func (EF *EvertFormatter) CapitalizePictureSentence(element *interface{})

func (*EvertFormatter) Format

func (EF *EvertFormatter) Format(params FormatterParams)

func (*EvertFormatter) IsHaveEmptySpace

func (EF *EvertFormatter) IsHaveEmptySpace(idx int, elements *[]interface{}) bool

type FormatterParams

type FormatterParams struct {
	AddSpacesBeetweenImageText bool
	FormatImagDescription      bool
}

Directories

Path Synopsis
cmd
evert command

Jump to

Keyboard shortcuts

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