Changeset 1741 for trunk/docx4j/xsd


Ignore:
Timestamp:
01/05/12 03:06:51 (5 months ago)
Author:
jharrop
Message:

Add element name="compatSetting" and type="CT_CompatSetting" from ECMA-376 2ed to wml, so Word 2010 can detect docx as native

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docx4j/xsd/wml/wml.xsd

    r1664 r1741  
    2626 
    272720091010 - oops, added EG_MathContent back into EG_RunElements 
     28 
     2920120105 - add element name="compatSetting" and type="CT_CompatSetting" from 2ed, so Word 2010 can detect docx as native  
    2830         
    2931USAGE INSTRUCTIONS 
     
    3537  And the parent-pointer-plugin.  See http://fisheye5.cenqua.com/browse/jaxb2-commons/parent-pointer-plugin 
    3638         
    37   We have a copy of this in the lib dir.  Or you can build it yourself: 
     39  We have a copy of this in thealib dir.  Or you can build it yourself: 
    3840         
    3941        cvs -d :pserver:$DEV_JAVA_NET_USERNAME@cvs.dev.java.net:/cvs checkout -P jaxb2-commons 
     
    6870  ) 
    6971   
     72  Windows: 
     73   
     74     C:>\Java\jaxb-ri-20110601\bin\xjc.bat -classpath \Java\parent-pointer-plugin-1.0.jar -Xparent-pointer wml.xsd -d t2 -no-header -target 2.0 
    7075   
    7176         
     
    1059010595                                </xsd:annotation> 
    1059110596                        </xsd:element> 
     10597                        <xsd:element name="compatSetting" type="CT_CompatSetting" minOccurs="0" maxOccurs="unbounded"> 
     10598                                <!--  Added from 3ed for docx4j 2.7.2, so native Word 2010 docx can be produced --> 
     10599                                <xsd:annotation> 
     10600                                        <xsd:documentation>Custom Compatibility Setting</xsd:documentation> 
     10601                                </xsd:annotation>                        
     10602                        </xsd:element> 
    1059210603                </xsd:sequence> 
    1059310604        </xsd:complexType> 
     10605        <xsd:complexType name="CT_CompatSetting"> 
     10606                <xsd:attribute name="name" type="ST_String"> 
     10607                        <xsd:annotation> 
     10608                                <xsd:documentation>Name of Setting</xsd:documentation> 
     10609                        </xsd:annotation> 
     10610                </xsd:attribute> 
     10611                <xsd:attribute name="uri" type="ST_String"> 
     10612                        <xsd:annotation> 
     10613                                <xsd:documentation>Namespace of Setting</xsd:documentation> 
     10614                        </xsd:annotation> 
     10615                </xsd:attribute> 
     10616                <xsd:attribute name="val" type="ST_String"> 
     10617                        <xsd:annotation> 
     10618                                <xsd:documentation>Value of Setting</xsd:documentation> 
     10619                        </xsd:annotation> 
     10620                </xsd:attribute> 
     10621        </xsd:complexType>       
    1059410622        <xsd:complexType name="CT_DocVar"> 
    1059510623                <xsd:attribute name="name" type="ST_String" use="required"> 
Note: See TracChangeset for help on using the changeset viewer.