com.groupdocs.watermark.legacy

Interfaces

Classes

Exceptions

com.groupdocs.watermark.legacy

Class CellsAttachment

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      String getAlternativeText()
      Deprecated. 
      Gets the descriptive (alternative) text associated with the attached file.
      byte[] getContent()
      Deprecated. 
      Gets the attached file content.
      double getHeight()
      Deprecated. 
      Gets the height of the attachment frame in points.
      byte[] getPreviewImageContent()
      Deprecated. 
      Gets the attached file preview image as a byte array.
      String getSourceFullName()
      Deprecated. 
      Gets the full name of the attached file.
      double getWidth()
      Deprecated. 
      Gets the width of the attachment frame in points.
      double getX()
      Deprecated. 
      Gets the horizontal offset of the attachment frame from worksheet left border in points.
      double getY()
      Deprecated. 
      Gets the vertical offset of the attachment frame from worksheet top border in points.
      boolean isLink()
      Deprecated. 
      Gets a value indicating whether the document contains only a link to the file.
      void setAlternativeText(String value)
      Deprecated. 
      Sets the descriptive (alternative) text associated with the attached file.
      void setContent(byte[] value)
      Deprecated. 
      Sets the attached file content.
      void setHeight(double value)
      Deprecated. 
      Sets the height of the attachment frame in points.
      void setPreviewImageContent(byte[] value)
      Deprecated. 
      Sets the attached file preview image as a byte array.
      void setWidth(double value)
      Deprecated. 
      Sets the width of the attachment frame in points.
      void setX(double value)
      Deprecated. 
      Sets the horizontal offset of the attachment frame from worksheet left border in points.
      void setY(double value)
      Deprecated. 
      Sets the vertical offset of the attachment frame from worksheet top border in points.
    • Method Detail

      • getContent

        public byte[] getContent()
        Deprecated. 

        Gets the attached file content.

        Specified by:
        getContent in class Attachment
        Returns:
        The attached file content.
      • setContent

        public void setContent(byte[] value)
        Deprecated. 

        Sets the attached file content.

        Specified by:
        setContent in class Attachment
        Parameters:
        value - The attached file content.
      • getPreviewImageContent

        public final byte[] getPreviewImageContent()
        Deprecated. 

        Gets the attached file preview image as a byte array.

        Returns:
        The attached file preview image as a byte array.
      • setPreviewImageContent

        public final void setPreviewImageContent(byte[] value)
        Deprecated. 

        Sets the attached file preview image as a byte array.

        Parameters:
        value - The attached file preview image as a byte array.
      • isLink

        public final boolean isLink()
        Deprecated. 

        Gets a value indicating whether the document contains only a link to the file.

        Returns:
        True if the attached file is referenced by a link (the document does not contain attached file content); otherwise, false.
      • getSourceFullName

        public final String getSourceFullName()
        Deprecated. 

        Gets the full name of the attached file.

        Returns:
        The full name of the attached file.


        The extension is used to determine appropriate application to open the file.
      • getAlternativeText

        public final String getAlternativeText()
        Deprecated. 

        Gets the descriptive (alternative) text associated with the attached file.

        Returns:
        The descriptive (alternative) text associated with the attached file.
      • setAlternativeText

        public final void setAlternativeText(String value)
        Deprecated. 

        Sets the descriptive (alternative) text associated with the attached file.

        Parameters:
        value - The descriptive (alternative) text associated with the attached file.
      • getX

        public final double getX()
        Deprecated. 

        Gets the horizontal offset of the attachment frame from worksheet left border in points.

        Specified by:
        getX in interface ITwoDObject
        Returns:
        The x-coordinate of the attachment frame.
      • setX

        public final void setX(double value)
        Deprecated. 

        Sets the horizontal offset of the attachment frame from worksheet left border in points.

        Parameters:
        value - The x-coordinate of the attachment frame.
      • getY

        public final double getY()
        Deprecated. 

        Gets the vertical offset of the attachment frame from worksheet top border in points.

        Specified by:
        getY in interface ITwoDObject
        Returns:
        The y-coordinate of the attachment frame.
      • setY

        public final void setY(double value)
        Deprecated. 

        Sets the vertical offset of the attachment frame from worksheet top border in points.

        Parameters:
        value - The y-coordinate of the attachment frame.
      • getWidth

        public final double getWidth()
        Deprecated. 

        Gets the width of the attachment frame in points.

        Specified by:
        getWidth in interface ITwoDObject
        Returns:
        The width of the attachment frame in points.
      • setWidth

        public final void setWidth(double value)
        Deprecated. 

        Sets the width of the attachment frame in points.

        Parameters:
        value - The width of the attachment frame in points.
      • getHeight

        public final double getHeight()
        Deprecated. 

        Gets the height of the attachment frame in points.

        Specified by:
        getHeight in interface ITwoDObject
        Returns:
        The height of the attachment frame in points.
      • setHeight

        public final void setHeight(double value)
        Deprecated. 

        Sets the height of the attachment frame in points.

        Parameters:
        value - The height of the attachment frame in points.