powered by simpleCommunicator - 2.0.61     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Java [игнор отключен] [закрыт для гостей] / iReport
6 сообщений из 6, страница 1 из 1
iReport
    #38678430
Фотография -=Koba=-
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Как добавить вторую страницу в отчет

TitleBand занимает 73
PageHeader занимает 729 и дальше не растягивается
...
Рейтинг: 0 / 0
iReport
    #38678459
Фотография mayton
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Приаттачь свой шаблончик. Так быстрее люди разберутся и ответят.
...
Рейтинг: 0 / 0
iReport
    #38678481
JavaSpringFrameworkHibernateGWT
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
контекстное меню у Detail 1. Там должен быть пункт add detail band или ещё что-то вроде этого. Потом в первом Detail в самый конец ставишь объект page break из палитры. Я так обычно делаю.
...
Рейтинг: 0 / 0
iReport
    #38678579
bochkov
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
-=Koba=-Как добавить вторую страницу в отчет

TitleBand занимает 73
PageHeader занимает 729 и дальше не растягивается
если много компонентов и они не помещаются в шаблон,
то можно уменьшить высоту всех компонентов до нуля включительно
и установить свойства растягивания в true, "streitch on overflow" кажись называется
у band тоже подобное свойство есть
...
Рейтинг: 0 / 0
iReport
    #38679516
