Package org.apache.poi.hemf.record.emf
Class HemfComment.EmfCommentDataPlus
- java.lang.Object
-
- org.apache.poi.hemf.record.emf.HemfComment.EmfCommentDataPlus
-
- All Implemented Interfaces:
GenericRecord,HemfComment.EmfCommentData
- Enclosing class:
- HemfComment
public static class HemfComment.EmfCommentDataPlus extends java.lang.Object implements HemfComment.EmfCommentData
The EMR_COMMENT_EMFPLUS record contains embedded EMF+ records.
-
-
Constructor Summary
Constructors Constructor Description EmfCommentDataPlus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcalcBounds(HemfRecord.RenderBounds holder)voiddraw(org.apache.poi.hemf.draw.HemfGraphics ctx)Apply the record settings to the graphics contextHemfComment.HemfCommentRecordTypegetCommentRecordType()java.util.List<org.apache.poi.hemf.record.emfplus.HemfPlusRecord>getGenericChildren()java.util.Map<java.lang.String,java.util.function.Supplier<?>>getGenericProperties()java.util.List<org.apache.poi.hemf.record.emfplus.HemfPlusRecord>getRecords()longinit(LittleEndianInputStream leis, long dataSize)-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.poi.hemf.record.emf.HemfComment.EmfCommentData
getGenericRecordType
-
-
-
-
Method Detail
-
getCommentRecordType
public HemfComment.HemfCommentRecordType getCommentRecordType()
- Specified by:
getCommentRecordTypein interfaceHemfComment.EmfCommentData
-
init
public long init(LittleEndianInputStream leis, long dataSize) throws java.io.IOException
- Specified by:
initin interfaceHemfComment.EmfCommentData- Throws:
java.io.IOException
-
getRecords
public java.util.List<org.apache.poi.hemf.record.emfplus.HemfPlusRecord> getRecords()
-
draw
public void draw(org.apache.poi.hemf.draw.HemfGraphics ctx)
Description copied from interface:HemfComment.EmfCommentDataApply the record settings to the graphics context- Specified by:
drawin interfaceHemfComment.EmfCommentData- Parameters:
ctx- the graphics context to modify
-
calcBounds
public void calcBounds(HemfRecord.RenderBounds holder)
- Specified by:
calcBoundsin interfaceHemfComment.EmfCommentData
-
getGenericProperties
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
- Specified by:
getGenericPropertiesin interfaceGenericRecord
-
getGenericChildren
public java.util.List<org.apache.poi.hemf.record.emfplus.HemfPlusRecord> getGenericChildren()
- Specified by:
getGenericChildrenin interfaceGenericRecord
-
-