Skip to content

Commit

Permalink
refactor(export): remove debug print statements from ExportController
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasSevagen committed Feb 26, 2025
1 parent 7ac6454 commit 3cf15ff
Showing 1 changed file with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,6 @@ public void exportBoardToPPTX(HttpServerRequest request) {
.putHeader("Content-Disposition", "attachment; filename=\"board.pptx\"");

ByteArrayOutputStream out = new ByteArrayOutputStream();
System.out.println("Parties du package avant sauvegarde :");
OPCPackage opcPackage = ppt.getPackage();
try {
for (PackagePart part : opcPackage.getParts()) {
System.out.println(part.getPartName());
}
} catch (InvalidFormatException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

System.out.println("\nRelations du package :");
for (PackageRelationship rel : opcPackage.getRelationships()) {
System.out.println(rel.getRelationshipType() + " : " + rel.getTargetURI());
}
ppt.write(out);
request.response().end(Buffer.buffer(out.toByteArray()));
} catch (IOException e) {
Expand Down

0 comments on commit 3cf15ff

Please sign in to comment.