Browse Source
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1998 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
19 changed files with 175 additions and 119 deletions
@ -0,0 +1,48 @@ |
|||||||
|
/* |
||||||
|
* Erstellt mit SharpDevelop. |
||||||
|
* Benutzer: Forstmeier Peter |
||||||
|
* Datum: 29.10.2006 |
||||||
|
* Zeit: 14:52 |
||||||
|
* |
||||||
|
* Sie können diese Vorlage unter Extras > Optionen > Codeerstellung > Standardheader ändern. |
||||||
|
*/ |
||||||
|
|
||||||
|
using System; |
||||||
|
using System.Drawing; |
||||||
|
using System.Drawing.Drawing2D; |
||||||
|
namespace SharpReportCore.Exporters |
||||||
|
{ |
||||||
|
/// <summary>
|
||||||
|
/// Description of GraphicStyleDecorator.
|
||||||
|
/// </summary>
|
||||||
|
public class GraphicStyleDecorator:BaseStyleDecorator |
||||||
|
{ |
||||||
|
private BaseShape shape; |
||||||
|
private int thickness = 1; |
||||||
|
private DashStyle dashStyle = DashStyle.Solid; |
||||||
|
|
||||||
|
public GraphicStyleDecorator(BaseShape shape):base(){ |
||||||
|
if (shape == null) { |
||||||
|
throw new ArgumentNullException("shape"); |
||||||
|
} |
||||||
|
this.shape = shape; |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
public BaseShape Shape { |
||||||
|
get { return shape; } |
||||||
|
set { shape = value; } |
||||||
|
} |
||||||
|
public int Thickness { |
||||||
|
get { return thickness; } |
||||||
|
set { thickness = value; } |
||||||
|
} |
||||||
|
|
||||||
|
public DashStyle DashStyle { |
||||||
|
get { return dashStyle; } |
||||||
|
set { dashStyle = value; } |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
} |
||||||
|
} |
@ -0,0 +1,69 @@ |
|||||||
|
/* |
||||||
|
* Erstellt mit SharpDevelop. |
||||||
|
* Benutzer: Forstmeier Peter |
||||||
|
* Datum: 29.10.2006 |
||||||
|
* Zeit: 14:27 |
||||||
|
* |
||||||
|
* Sie können diese Vorlage unter Extras > Optionen > Codeerstellung > Standardheader ändern. |
||||||
|
*/ |
||||||
|
|
||||||
|
using System; |
||||||
|
using System.Drawing; |
||||||
|
|
||||||
|
namespace SharpReportCore.Exporters |
||||||
|
{ |
||||||
|
/// <summary>
|
||||||
|
/// Description of TextStyleDecorator.
|
||||||
|
/// </summary>
|
||||||
|
public class TextStyleDecorator:BaseStyleDecorator |
||||||
|
{ |
||||||
|
private Font font; |
||||||
|
|
||||||
|
private StringFormat stringFormat; |
||||||
|
private StringTrimming stringTrimming; |
||||||
|
private ContentAlignment contentAlignment; |
||||||
|
|
||||||
|
public TextStyleDecorator():base() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public Font Font { |
||||||
|
get { |
||||||
|
return font; |
||||||
|
} |
||||||
|
set { |
||||||
|
font = value; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
public StringFormat StringFormat { |
||||||
|
get { |
||||||
|
return stringFormat; |
||||||
|
} |
||||||
|
set { |
||||||
|
stringFormat = value; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
public StringTrimming StringTrimming { |
||||||
|
get { |
||||||
|
return stringTrimming; |
||||||
|
} |
||||||
|
set { |
||||||
|
stringTrimming = value; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
public ContentAlignment ContentAlignment { |
||||||
|
get { |
||||||
|
return contentAlignment; |
||||||
|
} |
||||||
|
set { |
||||||
|
contentAlignment = value; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue