Interface IStyle

All Superinterfaces:
org.eclipse.birt.report.engine.css.engine.value.birt.BIRTConstants, org.eclipse.birt.report.engine.css.engine.value.birt.BIRTValueConstants, CSS2Properties, org.eclipse.birt.report.engine.css.engine.value.css.CSSConstants, CSSStyleDeclaration, org.eclipse.birt.report.engine.css.engine.value.css.CSSValueConstants, org.eclipse.birt.report.engine.css.engine.StyleConstants

public interface IStyle extends CSSStyleDeclaration, org.eclipse.birt.report.engine.css.engine.StyleConstants, CSS2Properties, org.eclipse.birt.report.engine.css.engine.value.css.CSSConstants, org.eclipse.birt.report.engine.css.engine.value.css.CSSValueConstants, org.eclipse.birt.report.engine.css.engine.value.birt.BIRTConstants, org.eclipse.birt.report.engine.css.engine.value.birt.BIRTValueConstants
Provides the interfaces for the ROM style the properties must be string as the user may change them in script.
  • Method Details

    • getBackgroundPositionX

      String getBackgroundPositionX()
      Get the background position X
      Returns:
      Return the background position X
    • getBackgroundPositionY

      String getBackgroundPositionY()
      Get the background position Y
      Returns:
      Return the background position Y
    • getTextUnderline

      String getTextUnderline()
      Get the text underline
      Returns:
      Return the text underline
    • getTextOverline

      String getTextOverline()
      Get the text overline
      Returns:
      Return the text overline
    • getTextLineThrough

      String getTextLineThrough()
      Get the text line through
      Returns:
      Return the text line through
    • getMasterPage

      String getMasterPage()
      Get the master page
      Returns:
      Return the master page
    • getShowIfBlank

      String getShowIfBlank()
      Get the option show if blank
      Returns:
      Return the option show if blank
    • getCanShrink

      String getCanShrink()
      Get the option can shrink
      Returns:
      Return the option can shrink
    • getStringFormat

      String getStringFormat()
      Get the string format
      Returns:
      Return the string format
    • getNumberFormat

      String getNumberFormat()
      Get the number format
      Returns:
      Return the number format
    • getDateFormat

      String getDateFormat()
      Get the date format
      Returns:
      Return the date format
    • getDateTimeFormat

      String getDateTimeFormat()
      Get the date time format
      Returns:
      Return the date time format
    • getTimeFormat

      String getTimeFormat()
      Get the time format
      Returns:
      Return the time format
    • getNumberAlign

      String getNumberAlign()
      Get the number align
      Returns:
      Return the number align
    • getVisibleFormat

      String getVisibleFormat()
      Get the visible format
      Returns:
      Return the visible format
    • setBackgroundPositionX

      void setBackgroundPositionX(String x) throws DOMException
      Set the background position X
      Parameters:
      x -
      Throws:
      DOMException
    • setBackgroundPositionY

      void setBackgroundPositionY(String y) throws DOMException
      Set the background position Y
      Parameters:
      y -
      Throws:
      DOMException
    • setTextUnderline

      void setTextUnderline(String underline) throws DOMException
      Set the text underline
      Parameters:
      underline -
      Throws:
      DOMException
    • setTextOverline

      void setTextOverline(String overline) throws DOMException
      Set the text overline
      Parameters:
      overline -
      Throws:
      DOMException
    • setTextLineThrough

      void setTextLineThrough(String through) throws DOMException
      Set the text line through
      Parameters:
      through -
      Throws:
      DOMException
    • setMasterPage

      void setMasterPage(String page) throws DOMException
      Set the master page
      Parameters:
      page -
      Throws:
      DOMException
    • setShowIfBlank

      void setShowIfBlank(String blank) throws DOMException
      Set the show if blank
      Parameters:
      blank -
      Throws:
      DOMException
    • setCanShrink

      void setCanShrink(String shrink) throws DOMException
      Set the option can shrink
      Parameters:
      shrink -
      Throws:
      DOMException
    • setStringFormat

      void setStringFormat(String format) throws DOMException
      Set the string format
      Parameters:
      format -
      Throws:
      DOMException
    • setNumberFormat

      void setNumberFormat(String format) throws DOMException
      Set the number format
      Parameters:
      format -
      Throws:
      DOMException
    • setDateFormat

      void setDateFormat(String format) throws DOMException
      Set the date format
      Parameters:
      format -
      Throws:
      DOMException
    • setNumberAlign

      void setNumberAlign(String align) throws DOMException
      Set the number align
      Parameters:
      align -
      Throws:
      DOMException
    • setVisibleFormat

      void setVisibleFormat(String visibility) throws DOMException
      Set visible format
      Parameters:
      visibility -
      Throws:
      DOMException
    • getProperty

      CSSValue getProperty(int index)
      Get the property value
      Parameters:
      index -
      Returns:
      Return the property value
    • setProperty

      void setProperty(int index, CSSValue value)
      Set the property value
      Parameters:
      index -
      value -
    • setProperties

      void setProperties(IStyle style)
      Set the properties style based
      Parameters:
      style -
    • getCssText

      String getCssText(int index)
      Get the CSS text
      Parameters:
      index -
      Returns:
      Return the CSS text
    • setCssText

      void setCssText(int index, String value) throws DOMException
      Set the CSS text
      Parameters:
      index -
      value -
      Throws:
      DOMException
    • isEmpty

      boolean isEmpty()
      Is empty
      Returns:
      true, is empty
    • write

      void write(DataOutputStream out) throws IOException
      Write the report ROM stream
      Parameters:
      out -
      Throws:
      IOException
    • read

      void read(DataInputStream in) throws IOException
      Read the report ROM stream
      Parameters:
      in -
      Throws:
      IOException
    • getBackgroundHeight

      String getBackgroundHeight()
      Get the background image height
      Returns:
      Return the background image height
    • getBackgroundWidth

      String getBackgroundWidth()
      Get the background image width
      Returns:
      Return the background image width
    • getDataFormat

      org.eclipse.birt.report.engine.css.engine.value.DataFormatValue getDataFormat()
      Get the date format
      Returns:
      Return the date format
    • setDataFormat

      void setDataFormat(org.eclipse.birt.report.engine.css.engine.value.DataFormatValue value)
      Set the date format
      Parameters:
      value -
    • getBackgroundImageType

      String getBackgroundImageType()
      Get the background image source type
      Returns:
      Return the background image source type
    • setBackgroundImageType

      void setBackgroundImageType(String imageType)
      Set the image background type
      Parameters:
      imageType -
    • setBackgroundHeight

      void setBackgroundHeight(String height)
      Set the image background height
      Parameters:
      background - image height
    • setBackgroundWidth

      void setBackgroundWidth(String width)
      Set the image background width
      Parameters:
      background - image width
    • getDiagonalNumber

      int getDiagonalNumber()
      Get the diagonal line number
      Returns:
      Return the diagonal line number
    • setDiagonalNumber

      void setDiagonalNumber(Integer number)
      Set the diagonal line number
      Parameters:
      number -
    • getDiagonalStyle

      String getDiagonalStyle()
      Get the diagonal style
      Returns:
      Return the diagonal style
    • setDiagonalStyle

      void setDiagonalStyle(String style)
      Set the diagonal style
      Parameters:
      style -
    • getDiagonalWidth

      String getDiagonalWidth()
      Get the diagonal width
      Returns:
      Return the diagonal width
    • setDiagonalWidth

      void setDiagonalWidth(String width)
      Set the diagonal width
      Parameters:
      width -
    • getDiagonalColor

      String getDiagonalColor()
      Get the diagonal color
      Returns:
      Return the diagonal color
    • setDiagonalColor

      void setDiagonalColor(String color)
      Set the diagonal color
      Parameters:
      color -
    • getAntidiagonalNumber

      int getAntidiagonalNumber()
      Get the antidiagonal line number
      Returns:
      Return the antidiagonal line number
    • setAntidiagonalNumber

      void setAntidiagonalNumber(Integer number)
      Set the antidiagonal line number
      Parameters:
      number -
    • getAntidiagonalStyle

      String getAntidiagonalStyle()
      Get the antidiagonal style
      Returns:
      Return the antidiagonal style
    • setAntidiagonalStyle

      void setAntidiagonalStyle(String style)
      Set the antidiagonal style
      Parameters:
      style -
    • getAntidiagonalWidth

      String getAntidiagonalWidth()
      Get the antidiagonal width
      Returns:
      Return the diagonal width
    • setAntidiagonalWidth

      void setAntidiagonalWidth(String width)
      Set the antidiagonal width
      Parameters:
      width -
    • getAntidiagonalColor

      String getAntidiagonalColor()
      Get the antidiagonal color
      Returns:
      Return the diagonal color
    • setAntidiagonalColor

      void setAntidiagonalColor(String color)
      Set the antidiagonal color
      Parameters:
      color -