com.aspose.slides
Class PptxPartEntry

java.lang.Object
  extended by com.aspose.slides.PptxPartEntry

public class PptxPartEntry
extends java.lang.Object

Represent part entry in package.


Method Summary
 PptxPartEntry deepClone()
           
 PartType getContentType()
           Gets content type of this part.
 long getCrc32()
           Gets CRC of part data.
 byte[] getData()
           Gets binary data of this part.
 PptxPackage getParentPackage()
           
 java.lang.String getPartPath()
           Gets part path.
 boolean getProcessed()
           
 PptxPartEntry[] getRelatedParts(PartType partType)
           Get list of parts that: - are linked to this part by Relationships of this part; - are type of "partType".
 PptxPartEntry[] getRelatedParts(TypeAttributeOfSourceRelationship typeAttribute)
           Get list of parts that: - are linked to this part by Relationships of this part; - are type of "typeAttribute" whitch is defined in each relationship in its attribute "type".
 Relationships getRelationships()
           Gets relationships related to this part.
 long getSize()
           Gets size of part data.
 com.aspose.ms.System.IO.MemoryStream getStream()
           Returns ZipEntry stream for reading.
 void setData(byte[] value)
           
 void setProcessed(boolean value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCrc32

public long getCrc32()

Gets CRC of part data.


getSize

public long getSize()

Gets size of part data. If no data then gets -1.


getPartPath

public java.lang.String getPartPath()

Gets part path.


 "/ppt/tableStyles.xml"
 


getContentType

public PartType getContentType()

Gets content type of this part.


getData

public byte[] getData()

Gets binary data of this part.


setData

public void setData(byte[] value)

getRelationships

public Relationships getRelationships()

Gets relationships related to this part.


 For part "/docProps/app.xml" related relationships will be loaded
 from part "/docProps/_rels/app.xml.rels".
 


getStream

public com.aspose.ms.System.IO.MemoryStream getStream()

Returns ZipEntry stream for reading. Use 'using' or close stream after using.

Returns:
ZipEntry stream for reading.

getRelatedParts

public PptxPartEntry[] getRelatedParts(TypeAttributeOfSourceRelationship typeAttribute)

Get list of parts that: - are linked to this part by Relationships of this part; - are type of "typeAttribute" whitch is defined in each relationship in its attribute "type".


getRelatedParts

public PptxPartEntry[] getRelatedParts(PartType partType)

Get list of parts that: - are linked to this part by Relationships of this part; - are type of "partType".


deepClone

public PptxPartEntry deepClone()

getProcessed

public boolean getProcessed()

setProcessed

public void setProcessed(boolean value)

getParentPackage

public PptxPackage getParentPackage()