コード例 #1
0
ファイル: ExportDoAssetsBase.cs プロジェクト: ghn9264/EAM_EDU
        public ExportDoAssetsBase(IAssetsOptionService assetsOptionService, int doAssetsId) : base()
        {
            AssetsOptionService = assetsOptionService;
            DoAssetsId          = doAssetsId;

            HeaderStyle                   = Workbook.CreateCellStyle();
            HeaderStyle.Alignment         = HorizontalAlignment.Center;
            HeaderStyle.VerticalAlignment = VerticalAlignment.Center;
            IFont font = Workbook.CreateFont();

            font.Boldweight = short.MaxValue;
            HeaderStyle.SetFont(font);


            CommCellStyle = Workbook.CreateCellStyle();
            CommCellStyle.VerticalAlignment = VerticalAlignment.Center;
            CommCellStyle.WrapText          = true;

            FooterCellStyle                   = Workbook.CreateCellStyle();
            FooterCellStyle.Alignment         = HorizontalAlignment.Center;
            FooterCellStyle.VerticalAlignment = VerticalAlignment.Center;
            FooterCellStyle.WrapText          = true;
        }
コード例 #2
0
 public ExportDoAssetsService(IAssetsOptionService assetsOptionService, int doAssetsId)
     : base(assetsOptionService, doAssetsId)
 {
 }
コード例 #3
0
 public ExportDoAssetsScrapInfo(IAssetsOptionService assetsOptionService, int doAssetsId, string _title)
     : base(assetsOptionService, doAssetsId)
 {
     title = _title;
 }
コード例 #4
0
 public ExportLedger(IAssetsOptionService assetsOptionService)
     : base()
 {
     _assetsOptionService = assetsOptionService;
 }
コード例 #5
0
 public ExportDoAssetsScrapBack(IAssetsOptionService assetsOptionService, int doAssetsId, string companyTitle)
     : base(assetsOptionService, doAssetsId)
 {
     title = companyTitle;
 }