From: Nick Burch Date: Sun, 26 Jun 2005 19:01:38 +0000 (+0000) Subject: Allow setting of the ID of the notes associated with the slide (have always been... X-Git-Tag: BEFORE_RICHTEXT~38 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=63ffa42c6a6b1bf494ccc4dcec20c3ba50d7ac8a;p=poi.git Allow setting of the ID of the notes associated with the slide (have always been able to fetch it). Used when adding a new notes sheet, or when swapping notes between slides git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353731 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/scratchpad/src/org/apache/poi/hslf/record/SlideAtom.java b/src/scratchpad/src/org/apache/poi/hslf/record/SlideAtom.java index 6446b1777d..677b3d8592 100644 --- a/src/scratchpad/src/org/apache/poi/hslf/record/SlideAtom.java +++ b/src/scratchpad/src/org/apache/poi/hslf/record/SlideAtom.java @@ -54,6 +54,9 @@ public class SlideAtom extends RecordAtom /** Get the embeded SSlideLayoutAtom */ public SSlideLayoutAtom getSSlideLayoutAtom() { return layoutAtom; } + /** Change the ID of the notes for this slide. 0 if it no longer has one */ + public void setNotesID(int id) { notesID = id; } + public boolean getFollowMasterObjects() { return followMasterObjects; } public boolean getFollowMasterScheme() { return followMasterScheme; } public boolean getFollowMasterBackground() { return followMasterBackground; }