code: func (t *FpdfTpl) FromPages() []Template {
  	p := make([]Template, t.NumPages())
  	for x := 1; x <= t.NumPages(); x++ {
  		// the only error is when accessing a
  		// non existing template... that can't happen
  		// here
  		p[x-1], _ = t.FromPage(x)
  	}
  
  	return p
  }
docs: // FromPages creates a template slice with all the pages within a template.