Uses of Class
org.apache.poi.openxml4j.opc.PackagePart
-
Packages that use PackagePart Package Description org.apache.poi.ooxml org.apache.poi.openxml4j.opc org.apache.poi.openxml4j.opc.internal org.apache.poi.openxml4j.opc.internal.marshallers org.apache.poi.openxml4j.opc.internal.unmarshallers org.apache.poi.poifs.crypt.dsig org.apache.poi.xddf.usermodel.chart org.apache.poi.xddf.usermodel.text org.apache.poi.xdgf.usermodel org.apache.poi.xdgf.xml org.apache.poi.xslf.usermodel org.apache.poi.xssf.binary The org.apache.poi.xssf.binary package includes necessary underlying components for streaming/read-only processing of xlsb files.org.apache.poi.xssf.eventusermodel org.apache.poi.xssf.model org.apache.poi.xssf.streaming org.apache.poi.xssf.usermodel org.apache.poi.xwpf.usermodel -
-
Uses of PackagePart in org.apache.poi.ooxml
Methods in org.apache.poi.ooxml that return PackagePart Modifier and Type Method Description protected PackagePart
POIXMLDocument. getCorePart()
PackagePart
POIXMLDocumentPart. getPackagePart()
Provides access to the underlying PackagePartprotected PackagePart[]
POIXMLDocument. getRelatedByType(java.lang.String contentType)
Retrieves all the PackageParts which are defined as relationships of the base document with the specified content type.protected PackagePart
POIXMLDocumentPart. getTargetPart(PackageRelationship rel)
Get the PackagePart that is the target of a relationship from this Part.protected PackagePart
POIXMLProperties. getThumbnailPart()
Returns thePackagePart
for the Document Thumbnail, ornull
if there isn't oneMethods in org.apache.poi.ooxml that return types with arguments of type PackagePart Modifier and Type Method Description abstract java.util.List<PackagePart>
POIXMLDocument. getAllEmbeddedParts()
Get the document's embedded files.java.util.List<PackagePart>
POIXMLDocument. getAllEmbedds()
Deprecated.usegetAllEmbeddedParts
insteadMethods in org.apache.poi.ooxml with parameters of type PackagePart Modifier and Type Method Description POIXMLDocumentPart
POIXMLFactory. createDocumentPart(POIXMLDocumentPart parent, PackagePart part)
Create a POIXMLDocumentPart from existing package part and relation.java.io.InputStream
POIXMLRelation. getContents(PackagePart corePart)
Fetches the InputStream to read the contents, based of the specified core part, for which we are defined as a suitable relationshipprotected PackageRelationship
POIXMLFactory. getPackageRelationship(POIXMLDocumentPart parent, PackagePart part)
Retrieves the package relationship of the child part within the parentMethod parameters in org.apache.poi.ooxml with type arguments of type PackagePart Modifier and Type Method Description protected void
POIXMLDocumentPart. onSave(java.util.Set<PackagePart> alreadySaved)
Save changes in the underlying OOXML package.protected void
POIXMLDocumentPart. read(POIXMLFactory factory, java.util.Map<PackagePart,POIXMLDocumentPart> context)
Iterate through the underlying PackagePart and create child POIXMLFactory instances using the specified factoryConstructors in org.apache.poi.ooxml with parameters of type PackagePart Constructor Description POIXMLDocumentPart(POIXMLDocumentPart parent, PackagePart part)
Creates an POIXMLDocumentPart representing the given package part, relationship and parent Called byPOIXMLDocumentPart.read(POIXMLFactory, java.util.Map)
when reading in an existing file.POIXMLDocumentPart(PackagePart part)
Creates an POIXMLDocumentPart representing the given package part and relationship. -
Uses of PackagePart in org.apache.poi.openxml4j.opc
Subclasses of PackagePart in org.apache.poi.openxml4j.opc Modifier and Type Class Description class
ZipPackagePart
Zip implementation of a PackagePart.Methods in org.apache.poi.openxml4j.opc that return PackagePart Modifier and Type Method Description protected PackagePart
OPCPackage. addPackagePart(PackagePart part)
Add the specified part to the package.PackagePart
OPCPackage. createPart(PackagePartName partName, java.lang.String contentType)
Create and add a part, with the specified name and content type, to the package.PackagePart
OPCPackage. createPart(PackagePartName partName, java.lang.String contentType, java.io.ByteArrayOutputStream content)
Add a part to the package.protected abstract PackagePart
OPCPackage. createPartImpl(PackagePartName partName, java.lang.String contentType, boolean loadRelationships)
Core method to create a package part.protected PackagePart
ZipPackage. createPartImpl(PackagePartName partName, java.lang.String contentType, boolean loadRelationships)
Create a new MemoryPackagePart from the specified URI and content type aram partName The part URI.PackagePart
PackagePartCollection. get(PackagePartName partName)
PackagePart
OPCPackage. getPart(PackagePartName partName)
Retrieve a part identified by its name.PackagePart
OPCPackage. getPart(PackageRelationship partRel)
Get the target part from the specified relationship.PackagePart
PackagePart. getRelatedPart(PackageRelationship rel)
Get the PackagePart that is the target of a relationship.PackagePart
PackageRelationship. getSource()
PackagePart
PackagePartCollection. put(PackagePartName partName, PackagePart part)
Check rule [M1.11]: a package implementer shall neither create nor recognize a part with a part name derived from another part name by appending segments to it.PackagePart
PackagePartCollection. remove(PackagePartName key)
Methods in org.apache.poi.openxml4j.opc that return types with arguments of type PackagePart Modifier and Type Method Description java.util.ArrayList<PackagePart>
OPCPackage. getParts()
Load the parts of the archive if it has not been done yet.java.util.ArrayList<PackagePart>
OPCPackage. getPartsByContentType(java.lang.String contentType)
Retrieve parts by content type.java.util.List<PackagePart>
OPCPackage. getPartsByName(java.util.regex.Pattern namePattern)
Retrieve parts by namejava.util.ArrayList<PackagePart>
OPCPackage. getPartsByRelationshipType(java.lang.String relationshipType)
Retrieve parts by relationship type.java.util.Collection<PackagePart>
PackagePartCollection. sortedValues()
The values themselves should be returned in sorted order.Methods in org.apache.poi.openxml4j.opc with parameters of type PackagePart Modifier and Type Method Description protected PackagePart
OPCPackage. addPackagePart(PackagePart part)
Add the specified part to the package.int
PackagePart. compareTo(PackagePart other)
Compare based on the package part name, using a natural sort orderstatic PackagePartName
PackagingURIHelper. createPartName(java.lang.String partName, PackagePart relativePart)
Create an OPC compliant part name by resolving it using a base part.static PackagePartName
PackagingURIHelper. createPartName(java.net.URI partName, PackagePart relativePart)
Create an OPC compliant part name by resolving it using a base part.PackageRelationship
PackageRelationshipCollection. findExistingInternalRelation(PackagePart packagePart)
PackageRelationship
PackagePart. findExistingRelation(PackagePart packagePart)
Check if the new part was already added before via PackagePart.addRelationship()void
PackageRelationshipCollection. parseRelationshipsPart(PackagePart relPart)
Parse the relationship part and add all relationship in this collection.PackagePart
PackagePartCollection. put(PackagePartName partName, PackagePart part)
Check rule [M1.11]: a package implementer shall neither create nor recognize a part with a part name derived from another part name by appending segments to it.void
OPCPackage. registerPartAndContentType(PackagePart part)
Add the specified part, and register its content type with the content type manager.void
OPCPackage. removePart(PackagePart part)
Remove the specified part in this package.Constructors in org.apache.poi.openxml4j.opc with parameters of type PackagePart Constructor Description PackageRelationship(OPCPackage pkg, PackagePart sourcePart, java.net.URI targetUri, TargetMode targetMode, java.lang.String relationshipType, java.lang.String id)
Constructor.PackageRelationshipCollection(OPCPackage container, PackagePart part)
Constructor.PackageRelationshipCollection(PackagePart part)
Constructor. -
Uses of PackagePart in org.apache.poi.openxml4j.opc.internal
Subclasses of PackagePart in org.apache.poi.openxml4j.opc.internal Modifier and Type Class Description class
MemoryPackagePart
Memory version of a package part.class
PackagePropertiesPart
Represents the core properties part of a package.Methods in org.apache.poi.openxml4j.opc.internal that return PackagePart Modifier and Type Method Description PackagePart
PartUnmarshaller. unmarshall(UnmarshallContext context, java.io.InputStream in)
Save the content of the package in the streamMethods in org.apache.poi.openxml4j.opc.internal with parameters of type PackagePart Modifier and Type Method Description boolean
PartMarshaller. marshall(PackagePart part, java.io.OutputStream out)
Save the content of the package in the stream -
Uses of PackagePart in org.apache.poi.openxml4j.opc.internal.marshallers
Methods in org.apache.poi.openxml4j.opc.internal.marshallers with parameters of type PackagePart Modifier and Type Method Description boolean
DefaultMarshaller. marshall(PackagePart part, java.io.OutputStream out)
Save part in the output stream by using the save() method of the part.boolean
PackagePropertiesMarshaller. marshall(PackagePart part, java.io.OutputStream out)
Marshall package core properties to an XML document.boolean
ZipPackagePropertiesMarshaller. marshall(PackagePart part, java.io.OutputStream out)
boolean
ZipPartMarshaller. marshall(PackagePart part, java.io.OutputStream os)
Save the specified part. -
Uses of PackagePart in org.apache.poi.openxml4j.opc.internal.unmarshallers
Methods in org.apache.poi.openxml4j.opc.internal.unmarshallers that return PackagePart Modifier and Type Method Description PackagePart
PackagePropertiesUnmarshaller. unmarshall(UnmarshallContext context, java.io.InputStream in)
-
Uses of PackagePart in org.apache.poi.poifs.crypt.dsig
Methods in org.apache.poi.poifs.crypt.dsig that return PackagePart Modifier and Type Method Description PackagePart
SignaturePart. getPackagePart()
-
Uses of PackagePart in org.apache.poi.xddf.usermodel.chart
Constructors in org.apache.poi.xddf.usermodel.chart with parameters of type PackagePart Constructor Description XDDFChart(PackagePart part)
Construct a DrawingML chart from a package part. -
Uses of PackagePart in org.apache.poi.xddf.usermodel.text
Methods in org.apache.poi.xddf.usermodel.text with parameters of type PackagePart Modifier and Type Method Description XDDFHyperlink
XDDFTextRun. linkToExternal(java.lang.String url, PackagePart localPart, POIXMLRelation relation)
XDDFHyperlink
XDDFTextRun. linkToInternal(java.lang.String action, PackagePart localPart, POIXMLRelation relation, PackagePartName target)
-
Uses of PackagePart in org.apache.poi.xdgf.usermodel
Methods in org.apache.poi.xdgf.usermodel that return types with arguments of type PackagePart Modifier and Type Method Description java.util.List<PackagePart>
XmlVisioDocument. getAllEmbeddedParts()
Not currently implementedConstructors in org.apache.poi.xdgf.usermodel with parameters of type PackagePart Constructor Description XDGFBaseContents(PackagePart part, XDGFDocument document)
XDGFMasterContents(PackagePart part, XDGFDocument document)
XDGFMasters(PackagePart part, XDGFDocument document)
XDGFPageContents(PackagePart part, XDGFDocument document)
XDGFPages(PackagePart part, XDGFDocument document)
-
Uses of PackagePart in org.apache.poi.xdgf.xml
Constructors in org.apache.poi.xdgf.xml with parameters of type PackagePart Constructor Description XDGFXMLDocumentPart(PackagePart part, XDGFDocument document)
-
Uses of PackagePart in org.apache.poi.xslf.usermodel
Methods in org.apache.poi.xslf.usermodel that return PackagePart Modifier and Type Method Description PackagePart
XSLFSlideShow. getNodesPart(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideIdListEntry parentSlide)
Gets the PackagePart of the notes for the given slide, or null if there isn't one.PackagePart
XSLFSlideShow. getSlideMasterPart(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideMasterIdListEntry master)
PackagePart
XSLFSlideShow. getSlidePart(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideIdListEntry slide)
Methods in org.apache.poi.xslf.usermodel that return types with arguments of type PackagePart Modifier and Type Method Description java.util.List<PackagePart>
XMLSlideShow. getAllEmbeddedParts()
Get the document's embedded files.java.util.List<PackagePart>
XSLFSlideShow. getAllEmbeddedParts()
Get the document's embedded files.Methods in org.apache.poi.xslf.usermodel with parameters of type PackagePart Modifier and Type Method Description protected static PaintStyle
XSLFShape. selectPaint(org.apache.poi.xslf.usermodel.XSLFPropertiesDelegate.XSLFFillProperties fp, org.openxmlformats.schemas.drawingml.x2006.main.CTSchemeColor phClr, PackagePart parentPart, XSLFTheme theme, boolean hasPlaceholder)
Convert shape fill into java.awt.Paint.protected static PaintStyle
XSLFShape. selectPaint(org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties blipFill, PackagePart parentPart)
Constructors in org.apache.poi.xslf.usermodel with parameters of type PackagePart Constructor Description XSLFChart(PackagePart part)
Construct a PresentationML chart from a package part.XSLFNotesMaster(PackagePart part)
XSLFObjectData(PackagePart part)
Construct XSLFOleData from a package partXSLFPictureData(PackagePart part)
Construct XSLFPictureData from a package partXSLFSheet(PackagePart part)
XSLFSlideLayout(PackagePart part)
XSLFSlideMaster(PackagePart part)
XSLFTableStyles(PackagePart part)
XSLFTheme(PackagePart part)
-
Uses of PackagePart in org.apache.poi.xssf.binary
Constructors in org.apache.poi.xssf.binary with parameters of type PackagePart Constructor Description XSSFBHyperlinksTable(PackagePart sheetPart)
-
Uses of PackagePart in org.apache.poi.xssf.eventusermodel
Fields in org.apache.poi.xssf.eventusermodel declared as PackagePart Modifier and Type Field Description protected PackagePart
XSSFReader. workbookPart
Methods in org.apache.poi.xssf.eventusermodel that return PackagePart Modifier and Type Method Description PackagePart
XSSFReader.SheetIterator. getSheetPart()
Constructors in org.apache.poi.xssf.eventusermodel with parameters of type PackagePart Constructor Description ReadOnlySharedStringsTable(PackagePart part)
Like POIXMLDocumentPart constructor CallsReadOnlySharedStringsTable(PackagePart, boolean)
, with a value oftrue
to include phonetic runs.ReadOnlySharedStringsTable(PackagePart part, boolean includePhoneticRuns)
Like POIXMLDocumentPart constructor -
Uses of PackagePart in org.apache.poi.xssf.model
Constructors in org.apache.poi.xssf.model with parameters of type PackagePart Constructor Description CalculationChain(PackagePart part)
CommentsTable(PackagePart part)
ExternalLinksTable(PackagePart part)
MapInfo(PackagePart part)
SharedStringsTable(PackagePart part)
SingleXmlCells(PackagePart part)
StylesTable(PackagePart part)
ThemesTable(PackagePart part)
Construct a ThemesTable. -
Uses of PackagePart in org.apache.poi.xssf.streaming
Methods in org.apache.poi.xssf.streaming with parameters of type PackagePart Modifier and Type Method Description protected static java.awt.Dimension
SXSSFPicture. getImageDimension(PackagePart part, int type)
Return the dimension of this image -
Uses of PackagePart in org.apache.poi.xssf.usermodel
Methods in org.apache.poi.xssf.usermodel that return PackagePart Modifier and Type Method Description PackagePart
XSSFObjectData. getObjectPart()
Methods in org.apache.poi.xssf.usermodel that return types with arguments of type PackagePart Modifier and Type Method Description java.util.List<PackagePart>
XSSFWorkbook. getAllEmbeddedParts()
Get the document's embedded files.Methods in org.apache.poi.xssf.usermodel with parameters of type PackagePart Modifier and Type Method Description protected void
XSSFHyperlink. generateRelationIfNeeded(PackagePart sheetPart)
Generates the relation if requiredprotected static java.awt.Dimension
XSSFPicture. getImageDimension(PackagePart part, int type)
Return the dimension of this imageConstructors in org.apache.poi.xssf.usermodel with parameters of type PackagePart Constructor Description XSSFChart(PackagePart part)
Construct a SpreadsheetML chart from a package part.XSSFChartSheet(PackagePart part)
XSSFDrawing(PackagePart part)
Construct a SpreadsheetML drawing from a package partXSSFPictureData(PackagePart part)
Construct XSSFPictureData from a package partXSSFPivotCache(PackagePart part)
Creates n XSSFPivotCache representing the given package part and relationship.XSSFPivotCacheDefinition(PackagePart part)
Creates an XSSFPivotCacheDefintion representing the given package part and relationship.XSSFPivotCacheRecords(PackagePart part)
Creates an XSSFPivotCacheRecords representing the given package part and relationship.XSSFPivotTable(PackagePart part)
Creates an XSSFPivotTable representing the given package part and relationship.XSSFSheet(PackagePart part)
Creates an XSSFSheet representing the given package part and relationship.XSSFTable(PackagePart part)
XSSFVBAPart(PackagePart part)
Construct XSSFVBAPart from a package partXSSFVMLDrawing(PackagePart part)
Construct a SpreadsheetML drawing from a package partXSSFWorkbook(PackagePart part)
Constructs a XSSFWorkbook object using Package Part. -
Uses of PackagePart in org.apache.poi.xwpf.usermodel
Methods in org.apache.poi.xwpf.usermodel that return PackagePart Modifier and Type Method Description PackagePart
XWPFDocument. getPartById(java.lang.String id)
Get the document part that's defined as the given relationship of the core document.Methods in org.apache.poi.xwpf.usermodel that return types with arguments of type PackagePart Modifier and Type Method Description java.util.List<PackagePart>
XWPFDocument. getAllEmbeddedParts()
Get the document's embedded files.Constructors in org.apache.poi.xwpf.usermodel with parameters of type PackagePart Constructor Description XWPFAbstractFootnotesEndnotes(POIXMLDocumentPart parent, PackagePart part)
XWPFAbstractFootnotesEndnotes(PackagePart part)
XWPFChart(PackagePart part)
Construct a chart from a package part.XWPFEndnotes(PackagePart part)
Construct XWPFEndnotes from a package partXWPFFooter(POIXMLDocumentPart parent, PackagePart part)
XWPFFootnotes(PackagePart part)
Construct XWPFFootnotes from a package partXWPFHeader(POIXMLDocumentPart parent, PackagePart part)
XWPFHeaderFooter(POIXMLDocumentPart parent, PackagePart part)
XWPFNumbering(PackagePart part)
create a new styles object with an existing documentXWPFPictureData(PackagePart part)
Construct XWPFPictureData from a package partXWPFSettings(PackagePart part)
XWPFStyles(PackagePart part)
Construct XWPFStyles from a package part
-