com.groupdocs.watermark.search

Interfaces

Classes

com.groupdocs.watermark.search

Class SpreadsheetHeaderFooterPossibleWatermark



  • public class SpreadsheetHeaderFooterPossibleWatermark
    extends PossibleWatermark

    Represents possible watermark in a header or footer of an Excel document.

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      double getHeight()
      Gets the height of this SpreadsheetHeaderFooterPossibleWatermark in points.
      ContentPart getParent()
      Gets the parent of this SpreadsheetHeaderFooterPossibleWatermark.
      double getRotateAngle()
      Gets the rotate angle of this SpreadsheetHeaderFooterPossibleWatermark in degrees.
      String getText()
      Gets the text of this SpreadsheetHeaderFooterPossibleWatermark.
      int getUnitOfMeasurement()
      Gets the unit of measurement of this SpreadsheetHeaderFooterPossibleWatermark.
      double getWidth()
      Gets the width of this SpreadsheetHeaderFooterPossibleWatermark in points.
      double getX()
      Gets the horizontal offset of this SpreadsheetHeaderFooterPossibleWatermark from worksheet left border in points.
      double getY()
      Gets the vertical offset of this SpreadsheetHeaderFooterPossibleWatermark from worksheet top border in points.
      void setText(String value)
      Sets the text of this SpreadsheetHeaderFooterPossibleWatermark.
    • Method Detail

      • getParent

        public ContentPart getParent()

        Gets the parent of this SpreadsheetHeaderFooterPossibleWatermark.

        Specified by:
        getParent in class PossibleWatermark
        Returns:
        The parent of this SpreadsheetHeaderFooterPossibleWatermark.
      • getWidth

        public double getWidth()

        Gets the width of this SpreadsheetHeaderFooterPossibleWatermark in points.

        Overrides:
        getWidth in class PossibleWatermark
        Returns:
        The width of this SpreadsheetHeaderFooterPossibleWatermark in points.
      • getHeight

        public double getHeight()

        Gets the height of this SpreadsheetHeaderFooterPossibleWatermark in points.

        Overrides:
        getHeight in class PossibleWatermark
        Returns:
        The height of this SpreadsheetHeaderFooterPossibleWatermark in points.
      • getX

        public double getX()

        Gets the horizontal offset of this SpreadsheetHeaderFooterPossibleWatermark from worksheet left border in points.

        Overrides:
        getX in class PossibleWatermark
        Returns:
        The x-coordinate of this SpreadsheetHeaderFooterPossibleWatermark.
      • getY

        public double getY()

        Gets the vertical offset of this SpreadsheetHeaderFooterPossibleWatermark from worksheet top border in points.

        Overrides:
        getY in class PossibleWatermark
        Returns:
        The y-coordinate of this SpreadsheetHeaderFooterPossibleWatermark.
      • getRotateAngle

        public double getRotateAngle()

        Gets the rotate angle of this SpreadsheetHeaderFooterPossibleWatermark in degrees.

        Overrides:
        getRotateAngle in class PossibleWatermark
        Returns:
        The rotate angle of this SpreadsheetHeaderFooterPossibleWatermark in degrees.
      • getText

        public String getText()

        Gets the text of this SpreadsheetHeaderFooterPossibleWatermark.

        Overrides:
        getText in class PossibleWatermark
        Returns:
        The text of this SpreadsheetHeaderFooterPossibleWatermark.
      • setText

        public void setText(String value)

        Sets the text of this SpreadsheetHeaderFooterPossibleWatermark.

        Overrides:
        setText in class PossibleWatermark
        Parameters:
        value - The text of this SpreadsheetHeaderFooterPossibleWatermark.
      • getUnitOfMeasurement

        public int getUnitOfMeasurement()

        Gets the unit of measurement of this SpreadsheetHeaderFooterPossibleWatermark.

        Overrides:
        getUnitOfMeasurement in class PossibleWatermark
        Returns:
        The unit of measurement of this SpreadsheetHeaderFooterPossibleWatermark.