Export (0) Print
Expand All
Expand Minimize

2.1.471 Part 4 Section 2.15.3.31, lineWrapLikeWord6 (Emulate Word 6.0 Line Wrapping for East Asian Text)

a. The standard does not state exactly how to emulate Word 6.0 line wrapping for East Asian text.

In Office, this element specifies that Word should ignore the character compression settings specified by the characterSpacingControl element (“[ECMA-376] Part 4 §2.15.1.18; characterSpacingControl (Character-Level Whitespace Compression)”) when determining if one more characters fit within the text margins on each line of the document. This setting typically results in a character being pushed to the following line, ignoring the fact that the character compression settings would have allowed it to fit within the text boundaries.

Typically, an application would check the character compression settings, and apply any character-level whitespace compression before attempting to fit the last character on the line. This element, when present with a val attribute value of true (or equivalent), specifies that Word shall ignore that compression and fit the character as if it should be displayed at its full width, regardless of whether the compression settings are applied.

[Example: Consider a paragraph which ends with the following two characters (with each character’s bounding box outlined for illustrative purposes:

Ff529193.d3696884-057d-4151-8d8c-7ecfaa854e58(en-us,office.12).jpg

If the document’s character compression settings were not set to doNotCompress and text extent fell at the location identified by this red line:

Ff529193.c2a7e7f5-d611-4594-9ebc-be105207eb75(en-us,office.12).jpg

The last character would have compression applied to its blank half, and would fit on the line.

If this compatibility setting is turned on:

<w:compat>
  <w:lineWrapLikeWord6 />
</w:compat>

Then Word would compress the character, but should treat the character as full width when determining if it fits on the line; in this case, the second character would be displayed on the following line. end example]

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

Show:
© 2014 Microsoft