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 java.lang.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 class
SlideAtomLayout.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 java.util.Map<java.lang.String,java.util.function.Supplier<?>>
getGenericProperties()
SlideAtomLayout.SlideLayoutType
getGeometryType()
Retrieve the geometry typevoid
setGeometryType(SlideAtomLayout.SlideLayoutType geom)
Set the geometry typevoid
writeOut(java.io.OutputStream out)
Write the contents of the record back, so it can be written to disk.-
Methods inherited from class java.lang.Object
equals, 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(java.io.OutputStream out) throws java.io.IOException
Write the contents of the record back, so it can be written to disk. Skips the record header- Throws:
java.io.IOException
-
getGenericProperties
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
- Specified by:
getGenericProperties
in interfaceGenericRecord
-
-