From 03ef0b51103c735077c784c7df81ae2bcc1599ab Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期四, 13 二月 2025 18:33:56 +0800 Subject: [PATCH] update --- jrj/xframe/xcontrol/xcell.hpp | 27 +++++++++++++++++++++++---- 1 files changed, 23 insertions(+), 4 deletions(-) diff --git a/jrj/xframe/xcontrol/xcell.hpp b/jrj/xframe/xcontrol/xcell.hpp index 767285f..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 @@ -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)); + } }; -- Gitblit v1.9.3