org.apache.poi.hemf.record
Class HemfCommentRecord
java.lang.Object
org.apache.poi.hemf.record.HemfCommentRecord
- All Implemented Interfaces:
- HemfRecord
@Internal
public class HemfCommentRecord
- extends java.lang.Object
- implements 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()
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMMENT_EMFSPOOL
public static final long COMMENT_EMFSPOOL
- See Also:
- Constant Field Values
COMMENT_EMFPLUS
public static final long COMMENT_EMFPLUS
- See Also:
- Constant Field Values
COMMENT_PUBLIC
public static final long COMMENT_PUBLIC
- See Also:
- Constant Field Values
HemfCommentRecord
public HemfCommentRecord()
getRecordType
public HemfRecordType getRecordType()
- Specified by:
getRecordType
in interface HemfRecord
init
public long init(LittleEndianInputStream leis,
long recordId,
long recordSize)
throws java.io.IOException
- Description copied from interface:
HemfRecord
- Init record from stream
- Specified by:
init
in interface HemfRecord
- Parameters:
leis
- the little endian input stream
- Returns:
- count of processed bytes
- Throws:
java.io.IOException
getComment
public AbstractHemfComment getComment()
Copyright 2017 The Apache Software Foundation or
its licensors, as applicable.