Package org.apache.poi.hslf.record
Class SlideAtomLayout
- java.lang.Object
-
- org.apache.poi.hslf.record.SlideAtomLayout
-
- All Implemented Interfaces:
GenericRecord
@Internal public class SlideAtomLayout extends Object implements GenericRecord
Holds the geometry of the Slide, and the ID of the placeholders on the slide. Embedded inside a SlideAtom is a SlideAtomLayout, without the usual record header. Since it's a fixed size and tied to the SlideAtom, we'll hold it here.This might eventually merged with the XSLF counterpart
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSlideAtomLayout.SlideLayoutType
-
Constructor Summary
Constructors Constructor Description SlideAtomLayout(byte[] data)Create a new Embedded SSlideLayoutAtom, from 12 bytes of data
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Supplier<?>>getGenericProperties()SlideAtomLayout.SlideLayoutTypegetGeometryType()Retrieve the geometry typevoidsetGeometryType(SlideAtomLayout.SlideLayoutType geom)Set the geometry typevoidwriteOut(OutputStream out)Write the contents of the record back, so it can be written to disk.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericRecordType
-
-
-
-
Method Detail
-
getGeometryType
public SlideAtomLayout.SlideLayoutType getGeometryType()
Retrieve the geometry type
-
setGeometryType
public void setGeometryType(SlideAtomLayout.SlideLayoutType geom)
Set the geometry type
-
writeOut
public void writeOut(OutputStream out) throws IOException
Write the contents of the record back, so it can be written to disk. Skips the record header- Throws:
IOException
-
getGenericProperties
public Map<String,Supplier<?>> getGenericProperties()
- Specified by:
getGenericPropertiesin interfaceGenericRecord
-
-