office

package
v1.18.3 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyWorkspace

func ApplyWorkspace() (ws string, err error)

func ClearWorkspace

func ClearWorkspace(ws string)

func Marshall

func Marshall(sourceFolder string, destFile string) (err error)

Marshall 编译成open xml文件

func RenderTemplate

func RenderTemplate(file string, data any) (err error)

func UnMarshall

func UnMarshall(sourceFile string, destFolder string) (err error)

UnMarshall open xml文件反编译成文件明细

Types

type OpenXmlMarshaller

type OpenXmlMarshaller struct {
	// contains filtered or unexported fields
}

func (*OpenXmlMarshaller) Marshall

func (d *OpenXmlMarshaller) Marshall(inputFolder string, outFile string) (err error)

func (*OpenXmlMarshaller) UnMarshall

func (d *OpenXmlMarshaller) UnMarshall(inputFile string, outFolder string) (err error)

Jump to

Keyboard shortcuts

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