public void FillFooter(InDesign.Document reportTemplate) { var page = ReportGenerationHelper.GetPageByNumber(reportTemplate, 1); var footerContent = $"{PageStrings.OrganizationNameText}, {string.Format(PageStrings.DateDisplayDataFormat, DateTime.Today)}"; ReportGenerationHelper.SetNewContentInTextFrame(page, 5, footerContent); }
public void FillHeader(InDesign.Document reportTemplate) { var page = ReportGenerationHelper.GetPageByNumber(reportTemplate, 1); var headerContent = PageStrings.OrganizationNameText; ReportGenerationHelper.SetNewContentInTextFrame(page, 10, headerContent); }
private void FillMainReportInfo(InDesign.Document reportTemplate) { var page = ReportGenerationHelper.GetPageByNumber(reportTemplate, 1); FillClientInfo(page); FillProvidedServiceList(page); FillTotalPrice(page); FillServiceDate(page); }