Example #1
0
        internal bool load(CSXml.cXml xDoc, XmlNode nodeObj)
        {
            m_objectID = new cReportPageID();
            m_info     = new cReportPageInfo();

            m_value   = xDoc.getNodeProperty(nodeObj, "Value").getValueString(eTypes.eText);
            m_visible = xDoc.getNodeProperty(nodeObj, "Visible").getValueBool(eTypes.eBoolean);
            m_top     = xDoc.getNodeProperty(nodeObj, "Top").getValueInt(eTypes.eLong);
            m_height  = xDoc.getNodeProperty(nodeObj, "Height").getValueInt(eTypes.eLong);
            m_width   = xDoc.getNodeProperty(nodeObj, "Width").getValueInt(eTypes.eLong);

            XmlNode nodeObjAux = null;

            nodeObjAux = nodeObj;
            if (!m_objectID.load(xDoc, nodeObjAux))
            {
                return(false);
            }
            nodeObjAux = nodeObj;
            if (!m_info.load(xDoc, nodeObjAux))
            {
                return(false);
            }

            return(true);
        }
Example #2
0
 public void setObjectID(cReportPageID rhs)
 {
     m_objectID = rhs;
 }
 public void setObjectID(cReportPageID rhs)
 {
     m_objectID = rhs;
 }
        internal bool load(CSXml.cXml xDoc, XmlNode nodeObj)
        {
            m_objectID = new cReportPageID();
            m_info = new cReportPageInfo();

            m_value = xDoc.getNodeProperty(nodeObj, "Value").getValueString(eTypes.eText);
            m_visible = xDoc.getNodeProperty(nodeObj, "Visible").getValueBool(eTypes.eBoolean);
            m_top = xDoc.getNodeProperty(nodeObj, "Top").getValueInt(eTypes.eLong);
            m_height = xDoc.getNodeProperty(nodeObj, "Height").getValueInt(eTypes.eLong);
            m_width = xDoc.getNodeProperty(nodeObj, "Width").getValueInt(eTypes.eLong);

            XmlNode nodeObjAux = null;
            nodeObjAux = nodeObj;
            if (!m_objectID.load(xDoc, nodeObjAux)) 
            { 
                return false; 
            }
            nodeObjAux = nodeObj;
            if (!m_info.load(xDoc, nodeObjAux)) 
            { 
                return false; 
            }

            return true;
        }