8 changed files with 123 additions and 11 deletions
@ -0,0 +1,34 @@
@@ -0,0 +1,34 @@
|
||||
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||
using System; |
||||
using ICSharpCode.Reporting.Interfaces.Export; |
||||
using ICSharpCode.Reporting.PageBuilder.ExportColumns; |
||||
|
||||
namespace ICSharpCode.Reporting.Items |
||||
{ |
||||
/// <summary>
|
||||
/// Description of BaseRectangleItem.
|
||||
/// </summary>
|
||||
public class BaseRectangleItem:BaseGraphics |
||||
{ |
||||
public BaseRectangleItem() |
||||
{ |
||||
} |
||||
|
||||
|
||||
public override IExportColumn CreateExportColumn() |
||||
{ |
||||
var ex = new ExportRectangle(); |
||||
ex.Location = Location; |
||||
ex.ForeColor = ForeColor; |
||||
ex.BackColor = BackColor; |
||||
ex.Size = Size; |
||||
ex.DesiredSize = Size; |
||||
ex.Thickness = Thickness; |
||||
ex.DashStyle = DashStyle; |
||||
ex.StartLineCap = StartLineCap; |
||||
ex.EndLineCap = EndLineCap; |
||||
return ex; |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,39 @@
@@ -0,0 +1,39 @@
|
||||
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||
using System; |
||||
using System.Drawing.Drawing2D; |
||||
using ICSharpCode.Reporting.Exporter.Visitors; |
||||
using ICSharpCode.Reporting.Interfaces.Export; |
||||
|
||||
namespace ICSharpCode.Reporting.PageBuilder.ExportColumns |
||||
{ |
||||
/// <summary>
|
||||
/// Description of ExportRectangle.
|
||||
/// </summary>
|
||||
public class ExportRectangle:ExportColumn,IExportGraphics,IAcceptor |
||||
{ |
||||
public ExportRectangle() |
||||
{ |
||||
} |
||||
|
||||
|
||||
public void Accept(IVisitor visitor) |
||||
{ |
||||
visitor.Visit(this); |
||||
} |
||||
|
||||
|
||||
public override ICSharpCode.Reporting.Arrange.IMeasurementStrategy MeasurementStrategy() |
||||
{ |
||||
throw new NotImplementedException(); |
||||
} |
||||
|
||||
public int Thickness {get;set;} |
||||
|
||||
public DashStyle DashStyle {get;set;} |
||||
|
||||
public LineCap StartLineCap {get;set;} |
||||
|
||||
public LineCap EndLineCap {get;set;} |
||||
} |
||||
} |
Loading…
Reference in new issue