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
@@ -284,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));
   }
};