Class ExEmbed

  • Direct Known Subclasses:
    ExControl

    public class ExEmbed
    extends RecordContainer
    This data represents an embedded object in the document.
    • Constructor Detail

      • ExEmbed

        public ExEmbed()
        Create a new ExEmbed, with blank fields
    • Method Detail

      • getMenuName

        public java.lang.String getMenuName()
        Gets the name used for menus and the Links dialog box.
        Returns:
        the name used for menus and the Links dialog box.
      • setMenuName

        public void setMenuName​(java.lang.String menuName)
      • getProgId

        public java.lang.String getProgId()
        Gets the OLE Programmatic Identifier.
        Returns:
        the OLE Programmatic Identifier.
      • setProgId

        public void setProgId​(java.lang.String progId)
      • getClipboardName

        public java.lang.String getClipboardName()
        Gets the name that appears in the paste special dialog.
        Returns:
        the name that appears in the paste special dialog.
      • setClipboardName

        public void setClipboardName​(java.lang.String clipboardName)
      • getRecordType

        public long getRecordType()
        Returns the type (held as a little endian in bytes 3 and 4) that this class handles.
        Specified by:
        getRecordType in class Record
        Returns:
        the record type.
      • writeOut

        public void writeOut​(java.io.OutputStream out)
                      throws java.io.IOException
        Have the contents printer out into an OutputStream, used when writing a file back out to disk.
        Specified by:
        writeOut in class Record
        Parameters:
        out - the output stream.
        Throws:
        java.io.IOException - if there was an error writing to the stream.