diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2015-07-26 00:25:27 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2015-07-26 00:25:27 +0000 |
commit | f0acd2152fd2aab9c5b4168ac82ef8b8258e4bb1 (patch) | |
tree | d31de9e83a802508c44395fbbaaf57d2a5ed40fb /src/scratchpad | |
parent | 0bbbad5da6318e00826b8e87740e4b169ce1127c (diff) | |
download | poi-f0acd2152fd2aab9c5b4168ac82ef8b8258e4bb1.tar.gz poi-f0acd2152fd2aab9c5b4168ac82ef8b8258e4bb1.zip |
Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1692674 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/scratchpad')
7 files changed, 8 insertions, 10 deletions
diff --git a/src/scratchpad/src/org/apache/poi/hslf/model/textproperties/TabStopPropCollection.java b/src/scratchpad/src/org/apache/poi/hslf/model/textproperties/TabStopPropCollection.java index 786b373382..3668862170 100644 --- a/src/scratchpad/src/org/apache/poi/hslf/model/textproperties/TabStopPropCollection.java +++ b/src/scratchpad/src/org/apache/poi/hslf/model/textproperties/TabStopPropCollection.java @@ -90,7 +90,6 @@ public class TabStopPropCollection extends TextProp { *
* @param data the data stream
* @param offset the offset within the data
- * @return the new offset
*/
public void parseProperty(byte data[], int offset) {
int count = LittleEndian.getUShort(data, offset);
diff --git a/src/scratchpad/src/org/apache/poi/hslf/record/TextHeaderAtom.java b/src/scratchpad/src/org/apache/poi/hslf/record/TextHeaderAtom.java index a63d8934d5..3fab236a1c 100644 --- a/src/scratchpad/src/org/apache/poi/hslf/record/TextHeaderAtom.java +++ b/src/scratchpad/src/org/apache/poi/hslf/record/TextHeaderAtom.java @@ -58,7 +58,7 @@ public final class TextHeaderAtom extends RecordAtom implements ParentAwareRecor public int getIndex() { return index; } /** - * @param id 0-based index of the text run in the SLWT container + * @param index 0-based index of the text run in the SLWT container */ public void setIndex(int index) { this.index = index; } diff --git a/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFGroupShape.java b/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFGroupShape.java index ae343f22c1..12c0167ad9 100644 --- a/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFGroupShape.java +++ b/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFGroupShape.java @@ -212,7 +212,7 @@ public class HSLFGroupShape extends HSLFShape implements GroupShape<HSLFShape> { /** * Return type of the shape. - * In most cases shape group type is {@link org.apache.poi.hslf.model.ShapeTypes#NotPrimitive} + * In most cases shape group type is {@link org.apache.poi.sl.usermodel.ShapeType#NOT_PRIMITIVE} * * @return type of the shape. */ diff --git a/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFPictureShape.java b/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFPictureShape.java index 5db610af00..a6857937c0 100644 --- a/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFPictureShape.java +++ b/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFPictureShape.java @@ -253,12 +253,11 @@ public class HSLFPictureShape extends HSLFSimpleShape implements PictureShape { } } - /** - * The anchor specified by {@link #getLogicalAnchor2D()} is the displayed size, - * i.e. the size of the already clipped image - */ + @Override public Insets getClipping() { + // The anchor specified by the escher properties is the displayed size, + // i.e. the size of the already clipped image EscherOptRecord opt = getEscherOptRecord(); double top = getFractProp(opt, EscherProperties.BLIP__CROPFROMTOP); diff --git a/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java b/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java index 34638f6309..c02fe22c95 100644 --- a/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java +++ b/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java @@ -144,7 +144,7 @@ public final class HSLFSlideShowImpl extends POIDocument { * POIFS Filesystem. Parses the document and places all the * important stuff into data structures. * - * @deprecated Use {@link #HSLFSlideShow(DirectoryNode)} instead + * @deprecated Use {@link #HSLFSlideShowImpl(DirectoryNode)} instead * @param dir the POIFS directory to read from * @param filesystem the POIFS FileSystem to read from * @throws IOException if there is a problem while parsing the document. diff --git a/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFTableCell.java b/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFTableCell.java index b1e7c3e4bb..74abd19038 100644 --- a/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFTableCell.java +++ b/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFTableCell.java @@ -43,7 +43,7 @@ public final class HSLFTableCell extends HSLFTextBox { /** * Create a TableCell object and initialize it from the supplied Record container. * - * @param escherRecord {@link EscherSpContainer} container which holds information about this shape + * @param escherRecord EscherSpContainer which holds information about this shape * @param parent the parent of the shape */ protected HSLFTableCell(EscherContainerRecord escherRecord, ShapeContainer<HSLFShape> parent){ diff --git a/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFTextRun.java b/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFTextRun.java index 8728eabb6b..08565e3da6 100644 --- a/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFTextRun.java +++ b/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFTextRun.java @@ -48,7 +48,7 @@ public final class HSLFTextRun implements TextRun { /** * Create a new wrapper around a rich text string - * @param parent The parent paragraph + * @param parentParagraph the parent paragraph */ public HSLFTextRun(HSLFTextParagraph parentParagraph) { this.parentParagraph = parentParagraph; |