示例#1
0
 internal Action(string id, string label, ActionType type, RPLFormat.ShapeType shape, RectangleF position, float[] path)
 {
     Id         = id;
     Label      = label;
     Shape      = ConvertRPLShape(shape);
     Type       = type;
     m_position = position;
     m_path     = path;
 }
示例#2
0
        private ActionShape ConvertRPLShape(RPLFormat.ShapeType shape)
        {
            switch (shape)
            {
            case RPLFormat.ShapeType.Rectangle:
                return(ActionShape.Rectangle);

            case RPLFormat.ShapeType.Circle:
                return(ActionShape.Circle);

            case RPLFormat.ShapeType.Polygon:
                return(ActionShape.Polygon);

            default:
                return(ActionShape.None);
            }
        }
 public DrillthroughAction(string id, string label, RPLFormat.ShapeType shape, RectangleF position, float[] path, string reportId)
     : base(id, label, ActionType.DrillThrough, shape, position, path)
 {
     ReportId = reportId;
 }
示例#4
0
 public ReportToolTip(string id, RPLFormat.ShapeType shape, RectangleF position, float[] path, string caption)
     : base(id, null, ActionType.None, shape, position, path)
 {
     Caption = caption;
 }
示例#5
0
 public ToggleAction(string id, string label, RPLFormat.ShapeType shape, RectangleF position, float[] path, bool state)
     : base(id, label, ActionType.Toggle, shape, position, path)
 {
     ToggleState = state;
 }
示例#6
0
 public BookmarkLinkAction(string id, string label, RPLFormat.ShapeType shape, RectangleF position, float[] path, string action)
     : base(id, label, ActionType.BookmarkLink, shape, position, path)
 {
     ActionLink = action;
 }
 public SortAction(string id, string label, RPLFormat.ShapeType shape, RectangleF position, float[] path, SortOrder direction)
     : base(id, label, ActionType.Sort, shape, position, path)
 {
     Direction = direction;
 }
示例#8
0
 public HyperLinkAction(string id, string label, RPLFormat.ShapeType shape, RectangleF position, float[] path, string url)
     : base(id, label, ActionType.HyperLink, shape, position, path)
 {
     Url = url;
 }