private bool loadLaunchInfo(CSXml.cXml docXml) { XmlNode nodeObj = docXml.getRootNode(); nodeObj = docXml.getNodeFromNode(nodeObj, C_LAUNCHINFO); return m_launchInfo.load(docXml, nodeObj); }
private bool nLoadData(CSXml.cXml docXml) { XmlNode nodeObj = null; XmlNode nodeObjAux = null; XmlNode nodeObjSec = null; m_pages.clear(); nodeObj = docXml.getRootNode(); nodeObj = docXml.getNodeFromNode(nodeObj, C_NODERPTPAGES); if (docXml.nodeHasChild(nodeObj)) { nodeObjSec = docXml.getNodeChild(nodeObj); while (nodeObjSec != null) { nodeObjAux = nodeObjSec; cReportPage page = m_pages.add(null); if (!page.load(docXml, nodeObjAux)) { return false; } nodeObjSec = docXml.getNextNode(nodeObjSec); } } return true; }
private bool loadGroups(CSXml.cXml docXml) { XmlNode nodeObj = null; XmlNode nodeObjAux = null; XmlNode nodeObjGroup = null; nodeObj = docXml.getRootNode(); nodeObj = docXml.getNodeFromNode(nodeObj, C_NODEGROUPS); if (docXml.nodeHasChild(nodeObj)) { nodeObjGroup = docXml.getNodeChild(nodeObj); while (nodeObjGroup != null) { nodeObjAux = nodeObjGroup; String key = docXml.getNodeProperty(nodeObjAux, "Key").getValueString(eTypes.eText); cReportGroup group = getGroups().add(null, key); if (!group.load(docXml, nodeObjAux)) { return false; } nodeObjGroup = docXml.getNextNode(nodeObjGroup); } } return true; }
private bool loadConnectsAux(CSXml.cXml docXml) { XmlNode nodeObj = docXml.getRootNode(); nodeObj = docXml.getNodeFromNode(nodeObj, C_RPTCONNECTSAUX); return m_connectsAux.load(docXml, nodeObj); }
private bool loadFormulas(CSXml.cXml docXml) { XmlNode nodeObj = null; XmlNode nodeObjAux = null; XmlNode nodeObjSec = null; nodeObj = docXml.getRootNode(); nodeObj = docXml.getNodeFromNode(nodeObj, C_NODERPTFORMULAS); if (docXml.nodeHasChild(nodeObj)) { nodeObjSec = docXml.getNodeChild(nodeObj); while (nodeObjSec != null) { nodeObjAux = nodeObjSec; String name = docXml.getNodeProperty(nodeObjAux, "Name").getValueString(eTypes.eText); cReportFormula formula = m_formulas.add(name); if (!formula.load(docXml, nodeObjAux)) { return false; } nodeObjSec = docXml.getNextNode(nodeObjSec); } } return true; }
private bool loadAux(CSXml.cXml docXml, cReportSections sections, String keySection) { XmlNode nodeObj = null; XmlNode nodeObjAux = null; XmlNode nodeObjSec = null; nodeObj = docXml.getRootNode(); nodeObj = docXml.getNodeFromNode(nodeObj, keySection); if (docXml.nodeHasChild(nodeObj)) { nodeObjSec = docXml.getNodeChild(nodeObj); while (nodeObjSec != null) { nodeObjAux = nodeObjSec; String key = docXml.getNodeProperty(nodeObjAux, "Key").getValueString(eTypes.eText); cReportSection sec = sections.add(null, key); if (!sec.load(docXml, nodeObjAux)) { return false; } nodeObjSec = docXml.getNextNode(nodeObjSec); } } return true; }
private void loadPaperInfo(CSXml.cXml docXml) { XmlNode nodeObj = null; nodeObj = docXml.getRootNode(); nodeObj = docXml.getNodeFromNode(nodeObj, C_NODEPAPERINFO); if (!m_paperInfo.load(docXml, nodeObj)) { return; } }