Class HemfPlusMisc.EmfPlusFlagOnly
- java.lang.Object
-
- org.apache.poi.hemf.record.emfplus.HemfPlusMisc.EmfPlusFlagOnly
-
- All Implemented Interfaces:
GenericRecord,HemfPlusRecord
- Direct Known Subclasses:
HemfPlusMisc.EmfPlusEOF,HemfPlusMisc.EmfPlusGetDC,HemfPlusMisc.EmfPlusResetClip,HemfPlusMisc.EmfPlusResetWorldTransform,HemfPlusMisc.EmfPlusSetAntiAliasMode,HemfPlusMisc.EmfPlusSetClipPath,HemfPlusMisc.EmfPlusSetCompositingMode,HemfPlusMisc.EmfPlusSetCompositingQuality,HemfPlusMisc.EmfPlusSetInterpolationMode,HemfPlusMisc.EmfPlusSetPixelOffsetMode,HemfPlusMisc.EmfPlusSetTextRenderingHint
- Enclosing class:
- HemfPlusMisc
public abstract static class HemfPlusMisc.EmfPlusFlagOnly extends Object implements HemfPlusRecord
-
-
Constructor Summary
Constructors Constructor Description EmfPlusFlagOnly()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HemfPlusRecordTypegetEmfPlusRecordType()intgetFlags()Map<String,Supplier<?>>getGenericProperties()HemfPlusRecordTypegetGenericRecordType()longinit(LittleEndianInputStream leis, long dataSize, long recordId, int flags)Init record from stream-
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
-
Methods inherited from interface org.apache.poi.hemf.record.emfplus.HemfPlusRecord
calcBounds, draw
-
-
-
-
Method Detail
-
getFlags
public int getFlags()
- Specified by:
getFlagsin interfaceHemfPlusRecord
-
getEmfPlusRecordType
public final HemfPlusRecordType getEmfPlusRecordType()
- Specified by:
getEmfPlusRecordTypein interfaceHemfPlusRecord
-
init
public long init(LittleEndianInputStream leis, long dataSize, long recordId, int flags) throws IOException
Description copied from interface:HemfPlusRecordInit record from stream- Specified by:
initin interfaceHemfPlusRecord- Parameters:
leis- the little endian input streamdataSize- the size limit for this recordrecordId- the id of theHemfPlusRecordTypeflags- the record flags- Returns:
- count of processed bytes
- Throws:
IOException- when the inputstream is malformed
-
getGenericRecordType
public HemfPlusRecordType getGenericRecordType()
- Specified by:
getGenericRecordTypein interfaceGenericRecord- Specified by:
getGenericRecordTypein interfaceHemfPlusRecord
-
getGenericProperties
public Map<String,Supplier<?>> getGenericProperties()
- Specified by:
getGenericPropertiesin interfaceGenericRecord
-
-