using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace FastReport.Web { partial class WebReport { string template_toolbar(bool renderBody) { if (!Toolbar.Show || !renderBody #if !OPENSOURCE || (Mode == WebReportMode.Dialog && !Toolbar.ShowOnDialogPage) #endif ) return ""; var showRefreshButton = Toolbar.ShowRefreshButton && !Report.IsLoadPrepared; var localization = new ToolbarLocalization(Res); var exports = Toolbar.Exports; var toolbarExportItem = $@"