com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface ICustomXmlPart

  • All Known Implementing Classes:
    CustomXmlPart


    public interface ICustomXmlPart

    Represents custom xml part.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      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.
    • Method Detail

      • getXmlAsString

        java.lang.String getXmlAsString()

        Returns or sets xml data as UTF-8 string. Read/write String.

        Throws:
        com.aspose.ms.System.ArgumentNullException - value is null.
        com.aspose.ms.System.ArgumentException - value is empty or xml-data is invalid.
      • setXmlAsString

        void setXmlAsString(java.lang.String value)

        Returns or sets xml data as UTF-8 string. Read/write String.

        Throws:
        com.aspose.ms.System.ArgumentNullException - value is null.
        com.aspose.ms.System.ArgumentException - value is empty or xml-data is invalid.
      • getXmlData

        byte[] getXmlData()

        Returns or sets xml data. Read/write byte[].

        Throws:
        com.aspose.ms.System.ArgumentNullException - value is null.
        com.aspose.ms.System.ArgumentException - value is empty or xml-data is invalid.
      • setXmlData

        void setXmlData(byte[] value)

        Returns or sets xml data. Read/write byte[].

        Throws:
        com.aspose.ms.System.ArgumentNullException - value is null.
        com.aspose.ms.System.ArgumentException - value is empty or xml-data is invalid.
      • getItemId

        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.

      • setItemId

        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.

      • getNamespaceSchemas

        java.lang.String[] getNamespaceSchemas()

        Returns the collection XML schemas that are associated with the custom XML part. Read-only String[].

      • remove

        void remove()

        Removes the custom xml part from the presentation.

        Throws:
        PptxEditException - Thrown if xml part is already removed.