diff options
author | PJ Fanning <fanningpj@apache.org> | 2020-12-08 23:30:40 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2020-12-08 23:30:40 +0000 |
commit | e4d6fc0a7fd8cc68f2ca56123df15569e15880d0 (patch) | |
tree | 9be97c0f71133b596ee38fefa35207c02553a40d /src/ooxml | |
parent | 8f13c071217299bb0fc90e42edef8c78cb2484f4 (diff) | |
download | poi-e4d6fc0a7fd8cc68f2ca56123df15569e15880d0.tar.gz poi-e4d6fc0a7fd8cc68f2ca56123df15569e15880d0.zip |
remove some deprecated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884223 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ooxml')
-rw-r--r-- | src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFXmlColumnPr.java | 14 | ||||
-rw-r--r-- | src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java | 16 |
2 files changed, 0 insertions, 30 deletions
diff --git a/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFXmlColumnPr.java b/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFXmlColumnPr.java index e0032219f5..6fad3dd567 100644 --- a/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFXmlColumnPr.java +++ b/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFXmlColumnPr.java @@ -18,7 +18,6 @@ package org.apache.poi.xssf.usermodel.helpers; import org.apache.poi.util.Internal; -import org.apache.poi.util.Removal; import org.apache.poi.xssf.usermodel.XSSFTable; import org.apache.poi.xssf.usermodel.XSSFTableColumn; import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXmlColumnPr; @@ -73,19 +72,6 @@ public class XSSFXmlColumnPr { } /** - * (see Open Office XML Part 4: chapter 3.5.1.3) - * - * @deprecated Use {@link XSSFTableColumn#getId()} instead. - * - * @return An integer representing the unique identifier of this column. - */ - @Deprecated - @Removal(version="4.2") - public long getId() { - return tableColumn.getId(); - } - - /** * If the XPath is, for example, /Node1/Node2/Node3 and /Node1/Node2 is the common XPath for the table, the local XPath is /Node3 * * @return the local XPath diff --git a/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java b/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java index b423708554..bbc49aea1f 100644 --- a/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java +++ b/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java @@ -678,22 +678,6 @@ public class XWPFRun implements ISDTContents, IRunElement, CharacterRun { /** * Specifies the alignment which shall be applied to the contents of this - * run in relation to the default appearance of the run's text. - * This allows the text to be repositioned as subscript or superscript without - * altering the font size of the run properties. - * - * @return VerticalAlign - * @see {@link VerticalAlign} all possible value that could be applyed to this run - * @deprecated use {@link XWPFRun.getVerticalAlignment} - */ - @Removal(version = "4.2") - public VerticalAlign getSubscript() { - CTRPr pr = getRunProperties(false); - return (pr != null && pr.isSetVertAlign()) ? VerticalAlign.valueOf(pr.getVertAlign().getVal().intValue()) : VerticalAlign.BASELINE; - } - - /** - * Specifies the alignment which shall be applied to the contents of this * run in relation to the default appearance of the run's text. This allows * the text to be repositioned as subscript or superscript without altering * the font size of the run properties. |