func (LibreOffice) Descriptor() gotenberg.ModuleDescriptor {
	return gotenberg.ModuleDescriptor{
		ID: "libreoffice",
		FlagSet: func() *flag.FlagSet {
			fs := flag.NewFlagSet("libreoffice", flag.ExitOnError)
			fs.Bool("libreoffice-disable-routes", false, "Disable the routes")
			return fs
		}(),
		New: func() gotenberg.Module { return new(LibreOffice) },
	}
}
Descriptor returns a LibreOffice's module descriptor.
package libreoffice
import (
	"fmt"
	"github.com/gotenberg/gotenberg/v7/pkg/gotenberg"
	"github.com/gotenberg/gotenberg/v7/pkg/modules/api"
	"github.com/gotenberg/gotenberg/v7/pkg/modules/libreoffice/unoconv"
	flag "github.com/spf13/pflag"
)
func init() {
	gotenberg.MustRegisterModule(LibreOffice{})
}
type LibreOffice struct {
	unoconv       unoconv.API
	engine        gotenberg.PDFEngine
	disableRoutes bool
}