From a4344c9bada0722c6ef7fac5d95f29a110eea0f1 Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期一, 21 四月 2025 10:32:05 +0800 Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/mis-prj --- jrj/xframe/xcontrol/xcell.hpp | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/jrj/xframe/xcontrol/xcell.hpp b/jrj/xframe/xcontrol/xcell.hpp index 39d95f4..f3dd1e9 100644 --- a/jrj/xframe/xcontrol/xcell.hpp +++ b/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)); + } }; -- Gitblit v1.9.3