| | |
| | | return getKReport()->AddRepeats(colName); |
| | | } |
| | | public: |
| | | LPTSTR GetColumnProp(int nCol, LPCTSTR pItem) |
| | | LPCTSTR GetColumnProp(int nCol, LPCTSTR pItem) |
| | | { |
| | | return getKReport()->GetColumnProp(nCol, pItem); |
| | | return L""; |
| | | //return getKReport()->GetColumnProp(nCol, pItem); |
| | | } |
| | | |
| | | LPTSTR GetColumnProp(LPCTSTR pColName, LPCTSTR pItem) |
| | | LPCTSTR GetColumnProp(LPCTSTR pColName, LPCTSTR pItem) |
| | | { |
| | | return getKReport()->GetColumnProp(pColName, pItem); |
| | | return L""; |
| | | //return getKReport()->GetColumnProp(pColName, pItem); |
| | | } |
| | | |
| | | int GetItemInt(int row, int col) |
| | |
| | | return str.toInt(); |
| | | } |
| | | |
| | | int GetItemInt(int row, string col) |
| | | int GetItemInt(int row, xstring col) |
| | | { |
| | | xstring str = GetItemString(row, col); |
| | | xstring str = GetItemString(row, col.c_str()); |
| | | return str.toInt(); |
| | | } |
| | | |
| | |
| | | return SetItemString(row, col, xstring(str)); |
| | | } |
| | | |
| | | bool SetItemInt(int row, string col, int str) |
| | | bool SetItemInt(int row, xstring col, int str) |
| | | { |
| | | return SetItemString(row, col, xstring(str)); |
| | | return SetItemString(row, col.c_str(), xstring(str)); |
| | | } |
| | | |
| | | bool SetItemDouble(int row, int col, double str) |
| | |
| | | return SetItemString(row, col, xstring(str)); |
| | | } |
| | | |
| | | bool SetItemDouble(int row, string col, double str) |
| | | bool SetItemDouble(int row, xstring col, double str) |
| | | { |
| | | return SetItemString(row, col, xstring(str)); |
| | | return SetItemString(row, col.c_str(), xstring(str)); |
| | | } |
| | | |
| | | public: |
| | |
| | | } |
| | | |
| | | public: |
| | | #if 0 |
| | | int GetItemInt(int row, int col) |
| | | { |
| | | xstring str = GetItemString(row, col); |
| | | return str.toInt(); |
| | | } |
| | | |
| | | double GetItemDouble(int row, int col) |
| | | { |
| | | xstring str = GetItemString(row, col); |
| | | return str.toDouble(); |
| | | } |
| | | |
| | | int GetItemInt(int row, string col) |
| | | { |
| | | xstring str = GetItemString(row, col); |
| | | return str.toInt(); |
| | | } |
| | | |
| | | double GetItemDouble(int row, string col) |
| | | { |
| | | xstring str = GetItemString(row, col); |
| | | return str.toDouble(); |
| | | } |
| | | |
| | | bool SetItemInt(int row, int col, int str) |
| | | { |
| | | return SetItemString(row, col, xstring(str)); |
| | | } |
| | | |
| | | bool SetItemDouble(int row, int col, double str) |
| | | { |
| | | return SetItemString(row, col, xstring(str)); |
| | | } |
| | | |
| | | bool SetItemInt(int row, string col, int str) |
| | | { |
| | | return SetItemString(row, col, xstring(str)); |
| | | } |
| | | |
| | | bool SetItemDouble(int row, string col, double str) |
| | | { |
| | | return SetItemString(row, col, xstring(str)); |
| | | } |
| | | #endif |
| | | |
| | | int DwRetrieve(string ServerUrl, string src, string argstr) |
| | | { |