public function setItalic($value) { $this->_flags |= self::IS_SET_ITALIC; if (TPropertyValue::ensureBoolean($value)) { $this->_flags |= self::IS_ITALIC; } else { $this->_flags &= ~self::IS_ITALIC; } }