|
|
@ -8,12 +8,14 @@ |
|
|
|
// </autogenerated>
|
|
|
|
// </autogenerated>
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
namespace SharpReportCore { |
|
|
|
using System; |
|
|
|
using System; |
|
|
|
using System.ComponentModel; |
|
|
|
using System.ComponentModel; |
|
|
|
using System.Drawing; |
|
|
|
using System.Drawing; |
|
|
|
using System.Drawing.Drawing2D; |
|
|
|
using System.Drawing.Drawing2D; |
|
|
|
|
|
|
|
|
|
|
|
using SharpReportCore.Exporters; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace SharpReportCore { |
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Baseclass for all Graphical Items
|
|
|
|
/// Baseclass for all Graphical Items
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
@ -29,6 +31,17 @@ namespace SharpReportCore { |
|
|
|
public BaseGraphicItem():base() { |
|
|
|
public BaseGraphicItem():base() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected BaseStyleDecorator CreateItemStyle (BaseShape shape) { |
|
|
|
|
|
|
|
BaseStyleDecorator style = new BaseStyleDecorator(); |
|
|
|
|
|
|
|
style.Size = this.Size; |
|
|
|
|
|
|
|
style.Location = this.Location; |
|
|
|
|
|
|
|
style.BackColor = this.BackColor; |
|
|
|
|
|
|
|
style.ForeColor = this.ForeColor; |
|
|
|
|
|
|
|
style.Shape = shape; |
|
|
|
|
|
|
|
style.Thickness = this.thickness; |
|
|
|
|
|
|
|
style.DashStyle = this.dashStyle; |
|
|
|
|
|
|
|
return style; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
protected static SizeF MeasureReportItem (IItemRenderer item) { |
|
|
|
protected static SizeF MeasureReportItem (IItemRenderer item) { |
|
|
|
if (item == null) { |
|
|
|
if (item == null) { |
|
|
|