Class HSLFMetroShape<S extends Shape<S,P>,P extends TextParagraph<S,P,? extends TextRun>>

java.lang.Object
org.apache.poi.hslf.model.HSLFMetroShape<S,P>

@Internal public class HSLFMetroShape<S extends Shape<S,P>,P extends TextParagraph<S,P,? extends TextRun>> extends Object
Experimental class for metro blobs, i.e. an alternative escher property containing an ooxml representation of the shape
  • Constructor Details

    • HSLFMetroShape

      public HSLFMetroShape(HSLFShape shape)
  • Method Details

    • getMetroBytes

      public byte[] getMetroBytes()
      Returns:
      the bytes of the metro blob, which are bytes of an OPCPackage, i.e. a zip stream
    • hasMetroBlob

      public boolean hasMetroBlob()
      Returns:
      if there's a metro blob to extract
    • getShape

      public Shape<S,P> getShape()
      Returns:
      the metro blob shape or null if either there's no metro blob or the ooxml classes aren't in the classpath