missing @since annotations

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1863476 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2019-07-20 12:11:07 +00:00
parent 4fbad5c3f7
commit cf1eb05304
3 changed files with 7 additions and 1 deletions

View File

@ -1444,6 +1444,7 @@ public class XWPFParagraph implements IBodyElement, IRunBody, ISDTContents, Para
* Appends a new hyperlink run to this paragraph
*
* @return a new hyperlink run
* @since POI 4.1.1
*/
public XWPFHyperlinkRun createHyperlinkRun(String uri) {
// Create a relationship ID for this link.

View File

@ -80,7 +80,9 @@ public class XWPFPicture {
}
/**
* Returns the width of the picture (in points).
* Returns the width of the picture (in points).
*
* @since POI 4.1.1
*/
public double getWidth() {
return Units.toPoints(ctPic.getSpPr().getXfrm().getExt().getCx());
@ -88,6 +90,8 @@ public class XWPFPicture {
/**
* Returns the depth of the picture (in points).
*
* @since POI 4.1.1
*/
public double getDepth() {
return Units.toPoints(ctPic.getSpPr().getXfrm().getExt().getCy());

View File

@ -1203,6 +1203,7 @@ public class XWPFRun implements ISDTContents, IRunElement, CharacterRun {
* Set the style ID for the run.
*
* @param styleId ID (not name) of the style to set for the run, e.g. "BoldItalic" (not "Bold Italic").
* @since POI 4.1.1
*/
public void setStyle(String styleId) {
CTRPr pr = getCTR().getRPr();