| | |
| | | int GetGroupStartRow(int nGroup) { return GetDwTable()->GetGroupStartRow_(nGroup); } //得到指定组的开始行 |
| | | int GetGroupRowCount(int nGroup) { return GetDwTable()->GetGroupRowCount_(nGroup); } //得到指定组的结束行 |
| | | int InsertGroupRow(int nGroup, int nRow) { return GetDwTable()->InsertGroupRow_(nGroup, nRow); } //插入组行 |
| | | int GetGroupFromRow(int nRow) { return GetDwTable()->GetGroupFromRow(nRow); } |
| | | public: |
| | | int GetMaxDeep() { return GetDwTable()->GetMaxDeep_(); } //插入数据视图的最大深度 |
| | | int GetLevel() { return GetDwTable()->GetLevel_(); } //得到数据视图的级号 |
| | |
| | | { |
| | | return GetDwTable()->SetItemTipString(nRow, ColumnName, lptStr, dwBuffer); |
| | | } |
| | | |
| | | xstring GetItemString(int nRow, xstring ColumnName, kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->GetItemString_(nRow, ColumnName.c_str(), dwBuffer); |
| | | }//得到数据值 |
| | | xstring SetItemString(int nRow, xstring ColumnName, LPCTSTR value,kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->SetItemString_(nRow, ColumnName.c_str(),value, dwBuffer); |
| | | } |
| | | xstring SetItemString(int nRow, xstring ColumnName, xstring value, kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->SetItemString_(nRow, ColumnName.c_str(), value.c_str(), dwBuffer); |
| | | } |
| | | xstring SetItemString(int nRow, LPCTSTR ColumnName, xstring value, kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->SetItemString_(nRow, ColumnName, value.c_str(), dwBuffer); |
| | | } |
| | | xstring SetItemString(int nRow, int ColumnName, xstring value, kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->SetItemString_(nRow, ColumnName, value.c_str(), dwBuffer); |
| | | } |
| | | |
| | | xstring GetItemDisplayString(int nRow, xstring ColumnName, kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->GetItemDisplayString(nRow, ColumnName.c_str(), dwBuffer); |
| | | }//得到数据值 |
| | | xstring SetItemDisplayString(int nRow, xstring ColumnName, LPCTSTR value, kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->SetItemDisplayString(nRow, ColumnName.c_str(), value, dwBuffer); |
| | | } |
| | | xstring SetItemDisplayString(int nRow, xstring ColumnName, xstring value, kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->SetItemDisplayString(nRow, ColumnName.c_str(), value.c_str(), dwBuffer); |
| | | } |
| | | xstring SetItemDisplayString(int nRow, LPCTSTR ColumnName, xstring value, kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->SetItemDisplayString(nRow, ColumnName, value.c_str(), dwBuffer); |
| | | } |
| | | xstring SetItemDisplayString(int nRow, int ColumnName, xstring value, kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->SetItemDisplayString(nRow, ColumnName, value.c_str(), dwBuffer); |
| | | } |
| | | |
| | | xstring ItemChangeTo(int nRow, xstring ColumnName, LPCTSTR value, kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->ItemChangeTo(nRow, ColumnName.c_str(), value, dwBuffer); |
| | | } |
| | | xstring ItemChangeTo(int nRow, xstring ColumnName, xstring value, kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->ItemChangeTo(nRow, ColumnName.c_str(), value.c_str(), dwBuffer); |
| | | } |
| | | xstring ItemChangeTo(int nRow, LPCTSTR ColumnName, xstring value, kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->ItemChangeTo(nRow, ColumnName, value.c_str(), dwBuffer); |
| | | } |
| | | xstring ItemChangeTo(int nRow, int ColumnName, xstring value, kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->ItemChangeTo(nRow, ColumnName, value.c_str(), dwBuffer); |
| | | } |
| | | public: |
| | | int AcceptText() |
| | | { |
| | | return GetDwTable()->AcceptText(); |
| | | return GetDwTable()->AcceptText_(); |
| | | } |
| | | int getNullCell(POINT& p) |
| | | { |
| | |
| | | { |
| | | return GetDwTable()->SetRowSort(colName, colOrder); |
| | | } |
| | | |
| | | public: |
| | | int GetItemInt(int row, int col) |
| | | { |
| | | xstring str = GetItemString(row, col); |
| | | str = str.replace(L",", L""); |
| | | return str.toInt(); |
| | | } |
| | | |
| | | double GetItemDouble(int row, int col) |
| | | { |
| | | xstring str = GetItemString(row, col); |
| | | str = str.replace(L",", L""); |
| | | return str.toDouble(); |
| | | } |
| | | |
| | | int GetItemInt(int row, string col) |
| | | { |
| | | xstring str = GetItemString(row, col); |
| | | str = str.replace(L",", L""); |
| | | return str.toInt(); |
| | | } |
| | | |
| | | double GetItemDouble(int row, string col) |
| | | { |
| | | xstring str = GetItemString(row, col); |
| | | str = str.replace(L",", L""); |
| | | return str.toDouble(); |
| | | } |
| | | |
| | |
| | | DwRetrieve(ServerUrl, src, arg.GetString()); |
| | | return 1; |
| | | } |
| | | |
| | | int RetrieveDiff(KXMLDOMElement pElement) |
| | | { |
| | | return 0; |
| | | } |
| | | int RetrieveDiff(KXMLDOMDocument& xml) |
| | | { |
| | | return 0; |
| | | } |
| | | int DwUpdateToDiff(KXMLDOMDocument pXmlDoc) |
| | | { |
| | | return 0; |
| | | } |
| | | int DwUpdateAllToDiff(KXMLDOMDocument pXmlDoc) |
| | | { |
| | | return 0; |
| | | } |
| | | |
| | | }; |
| | | |
| | | |