Hello Dave,
Sorry for making your misunderstand my meaning. I should have said more
about the continuous break in my last reply.
Adding a continuous break means to insert a section break and start the new
section on the same page. To make it clearer, let's first have a look at
what we should do to make a balanced columns in Word:
In Word 2007 (this demo also works for Word 2003 and the previous), we
create a new document and type some text, e.g. "aaaaaaaaaaaaaaaaaaaaaaa".
Then we select the paragraph, go to Page Layout ribbon->Columns button, and
select "Two". At this moment, Word shows two columns and all the text is on
the left side. The text is unbalanced, because Word cannot determine the
end of the section. To make it balanced, we click on the end of the
paragraph, insert a continuous break by going to Page Layout ribbon
->Breaks->Continuous. Now, Word can see the section end, and is able to
decide how to balance the text into two columns.
If you have understood the use of the "Continuous" break by following the
above demo, let's see what should be done in the WordXML:
<w:type w:val="continuous"/> should be inserted to the end of the section
of columns. Thus it should be like this:
<wx:sect><w
roofErr w:type="gramStart"/><w
wsp:rsidR="00FA4FFA"
wsp:rsidRDefault="00BC3BB2"><w
Pr><w:sectPr wsp:rsidR="00FA4FFA"
wsp:rsidSect="00FA4FFA"><w
gSz w:w="11906" w:h="16838"/><w
gMar
w:top="1440" w:right="1800" w:bottom="1440" w:left="1800" w:header="851"
w:footer="992" w:gutter="0"/><w:cols w:num="2" w:space="425"/><w:docGrid
w:type="lines" w:line-pitch="312"/></w:sectPr></w
Pr><w:r><w:rPr><w:rFonts
w:hint="fareast"/></w:rPr><w:t>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</w:t></w:r><w
r
oofErr w:type="gramEnd"/></w
></wx:sect>
<wx:sect><w
wsp:rsidR="00736E37"
wsp:rsidRDefault="00736E37"><w
Pr><w:rPr><w:rFonts
w:hint="fareast"/></w:rPr></w
Pr></w
><w:sectPr wsp:rsidR="00736E37"
wsp:rsidSect="00FA4FFA"><w:type w:val="continuous"/><w
gSz w:w="11906"
w:h="16838"/><w
gMar w:top="1440" w:right="1800" w:bottom="1440"
w:left="1800" w:header="851" w:footer="992" w:gutter="0"/><w:cols
w:space="425"/><w:docGrid w:type="lines"
w:line-pitch="312"/></w:sectPr></wx:sect>
The first section is for the columns, and the second section, whose type is
"continuous", is used to tell Word how to balance the text in columns.
Is it clearer now?
Regards,
Jialiang Ge (
[email protected], remove 'online.')
Microsoft Online Community Support
=================================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).
This posting is provided "AS IS" with no warranties, and confers no rights.
=================================================