public function copyFrom($style)
{
parent::copyFrom($style);
if ($style instanceof TTableItemStyle) {
if ($this->_verticalAlign === null && $style->_verticalAlign !== null) {
$this->_verticalAlign = $style->_verticalAlign;
}
if ($this->_horizontalAlign === null && $style->_horizontalAlign !== null) {
$this->_horizontalAlign = $style->_horizontalAlign;
}
if ($this->_wrap === null && $style->_wrap !== null) {
$this->_wrap = $style->_wrap;
}
}
}