exporter

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeviceWidth  = 1404
	DeviceHeight = 1872
)

Variables

This section is empty.

Functions

func NewSeekCloser

func NewSeekCloser(b []byte) io.ReadSeekCloser

func RenderPoundifdef

func RenderPoundifdef(input, output string) (io.ReadCloser, error)

RenderPoundifdef caligraphy pen is nice

func RenderRmapi

func RenderRmapi(a *MyArchive, output io.Writer) error

RenderRmapi renders with rmapi

Types

type MyArchive

type MyArchive struct {
	archive.Zip
	PayloadReader io.ReadSeekCloser
}

MyArchive but having the payload reader

func (*MyArchive) Close

func (f *MyArchive) Close()

type PdfGenerator

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

func (*PdfGenerator) Generate

func (p *PdfGenerator) Generate(zip *MyArchive, output io.Writer, options PdfGeneratorOptions) (err error)

type PdfGeneratorOptions

type PdfGeneratorOptions struct {
	AddPageNumbers  bool
	AllPages        bool
	AnnotationsOnly bool //export the annotations without the background/pdf
}

type SeekCloser

type SeekCloser struct {
	*bytes.Reader
}

func (*SeekCloser) Close

func (*SeekCloser) Close() error

Close closes

Jump to

Keyboard shortcuts

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