コード例 #1
0
        protected override void RenderBody(ExtendedXlsFile xls)
        {
            StartCol = InternalData.HeaderColumnNumbers[HeaderBal0LogicalParts.BalPartName];
            StartRow = 1;
            UsedRows = 1;

            UsedCols = InternalData.TotalColumnsCount;

            xls.SetCellValueStyled(UsedRows, 1,
                                   Data.Name
                                   + " \n " +
                                   Data.DateRepresentation,
                                   TFlxFontStyles.Bold);
            if (xls.CurrentExportType != TExportExcelAdapterType.toXLS)
            {
                xls.SetCellAlignH(UsedRows, 1, THFlxAlignment.center);
            }
            xls.MergeCells(UsedRows, 1, UsedRows + 1, UsedCols);
            UsedRows++;
        }