Changeset 1664 for trunk


Ignore:
Timestamp:
09/19/11 21:52:15 (8 months ago)
Author:
jharrop
Message:

Include Asian options previously dropped from JcEnumeration?

Location:
trunk/docx4j
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/docx4j/src/main/java/org/docx4j/wml/JcEnumeration.java

    r359 r1664  
    1919 */ 
    2020 
    21  
    2221package org.docx4j.wml; 
    2322 
     
    3938 *     <enumeration value="right"/> 
    4039 *     <enumeration value="both"/> 
     40 *     <enumeration value="mediumKashida"/> 
     41 *     <enumeration value="distribute"/> 
     42 *     <enumeration value="numTab"/> 
     43 *     <enumeration value="highKashida"/> 
     44 *     <enumeration value="lowKashida"/> 
     45 *     <enumeration value="thaiDistribute"/> 
    4146 *   </restriction> 
    4247 * </simpleType> 
     
    7580     */ 
    7681    @XmlEnumValue("both") 
    77     BOTH("both"); 
     82    BOTH("both"), 
     83 
     84    /** 
     85     * Medium Kashida Length 
     86     *  
     87     */ 
     88    @XmlEnumValue("mediumKashida") 
     89    MEDIUM_KASHIDA("mediumKashida"), 
     90 
     91    /** 
     92     * Distribute All Characters Equally 
     93     *                                   
     94     *  
     95     */ 
     96    @XmlEnumValue("distribute") 
     97    DISTRIBUTE("distribute"), 
     98 
     99    /** 
     100     * Align to List Tab 
     101     *  
     102     */ 
     103    @XmlEnumValue("numTab") 
     104    NUM_TAB("numTab"), 
     105 
     106    /** 
     107     * Widest Kashida Length 
     108     *  
     109     */ 
     110    @XmlEnumValue("highKashida") 
     111    HIGH_KASHIDA("highKashida"), 
     112 
     113    /** 
     114     * Low Kashida Length 
     115     *  
     116     */ 
     117    @XmlEnumValue("lowKashida") 
     118    LOW_KASHIDA("lowKashida"), 
     119 
     120    /** 
     121     * Thai Language Justification 
     122     *  
     123     */ 
     124    @XmlEnumValue("thaiDistribute") 
     125    THAI_DISTRIBUTE("thaiDistribute"); 
    78126    private final String value; 
    79127 
  • trunk/docx4j/xsd/wml/wml.xsd

    r1474 r1664  
    140140                schemaLocation="../shared/shared-math.xsd" /> 
    141141         
     142        <!--  2011 09 20 include this to compile wml.xsd directly with jaxb-ri-20110601 --> 
     143        <xsd:import id="dml" namespace="http://schemas.openxmlformats.org/drawingml/2006/main"  
     144                schemaLocation="../dml/dml__ROOT.xsd" /> 
    142145         
    143146        <xsd:import id="wp" namespace="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"  
    144147                schemaLocation="../dml/dml-wordprocessingDrawing.xsd" /> 
     148 
     149                  
    145150         
    146151        <!-- Used in FontRel --> 
     
    25302535                </xsd:restriction> 
    25312536        </xsd:simpleType> 
    2532          
     2537 
    25332538        <xsd:simpleType name="JcEnumeration"> <!-- was "ST_Jc" --> 
    25342539                <xsd:annotation> 
     
    25542559                                <xsd:annotation> 
    25552560                                        <xsd:documentation>Justified</xsd:documentation> 
     2561                                </xsd:annotation> 
     2562                        </xsd:enumeration> 
     2563                        <xsd:enumeration value="mediumKashida"> 
     2564                                <xsd:annotation> 
     2565                                        <xsd:documentation>Medium Kashida Length</xsd:documentation> 
     2566                                </xsd:annotation> 
     2567                        </xsd:enumeration> 
     2568                        <xsd:enumeration value="distribute"> 
     2569                                <xsd:annotation> 
     2570                                        <xsd:documentation>Distribute All Characters Equally 
     2571                                        </xsd:documentation> 
     2572                                </xsd:annotation> 
     2573                        </xsd:enumeration> 
     2574                        <xsd:enumeration value="numTab"> 
     2575                                <xsd:annotation> 
     2576                                        <xsd:documentation>Align to List Tab</xsd:documentation> 
     2577                                </xsd:annotation> 
     2578                        </xsd:enumeration> 
     2579                        <xsd:enumeration value="highKashida"> 
     2580                                <xsd:annotation> 
     2581                                        <xsd:documentation>Widest Kashida Length</xsd:documentation> 
     2582                                </xsd:annotation> 
     2583                        </xsd:enumeration> 
     2584                        <xsd:enumeration value="lowKashida"> 
     2585                                <xsd:annotation> 
     2586                                        <xsd:documentation>Low Kashida Length</xsd:documentation> 
     2587                                </xsd:annotation> 
     2588                        </xsd:enumeration> 
     2589                        <xsd:enumeration value="thaiDistribute"> 
     2590                                <xsd:annotation> 
     2591                                        <xsd:documentation>Thai Language Justification</xsd:documentation> 
    25562592                                </xsd:annotation> 
    25572593                        </xsd:enumeration> 
Note: See TracChangeset for help on using the changeset viewer.