// Path: poi4xpages/bundles/biz.webgate.dominoext.poi.utils/src/biz/webgate/dominoext/poi/utils/xsp/ValueBindingSupport.java
// public static Boolean getBooleanValue(Boolean value, String valueName, ValueBindingObjectImpl uic, Boolean defaultBoolean, FacesContext context) {
// 	if (value != null) {
// 		return value;
// 	}
// 	ValueBinding vb = uic.getValueBinding(valueName);
// 	if (vb != null) {
// 		return (Boolean) vb.getValue(context);
// 	}
// 	return defaultBoolean;
// }
// 
// Path: poi4xpages/bundles/biz.webgate.dominoext.poi.utils/src/biz/webgate/dominoext/poi/utils/xsp/ValueBindingSupport.java
// public static Short getShortValue(Short value, String valueName, ValueBindingObjectImpl uic, Short defaultShort, FacesContext context) {
// 	if (value != null) {
// 		return value;
// 	}
// 	ValueBinding vb = uic.getValueBinding(valueName);
// 	if (vb != null) {
// 		return (Short) vb.getValue(context);
// 	}
// 	return defaultShort;
// }
// 
// Path: poi4xpages/bundles/biz.webgate.dominoext.poi.utils/src/biz/webgate/dominoext/poi/utils/xsp/ValueBindingSupport.java
// public static String getStringValue(String strValue, String strValueName, ValueBindingObjectImpl uic, String strDefault, FacesContext context) {
// 	if (strValue != null) {
// 		return strValue;
// 	}
// 	ValueBinding vb = uic.getValueBinding(strValueName);
// 	if (vb != null) {
// 		return (String) vb.getValue(context);
// 	}
// 	return strDefault;
// }


import static biz.webgate.dominoext.poi.utils.xsp.ValueBindingSupport.getBooleanValue;
import static biz.webgate.dominoext.poi.utils.xsp.ValueBindingSupport.getShortValue;
import static biz.webgate.dominoext.poi.utils.xsp.ValueBindingSupport.getStringValue;
import javax.faces.context.FacesContext;
import org.apache.poi.ss.usermodel.CellStyle;
import com.ibm.xsp.complex.ValueBindingObjectImpl;
		state[19] = m_Hidden;
		state[20] = m_Indention;
		state[21] = m_LeftBorderColor;
		state[22] = m_Locked;
		state[23] = m_RightBorderColor;
		state[24] = m_Rotation;
		state[25] = m_TopBorderColor;
		state[26] = m_VerticalAlignment;
		state[27] = m_WrapText;
		return state;
	}

	@Override
	public void restoreState(FacesContext context, Object arg1) {
		Object[] state = (Object[]) arg1;
		super.restoreState(context, state[0]);
		m_Alignment = (String) state[1];
		m_BorderBottom = (String) state[2];
		m_BorderTop = (String) state[3];
		m_BorderRight = (String) state[4];
		m_BorderLeft = (String) state[5];
		m_BottomBorderColor = (String) state[6];
		m_DataFormat = (String) state[7];
		m_FillBackgroundColor = (String) state[8];
		m_FillForegroundColor = (String) state[9];
		m_FillPattern = (String) state[10];
		m_FontBoldweight = (String) state[11];
		m_FontColor = (String) state[12];
		m_FontHeightInPoints = (Short) state[13];
		m_FontItalic = (Boolean) state[14];
// Path: poi4xpages/bundles/biz.webgate.dominoext.poi.utils/src/biz/webgate/dominoext/poi/utils/xsp/ValueBindingSupport.java
// public static Boolean getBooleanValue(Boolean value, String valueName, ValueBindingObjectImpl uic, Boolean defaultBoolean, FacesContext context) {
// 	if (value != null) {
// 		return value;
// 	}
// 	ValueBinding vb = uic.getValueBinding(valueName);
// 	if (vb != null) {
// 		return (Boolean) vb.getValue(context);
// 	}
// 	return defaultBoolean;
// }
// 
// Path: poi4xpages/bundles/biz.webgate.dominoext.poi.utils/src/biz/webgate/dominoext/poi/utils/xsp/ValueBindingSupport.java
// public static Short getShortValue(Short value, String valueName, ValueBindingObjectImpl uic, Short defaultShort, FacesContext context) {
// 	if (value != null) {
// 		return value;
// 	}
// 	ValueBinding vb = uic.getValueBinding(valueName);
// 	if (vb != null) {
// 		return (Short) vb.getValue(context);
// 	}
// 	return defaultShort;
// }
// 
// Path: poi4xpages/bundles/biz.webgate.dominoext.poi.utils/src/biz/webgate/dominoext/poi/utils/xsp/ValueBindingSupport.java
// public static String getStringValue(String strValue, String strValueName, ValueBindingObjectImpl uic, String strDefault, FacesContext context) {
// 	if (strValue != null) {
// 		return strValue;
// 	}
// 	ValueBinding vb = uic.getValueBinding(strValueName);
// 	if (vb != null) {
// 		return (String) vb.getValue(context);
// 	}
// 	return strDefault;
// }


// Path: poi4xpages/bundles/biz.webgate.dominoext.poi/src/biz/webgate/dominoext/poi/component/data/ss/cell/PoiCellStyle.java
import static biz.webgate.dominoext.poi.utils.xsp.ValueBindingSupport.getBooleanValue;
import static biz.webgate.dominoext.poi.utils.xsp.ValueBindingSupport.getShortValue;
import static biz.webgate.dominoext.poi.utils.xsp.ValueBindingSupport.getStringValue;
import javax.faces.context.FacesContext;
import org.apache.poi.ss.usermodel.CellStyle;
import com.ibm.xsp.complex.ValueBindingObjectImpl;

		state[19] = m_Hidden;
		state[20] = m_Indention;
		state[21] = m_LeftBorderColor;
		state[22] = m_Locked;
		state[23] = m_RightBorderColor;
		state[24] = m_Rotation;
		state[25] = m_TopBorderColor;
		state[26] = m_VerticalAlignment;
		state[27] = m_WrapText;
		return state;
	}

	@Override
	public void restoreState(FacesContext context, Object arg1) {
		Object[] state = (Object[]) arg1;
		super.restoreState(context, state[0]);
		m_Alignment = (String) state[1];
		m_BorderBottom = (String) state[2];
		m_BorderTop = (String) state[3];
		m_BorderRight = (String) state[4];
		m_BorderLeft = (String) state[5];
		m_BottomBorderColor = (String) state[6];
		m_DataFormat = (String) state[7];
		m_FillBackgroundColor = (String) state[8];
		m_FillForegroundColor = (String) state[9];
		m_FillPattern = (String) state[10];
		m_FontBoldweight = (String) state[11];
		m_FontColor = (String) state[12];
		m_FontHeightInPoints = (Short) state[13];
		m_FontItalic = (Boolean) state[14];
		m_FontName = (String) state[15];