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 |   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