。。。

This commit is contained in:
2019-12-26 17:02:56 +08:00
parent aaec461d4a
commit c08352b76c
8 changed files with 74 additions and 63 deletions

View File

@@ -15,6 +15,14 @@ void setKey( libxl::Book * pBook )
}
}
void setKey( libxl::IBookT<char> * pBook )
{
if (pBook != nullptr)
{
pBook->setKey("cpic", "windows-202d21040bc4e70060bc6264a6ucu7i1");
}
}
std::wstring ReadCellStringFromXlsx( libxl::IBookT<wchar_t> * pBook,
unsigned int sheetIndex,
unsigned int rowIndex,

View File

@@ -9,6 +9,7 @@
* \param pBook
************************************************/
void setKey( libxl::Book * pBook );
void setKey( libxl::IBookT<char> * pBook );
/************************************************
* \brief 从xlsx文件单元格中读取数据以字符串为返回值。