Lines Matching +full:template +(+path:plugin +path:dw2pdf) -(+path:plugin +path:dw2pdf +path:lang)

29      * The template id for the currently created template.
36 * A counter for template ids.
52 throw new \BadMethodCallException('The page format cannot be changed when writing to a template.');
87 * Draws a template onto the page or another template.
92 * @param mixed $tpl The template id
105 throw new \InvalidArgumentException('Template does not exist!');
118 $template = $this->templates[$tpl];
134 $template['id']
142 * Get the size of a template.
147 * @param mixed $tpl The template id
183 * Begins a new template.
185 * @param float|int|null $width The width of the template. If null, the current page width is used.
186 * @param float|int|null $height The height of the template. If null, the current page height is used.
188 * @return int A template identifier.
263 * Ends a template.
265 * @return bool|int|null A template identifier.
274 $template = $this->templates[$templateId];
276 $state = $template['state'];
310 * Get the next template id.
327 throw new \BadMethodCallException('Pages cannot be added when writing to a template.');
338 throw new \BadMethodCallException('Links cannot be set when writing to a template.');
349 throw new \BadMethodCallException('Links cannot be set when writing to a template.');
416 foreach ($this->templates as $key => $template) {
421 $this->_put(\sprintf('/BBox[0 0 %.2F %.2F]', $template['width'] * $this->k, $template['height'] * $this->k));
425 $buffer = \gzcompress($template['buffer']);
428 $buffer = $template['buffer'];
433 if ($template['groupXObject']) {
448 foreach ($this->templates as $key => $template) {
449 $this->_put('/' . $template['id'] . ' ' . $template['objectNumber'] . ' 0 R');