LiFan
2025-02-13 03ef0b51103c735077c784c7df81ae2bcc1599ab
jrj/xframe/xcontrol/xcell.hpp
@@ -3,6 +3,7 @@
#include "wobject/xcontrol.hpp"
#include "kobject/kcell.hpp"
#include "wobject/xurl.hpp"
#include "wobject/xutil.hpp"
using kcell = Hxsoft::XFrame::XOffice::XCell::IXCell;
class xcell : public xcontrol
@@ -81,10 +82,7 @@
   {
      return GetKCell()->SetItemString(ARow,ACol,(LPTSTR)value.c_str());
   }
   int SetRowColumn(int ARow, int ACol) //alias "?SetRowColumn@IXCell@XCell@XOffice@XFrame@Hxsoft@@QAEHHH@Z";
   {
      return GetKCell()->SetRowColumn(ARow,ACol);
   }
   int Copy() //alias "?Copy@IXCell@XCell@XOffice@XFrame@Hxsoft@@QAEHXZ";
   {
      return GetKCell()->Copy() ;
@@ -287,6 +285,27 @@
   { return GetKCell()->SetReadOnly(bReadOnly);
   }
   int GetFixedRows()
   {
      return GetKCell()->GetFixedRows();
   }
   void    SetFixedRows(int value = 1)
   {
      return GetKCell()->SetFixedRows(value);
   }
   int GetFixedCols()
   {
      return GetKCell()->GetFixedCols();
   }
   void SetFixedCols(int value = 1)
   {
      return GetKCell()->SetFixedCols(value);
   }
   xstring GetItemXmlString(int ARow, int ACol)
   {
      return xutil::ToXmlText(GetKCell()->GetItemString(ARow, ACol));
   }
};