Parse PPT File Online as well as via Android Apps
Develop powerful Android based PPT document parser application. Code listed for parsing PPT.
Parse PPT Presentation Online
- Import PPT file to parse by uploading it.
- Do it by clicking inside the drop area via drag and drop of parser app.
- Depending on the size of PPT file and internet speed wait for few seconds.
- Click the ‘Parse Now’ button to parse document.
- Download the parsed files to view instantly.
Parse PPT Presentation via Android App
- Add library reference to android project
- Load PPT file using Presentation class object
- Define ITextFrame[] object
- Iterate through element and extract the information
Code : Parse PPT presentation
Presentation powerpointPrst = new Presentation("demo.pptx"); | |
try{ | |
ITextFrame[] textFramesSlideOne = SlideUtil.getAllTextBoxes(powerpointPrst.getSlides().get_Item(0)); | |
for (int i = 0; i < textFramesSlideOne.length; i++){ | |
for (IParagraph para : textFramesSlideOne[0].getParagraphs()){ | |
for (IPortion port : para.getPortions()){ | |
System.out.print(port.getText()); | |
System.out.print(port.getPortionFormat().getFontHeight()); | |
System.out.print(port.getPortionFormat().getLatinFont().getFontName()); | |
} | |
} | |
} | |
} finally { | |
if (powerpointPrst != null) powerpointPrst.dispose(); | |
} |
Develop PPT Presentation Parser Android Application
Need to develop a PPT parser application? With
Aspose.Slides for Android via Java
a child API of
Aspose.Total for Android via Java
, any android developer can integrate the above API code within its document parser application. Powerful android library allows programming any document parsing solution to extract images as well as text. Moreover it can support many popular formats including PPT format.
Android utility to process PPT file for parser application
- We host our Java packages in Maven repositories .
- Aspose.Slides for Java is a common JAR file containing byte-code.
- Follow the step-by-step instructions on how to install Aspose.Slides for Android via Java.
System Requirements
- J2SE 6.0 (Java 1.6) and higher
- Java package is cross-platform and runs on all operating systems with JVM implementation.
For more details please refer to [Product Documentation](https://docs.aspose.com/slides/java/system-requirements/).