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 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址