显示Word ML中的页数 [英] Display number of pages in Word ML

查看:98
本文介绍了显示Word ML中的页数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Word文档的第一页上显示总页数,即使用WORD ML模板显示的总页数. 我知道如何在页脚中显示当前页码和总页数.看起来像:

I want to display total number of pages on the first page of word document, that is formin with WORD ML template. I know how to display current page number and total number of pages in a footer. It looks like:

<w:ftr w:type="odd">
     <w:p>
        <w:r wsp:rsidRPr="007924AD">
           <w:rPr>
              <w:rStyle w:val="a6" />
                 <w:color w:val="777777" />
           </w:rPr>
           <w:instrText> PAGE </w:instrText>
         </w:r>
    </w:p>
</w:ftr>

但是我如何不在页脚中而是在页面正文中显示PAGE或NUMPAGES? 有可能吗?

But how can I display PAGE or NUMPAGES not in a footer but in the body of a page? Is it possible?

推荐答案

我解决了这个问题.字段NUMPAGES格式正确,但页数未自动更新.您必须通过以下方式之一强制其更新:

I solved the problem. The field NUMPAGES is forming correctly but the number of pages is not updated automatically. You must force it update in one of the following ways:

单击自动字段,然后从上下文菜单中选择更新字段 打印预览文档-该字段将被更新 例如,将文档另存为pdf

click on the autofield and and select update field from the context menu print preview the document - the field will be updated save the document as pdf, for example

这篇关于显示Word ML中的页数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