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 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(HemfGraphics ctx)Apply the record settings to the graphics contextHemfComment.HemfCommentRecordTypegetCommentRecordType()List<HemfPlusRecord>getGenericChildren()Map<String,Supplier<?>>getGenericProperties()List<HemfPlusRecord>getRecords()longinit(LittleEndianInputStream leis, long dataSize)-
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.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 IOException
- Specified by:
initin interfaceHemfComment.EmfCommentData- Throws:
IOException
-
getRecords
public List<HemfPlusRecord> getRecords()
-
draw
public void 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 Map<String,Supplier<?>> getGenericProperties()
- Specified by:
getGenericPropertiesin interfaceGenericRecord
-
getGenericChildren
public List<HemfPlusRecord> getGenericChildren()
- Specified by:
getGenericChildrenin interfaceGenericRecord
-
-