function from_box(&$box)
 {
     $field = new BoxTextFieldPageNo();
     $field->copy_style($box);
     $field->words = array("000");
     $field->encodings = array("iso-8859-1");
     $field->_left = $box->_left;
     $field->_top = $box->_top;
     $field->baseline = $box->baseline;
     return $field;
 }
 function from_box(&$box)
 {
     $field = new BoxTextFieldPageNo();
     $field->copy_style($box);
     $field->word = "000";
     $field->encoding = $box->encoding;
     $field->src_encoding = $box->src_encoding;
     $field->size = $box->size;
     $field->decoration = $box->decoration;
     $field->family = $box->family;
     $field->weight = $box->weight;
     $field->style = $box->style;
     $field->_left = $box->_left;
     $field->_top = $box->_top;
     $field->_width_constraint = $box->_width_constraint;
     $field->_height_constraint = $box->_height_constraint;
     $field->baseline = $box->baseline;
     return $field;
 }