Class XSSFPivotCacheDefinition


  • public class XSSFPivotCacheDefinition
    extends org.apache.poi.ooxml.POIXMLDocumentPart
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.poi.ooxml.POIXMLDocumentPart

        org.apache.poi.ooxml.POIXMLDocumentPart.RelationPart
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CTPivotCacheDefinition getCTPivotCacheDefinition()  
      AreaReference getPivotArea​(Workbook wb)
      Find the 2D base data area for the pivot table, either from its direct reference or named table/range.
      void readFrom​(java.io.InputStream is)  
      • Methods inherited from class org.apache.poi.ooxml.POIXMLDocumentPart

        _invokeOnDocumentRead, addRelation, createRelationship, createRelationship, createRelationship, getPackagePart, getParent, getRelationById, getRelationId, getRelationPartById, getRelationParts, getRelations, isCommited, isCommitted, setCommited, setCommitted, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • XSSFPivotCacheDefinition

        @Beta
        public XSSFPivotCacheDefinition()
    • Method Detail

      • readFrom

        @Beta
        public void readFrom​(java.io.InputStream is)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • getPivotArea

        @Beta
        public AreaReference getPivotArea​(Workbook wb)
                                   throws java.lang.IllegalArgumentException
        Find the 2D base data area for the pivot table, either from its direct reference or named table/range.
        Returns:
        AreaReference representing the current area defined by the pivot table
        Throws:
        java.lang.IllegalArgumentException - if the ref attribute is not contiguous or the name attribute is not found.