Class DataModelExtension
java.lang.Object
com.independentsoft.office.drawing.extensions.DataModelExtension
- All Implemented Interfaces:
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new data model extension.Instantiates a new data model extension. -
Method Summary
Modifier and TypeMethodDescriptionclone()Clone.Gets the minimum consumer version (minVer).Gets the relationship id (relId) of the pre-rendered diagram drawing part, resolved against the HOST part's relationships.voidsetMinimumVersion(String minimumVersion)Sets the minimum consumer version (minVer).voidsetRelationshipId(String relationshipId)Sets the relationship id (relId) of the pre-rendered diagram drawing part, resolved against the HOST part's relationships.toString()
-
Field Details
-
DSP_NAMESPACE
- See Also:
- Constant Field Values
-
-
Constructor Details
-
DataModelExtension
public DataModelExtension()Instantiates a new data model extension. -
DataModelExtension
Instantiates a new data model extension.- Parameters:
reader- the reader- Throws:
XMLStreamException- the XML stream exception
-
-
Method Details
-
clone
Description copied from interface:IExtensionContentClone.- Specified by:
clonein interfaceIExtensionContent- Overrides:
clonein classObject- Returns:
- the extension content
-
toString
-
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
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
Gets the minimum consumer version (minVer).- Returns:
- the minimum version
-
setMinimumVersion
Sets the minimum consumer version (minVer).- Parameters:
minimumVersion- the new minimum version
-