Фотография -=Koba=-
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Не получается, что-то =(((
Переделал на detail? так вообще на вторую ушло
Код: java
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
62.
63.
64.
65.
66.
67.
68.
69.
70.
71.
72.
73.
74.
75.
76.
77.
78.
79.
80.
81.
82.
83.
84.
85.
86.
87.
88.
89.
90.
91.
92.
93.
94.
95.
96.
97.
98.
99.
100.
101.
102.
103.
104.
105.
106.
107.
108.
109.
110.
111.
112.
113.
114.
115.
116.
117.
118.
119.
120.
121.
122.
123.
124.
125.
126.
127.
128.
129.
130.
131.
132.
133.
134.
135.
136.
137.
138.
139.
140.
141.
142.
143.
144.
145.
146.
147.
148.
149.
150.
151.
152.
153.
154.
155.
156.
157.
158.
159.
160.
161.
162.
163.
164.
165.
166.
167.
168.
169.
170.
171.
172.
173.
174.
175.
176.
177.
178.
179.
180.
181.
182.
183.
184.
185.
186.
187.
188.
189.
190.
191.
192.
193.
194.
195.
196.
197.
198.
199.
200.
201.
202.
203.
204.
205.
206.
207.
208.
209.
210.
211.
212.
213.
214.
215.
216.
217.
218.
219.
220.
221.
222.
223.
224.
225.
226.
227.
228.
229.
230.
231.
232.
233.
234.
235.
236.
237.
238.
239.
240.
241.
242.
243.
244.
245.
246.
247.
248.
249.
250.
251.
252.
253.
254.
255.
256.
257.
258.
259.
260.
261.
262.
263.
264.
265.
266.
267.
268.
269.
270.
271.
272.
273.
274.
275.
276.
277.
278.
279.
280.
281.
282.
283.
284.
285.
286.
287.
288.
289.
290.
291.
292.
293.
294.
295.
296.
297.
298.
299.
300.
301.
302.
303.
304.
305.
306.
307.
308.
309.
310.
311.
312.
313.
314.
315.
316.
317.
318.
319.
320.
321.
322.
323.
324.
325.
326.
327.
328.
329.
330.
331.
332.
333.
334.
335.
336.
337.
338.
339.
340.
341.
342.
343.
344.
345.
346.
347.
348.
349.
350.
351.
352.
353.
354.
355.
356.
357.
358.
359.
360.
361.
362.
363.
364.
365.
366.
367.
368.
369.
370.
371.
372.
373.
374.
375.
376.
377.
378.
379.
380.
381.
382.
383.
384.
385.
386.
387.
388.
389.
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="AcceptBugs" pageWidth="595" pageHeight="842" columnWidth="515" leftMargin="60" rightMargin="20" topMargin="20" bottomMargin="20" uuid="9d10a6f4-9ae3-45f5-ac81-04325d1ea08c">
	<property name="ireport.zoom" value="1.3310000000000084"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="336"/>
	<style name="DefaultStyle" isDefault="true" hAlign="Center" vAlign="Middle" fontName="DejaVu Sans" fontSize="8" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false">
		<paragraph leftIndent="2" rightIndent="2"/>
	</style>
	<style name="DefaultRectangle">
		<pen lineWidth="0.5"/>
	</style>
	<parameter name="documentDate" class="java.util.Date"/>
	<queryString>
		<![CDATA[select * from dual]]>
	</queryString>
	<title>
		<band height="73">
			<rectangle>
				<reportElement uuid="e8b08bbc-f26c-41a8-9f94-da5c0ddd1ea8" x="403" y="0" width="112" height="28"/>
			</rectangle>
			<rectangle>
				<reportElement uuid="e0dfc203-68d4-4866-94c1-ccb5e6e95b1e" x="403" y="28" width="112" height="16"/>
			</rectangle>
			<image onErrorType="Blank">
				<reportElement uuid="51396eb5-d920-4fe3-9773-baa663d4e3e9" x="0" y="0" width="53" height="44"/>
				<imageExpression><![CDATA["sberbank_logo.jpg"]]></imageExpression>
			</image>
			<staticText>
				<reportElement uuid="fdaa06fe-65ac-40be-ac7f-d6b1f19b2e3d" style="DefaultStyle" x="403" y="0" width="112" height="28"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Код формы документа по ОКУД]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="7ebe29c0-e229-44ba-8c37-55621a77c185" style="DefaultStyle" x="403" y="28" width="112" height="16"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[0402302]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement uuid="360c09b6-607d-4a59-850d-986b30cc8bdd" x="157" y="48" width="158" height="20"/>
				<textElement verticalAlignment="Middle">
					<font fontName="DejaVu Sans" size="10" isBold="true"/>
					<paragraph leftIndent="2"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{documentDate}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="5d99bd7b-18a8-4bb9-89b4-a93685595fc6" style="DefaultStyle" x="82" y="12" width="291" height="36"/>
				<textElement verticalAlignment="Middle">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[СПРАВКА
о принятых сумках и порожних сумках]]></text>
			</staticText>
		</band>
	</title>
	<detail>
		<band height="802">
			<staticText>
				<reportElement uuid="5d99bd7b-18a8-4bb9-89b4-a93685595fc6" style="DefaultStyle" x="203" y="221" width="126" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="8" isBold="false"/>
				</textElement>
				<text><![CDATA[(личная подпись)]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="5d99bd7b-18a8-4bb9-89b4-a93685595fc6" style="DefaultStyle" x="0" y="287" width="216" height="14"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="10" isBold="false"/>
				</textElement>
				<text><![CDATA[на объявленную сумму наличных денег]]></text>
			</staticText>
			<line>
				<reportElement uuid="4bd2a87a-2c3e-4094-8613-c23d0b23d91f" x="171" y="84" width="344" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<line>
				<reportElement uuid="4bd2a87a-2c3e-4094-8613-c23d0b23d91f" x="348" y="221" width="164" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<staticText>
				<reportElement uuid="5d99bd7b-18a8-4bb9-89b4-a93685595fc6" style="DefaultStyle" x="0" y="387" width="132" height="14"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="10" isBold="false"/>
				</textElement>
				<text><![CDATA[и составленные к ним:]]></text>
			</staticText>
			<line>
				<reportElement uuid="4bd2a87a-2c3e-4094-8613-c23d0b23d91f" x="121" y="70" width="394" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<staticText>
				<reportElement uuid="5d99bd7b-18a8-4bb9-89b4-a93685595fc6" style="DefaultStyle" x="348" y="175" width="167" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="8" isBold="false"/>
				</textElement>
				<text><![CDATA[(фамилия и инициалы)]]></text>
			</staticText>
			<line>
				<reportElement uuid="4bd2a87a-2c3e-4094-8613-c23d0b23d91f" x="0" y="41" width="515" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<line>
				<reportElement uuid="4bd2a87a-2c3e-4094-8613-c23d0b23d91f" x="121" y="128" width="296" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<line>
				<reportElement uuid="4bd2a87a-2c3e-4094-8613-c23d0b23d91f" x="0" y="56" width="515" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<staticText>
				<reportElement uuid="5d99bd7b-18a8-4bb9-89b4-a93685595fc6" style="DefaultStyle" x="249" y="403" width="124" height="14"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="10" isBold="false"/>
				</textElement>
				<text><![CDATA[накладные к сумкам]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement uuid="360c09b6-607d-4a59-850d-986b30cc8bdd" x="53" y="244" width="93" height="14"/>
				<textElement verticalAlignment="Middle">
					<font fontName="DejaVu Sans" size="10" isBold="false"/>
					<paragraph leftIndent="2"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{documentDate}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="5d99bd7b-18a8-4bb9-89b4-a93685595fc6" style="DefaultStyle" x="0" y="244" width="53" height="14"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="10" isBold="false"/>
				</textElement>
				<text><![CDATA[Принято]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="5d99bd7b-18a8-4bb9-89b4-a93685595fc6" style="DefaultStyle" x="348" y="222" width="167" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="8" isBold="false"/>
				</textElement>
				<text><![CDATA[(фамилия и инициалы)]]></text>
			</staticText>
			<line>
				<reportElement uuid="4bd2a87a-2c3e-4094-8613-c23d0b23d91f" x="0" y="330" width="515" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<line>
				<reportElement uuid="4bd2a87a-2c3e-4094-8613-c23d0b23d91f" x="373" y="417" width="142" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<line>
				<reportElement uuid="4bd2a87a-2c3e-4094-8613-c23d0b23d91f" x="0" y="99" width="515" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<staticText>
				<reportElement uuid="5d99bd7b-18a8-4bb9-89b4-a93685595fc6" style="DefaultStyle" x="146" y="244" width="369" height="14"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="10" isBold="false"/>
				</textElement>
				<text><![CDATA[для пересчета сумок с наличными деньгами и такое же количество]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="5d99bd7b-18a8-4bb9-89b4-a93685595fc6" style="DefaultStyle" x="203" y="174" width="126" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="8" isBold="false"/>
				</textElement>
				<text><![CDATA[(личная подпись)]]></text>
			</staticText>
			<line>
				<reportElement uuid="4bd2a87a-2c3e-4094-8613-c23d0b23d91f" x="132" y="416" width="117" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<staticText>
				<reportElement uuid="5d99bd7b-18a8-4bb9-89b4-a93685595fc6" style="DefaultStyle" x="0" y="158" width="185" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="10" isBold="false"/>
				</textElement>
				<text><![CDATA[Кассовый работник]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="5d99bd7b-18a8-4bb9-89b4-a93685595fc6" style="DefaultStyle" x="0" y="56" width="121" height="14"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="10" isBold="false"/>
				</textElement>
				<text><![CDATA[из них вскрыто сумок]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="5d99bd7b-18a8-4bb9-89b4-a93685595fc6" style="DefaultStyle" x="0" y="401" width="132" height="14"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="10" isBold="false"/>
				</textElement>
				<text><![CDATA[ведомости к сумкам]]></text>
			</staticText>
			<line>
				<reportElement uuid="4bd2a87a-2c3e-4094-8613-c23d0b23d91f" x="216" y="301" width="299" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<line>
				<reportElement uuid="4bd2a87a-2c3e-4094-8613-c23d0b23d91f" x="0" y="316" width="515" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<line>
				<reportElement uuid="4bd2a87a-2c3e-4094-8613-c23d0b23d91f" x="0" y="219" width="185" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<line>
				<reportElement uuid="4bd2a87a-2c3e-4094-8613-c23d0b23d91f" x="102" y="272" width="413" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<staticText>
				<reportElement uuid="5d99bd7b-18a8-4bb9-89b4-a93685595fc6" style="DefaultStyle" x="0" y="258" width="102" height="14"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="10" isBold="false"/>
				</textElement>
				<text><![CDATA[накладных сумок]]></text>
			</staticText>
			<line>
				<reportElement uuid="4bd2a87a-2c3e-4094-8613-c23d0b23d91f" x="0" y="286" width="515" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<staticText>
				<reportElement uuid="5d99bd7b-18a8-4bb9-89b4-a93685595fc6" style="DefaultStyle" x="0" y="415" width="102" height="14"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="10" isBold="false"/>
				</textElement>
				<text><![CDATA[порожние сумки]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="5d99bd7b-18a8-4bb9-89b4-a93685595fc6" style="DefaultStyle" x="417" y="114" width="98" height="14"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="10" isBold="false"/>
				</textElement>
				<text><![CDATA[порожних сумок.]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="5d99bd7b-18a8-4bb9-89b4-a93685595fc6" style="DefaultStyle" x="0" y="16" width="185" height="14"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="10" isBold="false"/>
				</textElement>
				<text><![CDATA[на объявленную сумму наличных денег]]></text>
			</staticText>
			<line>
				<reportElement uuid="4bd2a87a-2c3e-4094-8613-c23d0b23d91f" x="185" y="28" width="330" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<staticText>
				<reportElement uuid="5d99bd7b-18a8-4bb9-89b4-a93685595fc6" style="DefaultStyle" x="0" y="173" width="185" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="8" isBold="false"/>
				</textElement>
				<text><![CDATA[(наименование должности)]]></text>
			</staticText>
			<line>
				<reportElement uuid="4bd2a87a-2c3e-4094-8613-c23d0b23d91f" x="82" y="14" width="433" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<line>
				<reportElement uuid="4bd2a87a-2c3e-4094-8613-c23d0b23d91f" x="102" y="429" width="413" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<line>
				<reportElement uuid="4bd2a87a-2c3e-4094-8613-c23d0b23d91f" x="203" y="174" width="126" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<line>
				<reportElement uuid="4bd2a87a-2c3e-4094-8613-c23d0b23d91f" x="146" y="345" width="369" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<line>
				<reportElement uuid="4bd2a87a-2c3e-4094-8613-c23d0b23d91f" x="0" y="113" width="515" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<line>
				<reportElement uuid="4bd2a87a-2c3e-4094-8613-c23d0b23d91f" x="0" y="173" width="185" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<line>
				<reportElement uuid="4bd2a87a-2c3e-4094-8613-c23d0b23d91f" x="0" y="360" width="515" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<line>
				<reportElement uuid="4bd2a87a-2c3e-4094-8613-c23d0b23d91f" x="0" y="373" width="515" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<line>
				<reportElement uuid="4bd2a87a-2c3e-4094-8613-c23d0b23d91f" x="348" y="174" width="167" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<staticText>
				<reportElement uuid="5d99bd7b-18a8-4bb9-89b4-a93685595fc6" style="DefaultStyle" x="-3" y="129" width="515" height="14"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="10" isBold="false"/>
				</textElement>
				<text><![CDATA[Работники, осуществляющие операции по оформлению и приему сумок с наличными деньгами:]]></text>
			</staticText>
			<line>
				<reportElement uuid="4bd2a87a-2c3e-4094-8613-c23d0b23d91f" x="203" y="219" width="126" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<staticText>
				<reportElement uuid="5d99bd7b-18a8-4bb9-89b4-a93685595fc6" style="DefaultStyle" x="0" y="222" width="185" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="8" isBold="false"/>
				</textElement>
				<text><![CDATA[(наименование должности)]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="5d99bd7b-18a8-4bb9-89b4-a93685595fc6" style="DefaultStyle" x="0" y="115" width="121" height="14"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="10" isBold="false"/>
				</textElement>
				<text><![CDATA[Кроме того, получено]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="5d99bd7b-18a8-4bb9-89b4-a93685595fc6" style="DefaultStyle" x="0" y="71" width="171" height="14"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="10" isBold="false"/>
				</textElement>
				<text><![CDATA[и пересчитано денег на сумму]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="5d99bd7b-18a8-4bb9-89b4-a93685595fc6" style="DefaultStyle" x="0" y="330" width="146" height="14"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="10" isBold="false"/>
				</textElement>
				<text><![CDATA[наличные деньги в сумме]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="5d99bd7b-18a8-4bb9-89b4-a93685595fc6" style="DefaultStyle" x="0" y="0" width="82" height="14"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="10" isBold="false"/>
				</textElement>
				<text><![CDATA[Всего принято  сумок]]></text>
			</staticText>
		</band>
	</detail>
</jasperReport>
...
Рейтинг: 0 / 0
iReport
    #38679521
Фотография -=Koba=-
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Здесь только половниа первой
Вторые не добавлял + вторую страницу
...
Рейтинг: 0 / 0
6 сообщений из 6, страница 1 из 1
Форумы / Java [игнор отключен] [закрыт для гостей] / iReport
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]