Changeset 1438


Ignore:
Timestamp:
02/24/11 03:13:54 (15 months ago)
Author:
jharrop
Message:

Modifications to Richard's patch

Location:
trunk/docx4j/src/main/java/org/docx4j/wml
Files:
5 edited

Legend:

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

    r1437 r1438  
    192192    } 
    193193     
     194    /** 
     195     * @since 2.7 
     196     */ 
    194197    public List<Object> getContent() { 
    195         if (egContentBlockContent == null) { 
    196             egContentBlockContent = new ArrayList<Object>(); 
    197         } 
    198         return this.egContentBlockContent; 
     198        return getEGContentBlockContent(); 
    199199    } 
    200200 
  • trunk/docx4j/src/main/java/org/docx4j/wml/CTCustomXmlCell.java

    r1437 r1438  
    183183     *  
    184184     */ 
    185     public List<Object> getContentCellContent() { 
     185    public List<Object> getEGContentCellContent() { 
    186186        if (egContentCellContent == null) { 
    187187            egContentCellContent = new ArrayList<Object>(); 
     
    190190    } 
    191191     
     192    /** 
     193     * @since 2.7 
     194     */ 
    192195    public List<Object> getContent() { 
    193         if (egContentCellContent == null) { 
    194             egContentCellContent = new ArrayList<Object>(); 
    195         } 
    196         return this.egContentCellContent; 
     196        return getEGContentCellContent(); 
    197197    } 
    198198 
  • trunk/docx4j/src/main/java/org/docx4j/wml/CTCustomXmlElement.java

    r1437 r1438  
    77/** 
    88 * @since 2.7 
    9  * 
    109 */ 
    1110public interface CTCustomXmlElement extends Child { 
  • trunk/docx4j/src/main/java/org/docx4j/wml/CTCustomXmlRow.java

    r1437 r1438  
    190190    } 
    191191     
     192    /** 
     193     * @since 2.7 
     194     */ 
    192195    public List<Object> getContent() { 
    193         if (egContentRowContent == null) { 
    194             egContentRowContent = new ArrayList<Object>(); 
    195         } 
    196         return this.egContentRowContent; 
     196        return getEGContentRowContent(); 
    197197    } 
    198198 
  • trunk/docx4j/src/main/java/org/docx4j/wml/CTCustomXmlRun.java

    r1437 r1438  
    198198    } 
    199199     
     200    /** 
     201     * @since 2.7 
     202     */ 
    200203    public List<Object> getContent() { 
    201         if (paragraphContent == null) { 
    202             paragraphContent = new ArrayList<Object>(); 
    203         } 
    204         return this.paragraphContent; 
     204        return getParagraphContent(); 
    205205    } 
    206206 
Note: See TracChangeset for help on using the changeset viewer.