Uses of Class
org.apache.poi.openxml4j.opc.PackagePart
Packages that use PackagePart
Package
Description
The org.apache.poi.xssf.binary package includes necessary underlying components
for streaming/read-only processing of xlsb files.
-
Uses of PackagePart in org.apache.poi.ooxml
Methods in org.apache.poi.ooxml that return PackagePartModifier and TypeMethodDescriptionprotected PackagePartPOIXMLDocument.getCorePart()final PackagePartPOIXMLDocumentPart.getPackagePart()Provides access to the underlying PackagePartprotected PackagePart[]POIXMLDocument.getRelatedByType(String contentType) Retrieves all the PackageParts which are defined as relationships of the base document with the specified content type.protected PackagePartPOIXMLDocumentPart.getTargetPart(PackageRelationship rel) Get the PackagePart that is the target of a relationship from this Part.protected PackagePartPOIXMLProperties.getThumbnailPart()Returns thePackagePartfor the Document Thumbnail, ornullif there isn't oneMethods in org.apache.poi.ooxml that return types with arguments of type PackagePartModifier and TypeMethodDescriptionabstract List<PackagePart>POIXMLDocument.getAllEmbeddedParts()Get the document's embedded files.POIXMLDocument.getAllEmbedds()Deprecated.Methods in org.apache.poi.ooxml with parameters of type PackagePartModifier and TypeMethodDescriptionPOIXMLFactory.createDocumentPart(POIXMLDocumentPart parent, PackagePart part) Create a POIXMLDocumentPart from existing package part and relation.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 PackageRelationshipPOIXMLFactory.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 PackagePartModifier and TypeMethodDescriptionprotected final voidPOIXMLDocumentPart.onSave(Set<PackagePart> alreadySaved) Save changes in the underlying OOXML package.protected voidPOIXMLDocumentPart.read(POIXMLFactory factory, 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 PackagePartModifierConstructorDescriptionPOIXMLDocumentPart(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.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.opcMethods in org.apache.poi.openxml4j.opc that return PackagePartModifier and TypeMethodDescriptionprotected PackagePartOPCPackage.addPackagePart(PackagePart part) Add the specified part to the package.OPCPackage.createPart(PackagePartName partName, String contentType) Create and add a part, with the specified name and content type, to the package.OPCPackage.createPart(PackagePartName partName, String contentType, ByteArrayOutputStream content) Add a part to the package.protected abstract PackagePartOPCPackage.createPartImpl(PackagePartName partName, String contentType, boolean loadRelationships) Core method to create a package part.protected PackagePartZipPackage.createPartImpl(PackagePartName partName, String contentType, boolean loadRelationships) Create a new MemoryPackagePart from the specified URI and content type aram partName The part URI.PackagePartCollection.get(PackagePartName partName) OPCPackage.getPart(PackagePartName partName) Retrieve a part identified by its name.OPCPackage.getPart(PackageRelationship partRel) Get the target part from the specified relationship.PackagePart.getRelatedPart(PackageRelationship rel) Get the PackagePart that is the target of a relationship.PackageRelationship.getSource()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.PackagePartCollection.remove(PackagePartName key) Methods in org.apache.poi.openxml4j.opc that return types with arguments of type PackagePartModifier and TypeMethodDescriptionOPCPackage.getParts()Load the parts of the archive if it has not been done yet.OPCPackage.getPartsByContentType(String contentType) Retrieve parts by content type.OPCPackage.getPartsByName(Pattern namePattern) Retrieve parts by nameOPCPackage.getPartsByRelationshipType(String relationshipType) Retrieve parts by relationship type.PackagePartCollection.sortedValues()The values themselves should be returned in sorted order.Methods in org.apache.poi.openxml4j.opc with parameters of type PackagePartModifier and TypeMethodDescriptionprotected PackagePartOPCPackage.addPackagePart(PackagePart part) Add the specified part to the package.intPackagePart.compareTo(PackagePart other) Compare based on the package part name, using a natural sort orderstatic PackagePartNamePackagingURIHelper.createPartName(String partName, PackagePart relativePart) Create an OPC compliant part name by resolving it using a base part.static PackagePartNamePackagingURIHelper.createPartName(URI partName, PackagePart relativePart) Create an OPC compliant part name by resolving it using a base part.PackageRelationshipCollection.findExistingInternalRelation(PackagePart packagePart) PackagePart.findExistingRelation(PackagePart packagePart) Check if the new part was already added before via PackagePart.addRelationship()voidPackageRelationshipCollection.parseRelationshipsPart(PackagePart relPart) Parse the relationship part and add all relationship in this collection.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.voidOPCPackage.registerPartAndContentType(PackagePart part) Add the specified part, and register its content type with the content type manager.voidOPCPackage.removePart(PackagePart part) Remove the specified part in this package.Constructors in org.apache.poi.openxml4j.opc with parameters of type PackagePartModifierConstructorDescriptionPackageRelationship(OPCPackage pkg, PackagePart sourcePart, URI targetUri, TargetMode targetMode, String relationshipType, String id) Constructor.PackageRelationshipCollection(OPCPackage container, PackagePart part) Constructor.Constructor. -
Uses of PackagePart in org.apache.poi.openxml4j.opc.internal
Subclasses of PackagePart in org.apache.poi.openxml4j.opc.internalModifier and TypeClassDescriptionfinal classMemory version of a package part.final classRepresents the core properties part of a package.Methods in org.apache.poi.openxml4j.opc.internal that return PackagePartModifier and TypeMethodDescriptionPartUnmarshaller.unmarshall(UnmarshallContext context, InputStream in) Save the content of the package in the streamMethods in org.apache.poi.openxml4j.opc.internal with parameters of type PackagePartModifier and TypeMethodDescriptionbooleanPartMarshaller.marshall(PackagePart part, 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 PackagePartModifier and TypeMethodDescriptionbooleanDefaultMarshaller.marshall(PackagePart part, OutputStream out) Save part in the output stream by using the save() method of the part.booleanPackagePropertiesMarshaller.marshall(PackagePart part, OutputStream out) Marshall package core properties to an XML document.booleanZipPackagePropertiesMarshaller.marshall(PackagePart part, OutputStream out) booleanZipPartMarshaller.marshall(PackagePart part, 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 PackagePartModifier and TypeMethodDescriptionPackagePropertiesUnmarshaller.unmarshall(UnmarshallContext context, InputStream in) -
Uses of PackagePart in org.apache.poi.poifs.crypt.dsig
Methods in org.apache.poi.poifs.crypt.dsig that return PackagePart -
Uses of PackagePart in org.apache.poi.xddf.usermodel.chart
Constructors in org.apache.poi.xddf.usermodel.chart with parameters of type PackagePartModifierConstructorDescriptionprotectedXDDFChart(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 PackagePartModifier and TypeMethodDescriptionXDDFTextRun.linkToExternal(String url, PackagePart localPart, POIXMLRelation relation) XDDFTextRun.linkToInternal(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 PackagePartModifier and TypeMethodDescriptionXmlVisioDocument.getAllEmbeddedParts()Not currently implementedConstructors in org.apache.poi.xdgf.usermodel with parameters of type PackagePartModifierConstructorDescriptionXDGFBaseContents(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 -
Uses of PackagePart in org.apache.poi.xslf.usermodel
Methods in org.apache.poi.xslf.usermodel that return PackagePartModifier and TypeMethodDescriptionXSLFSlideShow.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.XSLFSlideShow.getSlideMasterPart(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideMasterIdListEntry master) XSLFSlideShow.getSlidePart(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideIdListEntry slide) Methods in org.apache.poi.xslf.usermodel that return types with arguments of type PackagePartModifier and TypeMethodDescriptionXMLSlideShow.getAllEmbeddedParts()Get the document's embedded files.XSLFSlideShow.getAllEmbeddedParts()Get the document's embedded files.Methods in org.apache.poi.xslf.usermodel with parameters of type PackagePartModifier and TypeMethodDescriptionprotected static PaintStyleXSLFShape.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 PaintStyleXSLFShape.selectPaint(org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties blipFill, PackagePart parentPart) Constructors in org.apache.poi.xslf.usermodel with parameters of type PackagePartModifierConstructorDescriptionprotectedXSLFChart(PackagePart part) Construct a PresentationML chart from a package part.protectedXSLFNotesMaster(PackagePart part) XSLFObjectData(PackagePart part) Construct XSLFOleData from a package partXSLFPictureData(PackagePart part) Construct XSLFPictureData from a package partprotectedXSLFSheet(PackagePart part) XSLFSlideLayout(PackagePart part) protectedXSLFSlideMaster(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 -
Uses of PackagePart in org.apache.poi.xssf.eventusermodel
Fields in org.apache.poi.xssf.eventusermodel declared as PackagePartMethods in org.apache.poi.xssf.eventusermodel that return PackagePartConstructors in org.apache.poi.xssf.eventusermodel with parameters of type PackagePartModifierConstructorDescriptionLike POIXMLDocumentPart constructor CallsReadOnlySharedStringsTable(PackagePart, boolean), with a value oftrueto 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 PackagePartModifierConstructorDescriptionCalculationChain(PackagePart part) CommentsTable(PackagePart part) MapInfo(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 PackagePartModifier and TypeMethodDescriptionprotected static DimensionSXSSFPicture.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 PackagePartMethods in org.apache.poi.xssf.usermodel that return types with arguments of type PackagePartModifier and TypeMethodDescriptionXSSFWorkbook.getAllEmbeddedParts()Get the document's embedded files.Methods in org.apache.poi.xssf.usermodel with parameters of type PackagePartModifier and TypeMethodDescriptionprotected voidXSSFHyperlink.generateRelationIfNeeded(PackagePart sheetPart) Generates the relation if requiredprotected static DimensionXSSFPicture.getImageDimension(PackagePart part, int type) Return the dimension of this imageConstructors in org.apache.poi.xssf.usermodel with parameters of type PackagePartModifierConstructorDescriptionprotectedXSSFChart(PackagePart part) Construct a SpreadsheetML chart from a package part.protectedXSSFChartSheet(PackagePart part) XSSFDrawing(PackagePart part) Construct a SpreadsheetML drawing from a package partprotectedXSSFPictureData(PackagePart part) Construct XSSFPictureData from a package partprotectedXSSFPivotCache(PackagePart part) Creates n XSSFPivotCache representing the given package part and relationship.protectedCreates an XSSFPivotCacheDefintion representing the given package part and relationship.protectedCreates an XSSFPivotCacheRecords representing the given package part and relationship.protectedXSSFPivotTable(PackagePart part) Creates an XSSFPivotTable representing the given package part and relationship.protectedXSSFSheet(PackagePart part) Creates an XSSFSheet representing the given package part and relationship.XSSFTable(PackagePart part) protectedXSSFVBAPart(PackagePart part) Construct XSSFVBAPart from a package partprotectedXSSFVMLDrawing(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 PackagePartModifier and TypeMethodDescriptionXWPFDocument.getPartById(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 PackagePartModifier and TypeMethodDescriptionXWPFDocument.getAllEmbeddedParts()Get the document's embedded files.Constructors in org.apache.poi.xwpf.usermodel with parameters of type PackagePartModifierConstructorDescriptionXWPFAbstractFootnotesEndnotes(POIXMLDocumentPart parent, PackagePart part) protectedXWPFChart(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
getAllEmbeddedPartsinstead