2.1.479 Part 4 Section 2.15.3.64, useWord97LineBreakRules (Emulate Word 97 East Asian Line Breaking)

a.   The standard does not state exactly how to break lines like Word 97.

In Office, this element specifies that Word should perform specific calculations (detailed as follows) when determining inter-character spacing under certain conditions. These calculations would not normally be considered correct.

Typically, the behaviors specified by the following elements are applied unconditionally:

The autoSpaceDE (“[ECMA-376] Part 4 §2.3.1.2; autoSpaceDE (Automatically Adjust Spacing of Latin and East Asian Text)”) and autoSpaceDN (“[ECMA-376] Part 4 §2.3.1.3; autoSpaceDN (Automatically Adjust Spacing of East Asian Text and Numbers)”) elements

The topLinePunct (“[ECMA-376] Part 4 §2.3.1.43; topLinePunct (Compress Punctuation at Start of a Line)”) element

The compatibility element described in this subclause, when present with a val attribute value of true (or equivalent), specifies that Word should ignore these settings in the following scenarios:

If an ideographic character and a non-ideographic or numeric character are logically adjacent (ignoring all content that is not within a t element), but separated by a field boundary, that is:

The first character is within a fldSimple element, but the second is not.

The characters are separated by a fldChar element with a fldCharType attribute value of end.

Then any appropriate inter-character spacing should be omitted. [Note: Inter-character spacing should still be calculated correctly within the field result. end note]

If a full-width punctuation character appears at the start of a paragraph which also specifies numbering by using the numPr element (“[ECMA-376] Part 4 §2.3.1.19; numPr (Numbering Definition Instance Reference)”), the compression specified by the topLinePunct element is ignored.

[Example: Consider a paragraph that contains a field ending in an ideograph and another paragraph, with numbering, that contains a full-width punctuation character in the first character position:

 <w:p>
   <w:r>
     <w:fldChar w:fldCharType="begin" />
   </w:r>
   …
   <w:r>
     <w:t>日</w:t>
   </w:r>
   <w:r>
     <w:fldChar w:fldCharType="end" />
   </w:r>
   <w:r>
     <w:t>1</w:t>
   </w:r>
 </w:p>
 <w:p>
   <w:pPr>
     <w:numPr>
       …
     </w:numPr>
   </w:pPr>
   <w:r>
     <w:t>(</w:t>
   </w:r>
 </w:p>

Typically, if both the autoSpaceDN and topLinePunct are true, additional spacing is added after the ideograph in the first paragraph and punctuation kerning is applied in the second paragraph (with gridlines added for visual reference):

Ff531731.image041(en-us,office.12).png

If this compatibility setting is turned on:

 <w:compat>
   <w:useWord97LineBreakRules />
 </w:compat>

Then Word will not add any inter-character spacing at the end of the field and should turn off punctuation kerning in the second paragraph:

Ff531731.image042(en-us,office.12).png

end example]

This note applies to the following products: 2007, 2007 SP1, 2007 SP2.

Show: