/** * Gets the sp container for the specified drawing number * * @param drawingNum the drawing number for which to return the spContainer * @return the spcontainer */ EscherContainer getSpContainer(int drawingNum) { if (!initialized) { initialize(); } if ( (drawingNum + 1) >= spContainers.length) { throw new DrawingDataException(); } EscherContainer spContainer = (EscherContainer) spContainers[drawingNum + 1]; Assert.verify(spContainer != null); return spContainer; }
/** * Gets the sp container for the specified drawing number * * @param drawingNum the drawing number for which to return the spContainer * @return the spcontainer */ EscherContainer getSpContainer(int drawingNum) { if (!initialized) { initialize(); } if ( (drawingNum + 1) >= spContainers.length) { throw new DrawingDataException(); } EscherContainer spContainer = (EscherContainer) spContainers[drawingNum + 1]; Assert.verify(spContainer != null); return spContainer; }