Current location - Training Enrollment Network - Education and training - Ask the problem of transforming PPT with POI in Android environment.
Ask the problem of transforming PPT with POI in Android environment.
Code: slide PPT = new slide (is); //get pptpicturedata[]pictures = PPT . getpicturedata(); //Picture information (including basemap) For example, there are two pictures slide [] slide = PPT. getslides (); //Slide information includes, for example, three slides for (int I = 0;; I & ltslide. Length; I++){ // Read each slide shape [] sh = slide[i]. Loop getshapes (); //Get each page element for(int j = 0;; J & ltsh. Length; J++){ // Recycle reading the information of each element on each page if (sh [j] instance AutoShape) {AutoShape = (AutoShape) sh [j]; ...} else if {picture picture = (picture) sh [j] ...}//I found that the picture can't be read, only the elements pressed to each page can be read} The first and third PPT here have background picture information, and the second PPT only has text information. How to tell which page the picture information obtained in pictuerdata belongs to?