Revision 23564

View differences:

trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/layout/fframes/FFramePicture.java
110 110
    private GVTBuilder gvtBuilder = new GVTBuilder();
111 111
    private GraphicsNode gvtRoot = null;
112 112
    private BridgeContext ctx;
113
	
113

  
114 114
    /**
115 115
     * Creates a new FFramePicture object.
116 116
     */
......
292 292
        XMLEntity xml = super.getXMLEntity();
293 293

  
294 294
        try {
295
//            xml.putProperty("type", Layout.RECTANGLEPICTURE);
296 295
            xml.putProperty("m_path", m_path);
297 296
            xml.putProperty("m_quality", m_quality);
298 297
            xml.putProperty("m_viewing", m_viewing);
......
340 339
        if (file == null || !f.exists()) {
341 340
            return null;
342 341
        }
343

  
342
        setPath(file);
344 343
        String iString = file.toLowerCase();
345 344

  
346 345
        if (iString.endsWith("jpg") || iString.endsWith("jpeg") ||
......
359 358

  
360 359
        if (!isSVG && (tmpIcon != null)) {
361 360
            Image image = tmpIcon.getImage();
362
            setPath(file);
363 361

  
362

  
364 363
            BufferedImage bi = new BufferedImage(image.getWidth(null),
365 364
                    image.getHeight(null), BufferedImage.TYPE_INT_ARGB);
366 365
            Graphics2D biContext = bi.createGraphics();

Also available in: Unified diff