org.apache.poi.xssf.usermodel
Class XSSFVBAPart

java.lang.Object
  extended by org.apache.poi.POIXMLDocumentPart
      extended by org.apache.poi.xssf.usermodel.XSSFVBAPart

public class XSSFVBAPart
extends POIXMLDocumentPart


Field Summary
 
Fields inherited from class org.apache.poi.POIXMLDocumentPart
DEFAULT_XML_OPTIONS
 
Constructor Summary
protected XSSFVBAPart()
          Create a new XSSFVBAPart node
protected XSSFVBAPart(PackagePart part, PackageRelationship rel)
          Construct XSSFVBAPart from a package part
 
Method Summary
protected  void prepareForCommit()
          Like *PictureData, VBA objects store the actual content in the part directly without keeping a copy like all others therefore we need to handle them differently.
 
Methods inherited from class org.apache.poi.POIXMLDocumentPart
addRelation, commit, createRelationship, createRelationship, createRelationship, getPackagePart, getPackageRelationship, getParent, getRelationById, getRelationId, getRelations, getTargetPart, onDocumentCreate, onDocumentRead, onDocumentRemove, onSave, read, rebase, removeRelation, removeRelation, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XSSFVBAPart

protected XSSFVBAPart()
Create a new XSSFVBAPart node


XSSFVBAPart

protected XSSFVBAPart(PackagePart part,
                      PackageRelationship rel)
Construct XSSFVBAPart from a package part

Parameters:
part - the package part holding the VBA data,
rel - the package relationship holding this part
Method Detail

prepareForCommit

protected void prepareForCommit()
Like *PictureData, VBA objects store the actual content in the part directly without keeping a copy like all others therefore we need to handle them differently.

Overrides:
prepareForCommit in class POIXMLDocumentPart


Copyright 2015 The Apache Software Foundation or its licensors, as applicable.