bug 58190: add @since annotations to SlideShow.addPicture and findPicture
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760633 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ca78ec2878
commit
430ea9abfd
@ -83,6 +83,7 @@ public interface SlideShow<
|
|||||||
* @param format The format of the picture.
|
* @param format The format of the picture.
|
||||||
*
|
*
|
||||||
* @return the picture data reference.
|
* @return the picture data reference.
|
||||||
|
* @since 3.15 beta 1
|
||||||
*/
|
*/
|
||||||
PictureData addPicture(InputStream is, PictureType format) throws IOException;
|
PictureData addPicture(InputStream is, PictureType format) throws IOException;
|
||||||
|
|
||||||
@ -93,6 +94,7 @@ public interface SlideShow<
|
|||||||
* @param format The format of the picture.
|
* @param format The format of the picture.
|
||||||
*
|
*
|
||||||
* @return the picture data reference
|
* @return the picture data reference
|
||||||
|
* @since 3.15 beta 1
|
||||||
*/
|
*/
|
||||||
PictureData addPicture(File pict, PictureType format) throws IOException;
|
PictureData addPicture(File pict, PictureType format) throws IOException;
|
||||||
|
|
||||||
@ -101,6 +103,7 @@ public interface SlideShow<
|
|||||||
*
|
*
|
||||||
* @param pictureData The picture data to find in the SlideShow
|
* @param pictureData The picture data to find in the SlideShow
|
||||||
* @return {@code null} if picture data is not found in this slideshow
|
* @return {@code null} if picture data is not found in this slideshow
|
||||||
|
* @since 3.15 beta 3
|
||||||
*/
|
*/
|
||||||
PictureData findPictureData(byte[] pictureData);
|
PictureData findPictureData(byte[] pictureData);
|
||||||
|
|
||||||
|
@ -471,6 +471,7 @@ implements SlideShow<XSLFShape,XSLFTextParagraph> {
|
|||||||
* @param format The format of the picture
|
* @param format The format of the picture
|
||||||
*
|
*
|
||||||
* @return the picture data
|
* @return the picture data
|
||||||
|
* @since 3.15 beta 2
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public XSLFPictureData addPicture(InputStream is, PictureType format) throws IOException
|
public XSLFPictureData addPicture(InputStream is, PictureType format) throws IOException
|
||||||
@ -486,6 +487,7 @@ implements SlideShow<XSLFShape,XSLFTextParagraph> {
|
|||||||
* @param format The format of the picture.
|
* @param format The format of the picture.
|
||||||
*
|
*
|
||||||
* @return the picture data
|
* @return the picture data
|
||||||
|
* @since 3.15 beta 2
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public XSLFPictureData addPicture(File pict, PictureType format) throws IOException
|
public XSLFPictureData addPicture(File pict, PictureType format) throws IOException
|
||||||
@ -507,6 +509,7 @@ implements SlideShow<XSLFShape,XSLFTextParagraph> {
|
|||||||
*
|
*
|
||||||
* @param pictureData The picture data to find in the SlideShow
|
* @param pictureData The picture data to find in the SlideShow
|
||||||
* @return {@code null} if picture data is not found in this slideshow
|
* @return {@code null} if picture data is not found in this slideshow
|
||||||
|
* @since 3.15 beta 2
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public XSLFPictureData findPictureData(byte[] pictureData) {
|
public XSLFPictureData findPictureData(byte[] pictureData) {
|
||||||
|
@ -804,6 +804,7 @@ public final class HSLFSlideShow implements SlideShow<HSLFShape,HSLFTextParagrap
|
|||||||
* @param format The format of the picture.
|
* @param format The format of the picture.
|
||||||
*
|
*
|
||||||
* @return the picture data.
|
* @return the picture data.
|
||||||
|
* @since 3.15 beta 2
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public HSLFPictureData addPicture(InputStream is, PictureType format) throws IOException {
|
public HSLFPictureData addPicture(InputStream is, PictureType format) throws IOException {
|
||||||
@ -822,6 +823,7 @@ public final class HSLFSlideShow implements SlideShow<HSLFShape,HSLFTextParagrap
|
|||||||
* The format of the picture.
|
* The format of the picture.
|
||||||
*
|
*
|
||||||
* @return the picture data.
|
* @return the picture data.
|
||||||
|
* @since 3.15 beta 2
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public HSLFPictureData addPicture(File pict, PictureType format) throws IOException {
|
public HSLFPictureData addPicture(File pict, PictureType format) throws IOException {
|
||||||
@ -844,6 +846,7 @@ public final class HSLFSlideShow implements SlideShow<HSLFShape,HSLFTextParagrap
|
|||||||
*
|
*
|
||||||
* @param pictureData The picture data to find in the SlideShow
|
* @param pictureData The picture data to find in the SlideShow
|
||||||
* @return {@code null} if picture data is not found in this slideshow
|
* @return {@code null} if picture data is not found in this slideshow
|
||||||
|
* @since 3.15 beta 3
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public HSLFPictureData findPictureData(byte[] pictureData) {
|
public HSLFPictureData findPictureData(byte[] pictureData) {
|
||||||
|
Loading…
Reference in New Issue
Block a user