fix(form_1_2): keep page 1's position summary on the same physical page
continuous-integration/drone/push Build is passing

Data1's declared Height (1000) consumed nearly the whole A4 page,
pushing the sibling P1PositionsList band onto its own extra page.
Trimmed to 810 (just past the last real content) so both bands share
page 1 as intended. Also widened the "ที่ อว 0653." label — it was
being clipped at the old narrow width.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0153wBt23EjW125ZsADwWVAs
This commit is contained in:
Nut.ไปเรื่อย
2026-09-08 13:37:36 +07:00
parent 62fbf99073
commit 932eb26791
@@ -34,19 +34,19 @@
<!-- ===================== หน้า 1: เอกสารแนบ ร.1 (สรุป) ===================== -->
<ReportPage Name="Page1" PaperWidth="210" PaperHeight="297" LeftMargin="10" TopMargin="10" RightMargin="10" BottomMargin="10">
<DataBand Name="Data1" Width="718.2" Height="1000" DataSource="form_1_2">
<DataBand Name="Data1" Width="718.2" Height="810" DataSource="form_1_2">
<TextObject Name="P1Form" Width="718.2" Height="28.35" Text="แบบฟอร์ม ร. 1 25........(ปรับเปลี่ยนชื่อตำแหน่ง)" HorzAlign="Right" Font="TH Sarabun New, 16pt, style=Bold"/>
<TextObject Name="P1Title" Top="37.8" Width="718.2" Height="37.8" Text="เอกสารแนบ ร.1" HorzAlign="Center" Font="TH Sarabun New, 22pt, style=Bold"/>
<TextObject Name="P1L1a" Left="18.9" Top="94.5" Width="66.15" Height="28.35" Text="หนังสือ" Font="TH Sarabun New, 16pt"/>
<TextObject Name="P1L1Div_u" Left="85.05" Top="103.95" Width="217.35" Height="18.9" Border.Lines="Bottom" Border.Style="Dot" Font="TH Sarabun New, 16pt"/>
<TextObject Name="P1L1Div" Left="85.05" Top="94.5" Width="217.35" Height="28.35" Text="[form_1_2.division_name]" HorzAlign="Center" VertAlign="Bottom" Font="TH Sarabun New, 16pt"/>
<TextObject Name="P1L1b" Left="302.4" Top="94.5" Width="113.4" Height="28.35" Text="(หน่วยงาน) ที่ อว 0653." Font="TH Sarabun New, 16pt"/>
<TextObject Name="P1L1No_u" Left="415.8" Top="103.95" Width="94.5" Height="18.9" Border.Lines="Bottom" Border.Style="Dot" Font="TH Sarabun New, 16pt"/>
<TextObject Name="P1L1No" Left="415.8" Top="94.5" Width="94.5" Height="28.35" Text="[form_1_2.no]" HorzAlign="Center" VertAlign="Bottom" Font="TH Sarabun New, 16pt"/>
<TextObject Name="P1L1c" Left="510.3" Top="94.5" Width="66.15" Height="28.35" Text="ลงวันที่" Font="TH Sarabun New, 16pt"/>
<TextObject Name="P1L1Date_u" Left="576.45" Top="103.95" Width="141.75" Height="18.9" Border.Lines="Bottom" Border.Style="Dot" Font="TH Sarabun New, 16pt"/>
<TextObject Name="P1L1Date" Left="576.45" Top="94.5" Width="141.75" Height="28.35" Text="[form_1_2.dates]" HorzAlign="Center" VertAlign="Bottom" Font="TH Sarabun New, 16pt"/>
<TextObject Name="P1L1b" Left="302.4" Top="94.5" Width="164" Height="28.35" Text="(หน่วยงาน) ที่ อว 0653." Font="TH Sarabun New, 16pt"/>
<TextObject Name="P1L1No_u" Left="466.4" Top="103.95" Width="70" Height="18.9" Border.Lines="Bottom" Border.Style="Dot" Font="TH Sarabun New, 16pt"/>
<TextObject Name="P1L1No" Left="466.4" Top="94.5" Width="70" Height="28.35" Text="[form_1_2.no]" HorzAlign="Center" VertAlign="Bottom" Font="TH Sarabun New, 16pt"/>
<TextObject Name="P1L1c" Left="536.4" Top="94.5" Width="56" Height="28.35" Text="ลงวันที่" Font="TH Sarabun New, 16pt"/>
<TextObject Name="P1L1Date_u" Left="592.4" Top="103.95" Width="107" Height="18.9" Border.Lines="Bottom" Border.Style="Dot" Font="TH Sarabun New, 16pt"/>
<TextObject Name="P1L1Date" Left="592.4" Top="94.5" Width="107" Height="28.35" Text="[form_1_2.dates]" HorzAlign="Center" VertAlign="Bottom" Font="TH Sarabun New, 16pt"/>
<TextObject Name="P1L1Note" Top="123.75" Width="718.2" Height="18.9" Text="(ระบุเลขที่หนังสือที่ส่งกองนโยบายและแผน)" HorzAlign="Center" Font="TH Sarabun New, 14pt"/>
<TextObject Name="P1L2a" Left="18.9" Top="152.1" Width="66.15" Height="28.35" Text="เรื่อง" Font="TH Sarabun New, 16pt, style=Bold"/>