[Bug 64815] New: The comment information does not take effect after modification

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

[Bug 64815] New: The comment information does not take effect after modification

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=64815

            Bug ID: 64815
           Summary: The comment information does not take effect after
                    modification
           Product: POI
           Version: 4.1.2-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLF
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

The pptx format file cannot take effect when the comments are modified.

The following is sample code:

public static void main(String[] args) throws Exception {

    String filePath = "D:\\test.pptx";
    XMLSlideShow slideShow = new XMLSlideShow(new FileInputStream(filePath));
    List<XSLFSlide> slides = slideShow.getSlides();
    slides.forEach(slide -> {
        slide.getComments().forEach(e -> {
            System.out.println(e.getText());
            e.setText("Test modification");
        });
    });
    FileOutputStream out = new FileOutputStream(filePath);
    slideShow.write(out);
    slideShow.close();
}

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 64815] The comment information does not take effect after modification

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=64815

Dominik Stadler <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]