[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

ST_Jc (Horizontal Alignment Type)

This simple type specifies all types of alignment which are available to be applied to objects in a WordprocessingML document.

[Example: Consider a paragraph which is right aligned. This requirement would be specified as follows in the WordprocessingML markup:

<w:pPr>

<w:jc w:val="right" />

</w:pPr>

The val attribute's value of right specifies that the content shall be right aligned on the page. end example]

This simple type's contents are a restriction of the XML Schema string datatype.

The following are possible enumeration values for this type:

Enumeration Value

Description

both (Justified)

Specifies that the text shall be justified between both of the text margins in the document.

 

The lowKashida setting shall also be applied to Arabic text when this setting is applied.

 

This type of justification shall only affect the inter-word spacing on each line, and not the inter-character spacing between each word when justifying its contents.

center (Align Center)

Specifies that the text shall be centered on the line between both of the text margins in the document.

distribute (Distribute All Characters Equally)

Specifies that the text shall be justified between both of the text margins in the document.

 

This type of justification shall equally affect the inter-word spacing on each line as well as the inter-character spacing between each word when justifying its contents - that is, an equal amount of additional character pitch shall be added to all characters on the line.

highKashida (Widest Kashida Length)

Specifies that the kashida length for text in the current paragraph shall be extended to its widest possible length.

 

This setting only affects kashidas, which are special characters used to extend the joiner between two Arabic characters. [Note: They are typically used to improve the appearance of justified text by visually lengthening words rather than increasing the spacing between words. end note]

 

[Example: The following example illustrates each type of kashida:

 

 

end example]

left (Align Left)

Specifies that the text shall be aligned on the left text margin in the document.

lowKashida (Low Kashida Length)

Specifies that the kashida length for text in the current paragraph shall be extended to a slightly longer length. This setting shall also be applied to Arabic text when the both setting is applied.

 

This setting only affects kashidas, which are special characters used to extend the joiner between two Arabic characters. [Note: They are typically used to improve the appearance of justified text by visually lengthening words rather than increasing the spacing between words. end note]

 

[Example: The following example illustrates each type of kashida:

 

 

end example]

mediumKashida (Medium Kashida Length)

Specifies that the kashida length for text in the current paragraph shall be extended to a medium length determined by the consumer.

 

This setting only affects kashidas, which are special characters used to extend the joiner between two Arabic characters. [Note: They are typically used to improve the appearance of justified text by visually lengthening words rather than increasing the spacing between words. end note]

 

[Example: The following example illustrates each type of kashida:

 

 

end example]

numTab (Align to List Tab)

Specifies that the text shall be aligned to the list tab, which is the tab stop after the numbering for the current paragraph.

 

If the current paragraph has no numbering, this setting has no effect.

 

[Note: This justification style is used for backwards compatibility with earlier word processors, and should be deprecated in favor of hanging paragraph indentation. end note]

right (Align Right)

Specifies that the text shall be aligned on the right text margin in the document.

thaiDistribute (Thai Language Justification)

Specifies that the text shall be justified with an optimization for Thai.

 

This type of justification shall affect both the inter-word spacing on each line, and the inter-character spacing between each word when justifying its contents, unlike both justification. This difference is created in that the inter-character space is increased slightly in order to ensure that the additional space created by the justification is reduced.

 

[Note: This setting is different from justification in that the reduction in inter-character spacing would be inappropriate in Western languages. end note]

 

Referenced By

jc@val2.4.21); jc@val2.4.22); jc@val2.3.1.13); jc@val2.4.23); lvlJc@val2.9.8)

The following XML Schema fragment defines the contents of this simple type:

<simpleType name="ST_Jc">

   <restriction base="xsd:string">

   <enumeration value="left"/>

   <enumeration value="center"/>

   <enumeration value="right"/>

   <enumeration value="both"/>

   <enumeration value="mediumKashida"/>

   <enumeration value="distribute"/>

   <enumeration value="numTab"/>

   <enumeration value="highKashida"/>

   <enumeration value="lowKashida"/>

   <enumeration value="thaiDistribute"/>

   </restriction>

</simpleType>