Exemplo 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);
     }
 }
Exemplo 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);
     }
 }
Exemplo 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);
     }
 }
Exemplo n.º 4
0
 protected override void FillHtmlTableCellCore(IHtmlExportProvider exportProvider)
 {
     base.FillHtmlTableCellCore(exportProvider);
     DataCellExportHelper.FillHtmlTableCellCore(exportProvider, DataCellCheckBrick.Style, DataCellCheckBrick.CellPosition);
 }
Exemplo n.º 5
0
 protected string RegisterHtmlClassName(HtmlExportContext context, BrickStyle style, PaddingInfo borders, PaddingInfo padding)
 {
     return(DataCellExportHelper.RegisterHtmlClassName(context, style, borders, padding));
 }