Spaces:
Sleeping
Sleeping
Download processmaker-files/thirdparty/html2ps_pdf/box.null.php from kenken999/processmaker-community: direct link, hf CLI and curl.
- Browser
- Download file 866 Bytes
-
https://huggingface.co/spaces/kenken999/processmaker-community/resolve/main/processmaker-files/thirdparty/html2ps_pdf/box.null.php
- Command line
-
hf download hf://spaces/kenken999/processmaker-community/processmaker-files/thirdparty/html2ps_pdf/box.null.php
-
curl -L -o box.null.php https://huggingface.co/spaces/kenken999/processmaker-community/resolve/main/processmaker-files/thirdparty/html2ps_pdf/box.null.php
866 Bytes
| // $Header: /cvsroot/html2ps/box.null.php,v 1.18 2006/07/09 09:07:44 Konstantin Exp $ | |
| class NullBox extends GenericInlineBox { | |
| function get_min_width(&$context) { return 0; } | |
| function get_max_width(&$context) { return 0; } | |
| function get_height() { return 0; } | |
| function NullBox() { | |
| $this->GenericInlineBox(); | |
| } | |
| function &create() { | |
| $box =& new NullBox; | |
| $css_state = new CSSState(CSS::get()); | |
| $css_state->pushState(); | |
| $box->readCSS($css_state); | |
| return $box; | |
| } | |
| function show(&$viewport) { | |
| return true; | |
| } | |
| function reflow_static(&$parent, &$context) { | |
| // Move current "box" to parent current coordinates. It is REQUIRED, | |
| // as some other routines uses box coordinates. | |
| $this->put_left($parent->get_left()); | |
| $this->put_top($parent->get_top()); | |
| } | |
| function is_null() { return true; } | |
| } | |