Esempio n. 1
0
 protected override void DrawObject(IGraphics gr, RectangleF rect)
 {
     using (BrickStyle curStyle = DataCellExportHelper.GetResultingStyle(gr is OnePageImageGraphics, DataCellCheckBrick.Style, DataCellCheckBrick.CellPosition))
     {
         this.BrickPaint.BrickStyle = curStyle;
         base.DrawObject(gr, rect);
     }
 }
Esempio n. 2
0
 public static void FillHtmlTableCellCore(IHtmlExportProvider exportProvider, BrickStyle style, XRDataCellPosition position)
 {
     using (BrickStyle curStyle = DataCellExportHelper.GetResultingStyle(exportProvider.HtmlExportContext.MainExportMode == HtmlExportMode.SingleFile, style, position))
     {
         DevExpress.XtraPrinting.Export.Web.HtmlBuilderBase.HtmlCellLayout areaLayout = new DevExpress.XtraPrinting.Export.Web.HtmlBuilderBase.HtmlCellLayout(curStyle);
         exportProvider.CurrentCell.Attributes["class"] = RegisterHtmlClassName(exportProvider.HtmlExportContext, curStyle, areaLayout.Borders, areaLayout.Padding);
     }
 }
Esempio n. 3
0
 protected override void FillXlTableCellInternal(IXlExportProvider exportProvider)
 {
     using (BrickStyle curStyle = DataCellExportHelper.GetResultingStyle(false, DataCellCheckBrick.Style, DataCellCheckBrick.CellPosition))
     {
         curStyle.Sides = BorderSide.All;
         ((BrickViewData)exportProvider.CurrentData).Style = curStyle;
         base.FillXlTableCellInternal(exportProvider);
     }
 }
Esempio n. 4
0
 protected override void FillHtmlTableCellCore(IHtmlExportProvider exportProvider)
 {
     base.FillHtmlTableCellCore(exportProvider);
     DataCellExportHelper.FillHtmlTableCellCore(exportProvider, DataCellCheckBrick.Style, DataCellCheckBrick.CellPosition);
 }
Esempio n. 5
0
 protected string RegisterHtmlClassName(HtmlExportContext context, BrickStyle style, PaddingInfo borders, PaddingInfo padding)
 {
     return(DataCellExportHelper.RegisterHtmlClassName(context, style, borders, padding));
 }