Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.poi.hslf.model
Class HSLFMetroShape<T extends Shape<?,?>>

    java.lang.Object
      org.apache.poi.hslf.model.HSLFMetroShape<T>

    @Internal
    public class HSLFMetroShape<T extends Shape<?,?>>

extends java.lang.Object

Experimental class for metro blobs, i.e. an alternative escher property containing an ooxml representation of the shape

Constructor Summary
`HSLFMetroShape(HSLFShape shape)`

Method Summary
`byte[]` | `getMetroBytes()`
`T` | `getShape()`
`boolean` | `hasMetroBlob()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### HSLFMetroShape

    public HSLFMetroShape(HSLFShape shape)

Method Detail

### 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 T getShape()

  Returns:
    the metro blob shape or null if either there's no metro blob or the ooxml classes aren't in the classpath

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2017 The Apache Software Foundation or its licensors, as applicable.