Class DataModelExtension

java.lang.Object
com.independentsoft.office.drawing.extensions.DataModelExtension
All Implemented Interfaces:
IExtensionContent

public class DataModelExtension extends Object implements IExtensionContent
Represents the SmartArt data-model extension (dsp:dataModelExt) that references the pre-rendered diagram drawing part (drawingN.xml) through the HOST part's relationships (uri http://schemas.microsoft.com/office/drawing/2008/diagram).
  • Field Details

  • Constructor Details

    • DataModelExtension

      public DataModelExtension()
      Instantiates a new data model extension.
    • DataModelExtension

      public DataModelExtension(InternalXMLStreamReader reader) throws XMLStreamException
      Instantiates a new data model extension.
      Parameters:
      reader - the reader
      Throws:
      XMLStreamException - the XML stream exception
  • Method Details

    • clone

      public IExtensionContent clone()
      Description copied from interface: IExtensionContent
      Clone.
      Specified by:
      clone in interface IExtensionContent
      Overrides:
      clone in class Object
      Returns:
      the extension content
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getRelationshipId

      public String getRelationshipId()
      Gets the relationship id (relId) of the pre-rendered diagram drawing part, resolved against the HOST part's relationships.
      Returns:
      the relationship id
    • setRelationshipId

      public void setRelationshipId(String relationshipId)
      Sets the relationship id (relId) of the pre-rendered diagram drawing part, resolved against the HOST part's relationships.
      Parameters:
      relationshipId - the new relationship id
    • getMinimumVersion

      public String getMinimumVersion()
      Gets the minimum consumer version (minVer).
      Returns:
      the minimum version
    • setMinimumVersion

      public void setMinimumVersion(String minimumVersion)
      Sets the minimum consumer version (minVer).
      Parameters:
      minimumVersion - the new minimum version