2017-09-07 3 views
0

Stimulsoft 보고서를 사용하여 간단한 보고서를 디자인하고 페이지 바닥 글을 에 놓았지만 페이지 바닥 글은 페이지 아래쪽에 설정되어 있지 않습니다. 바닥 글이 페이지 전체에 배치됩니다. 바닥 글과 페이지의 마지막 요소 사이에 일정한 거리가있는 것처럼 왜? https://forum.stimulsoft.com/download/file.php?id=21789stimulsoft의 페이지 하단에 페이지 바닥 글이 설정되어 있지 않음

+0

는 [mcve]을 제공하십시오뿐만 아니라 링크 :

수정 된 보고서 템플릿을 확인하시기 바랍니다. – izlin

답변

0

는 대부분의 경우 당신은 웹 뷰어 보고서를 표시하는 데 사용할 :

여기 내 보고서 파일입니다. 텍스트를 페이지에 직접 놓았거나 렌더링 할 때 페이지 아래쪽으로 넘어갔습니다. 그러나 브라우저가 테이블을 늘려서 모든 텍스트를 표시하고 PageFooter가 텍스트의 가운데에 나타납니다.

페이지에 직접 배치되는 텍스트는 각 페이지에서 반복되는 정적 개체입니다. 긴 텍스트를 페이지로 나누려면 DataBand에 넣어야합니다.

<?xml version="1.0" encoding="utf-8" standalone="yes"?> 
<StiSerializer version="1.02" type="Net" application="StiReport"> 
    <Dictionary Ref="1" type="Dictionary" isKey="true"> 
    <BusinessObjects isList="true" count="0" /> 
    <Databases isList="true" count="0" /> 
    <DataSources isList="true" count="0" /> 
    <Relations isList="true" count="0" /> 
    <Report isRef="0" /> 
    <Resources isList="true" count="0" /> 
    <Variables isList="true" count="0" /> 
    </Dictionary> 
    <EngineVersion>EngineV2</EngineVersion> 
    <GlobalizationStrings isList="true" count="0" /> 
    <MetaTags isList="true" count="0" /> 
    <Pages isList="true" count="1"> 
    <Page1 Ref="2" type="Page" isKey="true"> 
     <Border>None;Black;2;Solid;False;4;Black</Border> 
     <Brush>Transparent</Brush> 
     <Components isList="true" count="3"> 
     <PageFooterBand1 Ref="3" type="PageFooterBand" isKey="true"> 
      <Brush>Transparent</Brush> 
      <ClientRectangle>0,24.1,19.6,1.8</ClientRectangle> 
      <Components isList="true" count="1"> 
      <Text2 Ref="4" type="Text" isKey="true"> 
       <Border>All;Black;2;Solid;False;4;Black</Border> 
       <Brush>Transparent</Brush> 
       <ClientRectangle>4.8,0.3,12.6,1.2</ClientRectangle> 
       <Conditions isList="true" count="0" /> 
       <Font>Microsoft Sans Serif,18,Bold</Font> 
       <HorAlignment>Center</HorAlignment> 
       <Margins>0,0,0,0</Margins> 
       <Name>Text2</Name> 
       <Page isRef="2" /> 
       <Parent isRef="3" /> 
       <Text>Footer Page</Text> 
       <TextBrush>Black</TextBrush> 
       <Type>Expression</Type> 
       <VertAlignment>Center</VertAlignment> 
      </Text2> 
      </Components> 
      <Conditions isList="true" count="0" /> 
      <Name>PageFooterBand1</Name> 
      <Page isRef="2" /> 
      <Parent isRef="2" /> 
     </PageFooterBand1> 
     <ReportTitleBand1 Ref="5" type="ReportTitleBand" isKey="true"> 
      <Brush>Transparent</Brush> 
      <ClientRectangle>0,0.4,19.6,0.2</ClientRectangle> 
      <Components isList="true" count="0" /> 
      <Conditions isList="true" count="0" /> 
      <Name>ReportTitleBand1</Name> 
      <Page isRef="2" /> 
      <Parent isRef="2" /> 
     </ReportTitleBand1> 
     <DataBand1 Ref="6" type="DataBand" isKey="true"> 
      <Brush>Transparent</Brush> 
      <CanBreak>True</CanBreak> 
      <ClientRectangle>0,1.4,19.6,15.4</ClientRectangle> 
      <Components isList="true" count="1"> 
      <Text1 Ref="7" type="Text" isKey="true"> 
       <Border>None;Black;2;Solid;False;4;Black</Border> 
       <Brush>Transparent</Brush> 
       <CanBreak>True</CanBreak> 
       <CanGrow>True</CanGrow> 
       <ClientRectangle>1,1.8,17.6,13.4</ClientRectangle> 
       <Conditions isList="true" count="0" /> 
       <Font>Microsoft Sans Serif,9,Bold</Font> 
       <GrowToHeight>True</GrowToHeight> 
       <HorAlignment>Center</HorAlignment> 
       <Margins>0,0,0,0</Margins> 
       <Name>Text1</Name> 
       <Page isRef="2" /> 
       <Parent isRef="6" /> 
       <Text>ghgk 
