diff options
author | Kurt Jung <kurt.w.jung@gmail.com> | 2015-10-10 09:11:53 -0400 |
---|---|---|
committer | Kurt Jung <kurt.w.jung@gmail.com> | 2015-10-10 09:11:53 -0400 |
commit | e924055b983321336e31f556f5235ea79fe72134 (patch) | |
tree | 49a1b976e4618d739ea7a55b1869321c82f84d03 /fpdf_test.go | |
parent | cae789a4e309eb39bd6145f93361a3745effbb2d (diff) |
Implement conditional catalog sort feature
Diffstat (limited to 'fpdf_test.go')
-rw-r--r-- | fpdf_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fpdf_test.go b/fpdf_test.go index e45f966..39cebc0 100644 --- a/fpdf_test.go +++ b/fpdf_test.go @@ -110,6 +110,7 @@ func Example() { // This example demonsrates the generation of headers, footers and page breaks. func ExampleFpdf_AddPage() { pdf := gofpdf.New("P", "mm", "A4", "") + pdf.SetCatalogSort(true) pdf.SetHeaderFunc(func() { pdf.Image(example.ImageFile("logo.png"), 10, 6, 30, 0, false, "", 0, "") pdf.SetY(5) |