Back to godoc.org

Package apidocumizecom

v3.2.0+incompatible
Latest Go to latest
Published: Aug 29, 2019 | License: AGPL-3.0 | Module: github.com/documize/community

Index

Package Files

func MSwordConvert

func MSwordConvert(ctx context.Context, in interface{}) (interface{}, error)

MSwordConvert provides the standard interface for conversion of a MS-Word document. All the function does is return a pointer to api.DocumentConversionResponse with PagesHTML set to the given (*api.DocumentConversionRequest).Filedata converted by the Documize server.

type Msword

type Msword struct{}

Msword type provides a peg to hang the Convert method on.

func (*Msword) Convert

func (file *Msword) Convert(r api.DocumentConversionRequest, reply *api.DocumentConversionResponse) error

Convert converts a file into the Documize format.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier