且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何从C ++ / C#代码链接到word或pdf文档中的特定部分。

更新时间:2023-10-28 22:28:10

我不确定你为什么要用C ++编写后端,因为.NET(即C#)是更好的工具。 .NET提供完整的库支持,用于读取/写入Word文档 [ ^ ],您可以查看 iTextSharp [ ^ ]用于PDF文件。
I'm not sure why you are writing the backend in C++, since .NET (i.e. C#) is much the better vehicle for this. .NET provides full library support for reading/writing Word documents[^], and you could look into iTextSharp[^] for PDF files.