Class HemfPlusMisc.EmfPlusSetPageTransform
java.lang.Object
org.apache.poi.hemf.record.emfplus.HemfPlusMisc.EmfPlusSetPageTransform
- All Implemented Interfaces:
GenericRecord,HemfPlusRecord
- Enclosing class:
- HemfPlusMisc
The EmfPlusSetPageTransform record specifies scaling factors and units for converting page space
coordinates to device space coordinates.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetFlags()doublelonginit(LittleEndianInputStream leis, long dataSize, long recordId, int flags) Init record from streamMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildrenMethods inherited from interface org.apache.poi.hemf.record.emfplus.HemfPlusRecord
calcBounds, draw, getGenericRecordType
-
Constructor Details
-
EmfPlusSetPageTransform
public EmfPlusSetPageTransform()
-
-
Method Details
-
getEmfPlusRecordType
- Specified by:
getEmfPlusRecordTypein interfaceHemfPlusRecord
-
getFlags
public int getFlags()- Specified by:
getFlagsin 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
-
getPageScale
public double getPageScale() -
getGenericProperties
- Specified by:
getGenericPropertiesin interfaceGenericRecord
-