hj 
mlm 
gg 
dd 
ghgk 
hj 
mlm 
gg 
dd 
ghgk 
hj 
mlm 
gg 
mlm 
gg 
dd 
ghgk 
hj 
mlm 
gg 
dd 
ghgk 
hj 
mlm 
gg 
dd 
ghgk 
hj 
mlm 
gg 
dd 
mlm 
gg 
dd 
ghgk 
hj 
mlm 
gg 
mlm 
mlm 
gg 
dd 
ghgk 
hj 
mlm 
gg 
mlm 
mlm 
gg 
dd 
ghgk 
hj 
mlm 
gg 
mlm 
111111111111 
22222222222 
33333333333 
gg 
dd 
ghgk 
hj 
mlm 
gg 
mlm 
gg 
dd 
ghgk 
hj 
mlm 
gg 
dd</Text> 
       <TextBrush>Black</TextBrush> 
       <TextOptions>,,,,WordWrap=True,A=0</TextOptions> 
       <Type>Expression</Type> 
       <VertAlignment>Center</VertAlignment> 
      </Text1> 
      </Components> 
      <Conditions isList="true" count="0" /> 
      <Filters isList="true" count="0" /> 
      <Name>DataBand1</Name> 
      <Page isRef="2" /> 
      <Parent isRef="2" /> 
      <Sort isList="true" count="0" /> 
     </DataBand1> 
     </Components> 
     <Conditions isList="true" count="0" /> 
     <Guid>09e02623e900473caee1145d795b6025</Guid> 
     <Margins>1,1,1,1</Margins> 
     <Name>Page1</Name> 
     <PageHeight>27.9</PageHeight> 
     <PageWidth>21.6</PageWidth> 
     <PaperSize>Letter</PaperSize> 
     <Report isRef="0" /> 
     <Watermark Ref="8" type="Stimulsoft.Report.Components.StiWatermark" isKey="true"> 
     <Font>Arial,100</Font> 
     <TextBrush>[50:0:0:0]</TextBrush> 
     </Watermark> 
    </Page1> 
    </Pages> 
    <PrinterSettings Ref="9" type="Stimulsoft.Report.Print.StiPrinterSettings" isKey="true" /> 
    <ReferencedAssemblies isList="true" count="8"> 
    <value>System.Dll</value> 
    <value>System.Drawing.Dll</value> 
    <value>System.Windows.Forms.Dll</value> 
    <value>System.Data.Dll</value> 
    <value>System.Xml.Dll</value> 
    <value>Stimulsoft.Controls.Dll</value> 
    <value>Stimulsoft.Base.Dll</value> 
    <value>Stimulsoft.Report.Dll</value> 
    </ReferencedAssemblies> 
    <ReportAlias>Report</ReportAlias> 
    <ReportChanged>11/1/2017 12:51:33 PM</ReportChanged> 
    <ReportCreated>9/6/2017 10:47:11 PM</ReportCreated> 
    <ReportFile>Report.mrt</ReportFile> 
    <ReportGuid>9d35bfde4fd44c1c88bc4f2caecb5da5</ReportGuid> 
    <ReportImage isNull="true" /> 
    <ReportName>Report</ReportName> 
    <ReportUnit>Centimeters</ReportUnit> 
    <ReportVersion>2017.2.3.0</ReportVersion> 
    <Script>using System; 
using System.Drawing; 
using System.Windows.Forms; 
using System.Data; 
using Stimulsoft.Controls; 
using Stimulsoft.Base.Drawing; 
using Stimulsoft.Report; 
using Stimulsoft.Report.Dialogs; 
using Stimulsoft.Report.Components; 

namespace Reports 
{ 
    public class Report : Stimulsoft.Report.StiReport 
    { 
     public Report()  { 
      this.InitializeComponent(); 
     } 

     #region StiReport Designer generated code - do not modify 
     #endregion StiReport Designer generated code - do not modify 
    } 
} 
</Script> 
    <ScriptLanguage>CSharp</ScriptLanguage> 
    <Styles isList="true" count="0" /> 
</StiSerializer> 
관련 문제