动态创建的 Word 文档中的边距
我有一款会计软件,可以将数据导出到 Word 文档中。我可以在 Word 2007 中为每个客户创建一个特定的模板。
我需要一种方法来设置除第一页之外的所有页面上的页边距。
问题是我事先不知道文档有多少页,但通常在 1-3 页之间。
I have a piece of accountancy software that exports data into a Word document. I can create a specific template for each customer in Word 2007.
I need a way to set margins from the top of the page on all pages except the first.
The problem is I don't know in advance how many pages the document will be, but often between 1-3.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以按照此教程。
以防万一,我将在此处给出主要步骤,但您最好查看上面的链接:
设置不同的首页
第二页和后续页面应该是什么。
标题)
第一页。
创建首页边距
您并没有真正设置边距,而是在操纵其他 Word 功能以使其像边距一样工作。
顶部和底部边距
更改顶部或底部边距。
快速的方法是根据需要多次按 Enter 键
创建边距间距 - 打开标尺并
观察左侧标尺以使距离接近您想要的距离。请记住,默认情况下,页眉或页脚开始
距页面边缘二分之一英寸,因此如果您需要 2 英寸顶部
边距,标题高度为 1.5 英寸。
更精确的方法是更改段落间距(主页
选项卡、段落组、段落对话框)。段落间距
显示以点为单位测量,但您可以输入 1" 或 1.5" 和 Word
将为您将其转换为点(36 点为二分之一英寸,72
点是一英寸,144 点是两英寸)。设置之后
间距为您需要的任何距离。为了增加底部边距,
设置页脚之前:段落间距。
左边距和右边距
如果您需要更宽的左边距或右边距,请在第一页的页眉中插入一个无边框的空文本框。如果您需要更宽的左右边距,则需要添加两个文本框,每一侧各一个。
框,绘制文本框。
到页脚。
线条选项卡,将线条颜色设置为无,以消除边框
文本框。
大小选项卡并将文本框宽度设置为两英寸。定位
文本框位于页面的最边缘,文本框将创建
两英寸左边距的外观。
包裹到正方形。
将刚刚创建的文本框移动到右侧
页。
问候,
You can follow this tutorial.
I'll give the main steps here just in case but you'd better have a look at the link above:
Set a Different First Page
to what the second page and following pages should be.
Header)
First Page.
Create the First Page Margins
You are not really setting margins, you’re manipulating other Word features to act like margins.
Top and Bottom Margins
Change the top or bottom margins.
The quick way is to push your Enter key as many times as you need to
create the distance for the margin spacing – turn on the Ruler and
watch the left side ruler to get the distance close to what you want. Remember that by default the header or footer starts
one-half inch from the edge of the page, so if you need a 2 inch top
margin, the header will be 1.5 inches tall.
The more precise way would be to change the Paragraph Spacing (Home
tab, Paragraph group, Paragraph dialog box). Paragraph Spacing
appears measured in points, but you can type in 1″ or 1.5″ and Word
will convert it to points for you (36 points is one-half inch, 72
points is one inch, 144 points would be two inches). Set the After
spacing to whatever distance you need. To increase the bottom margin,
set the Before: paragraph spacing for the footer.
Left and Right Margins
If you need the left or right margins wider, insert a borderless, empty text box into the header of the first page. If you need both the left and right margins wider, you’ll add two text boxes, one for each side.
Box, Draw Text Box.
to the footer.
Lines tab, set the Line Color to none, to get rid of the border on
the text box.
the Size tab and set the Text Box Width to two inches. Position the
text box at the very edge of the page and the text box will create
the look of a two inch left margin.
the wrapping to Square.
text box you just created, and move it to the right side of the
page.
Regards,