从Word文档中获取页码

发布于 2024-09-30 09:56:58 字数 56 浏览 0 评论 0原文

我想创建一个索引页,需要 Word 文档的页码。我正在使用 C++ 托管代码和 Word 互操作。

I want to create an index page for which I need the page number from the Word document. I am working with C++ managed code and Word interop.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

风蛊 2024-10-07 09:56:58

请参阅此处了解相关信息。这是针对 C# 的,但这些类在 C++/CLI 中都可用。

这里有页码信息,用于在页脚中包含页码,以及处理目录。

See here for info on this. This is for C#, but the classes are all available in C++/CLI.

There is page number info info here for including page numbers in a footer, and also on handling Table of Contents.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文