wpJustification : unknown application behaviour
Part 4, 2.15.3.65
te
Proposed Disposition of DIS 29500 Comment KR-0016 (Modified: 2007-12-20) Agreed; we will fully define the information necessary to implement this property (specified below). This description provides all of the information needed to mimic a behavior observed in a previously existing word processing application (WordPerfect 6.x). In addition, we will remove it from its current location in the specification (Part 4, §2.15.3.65, pages 1,4831,484), and place it into a new annex for deprecated features. Following the precedent set by other ISO standards (such as SQL’s ISO 9075:2003 Part 1 and C++’s ISO/IEC 14882:1998), we will make use of a new Annex that contains normative descriptions of all deprecated features. The intent of this Annex is to enable a transitional period during which existing binary documents being migrated to DIS 29500 can make use of those deprecated features to preserve their fidelity, while noting that new documents should not use them. Accordingly, the Conformance clause will also be changed to state that newly created documents (those not created by migrating existing binary documents) should not use deprecated features. All deprecated features will be removed from their current locations in the standard, but will be fully defined in this new Annex. To provide a full description, the existing text in Part 4, §2.15.3.65, page 1,483, lines 1121, and page 1,484 lines 117, will be replaced with the following: 2.15.3.65 wpJustification (Fit To Expanded Width When Performing Full Justification) This element specifies that applications should perform a specific algorithm when determining the contents of each line in a fully justified paragraph (resulting from the use of the jc element (§2.3.1.13)). This setting typically results in more words being fitted into lines (by reducing inter-word spacing as necessary). Typically, applying full justification to a paragraph does not change the placement of line breaks, as inter-word spacing is expanded to ensure the resulting text is fully justified. This element, when present with a val attribute value of true (or equivalent), specifies that applications shall determine the contents of each line in a fully justified paragraph using the following algorithm: For each line in the fully justified paragraph, o Determine the actual line width, , in pixels o Calculate the “effective” line width by the following factor: = + 281 7200 o Determine the text which can be displayed in a line of the “effective” line width o Decrease the inter-word spacing as necessary to fit that text in the actual line width [Example: Consider a WordprocessingML document with one or more paragraphs using full paragraph justification: <w:p> <w:pPr> <w:jc w:val="both" /> </w:pPr> ... </w:p> If this compatibility setting is turned on: <w:compat> <w:wpJustification /> </w:compat> Then, for a line 1000 pixels wide, an application would calculate the effective width as follows: = 1000 + 1000 281 7200 = 1039 This effective width is then used to determine how much text can be displayed on line. After calculating the text, the application can display the text on the actual line, fully justified. end example] Similar Comments: CL-0105 , CO-0113 , CZ-0023 , DK-0020 , FR-0070 , GB-0238 , GR-0041 , IN-0038 , IR-0028 , PT-0055 , US-0069

Dupe of PT 43