| 1 | package PDF::Make::Builder::TOC::Outline; | ||
| 2 | use strict; | ||
| 3 | use warnings; | ||
| 4 | use Object::Proto; | ||
| 5 | |||
| 6 | BEGIN { | ||
| 7 | Object::Proto::define('PDF::Make::Builder::TOC::Outline', | ||
| 8 | 'text:Str:required', | ||
| 9 | 'page_num:Int:required', | ||
| 10 | 'level:Int:default(1)', | ||
| 11 | 'children:ArrayRef:default([])', | ||
| 12 | ); | ||
| 13 | Object::Proto::import_accessors('PDF::Make::Builder::TOC::Outline'); | ||
| 14 | } | ||
| 15 | |||
| 16 | 1; | ||
| 17 | |||
| 18 | __END__ |