public BorderWidth(RdlEngine.BorderWidth b) { Left = b.Left; Right = b.Right; Top = b.Top; Bottom = b.Bottom; }
public BoxStyle(RdlEngine.Style style) { if (style == null) { style = RdlEngine.Style.DefaultStyle; } BorderColor = new BorderColor(style.BorderColor); BorderStyle = new BorderStyle(style.BorderStyle); BorderWidth = new BorderWidth(style.BorderWidth); BackgroundColor = style.BackgroundColor; BackgroundGradientType = style.BackgroundGradientType; BackgroundGradientEndColor = style.BackgroundGradientEndColor; BackgroundImage = style.BackgroundImage.Value; BackgroundImageType = style.BackgroundImage.MIMEType; Color = style.Color; PaddingLeft = style.PaddingLeft; PaddingRight = style.PaddingRight; PaddingTop = style.PaddingTop; PaddingBottom = style.PaddingBottom; }
public TextStyle(RdlEngine.Style style) : base(style) { if (style == null) { style = RdlEngine.Style.DefaultStyle; } FontStyle = style.FontStyle; FontFamily = style.FontFamily; FontSize = style.FontSize; FontWeight = style.FontWeight; Format = style.Format; TextDecoration = style.TextDecoration; TextAlign = style.TextAlign; VerticalAlign = style.VerticalAlign; LineHeight = style.LineHeight; Direction = style.Direction; WritingMode = style.WritingMode; Language = style.Language; UnicodeBiDi = style.UnicodeBiDi; Calendar = style.Calendar; NumeralLanguage = style.NumeralLanguage; NumeralVariant = style.NumeralVariant; }