Clear Comments from POTM Presentation Online or Manage via Android Apps
Develop powerful Android based POTM presentation annotation utility application. Code listed for managing comments of POTM file.
Remove POTM Annotations Online
- Import POTM file to delete comments by uploading it
- Do it by clicking inside the drop area via drag and drop of annotation app
- Depending on the size of POTM file and internet speed wait for few seconds
- Click the ‘Remove’ button to clear comments
- Download the file instantly
Remove POTM Presentation Comments via Android App
- Add library reference to android project
- Load POTM via Presentation class object
- Iterate through each Author via Presentation.getCommentAuthors() collection
- Invoke clear() method to delete its comment
- Finally call getCommentAuthors().clear() to remove all authors
- Call the save method to save the file
Code : Delete Comments and Authors from POTM Presentation
Add POTM Presentation Comments via Android App
- Add library reference to android project
- Load POTM via Presentation class object
- Invoke Presentation.getCommentAuthors().addAuthor(String, String) to add the authors
- Use ICommentAuthor.getComments().addComment(String, ISlide, Point2D.Float, Date) for comments addition
- Call the save method to save the file with added comments
Code: Adding Comments
Presentation presentation = new Presentation("presentation.pptx"); | |
try { | |
presentation.getSlides().addEmptySlide(presentation.getLayoutSlides().get_Item(0)); | |
ICommentAuthor author = presentation.getCommentAuthors().addAuthor("Angela", "AG"); | |
Point2D.Float point = new Point2D.Float(0.2f, 0.2f); | |
author.getComments().addComment("Hello, this is slide comment", presentation.getSlides().get_Item(0), point, new Date()); | |
presentation.save("add-comment.pptx", SaveFormat.Pptx); | |
} finally { | |
if (presentation != null) | |
presentation.dispose(); | |
} |
Develop POTM Document Annotation Android App
Need to develop a POTM annotation mobile app or utility to provide feedback, make suggestions, or collaborate with others on the document? 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 annotation application. Powerful android library allows programming any document annotation solution. Moreover it can support many popular formats including POTM format.
Android Library to Annotate POTM Files
- 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/).