Ignore:
Timestamp:
06/20/11 13:52:54 (11 months ago)
Author:
jharrop
Message:

The name of the node which contains an image

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docx4j/src/main/java/org/docx4j/openpackaging/parts/DrawingML/DiagramDataUnflatten.java

    r1544 r1554  
    5959         
    6060        private static Logger log = Logger.getLogger(DiagramDataUnflatten.class);        
     61         
     62        protected static String PRESNAME_FOR_IMAGE = "image";  
    6163 
    6264        /* Generating SmartArtDataHierarchy xml from 
     
    218220                         
    219221                        // attach its image 
    220                         CTPt imgPt = getAssociatedPres(modelId, "rootPict"); 
     222                        CTPt imgPt = getAssociatedPres(modelId, PRESNAME_FOR_IMAGE); 
    221223                        if (imgPt!=null  
    222224                                        && imgPt.getSpPr()!=null  
     
    359361                                .load(new java.io.File( 
    360362                                                System.getProperty("user.dir") 
    361                                                 + "/OUT.docx")); 
     363                                                + "/sample-docs/glox/extracted/apes.pptx")); 
    362364                 
    363365 
Note: See TracChangeset for help on using the changeset viewer.