Package org.apache.poi.hemf.record
Class HemfCommentRecord
java.lang.Object
org.apache.poi.hemf.record.HemfCommentRecord
- All Implemented Interfaces:
HemfRecord
This is the outer comment record that is recognized
by the initial parse by
HemfRecordType.comment.
However, there are four types of comment: EMR_COMMENT,
EMR_COMMENT_EMFPLUS, EMR_COMMENT_EMFSPOOL, and EMF_COMMENT_PUBLIC.
To get the underlying comment, call getComment().-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final longstatic final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonginit(LittleEndianInputStream leis, long recordId, long recordSize) Init record from stream
-
Field Details
-
COMMENT_EMFSPOOL
public static final long COMMENT_EMFSPOOL- See Also:
-
COMMENT_EMFPLUS
public static final long COMMENT_EMFPLUS- See Also:
-
COMMENT_PUBLIC
public static final long COMMENT_PUBLIC- See Also:
-
-
Constructor Details
-
HemfCommentRecord
public HemfCommentRecord()
-
-
Method Details
-
getRecordType
- Specified by:
getRecordTypein interfaceHemfRecord
-
init
Description copied from interface:HemfRecordInit record from stream- Specified by:
initin interfaceHemfRecord- Parameters:
leis- the little endian input stream- Returns:
- count of processed bytes
- Throws:
IOException
-
getComment
-