com.f1j.ss
Interface Drawing


public interface Drawing
extends Drawing

This interface defines the drawing API with spreadsheet extensions.


Method Summary
 FcChart addChart(ShapeAnchor shapeAnchor)
          Adds a new chart control to the drawing.
 Shape addFormControl(EFormControl eType, ShapeAnchor shapeAnchor)
          Adds a new form control to the drawing.
 
Methods inherited from interface com.f1j.drawing.Drawing
addPicture, addPicture, addShape, findShape, findShapes, getAllShapes, getShape, getShapeCount
 
Methods inherited from interface com.f1j.util.Lockable
getLock, releaseLock
 

Method Detail

addChart

public FcChart addChart(ShapeAnchor shapeAnchor)
                 throws AccessDeniedException
Adds a new chart control to the drawing.
Parameters:
shapeAnchor - An interface to a client-defined object specifying the position and size of the control.
Returns:
the new control object.
Throws:
AccessDeniedException - if the sheet is protected.

addFormControl

public Shape addFormControl(EFormControl eType,
                            ShapeAnchor shapeAnchor)
                     throws AccessDeniedException
Adds a new form control to the drawing.
Parameters:
eType - An enumerated value defined in the FormControlTypes interface.
shapeAnchor - An interface to a client-defined object specifying the position and size of the control.
Returns:
the new control object.