com.spire.presentation
Class ShapeStyleEx

java.lang.Object
  extended by com.spire.presentation.ShapeStyleEx
All Implemented Interfaces:
IActivePresentation, ISlideComponent

public class ShapeStyleEx
extends java.lang.Object
implements ISlideComponent

Represent shape's style reference.


Constructor Summary
ShapeStyleEx()
           
ShapeStyleEx(ISlideComponent parent)
           
 
Method Summary
 ColorFormat getEffectColor()
          Gets a shape's effect color.
 long getEffectStyleIndex()
          Gets shape's effect column index in a style matrix.
 ColorFormat getFillColor()
          Gets a shape's fill color.
 short getFillStyleIndex()
          Gets shape's fill column index in style matrices.
 FontCollectionIndex getFontCollectionIndex()
          Gets shape's font index in a font collection.
 ColorFormat getFontColor()
          Gets a shape's font color.
 ColorFormat getLineColor()
          Gets a shape's outline color.
 int getLineStyleIndex()
          Gets ine's column index in a style matrix.
 Presentation getPresentation()
          Returns the parent presentation of a shape style.
 ActiveSlide getSlide()
          Gets the parent slide of a shape style.
 void setEffectStyleIndex(long value)
          Sets shape's effect column index in a style matrix.
 void setFillStyleIndex(short value)
          Sets shape's fill column index in style matrices.
 void setFontCollectionIndex(FontCollectionIndex value)
          Sets shape's font index in a font collection.
 void setLineStyleIndex(int value)
          Sets line's column index in a style matrix.
 

Constructor Detail

ShapeStyleEx

public ShapeStyleEx()

ShapeStyleEx

public ShapeStyleEx(ISlideComponent parent)
Method Detail

getLineColor

public ColorFormat getLineColor()
Gets a shape's outline color. Readonly .

Returns:

getLineStyleIndex

public int getLineStyleIndex()
Gets ine's column index in a style matrix.

Returns:

setLineStyleIndex

public void setLineStyleIndex(int value)
Sets line's column index in a style matrix.


getFillColor

public ColorFormat getFillColor()
Gets a shape's fill color. Readonly .

Returns:

getFillStyleIndex

public short getFillStyleIndex()
Gets shape's fill column index in style matrices. 0 means no fill,positive value - index in theme's fill styles,negative value - index in theme's background styles.

Returns:

setFillStyleIndex

public void setFillStyleIndex(short value)
Sets shape's fill column index in style matrices. 0 means no fill,positive value - index in theme's fill styles,negative value - index in theme's background styles.


getEffectColor

public ColorFormat getEffectColor()
Gets a shape's effect color. Readonly .

Returns:

getEffectStyleIndex

public long getEffectStyleIndex()
Gets shape's effect column index in a style matrix.

Returns:

setEffectStyleIndex

public void setEffectStyleIndex(long value)
Sets shape's effect column index in a style matrix.


getFontColor

public ColorFormat getFontColor()
Gets a shape's font color. Readonly .

Returns:

getFontCollectionIndex

public FontCollectionIndex getFontCollectionIndex()
Gets shape's font index in a font collection. Read/write .

Returns:

setFontCollectionIndex

public void setFontCollectionIndex(FontCollectionIndex value)
Sets shape's font index in a font collection. Read/write .


getSlide

public ActiveSlide getSlide()
Gets the parent slide of a shape style. Read-only .

Specified by:
getSlide in interface ISlideComponent
Returns:
Throws:
java.lang.Exception

getPresentation

public Presentation getPresentation()
Returns the parent presentation of a shape style. Read-only .

Specified by:
getPresentation in interface IActivePresentation
Returns:
Throws:
java.lang.Exception