Class XSSFXmlColumnPr

java.lang.Object
org.apache.poi.xssf.usermodel.helpers.XSSFXmlColumnPr

public class XSSFXmlColumnPr extends Object
This class is a wrapper around the CTXmlColumnPr (Open Office XML Part 4: chapter 3.5.1.7)
Author:
Roberto Manicardi
  • 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 set
      ctXmlColumnPr - 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

      public XSSFTableColumn 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

      public String getXPath()
    • getId

      @Deprecated @Removal(version="4.2") public long getId()
      Deprecated.
      (see Open Office XML Part 4: chapter 3.5.1.3)
      Returns:
      An integer representing the unique identifier of this column.
    • getLocalXPath

      public String 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()