【发布时间】:2020-08-01 12:01:21
【问题描述】:
我一直在搜索 this documentation 以获取有关如何断开 Excel 文件的外部链接的说明,但没有成功。
如何使用 Aspose.Cells for C++ 断开 Excel 文件的外部链接?
【问题讨论】:
标签: c++ excel hyperlink external aspose
我一直在搜索 this documentation 以获取有关如何断开 Excel 文件的外部链接的说明,但没有成功。
如何使用 Aspose.Cells for C++ 断开 Excel 文件的外部链接?
【问题讨论】:
标签: c++ excel hyperlink external aspose
我认为您可以删除 Excel 电子表格中的外部链接,而不是破坏超链接。请参阅示例代码以供参考: 例如
示例代码:
void RemoveExternalLinksTest()
{
intrusive_ptr<IWorkbook> workbook = Factory::CreateIWorkbook(sourcePath->StringAppend(new String("ExternalLinksTest.xlsx")));
if(workbook->HasExernalLinks())
workbook->RemoveExternalLinks();
workbook->Save(resultPath->StringAppend(new String("ExternalLinksTest-Ret.xlsx")));
}
附言。我在 Aspose 担任支持开发人员/宣传员。
【讨论】: