Skip to content

taylowar/pdfb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDFB

A pdf building library for nodejs hehe.


!! DOCUMENTATION IN PROGRESS !!


TODO

  • Save path setters / getters
setSavePath(path: string): string;
getSavePath(): string;

DONE

  • PdfBuilder

    • save document
        save(options?: {
          render: true,
          savePath: ''
        })
  • Section.class calculate start, end, size based of the elements inside

    • basically a way of creating a wrapper (background) that covers all elements of a section
  • Page

    • Stores individual page data
    • Section[]
    • PdfBuilder.class stores a page array Page[]
  • Fix padding handling inside PdfBuilder

    • Padding should affect the document start/end positions

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published