Changeset 1516


Ignore:
Timestamp:
06/02/11 04:20:41 (12 months ago)
Author:
jharrop
Message:

Experimental SmartArtDataHierarchy? representation WIP.
The representation WILL change; the element name "node" will be replaced with something else TBD.

Location:
trunk/docx4j
Files:
7 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/docx4j/src/main/java/org/docx4j/dml/diagram/ObjectFactory.java

    r1201 r1516  
    1 /* 
    2  *  Copyright 2007-2008, Plutext Pty Ltd. 
    3  *    
    4  *  This file is part of docx4j. 
    5  
    6     docx4j is licensed under the Apache License, Version 2.0 (the "License");  
    7     you may not use this file except in compliance with the License.  
    8  
    9     You may obtain a copy of the License at  
    10  
    11         http://www.apache.org/licenses/LICENSE-2.0  
    12  
    13     Unless required by applicable law or agreed to in writing, software  
    14     distributed under the License is distributed on an "AS IS" BASIS,  
    15     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  
    16     See the License for the specific language governing permissions and  
    17     limitations under the License. 
    18  
    19  */ 
    20  
    211 
    222package org.docx4j.dml.diagram; 
     
    266import javax.xml.bind.annotation.XmlRegistry; 
    277import javax.xml.namespace.QName; 
     8import org.docx4j.dml.CTTextBody; 
    289 
    2910 
     
    5334    private final static QName _ColorsDefHdr_QNAME = new QName("http://schemas.openxmlformats.org/drawingml/2006/diagram", "colorsDefHdr"); 
    5435    private final static QName _LayoutDefHdr_QNAME = new QName("http://schemas.openxmlformats.org/drawingml/2006/diagram", "layoutDefHdr"); 
     36    private final static QName _T_QNAME = new QName("http://schemas.openxmlformats.org/drawingml/2006/diagram", "t"); 
    5537    private final static QName _ColorsDef_QNAME = new QName("http://schemas.openxmlformats.org/drawingml/2006/diagram", "colorsDef"); 
    5638    private final static QName _StyleDefHdrLst_QNAME = new QName("http://schemas.openxmlformats.org/drawingml/2006/diagram", "styleDefHdrLst"); 
     
    6547 
    6648    /** 
     49     * Create an instance of {@link CTShape } 
     50     *  
     51     */ 
     52    public CTShape createCTShape() { 
     53        return new CTShape(); 
     54    } 
     55 
     56    /** 
     57     * Create an instance of {@link CTConstraint } 
     58     *  
     59     */ 
     60    public CTConstraint createCTConstraint() { 
     61        return new CTConstraint(); 
     62    } 
     63 
     64    /** 
     65     * Create an instance of {@link CTCategory } 
     66     *  
     67     */ 
     68    public CTCategory createCTCategory() { 
     69        return new CTCategory(); 
     70    } 
     71 
     72    /** 
     73     * Create an instance of {@link CTNumericRule } 
     74     *  
     75     */ 
     76    public CTNumericRule createCTNumericRule() { 
     77        return new CTNumericRule(); 
     78    } 
     79 
     80    /** 
     81     * Create an instance of {@link CTWhen } 
     82     *  
     83     */ 
     84    public CTWhen createCTWhen() { 
     85        return new CTWhen(); 
     86    } 
     87 
     88    /** 
     89     * Create an instance of {@link CTStyleDefinitionHeader } 
     90     *  
     91     */ 
     92    public CTStyleDefinitionHeader createCTStyleDefinitionHeader() { 
     93        return new CTStyleDefinitionHeader(); 
     94    } 
     95 
     96    /** 
     97     * Create an instance of {@link CTAlgorithm } 
     98     *  
     99     */ 
     100    public CTAlgorithm createCTAlgorithm() { 
     101        return new CTAlgorithm(); 
     102    } 
     103 
     104    /** 
     105     * Create an instance of {@link CTColorTransformHeader } 
     106     *  
     107     */ 
     108    public CTColorTransformHeader createCTColorTransformHeader() { 
     109        return new CTColorTransformHeader(); 
     110    } 
     111 
     112    /** 
     113     * Create an instance of {@link CTSDCategory } 
     114     *  
     115     */ 
     116    public CTSDCategory createCTSDCategory() { 
     117        return new CTSDCategory(); 
     118    } 
     119 
     120    /** 
     121     * Create an instance of {@link CTStyleDefinitionHeaderLst } 
     122     *  
     123     */ 
     124    public CTStyleDefinitionHeaderLst createCTStyleDefinitionHeaderLst() { 
     125        return new CTStyleDefinitionHeaderLst(); 
     126    } 
     127 
     128    /** 
     129     * Create an instance of {@link CTOrgChart } 
     130     *  
     131     */ 
     132    public CTOrgChart createCTOrgChart() { 
     133        return new CTOrgChart(); 
     134    } 
     135 
     136    /** 
     137     * Create an instance of {@link CTDiagramDefinition } 
     138     *  
     139     */ 
     140    public CTDiagramDefinition createCTDiagramDefinition() { 
     141        return new CTDiagramDefinition(); 
     142    } 
     143 
     144    /** 
     145     * Create an instance of {@link CTHierBranchStyle } 
     146     *  
     147     */ 
     148    public CTHierBranchStyle createCTHierBranchStyle() { 
     149        return new CTHierBranchStyle(); 
     150    } 
     151 
     152    /** 
     153     * Create an instance of {@link CTCTCategories } 
     154     *  
     155     */ 
     156    public CTCTCategories createCTCTCategories() { 
     157        return new CTCTCategories(); 
     158    } 
     159 
     160    /** 
     161     * Create an instance of {@link CTColorTransformHeaderLst } 
     162     *  
     163     */ 
     164    public CTColorTransformHeaderLst createCTColorTransformHeaderLst() { 
     165        return new CTColorTransformHeaderLst(); 
     166    } 
     167 
     168    /** 
     169     * Create an instance of {@link CTName } 
     170     *  
     171     */ 
     172    public CTName createCTName() { 
     173        return new CTName(); 
     174    } 
     175 
     176    /** 
     177     * Create an instance of {@link CTColors } 
     178     *  
     179     */ 
     180    public CTColors createCTColors() { 
     181        return new CTColors(); 
     182    } 
     183 
     184    /** 
     185     * Create an instance of {@link CTPtList } 
     186     *  
     187     */ 
     188    public CTPtList createCTPtList() { 
     189        return new CTPtList(); 
     190    } 
     191 
     192    /** 
     193     * Create an instance of {@link CTChoose } 
     194     *  
     195     */ 
     196    public CTChoose createCTChoose() { 
     197        return new CTChoose(); 
     198    } 
     199 
     200    /** 
     201     * Create an instance of {@link CTSampleData } 
     202     *  
     203     */ 
     204    public CTSampleData createCTSampleData() { 
     205        return new CTSampleData(); 
     206    } 
     207 
     208    /** 
     209     * Create an instance of {@link CTStyleLabel } 
     210     *  
     211     */ 
     212    public CTStyleLabel createCTStyleLabel() { 
     213        return new CTStyleLabel(); 
     214    } 
     215 
     216    /** 
     217     * Create an instance of {@link CTConstraints } 
     218     *  
     219     */ 
     220    public CTConstraints createCTConstraints() { 
     221        return new CTConstraints(); 
     222    } 
     223 
     224    /** 
     225     * Create an instance of {@link CTChildPref } 
     226     *  
     227     */ 
     228    public CTChildPref createCTChildPref() { 
     229        return new CTChildPref(); 
     230    } 
     231 
     232    /** 
     233     * Create an instance of {@link CTSDName } 
     234     *  
     235     */ 
     236    public CTSDName createCTSDName() { 
     237        return new CTSDName(); 
     238    } 
     239 
     240    /** 
     241     * Create an instance of {@link CTCTName } 
     242     *  
     243     */ 
     244    public CTCTName createCTCTName() { 
     245        return new CTCTName(); 
     246    } 
     247 
     248    /** 
     249     * Create an instance of {@link CTSDDescription } 
     250     *  
     251     */ 
     252    public CTSDDescription createCTSDDescription() { 
     253        return new CTSDDescription(); 
     254    } 
     255 
     256    /** 
     257     * Create an instance of {@link CTDataModel } 
     258     *  
     259     */ 
     260    public CTDataModel createCTDataModel() { 
     261        return new CTDataModel(); 
     262    } 
     263 
     264    /** 
     265     * Create an instance of {@link CTCTDescription } 
     266     *  
     267     */ 
     268    public CTCTDescription createCTCTDescription() { 
     269        return new CTCTDescription(); 
     270    } 
     271 
     272    /** 
     273     * Create an instance of {@link CTOtherwise } 
     274     *  
     275     */ 
     276    public CTOtherwise createCTOtherwise() { 
     277        return new CTOtherwise(); 
     278    } 
     279 
     280    /** 
     281     * Create an instance of {@link CTPt } 
     282     *  
     283     */ 
     284    public CTPt createCTPt() { 
     285        return new CTPt(); 
     286    } 
     287 
     288    /** 
    67289     * Create an instance of {@link CTTextProps } 
    68290     *  
     
    73295 
    74296    /** 
    75      * Create an instance of {@link CTStyleDefinitionHeaderLst } 
    76      *  
    77      */ 
    78     public CTStyleDefinitionHeaderLst createCTStyleDefinitionHeaderLst() { 
    79         return new CTStyleDefinitionHeaderLst(); 
    80     } 
    81  
    82     /** 
    83      * Create an instance of {@link CTConstraint } 
    84      *  
    85      */ 
    86     public CTConstraint createCTConstraint() { 
    87         return new CTConstraint(); 
    88     } 
    89  
    90     /** 
    91      * Create an instance of {@link CTCategory } 
    92      *  
    93      */ 
    94     public CTCategory createCTCategory() { 
    95         return new CTCategory(); 
    96     } 
    97  
    98     /** 
    99      * Create an instance of {@link CTDiagramDefinition } 
    100      *  
    101      */ 
    102     public CTDiagramDefinition createCTDiagramDefinition() { 
    103         return new CTDiagramDefinition(); 
     297     * Create an instance of {@link CTDescription } 
     298     *  
     299     */ 
     300    public CTDescription createCTDescription() { 
     301        return new CTDescription(); 
     302    } 
     303 
     304    /** 
     305     * Create an instance of {@link CTCTCategory } 
     306     *  
     307     */ 
     308    public CTCTCategory createCTCTCategory() { 
     309        return new CTCTCategory(); 
     310    } 
     311 
     312    /** 
     313     * Create an instance of {@link CTCategories } 
     314     *  
     315     */ 
     316    public CTCategories createCTCategories() { 
     317        return new CTCategories(); 
     318    } 
     319 
     320    /** 
     321     * Create an instance of {@link CTCxnList } 
     322     *  
     323     */ 
     324    public CTCxnList createCTCxnList() { 
     325        return new CTCxnList(); 
     326    } 
     327 
     328    /** 
     329     * Create an instance of {@link CTChildMax } 
     330     *  
     331     */ 
     332    public CTChildMax createCTChildMax() { 
     333        return new CTChildMax(); 
     334    } 
     335 
     336    /** 
     337     * Create an instance of {@link CTCTStyleLabel } 
     338     *  
     339     */ 
     340    public CTCTStyleLabel createCTCTStyleLabel() { 
     341        return new CTCTStyleLabel(); 
     342    } 
     343 
     344    /** 
     345     * Create an instance of {@link CTPresentationOf } 
     346     *  
     347     */ 
     348    public CTPresentationOf createCTPresentationOf() { 
     349        return new CTPresentationOf(); 
     350    } 
     351 
     352    /** 
     353     * Create an instance of {@link CTDiagramDefinitionHeader } 
     354     *  
     355     */ 
     356    public CTDiagramDefinitionHeader createCTDiagramDefinitionHeader() { 
     357        return new CTDiagramDefinitionHeader(); 
     358    } 
     359 
     360    /** 
     361     * Create an instance of {@link CTCxn } 
     362     *  
     363     */ 
     364    public CTCxn createCTCxn() { 
     365        return new CTCxn(); 
     366    } 
     367 
     368    /** 
     369     * Create an instance of {@link CTRelIds } 
     370     *  
     371     */ 
     372    public CTRelIds createCTRelIds() { 
     373        return new CTRelIds(); 
     374    } 
     375 
     376    /** 
     377     * Create an instance of {@link CTAnimOne } 
     378     *  
     379     */ 
     380    public CTAnimOne createCTAnimOne() { 
     381        return new CTAnimOne(); 
     382    } 
     383 
     384    /** 
     385     * Create an instance of {@link CTAdjLst } 
     386     *  
     387     */ 
     388    public CTAdjLst createCTAdjLst() { 
     389        return new CTAdjLst(); 
     390    } 
     391 
     392    /** 
     393     * Create an instance of {@link CTParameter } 
     394     *  
     395     */ 
     396    public CTParameter createCTParameter() { 
     397        return new CTParameter(); 
     398    } 
     399 
     400    /** 
     401     * Create an instance of {@link CTBulletEnabled } 
     402     *  
     403     */ 
     404    public CTBulletEnabled createCTBulletEnabled() { 
     405        return new CTBulletEnabled(); 
     406    } 
     407 
     408    /** 
     409     * Create an instance of {@link CTAnimLvl } 
     410     *  
     411     */ 
     412    public CTAnimLvl createCTAnimLvl() { 
     413        return new CTAnimLvl(); 
    104414    } 
    105415 
     
    113423 
    114424    /** 
    115      * Create an instance of {@link CTStyleLabel } 
    116      *  
    117      */ 
    118     public CTStyleLabel createCTStyleLabel() { 
    119         return new CTStyleLabel(); 
    120     } 
    121  
    122     /** 
    123      * Create an instance of {@link CTCTDescription } 
    124      *  
    125      */ 
    126     public CTCTDescription createCTCTDescription() { 
    127         return new CTCTDescription(); 
    128     } 
    129  
    130     /** 
    131      * Create an instance of {@link CTSDDescription } 
    132      *  
    133      */ 
    134     public CTSDDescription createCTSDDescription() { 
    135         return new CTSDDescription(); 
    136     } 
    137  
    138     /** 
    139      * Create an instance of {@link CTWhen } 
    140      *  
    141      */ 
    142     public CTWhen createCTWhen() { 
    143         return new CTWhen(); 
    144     } 
    145  
    146     /** 
    147425     * Create an instance of {@link CTElemPropSet } 
    148426     *  
     
    153431 
    154432    /** 
     433     * Create an instance of {@link CTSDCategories } 
     434     *  
     435     */ 
     436    public CTSDCategories createCTSDCategories() { 
     437        return new CTSDCategories(); 
     438    } 
     439 
     440    /** 
     441     * Create an instance of {@link CTForEach } 
     442     *  
     443     */ 
     444    public CTForEach createCTForEach() { 
     445        return new CTForEach(); 
     446    } 
     447 
     448    /** 
     449     * Create an instance of {@link CTResizeHandles } 
     450     *  
     451     */ 
     452    public CTResizeHandles createCTResizeHandles() { 
     453        return new CTResizeHandles(); 
     454    } 
     455 
     456    /** 
     457     * Create an instance of {@link CTLayoutNode } 
     458     *  
     459     */ 
     460    public CTLayoutNode createCTLayoutNode() { 
     461        return new CTLayoutNode(); 
     462    } 
     463 
     464    /** 
     465     * Create an instance of {@link CTLayoutVariablePropertySet } 
     466     *  
     467     */ 
     468    public CTLayoutVariablePropertySet createCTLayoutVariablePropertySet() { 
     469        return new CTLayoutVariablePropertySet(); 
     470    } 
     471 
     472    /** 
     473     * Create an instance of {@link CTColorTransform } 
     474     *  
     475     */ 
     476    public CTColorTransform createCTColorTransform() { 
     477        return new CTColorTransform(); 
     478    } 
     479 
     480    /** 
     481     * Create an instance of {@link CTStyleDefinition } 
     482     *  
     483     */ 
     484    public CTStyleDefinition createCTStyleDefinition() { 
     485        return new CTStyleDefinition(); 
     486    } 
     487 
     488    /** 
    155489     * Create an instance of {@link CTAdj } 
    156490     *  
     
    161495 
    162496    /** 
    163      * Create an instance of {@link CTCTCategory } 
    164      *  
    165      */ 
    166     public CTCTCategory createCTCTCategory() { 
    167         return new CTCTCategory(); 
    168     } 
    169  
    170     /** 
    171      * Create an instance of {@link CTSDCategory } 
    172      *  
    173      */ 
    174     public CTSDCategory createCTSDCategory() { 
    175         return new CTSDCategory(); 
    176     } 
    177  
    178     /** 
    179      * Create an instance of {@link CTLayoutNode } 
    180      *  
    181      */ 
    182     public CTLayoutNode createCTLayoutNode() { 
    183         return new CTLayoutNode(); 
    184     } 
    185  
    186     /** 
    187      * Create an instance of {@link CTCategories } 
    188      *  
    189      */ 
    190     public CTCategories createCTCategories() { 
    191         return new CTCategories(); 
    192     } 
    193  
    194     /** 
    195      * Create an instance of {@link CTColorTransformHeader } 
    196      *  
    197      */ 
    198     public CTColorTransformHeader createCTColorTransformHeader() { 
    199         return new CTColorTransformHeader(); 
    200     } 
    201  
    202     /** 
    203      * Create an instance of {@link CTCxn } 
    204      *  
    205      */ 
    206     public CTCxn createCTCxn() { 
    207         return new CTCxn(); 
    208     } 
    209  
    210     /** 
    211      * Create an instance of {@link CTParameter } 
    212      *  
    213      */ 
    214     public CTParameter createCTParameter() { 
    215         return new CTParameter(); 
    216     } 
    217  
    218     /** 
    219      * Create an instance of {@link CTChildMax } 
    220      *  
    221      */ 
    222     public CTChildMax createCTChildMax() { 
    223         return new CTChildMax(); 
    224     } 
    225  
    226     /** 
    227      * Create an instance of {@link CTSDCategories } 
    228      *  
    229      */ 
    230     public CTSDCategories createCTSDCategories() { 
    231         return new CTSDCategories(); 
    232     } 
    233  
    234     /** 
    235      * Create an instance of {@link CTBulletEnabled } 
    236      *  
    237      */ 
    238     public CTBulletEnabled createCTBulletEnabled() { 
    239         return new CTBulletEnabled(); 
    240     } 
    241  
    242     /** 
    243      * Create an instance of {@link CTSampleData } 
    244      *  
    245      */ 
    246     public CTSampleData createCTSampleData() { 
    247         return new CTSampleData(); 
    248     } 
    249  
    250     /** 
    251      * Create an instance of {@link CTDiagramDefinitionHeader } 
    252      *  
    253      */ 
    254     public CTDiagramDefinitionHeader createCTDiagramDefinitionHeader() { 
    255         return new CTDiagramDefinitionHeader(); 
    256     } 
    257  
    258     /** 
    259      * Create an instance of {@link CTCTCategories } 
    260      *  
    261      */ 
    262     public CTCTCategories createCTCTCategories() { 
    263         return new CTCTCategories(); 
    264     } 
    265  
    266     /** 
    267      * Create an instance of {@link CTForEach } 
    268      *  
    269      */ 
    270     public CTForEach createCTForEach() { 
    271         return new CTForEach(); 
    272     } 
    273  
    274     /** 
    275      * Create an instance of {@link CTLayoutVariablePropertySet } 
    276      *  
    277      */ 
    278     public CTLayoutVariablePropertySet createCTLayoutVariablePropertySet() { 
    279         return new CTLayoutVariablePropertySet(); 
    280     } 
    281  
    282     /** 
    283      * Create an instance of {@link CTOrgChart } 
    284      *  
    285      */ 
    286     public CTOrgChart createCTOrgChart() { 
    287         return new CTOrgChart(); 
    288     } 
    289  
    290     /** 
    291      * Create an instance of {@link CTChildPref } 
    292      *  
    293      */ 
    294     public CTChildPref createCTChildPref() { 
    295         return new CTChildPref(); 
    296     } 
    297  
    298     /** 
    299      * Create an instance of {@link CTStyleDefinition } 
    300      *  
    301      */ 
    302     public CTStyleDefinition createCTStyleDefinition() { 
    303         return new CTStyleDefinition(); 
    304     } 
    305  
    306     /** 
    307      * Create an instance of {@link CTHierBranchStyle } 
    308      *  
    309      */ 
    310     public CTHierBranchStyle createCTHierBranchStyle() { 
    311         return new CTHierBranchStyle(); 
    312     } 
    313  
    314     /** 
    315      * Create an instance of {@link CTAnimOne } 
    316      *  
    317      */ 
    318     public CTAnimOne createCTAnimOne() { 
    319         return new CTAnimOne(); 
    320     } 
    321  
    322     /** 
    323      * Create an instance of {@link CTResizeHandles } 
    324      *  
    325      */ 
    326     public CTResizeHandles createCTResizeHandles() { 
    327         return new CTResizeHandles(); 
    328     } 
    329  
    330     /** 
    331      * Create an instance of {@link CTSDName } 
    332      *  
    333      */ 
    334     public CTSDName createCTSDName() { 
    335         return new CTSDName(); 
    336     } 
    337  
    338     /** 
    339      * Create an instance of {@link CTPresentationOf } 
    340      *  
    341      */ 
    342     public CTPresentationOf createCTPresentationOf() { 
    343         return new CTPresentationOf(); 
    344     } 
    345  
    346     /** 
    347      * Create an instance of {@link CTName } 
    348      *  
    349      */ 
    350     public CTName createCTName() { 
    351         return new CTName(); 
    352     } 
    353  
    354     /** 
    355      * Create an instance of {@link CTDataModel } 
    356      *  
    357      */ 
    358     public CTDataModel createCTDataModel() { 
    359         return new CTDataModel(); 
    360     } 
    361  
    362     /** 
    363497     * Create an instance of {@link CTDiagramDefinitionHeaderLst } 
    364498     *  
     
    374508    public CTRules createCTRules() { 
    375509        return new CTRules(); 
    376     } 
    377  
    378     /** 
    379      * Create an instance of {@link CTPt } 
    380      *  
    381      */ 
    382     public CTPt createCTPt() { 
    383         return new CTPt(); 
    384     } 
    385  
    386     /** 
    387      * Create an instance of {@link CTRelIds } 
    388      *  
    389      */ 
    390     public CTRelIds createCTRelIds() { 
    391         return new CTRelIds(); 
    392     } 
    393  
    394     /** 
    395      * Create an instance of {@link CTAnimLvl } 
    396      *  
    397      */ 
    398     public CTAnimLvl createCTAnimLvl() { 
    399         return new CTAnimLvl(); 
    400     } 
    401  
    402     /** 
    403      * Create an instance of {@link CTColorTransformHeaderLst } 
    404      *  
    405      */ 
    406     public CTColorTransformHeaderLst createCTColorTransformHeaderLst() { 
    407         return new CTColorTransformHeaderLst(); 
    408     } 
    409  
    410     /** 
    411      * Create an instance of {@link CTAlgorithm } 
    412      *  
    413      */ 
    414     public CTAlgorithm createCTAlgorithm() { 
    415         return new CTAlgorithm(); 
    416     } 
    417  
    418     /** 
    419      * Create an instance of {@link CTShape } 
    420      *  
    421      */ 
    422     public CTShape createCTShape() { 
    423         return new CTShape(); 
    424     } 
    425  
    426     /** 
    427      * Create an instance of {@link CTChoose } 
    428      *  
    429      */ 
    430     public CTChoose createCTChoose() { 
    431         return new CTChoose(); 
    432     } 
    433  
    434     /** 
    435      * Create an instance of {@link CTAdjLst } 
    436      *  
    437      */ 
    438     public CTAdjLst createCTAdjLst() { 
    439         return new CTAdjLst(); 
    440     } 
    441  
    442     /** 
    443      * Create an instance of {@link CTOtherwise } 
    444      *  
    445      */ 
    446     public CTOtherwise createCTOtherwise() { 
    447         return new CTOtherwise(); 
    448     } 
    449  
    450     /** 
    451      * Create an instance of {@link CTDescription } 
    452      *  
    453      */ 
    454     public CTDescription createCTDescription() { 
    455         return new CTDescription(); 
    456     } 
    457  
    458     /** 
    459      * Create an instance of {@link CTStyleDefinitionHeader } 
    460      *  
    461      */ 
    462     public CTStyleDefinitionHeader createCTStyleDefinitionHeader() { 
    463         return new CTStyleDefinitionHeader(); 
    464     } 
    465  
    466     /** 
    467      * Create an instance of {@link CTCTStyleLabel } 
    468      *  
    469      */ 
    470     public CTCTStyleLabel createCTCTStyleLabel() { 
    471         return new CTCTStyleLabel(); 
    472     } 
    473  
    474     /** 
    475      * Create an instance of {@link CTNumericRule } 
    476      *  
    477      */ 
    478     public CTNumericRule createCTNumericRule() { 
    479         return new CTNumericRule(); 
    480     } 
    481  
    482     /** 
    483      * Create an instance of {@link CTCxnList } 
    484      *  
    485      */ 
    486     public CTCxnList createCTCxnList() { 
    487         return new CTCxnList(); 
    488     } 
    489  
    490     /** 
    491      * Create an instance of {@link CTColorTransform } 
    492      *  
    493      */ 
    494     public CTColorTransform createCTColorTransform() { 
    495         return new CTColorTransform(); 
    496     } 
    497  
    498     /** 
    499      * Create an instance of {@link CTColors } 
    500      *  
    501      */ 
    502     public CTColors createCTColors() { 
    503         return new CTColors(); 
    504     } 
    505  
    506     /** 
    507      * Create an instance of {@link CTCTName } 
    508      *  
    509      */ 
    510     public CTCTName createCTCTName() { 
    511         return new CTCTName(); 
    512     } 
    513  
    514     /** 
    515      * Create an instance of {@link CTConstraints } 
    516      *  
    517      */ 
    518     public CTConstraints createCTConstraints() { 
    519         return new CTConstraints(); 
    520     } 
    521  
    522     /** 
    523      * Create an instance of {@link CTPtList } 
    524      *  
    525      */ 
    526     public CTPtList createCTPtList() { 
    527         return new CTPtList(); 
    528510    } 
    529511 
     
    601583 
    602584    /** 
     585     * Create an instance of {@link JAXBElement }{@code <}{@link CTTextBody }{@code >}} 
     586     *  
     587     */ 
     588    @XmlElementDecl(namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram", name = "t") 
     589    public JAXBElement<CTTextBody> createT(CTTextBody value) { 
     590        return new JAXBElement<CTTextBody>(_T_QNAME, CTTextBody.class, null, value); 
     591    } 
     592 
     593    /** 
    603594     * Create an instance of {@link JAXBElement }{@code <}{@link CTColorTransform }{@code >}} 
    604595     *  
  • trunk/docx4j/xsd/dml/dml-diagramDataModel.xsd

    r1039 r1516  
    4343    </xsd:restriction> 
    4444  </xsd:simpleType> 
     45   
     46  <!--  2011 06 02 extracted this element, so it can be 
     47        referenced from OpenDoPE/SmartArtDataHierarchy --> 
     48      <xsd:element name="t" type="a:CT_TextBody"> 
     49        <xsd:annotation> 
     50          <xsd:documentation>Text Body</xsd:documentation> 
     51        </xsd:annotation> 
     52      </xsd:element> 
     53   
     54   
    4555  <xsd:complexType name="CT_Pt"> 
    4656    <xsd:sequence> 
     
    5565        </xsd:annotation> 
    5666      </xsd:element> 
    57       <xsd:element name="t" type="a:CT_TextBody" minOccurs="0" maxOccurs="1"> 
    58         <xsd:annotation> 
    59           <xsd:documentation>Text Body</xsd:documentation> 
    60         </xsd:annotation> 
    61       </xsd:element> 
     67      <xsd:element ref="t" minOccurs="0" maxOccurs="1" /> 
    6268      <xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1" /> 
    6369    </xsd:sequence> 
  • trunk/docx4j/xsd/dml/dml__ROOT.xsd

    r1497 r1516  
    112112        <xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" schemaLocation="dml-wordprocessingDrawing.xsd" /> 
    113113                 
    114                  
     114        <xsd:import namespace="http://opendope.org/SmartArt/DataHierarchy" schemaLocation="../OpenDoPE/SmartArtDataHierarchy.xsd" />             
    115115                 
    116116</xsd:schema> 
Note: See TracChangeset for help on using the changeset viewer.