Class XSSFXmlColumnPr
java.lang.Object
org.apache.poi.xssf.usermodel.helpers.XSSFXmlColumnPr
This class is a wrapper around the CTXmlColumnPr (Open Office XML Part 4:
chapter 3.5.1.7)
- Author:
- Roberto Manicardi
-
Constructor Summary
ConstructorsConstructorDescriptionXSSFXmlColumnPr
(XSSFTableColumn tableColumn, org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXmlColumnPr ctXmlColumnPr) Create a new XSSFXmlColumnPr (XML column properties) wrapper around a CTXmlColumnPr.XSSFXmlColumnPr
(XSSFTable table, org.openxmlformats.schemas.spreadsheetml.x2006.main.CTTableColumn ctTableColum, org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXmlColumnPr ctXmlColumnPr) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionlong
getId()
Deprecated.If the XPath is, for example, /Node1/Node2/Node3 and /Node1/Node2 is the common XPath for the table, the local XPath is /Node3long
getMapId()
Get the column for which these XML column properties are set.org.openxmlformats.schemas.spreadsheetml.x2006.main.STXmlDataType.Enum
getXPath()
-
Constructor Details
-
XSSFXmlColumnPr
@Internal public XSSFXmlColumnPr(XSSFTableColumn tableColumn, org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXmlColumnPr ctXmlColumnPr) Create a new XSSFXmlColumnPr (XML column properties) wrapper around a CTXmlColumnPr.- Parameters:
tableColumn
- table column for which the XML column properties are setctXmlColumnPr
- the XML column properties xmlbean to wrap
-
XSSFXmlColumnPr
@Deprecated @Removal(version="4.2") public XSSFXmlColumnPr(XSSFTable table, org.openxmlformats.schemas.spreadsheetml.x2006.main.CTTableColumn ctTableColum, org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXmlColumnPr ctXmlColumnPr) Deprecated.
-
-
Method Details
-
getTableColumn
Get the column for which these XML column properties are set.- Returns:
- the table column
- Since:
- 4.0.0
-
getMapId
public long getMapId() -
getXPath
-
getId
Deprecated.UseXSSFTableColumn.getId()
instead.(see Open Office XML Part 4: chapter 3.5.1.3)- Returns:
- An integer representing the unique identifier of this column.
-
getLocalXPath
If the XPath is, for example, /Node1/Node2/Node3 and /Node1/Node2 is the common XPath for the table, the local XPath is /Node3- Returns:
- the local XPath
-
getXmlDataType
public org.openxmlformats.schemas.spreadsheetml.x2006.main.STXmlDataType.Enum getXmlDataType()
-
XSSFTableColumn.getId()
instead.