| 28 | } |
| 29 | |
| 30 | type Document struct { |
| 31 | name string |
| 32 | items []item |
| 33 | pages []*Page |
| 34 | nextPageInfo *PageInfo |
| 35 | insertBounds Rectangle // Current bounds for pagination |
| 36 | } |
| 37 | |
| 38 | func NewDocument(name string) *Document { |
| 39 | return &Document{ |
nothing calls this directly
no outgoing calls
no test coverage detected