You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by luoxg <lu...@163.com> on 2020/05/25 08:09:16 UTC

one pptx page can’t display

bbb.pptx <http://apache-poi.1045710.n5.nabble.com/file/t340820/bbb.pptx>  

Pages 6 and 7 in the attachment do not show the chart content.


public class DrawGraphicalFrame extends DrawShape {

    public DrawGraphicalFrame(GraphicalFrame<?,?> shape) {
        super(shape);
    }
    
    public void draw(Graphics2D context) {
        PictureShape<?,?> ps =
((GraphicalFrame<?,?>)getShape()).getFallbackPicture();
        if (ps == null) {
            return;
        }
        DrawPictureShape dps =
DrawFactory.getInstance(context).getDrawable(ps);
        dps.draw(context);
    }
}

Returns null when the execution is over here.
Please have a look.
Thanks!



--
Sent from: http://apache-poi.1045710.n5.nabble.com/POI-User-f2280730.html

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Re: one pptx page can’t display

Posted by luoxg <lu...@163.com>.
page 6 and 7



--
Sent from: http://apache-poi.1045710.n5.nabble.com/POI-User-f2280730.html

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org