Changeset 1531


Ignore:
Timestamp:
06/05/11 03:17:09 (12 months ago)
Author:
jharrop
Message:

Move image optional attributes

Location:
trunk/docx4j
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/docx4j/src/main/java/org/opendope/SmartArt/dataHierarchy/ListItem.java

    r1527 r1531  
    2222 *         <element ref="{http://opendope.org/SmartArt/DataHierarchy}textBody"/> 
    2323 *         <element ref="{http://opendope.org/SmartArt/DataHierarchy}sibTransBody" minOccurs="0"/> 
    24  *         <element ref="{http://opendope.org/SmartArt/DataHierarchy}image" minOccurs="0"/> 
     24 *         <element ref="{http://opendope.org/SmartArt/DataHierarchy}imageRef" minOccurs="0"/> 
    2525 *         <element ref="{http://opendope.org/SmartArt/DataHierarchy}list" minOccurs="0"/> 
    2626 *       </sequence> 
     
    3737    "textBody", 
    3838    "sibTransBody", 
    39     "image", 
     39    "imageRef", 
    4040    "list" 
    4141}) 
     
    4646    protected TextBody textBody; 
    4747    protected SibTransBody sibTransBody; 
    48     protected Image image; 
     48    protected ImageRef imageRef; 
    4949    protected List list; 
    5050    @XmlAttribute(required = true) 
     
    100100 
    101101    /** 
    102      * Gets the value of the image property. 
     102     * Gets the value of the imageRef property. 
    103103     *  
    104104     * @return 
    105105     *     possible object is 
    106      *     {@link Image } 
     106     *     {@link ImageRef } 
    107107     *      
    108108     */ 
    109     public Image getImage() { 
    110         return image; 
     109    public ImageRef getImageRef() { 
     110        return imageRef; 
    111111    } 
    112112 
    113113    /** 
    114      * Sets the value of the image property. 
     114     * Sets the value of the imageRef property. 
    115115     *  
    116116     * @param value 
    117117     *     allowed object is 
    118      *     {@link Image } 
     118     *     {@link ImageRef } 
    119119     *      
    120120     */ 
    121     public void setImage(Image value) { 
    122         this.image = value; 
     121    public void setImageRef(ImageRef value) { 
     122        this.imageRef = value; 
    123123    } 
    124124 
  • trunk/docx4j/src/main/java/org/opendope/SmartArt/dataHierarchy/ObjectFactory.java

    r1527 r1531  
    3535 
    3636    /** 
     37     * Create an instance of {@link TextBody } 
     38     *  
     39     */ 
     40    public TextBody createTextBody() { 
     41        return new TextBody(); 
     42    } 
     43 
     44    /** 
    3745     * Create an instance of {@link SmartArtDataHierarchy.Images } 
    3846     *  
     
    4351 
    4452    /** 
    45      * Create an instance of {@link List } 
     53     * Create an instance of {@link SmartArtDataHierarchy } 
    4654     *  
    4755     */ 
    48     public List createList() { 
    49         return new List(); 
     56    public SmartArtDataHierarchy createSmartArtDataHierarchy() { 
     57        return new SmartArtDataHierarchy(); 
     58    } 
     59 
     60    /** 
     61     * Create an instance of {@link SibTransBody } 
     62     *  
     63     */ 
     64    public SibTransBody createSibTransBody() { 
     65        return new SibTransBody(); 
     66    } 
     67 
     68    /** 
     69     * Create an instance of {@link ImageRef } 
     70     *  
     71     */ 
     72    public ImageRef createImageRef() { 
     73        return new ImageRef(); 
    5074    } 
    5175 
     
    6791 
    6892    /** 
    69      * Create an instance of {@link TextBody } 
     93     * Create an instance of {@link List } 
    7094     *  
    7195     */ 
    72     public TextBody createTextBody() { 
    73         return new TextBody(); 
    74     } 
    75  
    76     /** 
    77      * Create an instance of {@link ListItem } 
    78      *  
    79      */ 
    80     public ListItem createListItem() { 
    81         return new ListItem(); 
    82     } 
    83  
    84     /** 
    85      * Create an instance of {@link org.opendope.SmartArt.dataHierarchy.Image } 
    86      *  
    87      */ 
    88     public org.opendope.SmartArt.dataHierarchy.Image createImage() { 
    89         return new org.opendope.SmartArt.dataHierarchy.Image(); 
     96    public List createList() { 
     97        return new List(); 
    9098    } 
    9199 
     
    99107 
    100108    /** 
    101      * Create an instance of {@link SibTransBody } 
     109     * Create an instance of {@link ListItem } 
    102110     *  
    103111     */ 
    104     public SibTransBody createSibTransBody() { 
    105         return new SibTransBody(); 
    106     } 
    107  
    108     /** 
    109      * Create an instance of {@link SmartArtDataHierarchy } 
    110      *  
    111      */ 
    112     public SmartArtDataHierarchy createSmartArtDataHierarchy() { 
    113         return new SmartArtDataHierarchy(); 
     112    public ListItem createListItem() { 
     113        return new ListItem(); 
    114114    } 
    115115 
  • trunk/docx4j/src/main/java/org/opendope/SmartArt/dataHierarchy/SmartArtDataHierarchy.java

    r1526 r1531  
    4444 *                             </simpleType> 
    4545 *                           </attribute> 
    46  *                           <attribute name="custLinFactNeighborX" type="{http://www.w3.org/2001/XMLSchema}int" /> 
    47  *                           <attribute name="custLinFactNeighborY" type="{http://www.w3.org/2001/XMLSchema}int" /> 
    48  *                           <attribute name="custScaleY" type="{http://www.w3.org/2001/XMLSchema}int" /> 
    49  *                           <attribute name="custScaleX" type="{http://www.w3.org/2001/XMLSchema}int" /> 
    5046 *                         </extension> 
    5147 *                       </simpleContent> 
     
    226222     *                   </simpleType> 
    227223     *                 </attribute> 
    228      *                 <attribute name="custLinFactNeighborX" type="{http://www.w3.org/2001/XMLSchema}int" /> 
    229      *                 <attribute name="custLinFactNeighborY" type="{http://www.w3.org/2001/XMLSchema}int" /> 
    230      *                 <attribute name="custScaleY" type="{http://www.w3.org/2001/XMLSchema}int" /> 
    231      *                 <attribute name="custScaleX" type="{http://www.w3.org/2001/XMLSchema}int" /> 
    232224     *               </extension> 
    233225     *             </simpleContent> 
     
    301293         *         </simpleType> 
    302294         *       </attribute> 
    303          *       <attribute name="custLinFactNeighborX" type="{http://www.w3.org/2001/XMLSchema}int" /> 
    304          *       <attribute name="custLinFactNeighborY" type="{http://www.w3.org/2001/XMLSchema}int" /> 
    305          *       <attribute name="custScaleY" type="{http://www.w3.org/2001/XMLSchema}int" /> 
    306          *       <attribute name="custScaleX" type="{http://www.w3.org/2001/XMLSchema}int" /> 
    307295         *     </extension> 
    308296         *   </simpleContent> 
     
    324312            @XmlAttribute 
    325313            protected String contentType; 
    326             @XmlAttribute 
    327             protected Integer custLinFactNeighborX; 
    328             @XmlAttribute 
    329             protected Integer custLinFactNeighborY; 
    330             @XmlAttribute 
    331             protected Integer custScaleY; 
    332             @XmlAttribute 
    333             protected Integer custScaleX; 
    334314 
    335315            /** 
     
    401381            public void setContentType(String value) { 
    402382                this.contentType = value; 
    403             } 
    404  
    405             /** 
    406              * Gets the value of the custLinFactNeighborX property. 
    407              *  
    408              * @return 
    409              *     possible object is 
    410              *     {@link Integer } 
    411              *      
    412              */ 
    413             public Integer getCustLinFactNeighborX() { 
    414                 return custLinFactNeighborX; 
    415             } 
    416  
    417             /** 
    418              * Sets the value of the custLinFactNeighborX property. 
    419              *  
    420              * @param value 
    421              *     allowed object is 
    422              *     {@link Integer } 
    423              *      
    424              */ 
    425             public void setCustLinFactNeighborX(Integer value) { 
    426                 this.custLinFactNeighborX = value; 
    427             } 
    428  
    429             /** 
    430              * Gets the value of the custLinFactNeighborY property. 
    431              *  
    432              * @return 
    433              *     possible object is 
    434              *     {@link Integer } 
    435              *      
    436              */ 
    437             public Integer getCustLinFactNeighborY() { 
    438                 return custLinFactNeighborY; 
    439             } 
    440  
    441             /** 
    442              * Sets the value of the custLinFactNeighborY property. 
    443              *  
    444              * @param value 
    445              *     allowed object is 
    446              *     {@link Integer } 
    447              *      
    448              */ 
    449             public void setCustLinFactNeighborY(Integer value) { 
    450                 this.custLinFactNeighborY = value; 
    451             } 
    452  
    453             /** 
    454              * Gets the value of the custScaleY property. 
    455              *  
    456              * @return 
    457              *     possible object is 
    458              *     {@link Integer } 
    459              *      
    460              */ 
    461             public Integer getCustScaleY() { 
    462                 return custScaleY; 
    463             } 
    464  
    465             /** 
    466              * Sets the value of the custScaleY property. 
    467              *  
    468              * @param value 
    469              *     allowed object is 
    470              *     {@link Integer } 
    471              *      
    472              */ 
    473             public void setCustScaleY(Integer value) { 
    474                 this.custScaleY = value; 
    475             } 
    476  
    477             /** 
    478              * Gets the value of the custScaleX property. 
    479              *  
    480              * @return 
    481              *     possible object is 
    482              *     {@link Integer } 
    483              *      
    484              */ 
    485             public Integer getCustScaleX() { 
    486                 return custScaleX; 
    487             } 
    488  
    489             /** 
    490              * Sets the value of the custScaleX property. 
    491              *  
    492              * @param value 
    493              *     allowed object is 
    494              *     {@link Integer } 
    495              *      
    496              */ 
    497             public void setCustScaleX(Integer value) { 
    498                 this.custScaleX = value; 
    499383            } 
    500384 
  • trunk/docx4j/xsd/OpenDoPE/SmartArtDataHierarchy.xsd

    r1527 r1531  
    5959                        </xsd:simpleType>                                                 
    6060                         </xsd:attribute> 
    61                          <!--  dgm:pt/dgm:prSet[@presName='rootPict'] optional settings --> 
    62                      <xsd:attribute name="custLinFactNeighborX" type="xsd:int" use="optional"/> 
    63                                          <xsd:attribute name="custLinFactNeighborY" type="xsd:int" use="optional"/> 
    64                                          <xsd:attribute name="custScaleY" type="xsd:int" use="optional"/> 
    65                                          <xsd:attribute name="custScaleX" type="xsd:int" use="optional"/> 
    6661                   </xsd:extension> 
    6762                  </xsd:simpleContent> 
     
    122117        <xsd:element ref="dh:textBody" /> 
    123118        <xsd:element ref="dh:sibTransBody" minOccurs="0" maxOccurs="1" /> 
    124         <xsd:element ref="dh:image" minOccurs="0" maxOccurs="1"/> 
     119        <xsd:element ref="dh:imageRef" minOccurs="0" maxOccurs="1"/> 
    125120        <xsd:element ref="dh:list" minOccurs="0" maxOccurs="1" /> 
    126121      </xsd:sequence> 
     
    153148  <xsd:element name="p" type="xsd:string" /> 
    154149 
    155   <xsd:element name="image"> 
     150  <xsd:element name="imageRef"> 
    156151    <xsd:complexType> 
    157152      <xsd:attribute name="contentRef" type="xsd:string" use="optional" /> 
     153          <!--  dgm:pt/dgm:prSet[@presName='rootPict'] optional settings --> 
     154      <xsd:attribute name="custLinFactNeighborX" type="xsd:int" use="optional"/> 
     155          <xsd:attribute name="custLinFactNeighborY" type="xsd:int" use="optional"/> 
     156          <xsd:attribute name="custScaleY" type="xsd:int" use="optional"/> 
     157          <xsd:attribute name="custScaleX" type="xsd:int" use="optional"/>       
    158158    </xsd:complexType> 
    159159  </xsd:element> 
Note: See TracChangeset for help on using the changeset viewer.