public interface ICustomXmlPart
Represents custom xml part.
Modifier and Type | Method and Description |
---|---|
java.util.UUID |
getItemId()
Specifies a globally unique identifier (GUID) that uniquely identifies a single custom XML
part within an Office Open XML document.
|
java.lang.String[] |
getNamespaceSchemas()
Returns the collection XML schemas that are associated with the custom XML part.
|
java.lang.String |
getXmlAsString()
Returns or sets xml data as UTF-8 string.
|
byte[] |
getXmlData()
Returns or sets xml data.
|
void |
remove()
Removes the custom xml part from the presentation.
|
void |
setItemId(java.util.UUID value)
Specifies a globally unique identifier (GUID) that uniquely identifies a single custom XML
part within an Office Open XML document.
|
void |
setXmlAsString(java.lang.String value)
Returns or sets xml data as UTF-8 string.
|
void |
setXmlData(byte[] value)
Returns or sets xml data.
|
java.lang.String getXmlAsString()
Returns or sets xml data as UTF-8 string.
Read/write String
.
com.aspose.ms.System.ArgumentNullException
- value is null
.com.aspose.ms.System.ArgumentException
- value is empty or xml-data is invalid.void setXmlAsString(java.lang.String value)
Returns or sets xml data as UTF-8 string.
Read/write String
.
com.aspose.ms.System.ArgumentNullException
- value is null
.com.aspose.ms.System.ArgumentException
- value is empty or xml-data is invalid.byte[] getXmlData()
Returns or sets xml data.
Read/write byte[]
.
com.aspose.ms.System.ArgumentNullException
- value is null
.com.aspose.ms.System.ArgumentException
- value is empty or xml-data is invalid.void setXmlData(byte[] value)
Returns or sets xml data.
Read/write byte[]
.
com.aspose.ms.System.ArgumentNullException
- value is null
.com.aspose.ms.System.ArgumentException
- value is empty or xml-data is invalid.java.util.UUID getItemId()
Specifies a globally unique identifier (GUID) that uniquely identifies a single custom XML
part within an Office Open XML document.
Read-only UUID
.
void setItemId(java.util.UUID value)
Specifies a globally unique identifier (GUID) that uniquely identifies a single custom XML
part within an Office Open XML document.
Read-only UUID
.
java.lang.String[] getNamespaceSchemas()
Returns the collection XML schemas that are associated with the custom XML part.
Read-only String[]
.
void remove()
Removes the custom xml part from the presentation.
PptxEditException
- Thrown if xml part is already removed.