Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
Instead of forcing the type to be of gofpdf.Fpdf, we now use an
interface which could be whatever structure we want. This is useful for
third party libraries where they can define their own interface for the
PDF generator but still use these contribution packages.
HttpImg: add interface comment.
Barcode: implement specific PDF interface.
|
|
This package adds the ability to easily add a barcode to the PDF. This
barcode is generated with the github.com/boombuler/barcode package.
It adds wrappers for all the available barcode types through the
`Register()` and `Register<Type>()` methods. These register methods put
the barcode on the PDF, but not on the page. They will return a unique
key that should be used later on with the `Barcode()` method scale the
barcode and put it on the page.
|
|
|
|
This will now be generated in the main pdf folder (`gofpdf/pdf`).
|
|
|
|
|
|
|
|
By changing the name, we can use a uniform name across several packages.
|
|
|
|
Remote can mean several things, HTTP is more specific and matches the
actual implementation.
|
|
|
|
This is a wrapper around manually having to download the image and
registering it. It registers an image based on it's URL, it will
download that image and add it to the PDF. It will however not add it
immediately to the page. This is done by calling `Image()` with the same
URL.
|