Package io.keikai.model
Interface SSmartArt
- All Known Implementing Classes:
SmartArtImpl
public interface SSmartArt
Represents a SmartArt diagram placed on a sheet.
SmartArt data is preserved as raw XML bytes for round-trip fidelity;
rendering uses the fallback drawing image.
Reference: ECMA-376 Part 1, Section 21.4 - DrawingML Diagrams
- Since:
- 7.0.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the anchor that positions this SmartArt on the sheet.byte[]Returns the raw XML bytes of the diagram color transform.byte[]Returns the raw XML bytes of the diagram data (dgm:dataModel).Returns the unique diagram identifier.byte[]Returns the raw XML bytes of the diagram layout definition.byte[]Returns the raw XML bytes of the diagram style definition.byte[]Returns the fallback drawing image used for rendering when the SmartArt engine is not available.
-
Method Details
-
getDiagramId
String getDiagramId()Returns the unique diagram identifier.- Returns:
- the diagram ID
-
getDiagramData
byte[] getDiagramData()Returns the raw XML bytes of the diagram data (dgm:dataModel). Preserved for round-trip export.- Returns:
- the diagram data XML bytes, or null if not available
-
getDiagramLayout
byte[] getDiagramLayout()Returns the raw XML bytes of the diagram layout definition.- Returns:
- the diagram layout XML bytes, or null if not available
-
getDiagramStyle
byte[] getDiagramStyle()Returns the raw XML bytes of the diagram style definition.- Returns:
- the diagram style XML bytes, or null if not available
-
getDiagramColors
byte[] getDiagramColors()Returns the raw XML bytes of the diagram color transform.- Returns:
- the diagram colors XML bytes, or null if not available
-
getFallbackDrawing
byte[] getFallbackDrawing()Returns the fallback drawing image used for rendering when the SmartArt engine is not available.- Returns:
- the fallback image bytes, or null if not available
-
getAnchor
ViewAnchor getAnchor()Returns the anchor that positions this SmartArt on the sheet.- Returns:
- the view anchor
-