Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompileToBook ¶
Types ¶
type PDFMergeState ¶
type PDFMergeState struct { // m.BaseDir set here BaseDir string // the path to put merged file at OutPath string // if set true, index in bookmark names will be there IndexedBookmarkNames bool // contains filtered or unexported fields }
PDFMergeState shares data across the merged pdf generation process
func (*PDFMergeState) MergePdf ¶
func (mState *PDFMergeState) MergePdf(filePath string, parentBookmark *pdfcpu.Bookmark) (bookmark *pdfcpu.Bookmark, err error)
MergePdf finally merges the pdf "file" in the final output file path and returns the bookmark for that file that can even be nil for skipped case
func (*PDFMergeState) TriggerEveryPDFMergeInOrder ¶
func (mState *PDFMergeState) TriggerEveryPDFMergeInOrder(nTree *list.NestedPathTree, parentBookmark *pdfcpu.Bookmark) (bookmark *pdfcpu.Bookmark, err error)
Click to show internal directories.
Click to hide internal directories.