final function reflow()
 {
     // Uncomment this to see the frames before they're laid out, instead of
     // during rendering.
     //echo $this->_frame; flush();
     $this->_reflower->reflow();
 }
Ejemplo n.º 2
0
 function __construct(Text_Frame_Decorator $frame)
 {
     parent::__construct($frame);
     $this->_block_parent = null;
     // Handle text transform
     $transform = $this->_frame->get_style()->text_transform;
     switch (strtolower($transform)) {
         case "capitalize":
             $this->_frame->set_text(ucwords($this->_frame->get_text()));
             break;
         case "uppercase":
             $this->_frame->set_text(strtoupper($this->_frame->get_text()));
             break;
         case "lowercase":
             $this->_frame->set_text(strtolower($this->_frame->get_text()));
             break;
         default:
             // Do nothing
             break;
     }
 }
 function __construct(Frame_Decorator $frame)
 {
     parent::__construct($frame);
 }
 function __construct(Table_Row_Frame_Decorator $frame)
 {
     parent::__construct($frame);
 }
 function __construct($frame)
 {
     parent::__construct($frame);
 }
 function __construct(Table_Frame_Decorator $frame)
 {
     $this->_state = null;
     parent::__construct($frame);
 }
 function __construct(Text_Frame_Decorator $frame)
 {
     parent::__construct($frame);
     $this->_block_parent = null;
 }
Ejemplo n.º 8
0
 final function get_min_max_width()
 {
     return $this->_reflower->get_min_max_width();
 }
 function __construct(List_Bullet_Frame_Decorator $frame)
 {
     parent::__construct($frame);
 }