This commit is contained in:
@@ -75,23 +75,23 @@ namespace rmutr_report.Controllers
|
|||||||
ShowProgress = true,
|
ShowProgress = true,
|
||||||
PageBreaks = true
|
PageBreaks = true
|
||||||
};
|
};
|
||||||
report.Export(excelExport, stream);
|
// var textObject3 = report.FindObject("Text3") as FastReport.TextObject;
|
||||||
|
// var textObject7 = report.FindObject("Text7") as FastReport.TextObject;
|
||||||
stream.Seek(0, SeekOrigin.Begin);
|
// var textObject8 = report.FindObject("Text8") as FastReport.TextObject;
|
||||||
// using (var package = new ExcelPackage(stream))
|
// if (textObject3 != null)
|
||||||
// {
|
// {
|
||||||
// ExcelWorksheet worksheet = package.Workbook.Worksheets[0];
|
// textObject3.WordWrap = true;
|
||||||
//
|
|
||||||
// if (worksheet.Dimension != null)
|
|
||||||
// {
|
|
||||||
// //worksheet.Cells[worksheet.Dimension.Address].AutoFitColumns();
|
|
||||||
// worksheet.Cells[worksheet.Dimension.Address].Style.WrapText = true;
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// package.Save();
|
|
||||||
// }
|
// }
|
||||||
//
|
// if (textObject7 != null)
|
||||||
// stream.Seek(0, SeekOrigin.Begin);
|
// {
|
||||||
|
// textObject7.WordWrap = true;
|
||||||
|
// }
|
||||||
|
// if (textObject8 != null)
|
||||||
|
// {
|
||||||
|
// textObject8.WordWrap = true;
|
||||||
|
//}
|
||||||
|
report.Export(excelExport, stream);
|
||||||
|
stream.Seek(0, SeekOrigin.Begin);
|
||||||
return File(stream, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
|
return File(stream, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -13,7 +13,7 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("rmutr_report")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("rmutr_report")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+ad0b43ca48bec5b06b9d28038409fb43c50ccec5")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+106a9782697b2736e57b96f6b7e7cf516eec411c")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("rmutr_report")]
|
[assembly: System.Reflection.AssemblyProductAttribute("rmutr_report")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("rmutr_report")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("rmutr_report")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
dc5eabf09b58379b53feb30709b996c5032760611cba7922a37905f04ffadfb5
|
12f036e5d046ba9b0599463b4a985586778539b6135c07e833f9e63bd06caa19
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("rmutr_report")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("rmutr_report")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+ad0b43ca48bec5b06b9d28038409fb43c50ccec5")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+106a9782697b2736e57b96f6b7e7cf516eec411c")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("rmutr_report")]
|
[assembly: System.Reflection.AssemblyProductAttribute("rmutr_report")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("rmutr_report")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("rmutr_report")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
dc5eabf09b58379b53feb30709b996c5032760611cba7922a37905f04ffadfb5
|
12f036e5d046ba9b0599463b4a985586778539b6135c07e833f9e63bd06caa19
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
68de01a6bd7215a94454eb302693f9228d732e4e8151a0ca1a8cd5a493df713b
|
64159ceab84e820c79b59f2a97adace7158e33caf3827afa4ca495de04705546
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -576,6 +576,22 @@
|
|||||||
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
||||||
<OriginalItemSpec>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\durable_articles_three_old.frx))</OriginalItemSpec>
|
<OriginalItemSpec>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\durable_articles_three_old.frx))</OriginalItemSpec>
|
||||||
</StaticWebAsset>
|
</StaticWebAsset>
|
||||||
|
<StaticWebAsset Include="$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\durable_articles_three_v1.frx))">
|
||||||
|
<SourceType>Package</SourceType>
|
||||||
|
<SourceId>rmutr_report</SourceId>
|
||||||
|
<ContentRoot>$(MSBuildThisFileDirectory)..\staticwebassets\</ContentRoot>
|
||||||
|
<BasePath>_content/rmutr_report</BasePath>
|
||||||
|
<RelativePath>reports\durable_articles_three_v1.frx</RelativePath>
|
||||||
|
<AssetKind></AssetKind>
|
||||||
|
<AssetMode></AssetMode>
|
||||||
|
<AssetRole></AssetRole>
|
||||||
|
<RelatedAsset></RelatedAsset>
|
||||||
|
<AssetTraitName></AssetTraitName>
|
||||||
|
<AssetTraitValue></AssetTraitValue>
|
||||||
|
<CopyToOutputDirectory></CopyToOutputDirectory>
|
||||||
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
||||||
|
<OriginalItemSpec>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\durable_articles_three_v1.frx))</OriginalItemSpec>
|
||||||
|
</StaticWebAsset>
|
||||||
<StaticWebAsset Include="$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\estimate_income_expenses.frx))">
|
<StaticWebAsset Include="$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\estimate_income_expenses.frx))">
|
||||||
<SourceType>Package</SourceType>
|
<SourceType>Package</SourceType>
|
||||||
<SourceId>rmutr_report</SourceId>
|
<SourceId>rmutr_report</SourceId>
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
1e00466f0b88109f048610c7645c46c929b7a4dd3b6d32b115f372c65af39b3a
|
55bc044448429e1c530fe751e53f25556ac50f37a37299c368138242061eff81
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
17267261645160802
|
17267305264526060
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="03/01/2023 13:13:10" ReportInfo.Modified="09/18/2024 16:53:56" ReportInfo.CreatorVersion="2021.1.0.0">
|
<Report ScriptLanguage="CSharp" ReportInfo.Created="03/01/2023 13:13:10" ReportInfo.Modified="09/19/2024 14:17:13" ReportInfo.CreatorVersion="2021.1.0.0">
|
||||||
<Dictionary>
|
<Dictionary>
|
||||||
<BusinessObjectDataSource Name="durable_articles_three" ReferenceName="durable_articles_three" DataType="null" Enabled="true">
|
<BusinessObjectDataSource Name="durable_articles_three" ReferenceName="durable_articles_three" DataType="null" Enabled="true">
|
||||||
<Column Name="budget_year" DataType="System.String"/>
|
<Column Name="budget_year" DataType="System.String"/>
|
||||||
@@ -159,7 +159,7 @@
|
|||||||
</DataBand>
|
</DataBand>
|
||||||
<ReportSummaryBand Name="ReportSummary1" Top="262.9" Width="831.6" Height="680.4">
|
<ReportSummaryBand Name="ReportSummary1" Top="262.9" Width="831.6" Height="680.4">
|
||||||
<TextObject Name="Text65" Top="330.75" Width="831.6" Height="28.35" Text="6. เหตุผลความจำเป็น" Font="TH Sarabun New, 16pt, style=Bold"/>
|
<TextObject Name="Text65" Top="330.75" Width="831.6" Height="28.35" Text="6. เหตุผลความจำเป็น" Font="TH Sarabun New, 16pt, style=Bold"/>
|
||||||
<TextObject Name="Text66" Top="359.1" Width="831.6" Height="321.3" CanGrow="true" CanShrink="true" CanBreak="false" Text="[durable_articles_three.necessity_reason]" AutoWidth="true" AutoShrink="FontSize" AutoShrinkMinSize="11" Font="TH Sarabun New, 16pt"/>
|
<TextObject Name="Text66" Top="359.1" Width="831.6" Height="321.3" CanGrow="true" CanShrink="true" CanBreak="false" Text="[durable_articles_three.necessity_reason]" AutoShrink="FontSize" AutoShrinkMinSize="11" Font="TH Sarabun New, 16pt" Clip="false" Wysiwyg="true"/>
|
||||||
<TextObject Name="Text64" Top="302.4" Width="859.95" Height="28.35" Text="[durable_articles_three.strategy]" Font="TH Sarabun New, 16pt"/>
|
<TextObject Name="Text64" Top="302.4" Width="859.95" Height="28.35" Text="[durable_articles_three.strategy]" Font="TH Sarabun New, 16pt"/>
|
||||||
<TextObject Name="Text63" Top="274.05" Width="831.6" Height="28.35" Text="5. ความสอดคล้องกับกลยุทธ์" Font="TH Sarabun New, 16pt, style=Bold"/>
|
<TextObject Name="Text63" Top="274.05" Width="831.6" Height="28.35" Text="5. ความสอดคล้องกับกลยุทธ์" Font="TH Sarabun New, 16pt, style=Bold"/>
|
||||||
<TextObject Name="Text62" Top="245.7" Width="859.95" Height="28.35" Text="[durable_articles_three.target]" Font="TH Sarabun New, 16pt"/>
|
<TextObject Name="Text62" Top="245.7" Width="859.95" Height="28.35" Text="[durable_articles_three.target]" Font="TH Sarabun New, 16pt"/>
|
||||||
@@ -214,9 +214,9 @@
|
|||||||
</DataBand>
|
</DataBand>
|
||||||
</DataBand>
|
</DataBand>
|
||||||
</ReportPage>
|
</ReportPage>
|
||||||
<ReportPage Name="Page4" PaperWidth="260" PaperHeight="600" LeftMargin="25" TopMargin="20" RightMargin="15" Watermark.Font="Arial, 60pt" UnlimitedHeight="true" UnlimitedWidth="true">
|
<ReportPage Name="Page4" PaperWidth="350" PaperHeight="600" LeftMargin="25" TopMargin="20" RightMargin="15" Watermark.Font="Arial, 60pt">
|
||||||
<DataBand Name="Data3" Width="831.6" Height="28.35" DataSource="durable_articles_three">
|
<DataBand Name="Data3" Width="1171.8" Height="28.35" CanBreak="true">
|
||||||
<TextObject Name="Text2" Width="945" Height="28.35" Text="10. คุณลักษณะเฉพาะ (Specification)" Font="TH Sarabun New, 16pt, style=Bold">
|
<TextObject Name="Text2" Width="1171.8" Height="28.35" Text="10. คุณลักษณะเฉพาะ (Specification)" Font="TH Sarabun New, 16pt, style=Bold">
|
||||||
<Formats>
|
<Formats>
|
||||||
<NumberFormat/>
|
<NumberFormat/>
|
||||||
<GeneralFormat/>
|
<GeneralFormat/>
|
||||||
@@ -224,8 +224,8 @@
|
|||||||
<GeneralFormat/>
|
<GeneralFormat/>
|
||||||
</Formats>
|
</Formats>
|
||||||
</TextObject>
|
</TextObject>
|
||||||
<DataBand Name="Data8" Top="32.65" Width="831.6" Height="28.35" CanGrow="true" CanShrink="true" DataSource="specification_data">
|
<DataBand Name="Data8" Top="32.65" Width="1171.8" Height="28.35" CanGrow="true" CanShrink="true" DataSource="specification_data">
|
||||||
<TextObject Name="Text3" Width="945" Height="28.35" CanGrow="true" CanShrink="true" CanBreak="false" BreakTo="Text7" Text="[durable_articles_three.specification_data.list]" AutoWidth="true" Font="TH Sarabun New, 14pt, style=Bold" Clip="false" Wysiwyg="true">
|
<TextObject Name="Text3" Width="1171.8" Height="28.35" CanGrow="true" CanShrink="true" ShiftMode="Never" CanBreak="false" BreakTo="Text7" Text="[durable_articles_three.specification_data.list]" Font="TH Sarabun New, 14pt, style=Bold" Clip="false" Wysiwyg="true">
|
||||||
<Formats>
|
<Formats>
|
||||||
<NumberFormat/>
|
<NumberFormat/>
|
||||||
<GeneralFormat/>
|
<GeneralFormat/>
|
||||||
@@ -233,10 +233,10 @@
|
|||||||
<GeneralFormat/>
|
<GeneralFormat/>
|
||||||
</Formats>
|
</Formats>
|
||||||
</TextObject>
|
</TextObject>
|
||||||
<DataBand Name="Data21" Top="65.3" Width="831.6" Height="28.35" CanGrow="true" CanShrink="true" DataSource="data_detail">
|
<DataBand Name="Data21" Top="65.3" Width="1171.8" Height="28.35" CanGrow="true" CanShrink="true" DataSource="data_detail">
|
||||||
<TextObject Name="Text7" Width="945" Height="28.35" CanGrow="true" CanShrink="true" CanBreak="false" Text="[durable_articles_three.specification_data.data_detail.list]" AutoWidth="true" AutoShrink="FontSize" AutoShrinkMinSize="16" Font="TH Sarabun New, 14pt" Wysiwyg="true"/>
|
<TextObject Name="Text7" Width="1171.8" Height="28.35" CanGrow="true" CanShrink="true" ShiftMode="Never" CanBreak="false" Text="[durable_articles_three.specification_data.data_detail.list]" Font="TH Sarabun New, 14pt" Wysiwyg="true"/>
|
||||||
<DataBand Name="Data10" Top="97.95" Width="831.6" Height="28.35" DataSource="data_detail2">
|
<DataBand Name="Data10" Top="97.95" Width="1171.8" Height="28.35" CanGrow="true" CanShrink="true" DataSource="data_detail2">
|
||||||
<TextObject Name="Text8" Width="945" Height="28.35" CanGrow="true" CanShrink="true" CanBreak="false" Text="[durable_articles_three.specification_data.data_detail.data_detail2.attribute]" AutoWidth="true" Font="TH Sarabun New, 14pt" Wysiwyg="true"/>
|
<TextObject Name="Text8" Width="1171.8" Height="28.35" CanGrow="true" CanShrink="true" ShiftMode="Never" CanBreak="false" Text="[durable_articles_three.specification_data.data_detail.data_detail2.attribute]" Font="TH Sarabun New, 14pt" Wysiwyg="true"/>
|
||||||
</DataBand>
|
</DataBand>
|
||||||
</DataBand>
|
</DataBand>
|
||||||
</DataBand>
|
</DataBand>
|
||||||
|
|||||||
Reference in New Issue
Block a user