one pptx page can’t display

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

one pptx page can’t display

luoxg
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: one pptx page can’t display

luoxg
page 6 and 7



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]