powered by simpleCommunicator - 2.0.59     © 2025 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Отчетные системы [игнор отключен] [закрыт для гостей] / iReport и высота фреймов в detail
11 сообщений из 11, страница 1 из 1
iReport и высота фреймов в detail
    #37715201
asu81
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Здравствуйте. Возникла проблема с построением отчета в ireport 4.5.0.
В секции detail находятся фреймы, во фреймах поля и метки, расположены они друг над другом. Если поле null, то метка не печатается. И вот вопрос, как сделать, чтобы
изменялся размер фрейма в зависимости от содержимого поля(и видимости метки соответственно).


Код: xml
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.
390.
391.
392.
393.
394.
395.
396.
397.
398.
399.
400.
401.
402.
403.
404.
405.
406.
407.
408.
409.
410.
411.
412.
413.
414.
415.
416.
417.
418.
419.
420.
421.
422.
423.
424.
425.
426.
427.
428.
429.
430.
431.
432.
433.
434.
435.
436.
437.
438.
439.
440.
441.
442.
443.
444.
445.
446.
447.
448.
449.
450.
451.
452.
453.
454.
455.
456.
457.
458.
459.
460.
461.
462.
463.
464.
465.
466.
467.
468.
469.
470.
471.
472.
473.
474.
475.
476.
477.
478.
479.
480.
481.
482.
483.
484.
485.
486.
487.
488.
489.
490.
491.
492.
493.
494.
495.
496.
497.
498.
499.
500.
501.
502.
503.
504.
505.
506.
507.
508.
509.
510.
511.
512.
513.
514.
515.
516.
517.
518.
519.
520.
521.
522.
523.
524.
525.
526.
527.
528.
529.
530.
531.
532.
533.
534.
535.
536.
537.
538.
539.
540.
541.
542.
543.
544.
545.
546.
547.
548.
549.
550.
551.
552.
553.
554.
555.
556.
557.
558.
559.
560.
561.
562.
563.
564.
565.
566.
567.
568.
569.
570.
571.
572.
573.
574.
575.
576.
577.
578.
579.
580.
581.
582.
583.
584.
585.
586.
587.
588.
589.
590.
591.
592.
593.
594.
595.
596.
597.
598.
599.
600.
601.
602.
603.
604.
605.
606.
607.
608.
609.
610.
611.
612.
613.
614.
615.
616.
617.
618.
619.
620.
621.
622.
623.
624.
625.
626.
627.
628.
629.
630.
631.
632.
633.
634.
635.
636.
637.
638.
639.
640.
641.
642.
643.
644.
645.
646.
647.
648.
649.
650.
651.
652.
653.
654.
655.
656.
657.
658.
659.
660.
661.
662.
663.
664.
665.
666.
667.
668.
669.
670.
671.
672.
673.
674.
675.
676.
677.
678.
679.
680.
681.
682.
683.
684.
685.
686.
687.
688.
689.
690.
691.
692.
693.
694.
695.
696.
697.
698.
699.
700.
701.
702.
703.
704.
705.
706.
707.
708.
709.
710.
711.
712.
713.
714.
715.
716.
717.
718.
719.
720.
721.
722.
723.
724.
725.
726.
727.
728.
729.
730.
731.
732.
733.
734.
735.
736.
737.
738.
739.
740.
741.
742.
743.
744.
745.
746.
747.
748.
749.
750.
751.
752.
753.
754.
755.
756.
757.
758.
759.
760.
761.
762.
763.
764.
765.
766.
767.
768.
769.
770.
771.
772.
773.
774.
775.
776.
777.
778.
779.
780.
781.
782.
783.
784.
785.
786.
787.
788.
789.
790.
791.
792.
793.
794.
795.
796.
797.
798.
799.
800.
801.
802.
803.
804.
805.
806.
807.
808.
809.
810.
811.
812.
813.
814.
815.
816.
817.
818.
819.
820.
821.
822.
823.
824.
825.
826.
827.
828.
829.
830.
831.
832.
833.
834.
835.
836.
837.
838.
839.
840.
841.
842.
843.
844.
845.
846.
847.
848.
849.
850.
851.
852.
853.
854.
855.
856.
857.
858.
859.
860.
861.
862.
863.
864.
865.
866.
867.
868.
869.
870.
871.
872.
873.
874.
875.
876.
877.
878.
879.
880.
881.
882.
883.
884.
885.
886.
887.
888.
889.
890.
891.
892.
893.
894.
895.
896.
897.
898.
899.
900.
901.
902.
903.
904.
905.
906.
907.
908.
909.
910.
911.
912.
913.
914.
915.
916.
917.
918.
919.
920.
921.
922.
923.
924.
925.
926.
927.
928.
929.
930.
931.
932.
933.
934.
935.
936.
937.
938.
939.
940.
941.
942.
943.
944.
945.
946.
947.
948.
949.
950.
951.
952.
953.
954.
955.
956.
957.
958.
959.
960.
961.
962.
963.
964.
965.
966.
967.
968.
969.
970.
971.
972.
973.
974.
975.
976.
977.
978.
979.
980.
981.
982.
983.
984.
985.
986.
987.
988.
989.
990.
991.
992.
993.
994.
995.
996.
997.
998.
999.
1000.
1001.
1002.
1003.
1004.
1005.
1006.
1007.
1008.
1009.
1010.
1011.
1012.
1013.
1014.
1015.
1016.
1017.
1018.
1019.
1020.
1021.
1022.
1023.
1024.
1025.
1026.
1027.
1028.
1029.
1030.
1031.
1032.
1033.
<?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="DT_rep2" language="groovy" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
	<property name="ireport.zoom" value="1.6105100000000008"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="113"/>
	<style name="table">
		<box>
			<pen lineWidth="1.0" lineColor="#000000"/>
		</box>
	</style>
	<style name="table_TH" mode="Opaque" backcolor="#F0F8FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table_CH" mode="Opaque" backcolor="#BFE1FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table_TD" mode="Opaque" backcolor="#FFFFFF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<parameter name="DT_DATASOURCE" class="java.util.HashMap"/>
	<parameter name="dFrom" class="java.util.Date"/>
	<parameter name="dTo" class="java.util.Date"/>
	<field name="g011" class="java.lang.String"/>
	<field name="g0121" class="java.lang.String"/>
	<field name="g140" class="java.lang.String"/>
	<field name="g141" class="java.lang.String"/>
	<field name="g147" class="java.lang.String"/>
	<field name="g142" class="java.lang.String"/>
	<field name="g020" class="java.lang.String"/>
	<field name="g021" class="java.lang.String"/>
	<field name="g027" class="java.lang.String"/>
	<field name="g022" class="java.lang.String"/>
	<field name="g080" class="java.lang.String"/>
	<field name="g081" class="java.lang.String"/>
	<field name="g087" class="java.lang.String"/>
	<field name="g082" class="java.lang.String"/>
	<field name="dtNum" class="java.lang.String"/>
	<field name="dtDate" class="java.util.Date"/>
	<field name="dtTime" class="java.lang.String"/>
	<field name="tranzitD" class="java.lang.String"/>
	<field name="g05" class="java.lang.Integer"/>
	<field name="g46" class="java.math.BigDecimal"/>
	<field name="inspFio" class="java.lang.String"/>
	<field name="inspLnp" class="java.lang.String"/>
	<field name="g071" class="java.lang.String"/>
	<field name="g072" class="java.util.Date"/>
	<field name="g073" class="java.lang.String"/>
	<field name="vDate" class="java.util.Date"/>
	<field name="vTime" class="java.lang.String"/>
	<field name="rDate" class="java.util.Date"/>
	<field name="rTime" class="java.lang.String"/>
	<field name="gd0" class="java.lang.String"/>
	<field name="dtCust" class="java.lang.String"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="78" splitType="Stretch">
			<line>
				<reportElement x="522" y="29" width="151" height="1"/>
			</line>
			<staticText>
				<reportElement x="11" y="10" width="258" height="20"/>
				<textElement>
					<font fontName="Times New Roman" size="10" isBold="true" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Журнал регистрации деклараций на товары]]></text>
			</staticText>
			<line>
				<reportElement x="290" y="29" width="217" height="1"/>
			</line>
			<staticText>
				<reportElement x="331" y="30" width="122" height="20"/>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="6" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[(код таможенного органа)]]></text>
			</staticText>
			<staticText>
				<reportElement x="541" y="30" width="100" height="20"/>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="6" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[(период)]]></text>
			</staticText>
			<staticText>
				<reportElement x="507" y="16" width="15" height="15"/>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[за]]></text>
			</staticText>
			<textField pattern="dd MMMMM">
				<reportElement x="522" y="15" width="53" height="13"/>
				<textElement>
					<font fontName="Times New Roman" pdfEncoding="Cp1251"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{dFrom}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="581" y="15" width="8" height="13"/>
				<textElement textAlignment="Center"/>
				<text><![CDATA[-]]></text>
			</staticText>
			<textField pattern="dd MMMMM yyyy">
				<reportElement x="595" y="15" width="100" height="13"/>
				<textElement>
					<font fontName="Times New Roman"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{dTo}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="353" y="15" width="100" height="12"/>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{dtCust}]]></textFieldExpression>
			</textField>
		</band>
	</title>
	<pageHeader>
		<band height="24" splitType="Stretch">
			<staticText>
				<reportElement x="739" y="0" width="26" height="20"/>
				<textElement>
					<font fontName="Times New Roman"/>
				</textElement>
				<text><![CDATA[Стр.]]></text>
			</staticText>
			<textField>
				<reportElement x="765" y="0" width="37" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band height="108" splitType="Stretch">
			<staticText>
				<reportElement x="0" y="1" width="50" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement>
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[№
п/п
]]></text>
			</staticText>
			<staticText>
				<reportElement x="158" y="95" width="57" height="13" backcolor="#999999"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[4]]></text>
			</staticText>
			<staticText>
				<reportElement style="table" x="0" y="95" width="50" height="13" backcolor="#CCCCCC"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[1]]></text>
			</staticText>
			<staticText>
				<reportElement x="240" y="95" width="57" height="13" backcolor="#999999"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[6]]></text>
			</staticText>
			<staticText>
				<reportElement x="158" y="1" width="57" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Декларант (ОГРН,  ИНН, КПП (если имеются)]]></text>
			</staticText>
			<staticText>
				<reportElement x="215" y="1" width="25" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Код заявленной таможенной процедуры]]></text>
			</staticText>
			<staticText>
				<reportElement x="215" y="95" width="25" height="13" backcolor="#999999"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[5]]></text>
			</staticText>
			<staticText>
				<reportElement x="240" y="1" width="57" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Отправитель (ОГРН,  ИНН, КПП (если имеются)]]></text>
			</staticText>
			<staticText>
				<reportElement x="297" y="1" width="57" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Получатель (ОГРН,  ИНН, КПП (если имеются)]]></text>
			</staticText>
			<staticText>
				<reportElement x="354" y="1" width="43" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Общее число декларируемых товаров]]></text>
			</staticText>
			<staticText>
				<reportElement x="397" y="1" width="39" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Общая статистическая стоимость товара]]></text>
			</staticText>
			<staticText>
				<reportElement x="436" y="1" width="80" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Отметки о принятом решении: регистрация декларации на товары (регистрационный номер)/отказ в регистрации декларации на товары/отзыв декларации на товары]]></text>
			</staticText>
			<staticText>
				<reportElement x="516" y="1" width="46" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Фамилия, инициалы должностного лица таможенного органа,  принявшего решение, и номер его ЛНП]]></text>
			</staticText>
			<staticText>
				<reportElement x="562" y="1" width="46" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Дата и время принятия решения и передачи декларации на товары для проверки (возврата декларации на товары)]]></text>
			</staticText>
			<staticText>
				<reportElement x="608" y="1" width="75" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Дата и время вручения декларанту экземпляров декларации на товары, подлежащих возврату декларанту (при принятии решения о выпуске, условном выпуске)]]></text>
			</staticText>
			<staticText>
				<reportElement x="683" y="1" width="51" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="Left">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Примечание]]></text>
			</staticText>
			<staticText>
				<reportElement x="50" y="95" width="56" height="13" backcolor="#999999"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[2]]></text>
			</staticText>
			<staticText>
				<reportElement x="106" y="95" width="52" height="13" backcolor="#999999"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[3]]></text>
			</staticText>
			<staticText>
				<reportElement x="50" y="1" width="56" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8"/>
				</textElement>
				<text><![CDATA[Дата и время подачи декларации на товары и ее электронной копии]]></text>
			</staticText>
			<staticText>
				<reportElement x="106" y="1" width="52" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8"/>
				</textElement>
				<text><![CDATA[Номер транзитной декларации]]></text>
			</staticText>
			<staticText>
				<reportElement x="297" y="95" width="57" height="13" backcolor="#999999"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[7]]></text>
			</staticText>
			<staticText>
				<reportElement x="354" y="95" width="43" height="13" backcolor="#999999"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[8]]></text>
			</staticText>
			<staticText>
				<reportElement x="397" y="95" width="39" height="13" backcolor="#999999"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[9]]></text>
			</staticText>
			<staticText>
				<reportElement x="436" y="95" width="80" height="13" backcolor="#999999"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[10]]></text>
			</staticText>
			<staticText>
				<reportElement x="516" y="95" width="46" height="13" backcolor="#999999"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[11]]></text>
			</staticText>
			<staticText>
				<reportElement x="562" y="95" width="46" height="13" backcolor="#999999"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[12]]></text>
			</staticText>
			<staticText>
				<reportElement x="608" y="95" width="75" height="13" backcolor="#999999"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[13]]></text>
			</staticText>
			<staticText>
				<reportElement x="683" y="95" width="51" height="13" backcolor="#999999"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[14]]></text>
			</staticText>
		</band>
	</columnHeader>
	<detail>
		<band height="71" splitType="Stretch">
			<frame>
				<reportElement stretchType="RelativeToBandHeight" x="0" y="0" width="50" height="71"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement x="0" y="0" width="50" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{dtNum}]]></textFieldExpression>
				</textField>
			</frame>
			<frame>
				<reportElement stretchType="RelativeToTallestObject" x="158" y="0" width="57" height="71"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<staticText>
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="50" width="57" height="11">
						<printWhenExpression><![CDATA[($F{g147}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[КПП:]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="20" width="57" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g140}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="40" width="57" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g141}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="57" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g142}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="30" width="57" height="11">
						<printWhenExpression><![CDATA[($F{g141}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[ИНН:]]></text>
				</staticText>
				<textField isBlankWhenNull="true">
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="60" width="57" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g147}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="1" y="10" width="56" height="11">
						<printWhenExpression><![CDATA[($F{g140}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[ОГРН:]]></text>
				</staticText>
			</frame>
			<frame>
				<reportElement stretchType="RelativeToTallestObject" x="215" y="0" width="25" height="71"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" x="0" y="10" width="25" height="11"/>
					<textElement textAlignment="Center">
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g0121}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" x="0" y="0" width="25" height="11"/>
					<textElement textAlignment="Center">
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g011}]]></textFieldExpression>
				</textField>
			</frame>
			<frame>
				<reportElement stretchType="RelativeToTallestObject" x="106" y="0" width="52" height="71"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement x="0" y="1" width="52" height="10"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{tranzitD}]]></textFieldExpression>
				</textField>
			</frame>
			<frame>
				<reportElement stretchType="RelativeToTallestObject" x="50" y="0" width="56" height="71"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textField pattern="dd.MM.yyyy" isBlankWhenNull="true">
					<reportElement x="0" y="1" width="56" height="10"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{dtDate}]]></textFieldExpression>
				</textField>
				<textField isBlankWhenNull="true">
					<reportElement x="1" y="10" width="53" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{dtTime}]]></textFieldExpression>
				</textField>
			</frame>
			<frame>
				<reportElement stretchType="RelativeToBandHeight" x="354" y="0" width="43" height="71"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement x="0" y="1" width="43" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g05}]]></textFieldExpression>
				</textField>
			</frame>
			<frame>
				<reportElement stretchType="RelativeToTallestObject" x="397" y="0" width="39" height="71"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement x="0" y="1" width="39" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g46}]]></textFieldExpression>
				</textField>
			</frame>
			<frame>
				<reportElement stretchType="RelativeToTallestObject" x="436" y="0" width="80" height="71"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement x="0" y="1" width="40" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g071} + "/"]]></textFieldExpression>
				</textField>
				<textField pattern="ddMMyy/" isBlankWhenNull="true">
					<reportElement x="40" y="1" width="34" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g072}]]></textFieldExpression>
				</textField>
				<textField isBlankWhenNull="true">
					<reportElement x="1" y="12" width="56" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g073}]]></textFieldExpression>
				</textField>
			</frame>
			<frame>
				<reportElement stretchType="RelativeToTallestObject" x="516" y="0" width="46" height="71"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement x="1" y="0" width="45" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{inspFio}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="21" y="11" width="25" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{inspLnp}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="1" y="11" width="20" height="11">
						<printWhenExpression><![CDATA[($F{inspLnp}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[ЛНП:]]></text>
				</staticText>
			</frame>
			<frame>
				<reportElement stretchType="RelativeToTallestObject" x="562" y="0" width="46" height="71"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textField pattern="dd.MM.yyyy" isBlankWhenNull="true">
					<reportElement x="0" y="0" width="46" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{rDate}]]></textFieldExpression>
				</textField>
				<textField isBlankWhenNull="true">
					<reportElement x="0" y="11" width="46" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{rTime}]]></textFieldExpression>
				</textField>
			</frame>
			<frame>
				<reportElement stretchType="RelativeToTallestObject" x="683" y="0" width="51" height="71"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement x="0" y="1" width="51" height="10"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{gd0}]]></textFieldExpression>
				</textField>
			</frame>
			<frame>
				<reportElement stretchType="RelativeToBandHeight" x="240" y="0" width="57" height="71"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<staticText>
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="30" width="57" height="11">
						<printWhenExpression><![CDATA[($F{g021}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[ИНН:]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement stretchType="RelativeToTallestObject" x="0" y="1" width="57" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g022}]]></textFieldExpression>
				</textField>
				<textField isBlankWhenNull="true">
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="60" width="57" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g027}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="1" y="12" width="56" height="11">
						<printWhenExpression><![CDATA[($F{g020}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[ОГРН:]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="40" width="57" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g021}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="20" width="57" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g020}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="50" width="57" height="11">
						<printWhenExpression><![CDATA[($F{g027}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[КПП:]]></text>
				</staticText>
			</frame>
			<frame>
				<reportElement stretchType="RelativeToTallestObject" x="297" y="0" width="57" height="71"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="20" width="57" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g080}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="30" width="57" height="11">
						<printWhenExpression><![CDATA[($F{g081}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[ИНН:]]></text>
				</staticText>
				<staticText>
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="50" width="57" height="11">
						<printWhenExpression><![CDATA[($F{g087}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[КПП:]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="40" width="57" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g081}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="57" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g082}]]></textFieldExpression>
				</textField>
				<textField isBlankWhenNull="true">
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="60" width="57" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g087}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="10" width="57" height="11">
						<printWhenExpression><![CDATA[($F{g080}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[ОГРН:]]></text>
				</staticText>
			</frame>
			<frame>
				<reportElement stretchType="RelativeToTallestObject" x="608" y="0" width="75" height="71"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textField isBlankWhenNull="true">
					<reportElement x="0" y="12" width="69" height="13"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{vTime}]]></textFieldExpression>
				</textField>
				<textField pattern="dd.MM.yyyy" isBlankWhenNull="true">
					<reportElement x="0" y="1" width="69" height="12"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{vDate}]]></textFieldExpression>
				</textField>
			</frame>
		</band>
	</detail>
	<columnFooter>
		<band height="45" splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band height="73" splitType="Stretch">
			<frame>
				<reportElement stretchType="RelativeToTallestObject" x="3" y="1" width="52" height="13"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
			</frame>
			<textField isStretchWithOverflow="true" pattern="dd MMMMM yyyy">
				<reportElement stretchType="RelativeToBandHeight" x="3" y="1" width="52" height="53"/>
				<textElement>
					<font fontName="Times New Roman"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{dTo}]]></textFieldExpression>
			</textField>
			<frame>
				<reportElement stretchType="RelativeToTallestObject" x="55" y="0" width="57" height="73"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<staticText>
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="50" width="57" height="11">
						<printWhenExpression><![CDATA[($F{g147}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[КПП:]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="20" width="57" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g140}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="40" width="57" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g141}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="57" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g142}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="30" width="57" height="11">
						<printWhenExpression><![CDATA[($F{g141}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[ИНН:]]></text>
				</staticText>
				<textField isBlankWhenNull="true">
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="60" width="57" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g147}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="1" y="10" width="56" height="11">
						<printWhenExpression><![CDATA[($F{g140}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[ОГРН:]]></text>
				</staticText>
			</frame>
		</band>
	</pageFooter>
	<summary>
		<band height="42" splitType="Stretch">
			<frame>
				<reportElement stretchType="RelativeToBandHeight" x="128" y="12" width="68" height="17"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textField isStretchWithOverflow="true" pattern="dd MMMMM yyyy">
					<reportElement x="0" y="0" width="36" height="13" isPrintWhenDetailOverflows="true"/>
					<textElement>
						<font fontName="Times New Roman"/>
					</textElement>
					<textFieldExpression><![CDATA[$P{dTo}]]></textFieldExpression>
				</textField>
			</frame>
		</band>
	</summary>
</jasperReport>


...
Рейтинг: 0 / 0
iReport и высота фреймов в detail
    #37715413
sanBez
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
asu81,

Попробуй у полей и меток выставить checkbox "Remove line when blank".
...
Рейтинг: 0 / 0
iReport и высота фреймов в detail
    #37716102
sanBez
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
sanBez,

Наверно я ерунду посоветовал. Например в варианте когда в четвертом столбце заполнен ИНН, а в 6-ом не заполнен. При этом подходе пустая строка строка всего не будет удалена. Хотя конечно проверить бы надо.

Опять таки вопрос "красоты" форматирования. Сейчас в отчете в столбцах 4 и 7 строки ИНН и КПП отображаются "на одном уровне".
А если в 7-мом ужмется ИНН, то будет:

4 7
ИНН КПП
КПП

Это корректное отображение? Не очень хорошо сдвигается. И рамки даже если ужмутся, нижняя граница будет на разной высоте.
Что-то мне кажется некрасиво будет.
Лично я бы попробовал сделать так:
1. Убить все фреймы
2. Сделать один фрейм на весь detail, в него запихнуть все поля.
3. Столбцы 4,6,7 и аналогичную часть в PageFooter оформил бы как вызов subreport c параметрами (4 поля в main Report = 4 параметра в subreport). И соответственно 4 раза вызывал бы один subreport c разными параметрами. Там использовать "Remove line when blank" - пустые строки должны уйти.
В этом случае вертикалные разделители между столбцами наверно лучше сделать растягивающимися line.
Но это много лопатить надо, считай все переделывать
...
Рейтинг: 0 / 0
iReport и высота фреймов в detail
    #37716157
asu81
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
sanBez,

Спасибо, похоже начинает получаться.
...
Рейтинг: 0 / 0
iReport и высота фреймов в detail
    #37716171
asu81
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
sanBez,

Допускается чтобы в разных столбцах ОГРН, ИНН и КПП были на разных уровнях.
Попробую поместить все поля в один фрейм, чтобы нижняя граница была везде одинакова.
...
Рейтинг: 0 / 0
iReport и высота фреймов в detail
    #37717660
asu81
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
asu81,

Теперь возникла другая проблема. Если, например, g147 не заполнено, и соотв. произошло удаление строки (из-за чего уменьшился размер фрейма) - то получается разрым между строками в detail
xml
Код: xml
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.
390.
391.
392.
393.
394.
395.
396.
397.
398.
399.
400.
401.
402.
403.
404.
405.
406.
407.
408.
409.
410.
411.
412.
413.
414.
415.
416.
417.
418.
419.
420.
421.
422.
423.
424.
425.
426.
427.
428.
429.
430.
431.
432.
433.
434.
435.
436.
437.
438.
439.
440.
441.
442.
443.
444.
445.
446.
447.
448.
449.
450.
451.
452.
453.
454.
455.
456.
457.
458.
459.
460.
461.
462.
463.
464.
465.
466.
467.
468.
469.
470.
471.
472.
473.
474.
475.
476.
477.
478.
479.
480.
481.
482.
483.
484.
485.
486.
487.
488.
489.
490.
491.
492.
493.
494.
495.
496.
497.
498.
499.
500.
501.
502.
503.
504.
505.
506.
507.
508.
509.
510.
511.
512.
513.
514.
515.
516.
517.
518.
519.
520.
521.
522.
523.
524.
525.
526.
527.
528.
529.
530.
531.
532.
533.
534.
535.
536.
537.
538.
539.
540.
541.
542.
543.
544.
545.
546.
547.
548.
549.
550.
551.
552.
553.
554.
555.
556.
557.
558.
559.
560.
561.
562.
563.
564.
565.
566.
567.
568.
569.
570.
571.
572.
573.
574.
575.
576.
577.
578.
579.
580.
581.
582.
583.
584.
585.
586.
587.
588.
589.
590.
591.
592.
593.
594.
595.
596.
597.
598.
599.
600.
601.
602.
603.
604.
605.
606.
607.
608.
609.
610.
611.
612.
613.
614.
615.
616.
617.
618.
619.
620.
621.
622.
623.
624.
625.
626.
627.
628.
629.
630.
631.
632.
633.
634.
635.
636.
637.
638.
639.
640.
641.
642.
643.
644.
645.
646.
647.
648.
649.
650.
651.
652.
653.
654.
655.
656.
657.
658.
659.
660.
661.
662.
663.
664.
665.
666.
667.
668.
669.
670.
671.
672.
673.
674.
675.
676.
677.
678.
679.
680.
681.
682.
683.
684.
685.
686.
687.
688.
689.
690.
691.
692.
693.
694.
695.
696.
697.
698.
699.
700.
701.
702.
703.
704.
705.
706.
707.
708.
709.
710.
711.
712.
713.
714.
715.
716.
717.
718.
719.
720.
721.
722.
723.
724.
725.
726.
727.
728.
729.
730.
731.
732.
733.
734.
735.
736.
737.
738.
739.
740.
741.
742.
743.
744.
745.
746.
747.
748.
749.
750.
751.
752.
753.
754.
755.
756.
757.
758.
759.
760.
761.
762.
763.
764.
765.
766.
767.
768.
769.
770.
771.
772.
773.
774.
775.
776.
777.
778.
779.
780.
781.
782.
783.
784.
785.
786.
787.
788.
789.
790.
791.
792.
793.
794.
795.
796.
797.
798.
799.
800.
801.
802.
803.
804.
805.
806.
807.
808.
809.
810.
811.
812.
813.
814.
815.
816.
817.
818.
819.
820.
821.
822.
823.
824.
825.
826.
827.
<?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="DT_rep2" language="groovy" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="15" bottomMargin="10">
	<property name="ireport.zoom" value="1.6105100000000008"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="48"/>
	<style name="table">
		<box>
			<pen lineWidth="1.0" lineColor="#000000"/>
		</box>
	</style>
	<style name="table_TH" mode="Opaque" backcolor="#F0F8FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table_CH" mode="Opaque" backcolor="#BFE1FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table_TD" mode="Opaque" backcolor="#FFFFFF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<parameter name="DT_DATASOURCE" class="java.util.HashMap"/>
	<parameter name="dFrom" class="java.util.Date"/>
	<parameter name="dTo" class="java.util.Date"/>
	<field name="g011" class="java.lang.String"/>
	<field name="g0121" class="java.lang.String"/>
	<field name="g140" class="java.lang.String"/>
	<field name="g141" class="java.lang.String"/>
	<field name="g147" class="java.lang.String"/>
	<field name="g142" class="java.lang.String"/>
	<field name="g020" class="java.lang.String"/>
	<field name="g021" class="java.lang.String"/>
	<field name="g027" class="java.lang.String"/>
	<field name="g022" class="java.lang.String"/>
	<field name="g080" class="java.lang.String"/>
	<field name="g081" class="java.lang.String"/>
	<field name="g087" class="java.lang.String"/>
	<field name="g082" class="java.lang.String"/>
	<field name="dtNum" class="java.lang.String"/>
	<field name="dtDate" class="java.util.Date"/>
	<field name="dtTime" class="java.lang.String"/>
	<field name="tranzitD" class="java.lang.String"/>
	<field name="g05" class="java.lang.Integer"/>
	<field name="g46" class="java.math.BigDecimal"/>
	<field name="inspFio" class="java.lang.String"/>
	<field name="inspLnp" class="java.lang.String"/>
	<field name="g071" class="java.lang.String"/>
	<field name="g072" class="java.util.Date"/>
	<field name="g073" class="java.lang.String"/>
	<field name="vDate" class="java.util.Date"/>
	<field name="vTime" class="java.lang.String"/>
	<field name="rDate" class="java.util.Date"/>
	<field name="rTime" class="java.lang.String"/>
	<field name="gd0" class="java.lang.String"/>
	<field name="dtCust" class="java.lang.String"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="60" splitType="Stretch">
			<line>
				<reportElement x="522" y="29" width="151" height="1"/>
			</line>
			<staticText>
				<reportElement x="11" y="10" width="258" height="20"/>
				<textElement>
					<font fontName="Times New Roman" size="10" isBold="true" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Журнал регистрации деклараций на товары]]></text>
			</staticText>
			<line>
				<reportElement x="290" y="29" width="217" height="1"/>
			</line>
			<staticText>
				<reportElement x="331" y="30" width="122" height="20"/>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="6" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[(код таможенного органа)]]></text>
			</staticText>
			<staticText>
				<reportElement x="541" y="30" width="100" height="20"/>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="6" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[(период)]]></text>
			</staticText>
			<staticText>
				<reportElement x="507" y="16" width="15" height="15"/>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[за]]></text>
			</staticText>
			<textField pattern="dd MMMMM">
				<reportElement x="522" y="15" width="53" height="13"/>
				<textElement>
					<font fontName="Times New Roman" pdfEncoding="Cp1251"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{dFrom}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="581" y="15" width="8" height="13"/>
				<textElement textAlignment="Center"/>
				<text><![CDATA[-]]></text>
			</staticText>
			<textField pattern="dd MMMMM yyyy">
				<reportElement x="595" y="15" width="100" height="13"/>
				<textElement>
					<font fontName="Times New Roman"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{dTo}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="353" y="15" width="100" height="12"/>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{dtCust}]]></textFieldExpression>
			</textField>
		</band>
	</title>
	<pageHeader>
		<band height="24" splitType="Stretch">
			<staticText>
				<reportElement x="739" y="0" width="26" height="20"/>
				<textElement>
					<font fontName="Times New Roman"/>
				</textElement>
				<text><![CDATA[Стр.]]></text>
			</staticText>
			<textField>
				<reportElement x="765" y="0" width="37" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band height="108" splitType="Stretch">
			<staticText>
				<reportElement x="0" y="1" width="50" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement>
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[№
п/п
]]></text>
			</staticText>
			<staticText>
				<reportElement x="158" y="95" width="57" height="13" backcolor="#999999"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[4]]></text>
			</staticText>
			<staticText>
				<reportElement style="table" x="0" y="95" width="50" height="13" backcolor="#CCCCCC"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[1]]></text>
			</staticText>
			<staticText>
				<reportElement x="240" y="95" width="57" height="13" backcolor="#999999"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[6]]></text>
			</staticText>
			<staticText>
				<reportElement x="158" y="1" width="57" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Декларант (ОГРН,  ИНН, КПП (если имеются)]]></text>
			</staticText>
			<staticText>
				<reportElement x="215" y="1" width="25" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Код заявленной таможенной процедуры]]></text>
			</staticText>
			<staticText>
				<reportElement x="215" y="95" width="25" height="13" backcolor="#999999"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[5]]></text>
			</staticText>
			<staticText>
				<reportElement x="240" y="1" width="57" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Отправитель (ОГРН,  ИНН, КПП (если имеются)]]></text>
			</staticText>
			<staticText>
				<reportElement x="297" y="1" width="57" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Получатель (ОГРН,  ИНН, КПП (если имеются)]]></text>
			</staticText>
			<staticText>
				<reportElement x="354" y="1" width="43" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Общее число декларируемых товаров]]></text>
			</staticText>
			<staticText>
				<reportElement x="397" y="1" width="39" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Общая статистическая стоимость товара]]></text>
			</staticText>
			<staticText>
				<reportElement x="436" y="1" width="80" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Отметки о принятом решении: регистрация декларации на товары (регистрационный номер)/отказ в регистрации декларации на товары/отзыв декларации на товары]]></text>
			</staticText>
			<staticText>
				<reportElement x="516" y="1" width="46" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Фамилия, инициалы должностного лица таможенного органа,  принявшего решение, и номер его ЛНП]]></text>
			</staticText>
			<staticText>
				<reportElement x="562" y="1" width="46" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Дата и время принятия решения и передачи декларации на товары для проверки (возврата декларации на товары)]]></text>
			</staticText>
			<staticText>
				<reportElement x="608" y="1" width="75" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Дата и время вручения декларанту экземпляров декларации на товары, подлежащих возврату декларанту (при принятии решения о выпуске, условном выпуске)]]></text>
			</staticText>
			<staticText>
				<reportElement x="683" y="1" width="51" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="Left">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Примечание]]></text>
			</staticText>
			<staticText>
				<reportElement x="50" y="95" width="56" height="13" backcolor="#999999"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[2]]></text>
			</staticText>
			<staticText>
				<reportElement x="106" y="95" width="52" height="13" backcolor="#999999"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[3]]></text>
			</staticText>
			<staticText>
				<reportElement x="50" y="1" width="56" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8"/>
				</textElement>
				<text><![CDATA[Дата и время подачи декларации на товары и ее электронной копии]]></text>
			</staticText>
			<staticText>
				<reportElement x="106" y="1" width="52" height="94"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8"/>
				</textElement>
				<text><![CDATA[Номер транзитной декларации]]></text>
			</staticText>
			<staticText>
				<reportElement x="297" y="95" width="57" height="13" backcolor="#999999"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[7]]></text>
			</staticText>
			<staticText>
				<reportElement x="354" y="95" width="43" height="13" backcolor="#999999"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[8]]></text>
			</staticText>
			<staticText>
				<reportElement x="397" y="95" width="39" height="13" backcolor="#999999"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[9]]></text>
			</staticText>
			<staticText>
				<reportElement x="436" y="95" width="80" height="13" backcolor="#999999"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[10]]></text>
			</staticText>
			<staticText>
				<reportElement x="516" y="95" width="46" height="13" backcolor="#999999"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[11]]></text>
			</staticText>
			<staticText>
				<reportElement x="562" y="95" width="46" height="13" backcolor="#999999"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[12]]></text>
			</staticText>
			<staticText>
				<reportElement x="608" y="95" width="75" height="13" backcolor="#999999"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[13]]></text>
			</staticText>
			<staticText>
				<reportElement x="683" y="95" width="51" height="13" backcolor="#999999"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[14]]></text>
			</staticText>
		</band>
	</columnHeader>
	<detail>
		<band height="74" splitType="Stretch">
			<frame>
				<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="0" width="734" height="74" isRemoveLineWhenBlank="true"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<staticText>
					<reportElement positionType="Float" x="157" y="53" width="57" height="11" isRemoveLineWhenBlank="true" isPrintInFirstWholeBand="true" isPrintWhenDetailOverflows="true">
						<printWhenExpression><![CDATA[($F{g147}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[КПП:]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" x="157" y="22" width="57" height="11" isRemoveLineWhenBlank="true" isPrintInFirstWholeBand="true" isPrintWhenDetailOverflows="true"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g140}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" x="157" y="42" width="57" height="11" isRemoveLineWhenBlank="true" isPrintInFirstWholeBand="true" isPrintWhenDetailOverflows="true">
						<printWhenExpression><![CDATA[($F{g141}!= null)]]></printWhenExpression>
					</reportElement>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g141}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement x="157" y="0" width="57" height="11" isRemoveLineWhenBlank="true"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g142}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement positionType="Float" x="157" y="32" width="57" height="11" isRemoveLineWhenBlank="true">
						<printWhenExpression><![CDATA[($F{g141}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[ИНН:]]></text>
				</staticText>
				<textField isBlankWhenNull="true">
					<reportElement positionType="Float" x="157" y="63" width="57" height="11" isRemoveLineWhenBlank="true" isPrintInFirstWholeBand="true" isPrintWhenDetailOverflows="true"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g147}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement positionType="Float" x="158" y="11" width="56" height="11" isRemoveLineWhenBlank="true">
						<printWhenExpression><![CDATA[($F{g140}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[ОГРН:]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" x="214" y="10" width="25" height="11"/>
					<textElement textAlignment="Center">
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g0121}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" x="214" y="0" width="25" height="11"/>
					<textElement textAlignment="Center">
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g011}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement x="105" y="1" width="52" height="10"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{tranzitD}]]></textFieldExpression>
				</textField>
				<textField pattern="dd.MM.yyyy" isBlankWhenNull="true">
					<reportElement x="49" y="1" width="56" height="10"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{dtDate}]]></textFieldExpression>
				</textField>
				<textField isBlankWhenNull="true">
					<reportElement x="50" y="10" width="53" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{dtTime}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement x="353" y="1" width="43" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g05}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement x="396" y="1" width="39" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g46}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement x="435" y="1" width="40" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g071} + "/"]]></textFieldExpression>
				</textField>
				<textField pattern="ddMMyy/" isBlankWhenNull="true">
					<reportElement x="475" y="1" width="34" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g072}]]></textFieldExpression>
				</textField>
				<textField isBlankWhenNull="true">
					<reportElement x="436" y="12" width="56" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g073}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement x="516" y="0" width="45" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{inspFio}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="536" y="11" width="25" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{inspLnp}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="516" y="11" width="20" height="11">
						<printWhenExpression><![CDATA[($F{inspLnp}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[ЛНП:]]></text>
				</staticText>
				<textField pattern="dd.MM.yyyy" isBlankWhenNull="true">
					<reportElement x="561" y="0" width="46" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{rDate}]]></textFieldExpression>
				</textField>
				<textField isBlankWhenNull="true">
					<reportElement x="561" y="11" width="46" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{rTime}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement x="682" y="1" width="51" height="10"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{gd0}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement positionType="Float" x="239" y="32" width="57" height="11" isRemoveLineWhenBlank="true" isPrintInFirstWholeBand="true" isPrintWhenDetailOverflows="true">
						<printWhenExpression><![CDATA[($F{g021}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[ИНН:]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" x="239" y="1" width="57" height="11" isRemoveLineWhenBlank="true"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g022}]]></textFieldExpression>
				</textField>
				<textField isBlankWhenNull="true">
					<reportElement positionType="Float" x="239" y="62" width="57" height="11" isRemoveLineWhenBlank="true" isPrintInFirstWholeBand="true" isPrintWhenDetailOverflows="true"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g027}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement positionType="Float" x="240" y="13" width="56" height="11" isRemoveLineWhenBlank="true">
						<printWhenExpression><![CDATA[($F{g020}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[ОГРН:]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" x="239" y="42" width="57" height="11" isRemoveLineWhenBlank="true" isPrintInFirstWholeBand="true" isPrintWhenDetailOverflows="true"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g021}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" x="239" y="22" width="57" height="11" isRemoveLineWhenBlank="true" isPrintInFirstWholeBand="true" isPrintWhenDetailOverflows="true"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g020}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement positionType="Float" x="239" y="52" width="57" height="11" isRemoveLineWhenBlank="true" isPrintInFirstWholeBand="true" isPrintWhenDetailOverflows="true">
						<printWhenExpression><![CDATA[($F{g027}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[КПП:]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" x="296" y="1" width="57" height="11" isRemoveLineWhenBlank="true"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g082}]]></textFieldExpression>
				</textField>
				<textField isBlankWhenNull="true">
					<reportElement x="607" y="12" width="69" height="13"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{vTime}]]></textFieldExpression>
				</textField>
				<textField pattern="dd.MM.yyyy" isBlankWhenNull="true">
					<reportElement x="607" y="1" width="69" height="12"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{vDate}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement x="0" y="2" width="49" height="11"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{dtNum}]]></textFieldExpression>
				</textField>
				<line>
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="683" y="2" width="1" height="68"/>
				</line>
				<staticText>
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="296" y="13" width="57" height="11">
						<printWhenExpression><![CDATA[($F{g080}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[ОГРН:]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" x="296" y="22" width="57" height="11" isRemoveLineWhenBlank="true"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g080}]]></textFieldExpression>
				</textField>
			</frame>
		</band>
	</detail>
	<pageFooter>
		<band height="73" splitType="Stretch"/>
	</pageFooter>
	<summary>
		<band height="81" splitType="Stretch">
			<frame>
				<reportElement stretchType="RelativeToBandHeight" x="251" y="6" width="57" height="74" isRemoveLineWhenBlank="true"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<staticText>
					<reportElement positionType="Float" x="0" y="25" width="57" height="11" isRemoveLineWhenBlank="true">
						<printWhenExpression><![CDATA[($F{g081}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[ИНН:]]></text>
				</staticText>
				<staticText>
					<reportElement positionType="Float" x="0" y="48" width="57" height="11" isRemoveLineWhenBlank="true">
						<printWhenExpression><![CDATA[($F{g087}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[КПП:]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" x="0" y="36" width="57" height="11" isRemoveLineWhenBlank="true"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g081}]]></textFieldExpression>
				</textField>
				<textField isBlankWhenNull="true">
					<reportElement positionType="Float" x="0" y="59" width="57" height="11" isRemoveLineWhenBlank="true"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g087}]]></textFieldExpression>
				</textField>
			</frame>
		</band>
	</summary>
</jasperReport>


...
Рейтинг: 0 / 0
iReport и высота фреймов в detail
    #37718145
sanBez
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
asu81,

А почему пустое расстояние между двумя detail-блоками разное?
Кажется frame плавает. Поставь ему Position Type = "Top". (Возможно еще надо выставить для нее Stretch Type="Relative to band height", но тут не уверен)

Еще замечание: какие-то поля имеют высоту 10 (метка КПП), в основном = 11. Приведи к одному значению, будет проще жить.
И выровняй их (у некоторых например в первой строке Top=0, у некоторых Top=1).
Можно использовать в iReport Window/Formatting Tools.
Выровнять лучше все, иначе можно замумукаться искать откуда появились пустые строки.

Вообще проблема пустых строк в jasper иногда отъедает много времени. И причины могут быть разные.
Напиши потом как победил
...
Рейтинг: 0 / 0
iReport и высота фреймов в detail
    #37718286
asu81
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
sanBez,
Проблему с промежутками между строками решил установкой свойства Stretch type у фрейма в RelativeToBandHeight.
Теперь всплыла следующая проблемка из-за линии не уменьшается высота фрейма при срабатывании Remove balnk when null.
...
Рейтинг: 0 / 0
iReport и высота фреймов в detail
    #37718356
sanBez
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
asu81,

С пустыми строками повезло :) , простой случай. Я Relative To Band Height на автомате ставлю, но у меня отчеты чуть другие.
Практически всегда запись в одну строку.
С линиями не работал. Попробуй аналогично: Top=0, Height=11, PositionType=Top, Stretch="Relative To Band Height".
...
Рейтинг: 0 / 0
iReport и высота фреймов в detail
    #37729314
asu81
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
sanBez,

Похоже, что я погорячился насчет работает.. При определенных данных все повторяется.
Если, к примеру G147 пусто и метка кпп становится пустой (т.к. для метки условие печати ($F{g147}!= null)), то фрейм уменьшается, и почему-то проявляется разрыв между строками.
Как это побороть - х.з....


Код: xml
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.
390.
391.
392.
393.
394.
395.
396.
397.
398.
399.
400.
401.
402.
403.
404.
405.
406.
407.
408.
409.
410.
411.
412.
413.
414.
415.
416.
417.
418.
419.
420.
421.
422.
423.
424.
425.
426.
427.
428.
429.
430.
431.
432.
433.
434.
435.
436.
437.
438.
439.
440.
441.
442.
443.
444.
445.
446.
447.
448.
449.
450.
451.
452.
453.
454.
455.
456.
457.
458.
459.
460.
461.
462.
463.
464.
465.
466.
467.
468.
469.
470.
471.
472.
473.
474.
475.
476.
477.
478.
479.
480.
481.
482.
483.
484.
485.
486.
487.
488.
489.
490.
491.
492.
493.
494.
495.
496.
497.
498.
499.
500.
501.
502.
503.
504.
505.
506.
507.
508.
509.
510.
511.
512.
513.
514.
515.
516.
517.
518.
519.
520.
521.
522.
523.
524.
525.
526.
527.
528.
529.
530.
531.
532.
533.
534.
535.
536.
537.
538.
539.
540.
541.
542.
543.
544.
545.
546.
547.
548.
549.
550.
551.
552.
553.
554.
555.
556.
557.
558.
559.
560.
561.
562.
563.
564.
565.
566.
567.
568.
569.
570.
571.
572.
573.
574.
575.
576.
577.
578.
579.
580.
581.
582.
583.
584.
585.
586.
587.
588.
589.
590.
591.
592.
593.
594.
595.
596.
597.
598.
599.
600.
601.
602.
603.
604.
605.
606.
607.
608.
609.
610.
611.
612.
613.
614.
615.
616.
617.
618.
619.
620.
621.
622.
623.
624.
625.
626.
627.
628.
629.
630.
631.
632.
633.
634.
635.
636.
637.
638.
639.
640.
641.
642.
643.
644.
645.
646.
647.
648.
649.
650.
651.
652.
653.
654.
655.
656.
657.
658.
659.
660.
661.
662.
663.
664.
665.
666.
667.
668.
669.
670.
671.
672.
673.
674.
675.
676.
677.
678.
679.
680.
681.
682.
683.
684.
685.
686.
687.
688.
689.
690.
691.
692.
693.
694.
695.
696.
697.
698.
699.
700.
701.
702.
703.
704.
705.
706.
707.
708.
709.
710.
711.
712.
713.
714.
715.
716.
717.
718.
719.
720.
721.
722.
723.
724.
725.
726.
727.
728.
729.
730.
731.
732.
733.
734.
735.
736.
737.
738.
739.
740.
741.
742.
743.
744.
<?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="DT_rep2" language="groovy" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="15" bottomMargin="10">
	<property name="ireport.zoom" value="1.6105100000000008"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="134"/>
	<style name="table">
		<box>
			<pen lineWidth="1.0" lineColor="#000000"/>
		</box>
	</style>
	<style name="table_TH" mode="Opaque" backcolor="#F0F8FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table_CH" mode="Opaque" backcolor="#BFE1FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table_TD" mode="Opaque" backcolor="#FFFFFF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<parameter name="DT_DATASOURCE" class="java.util.HashMap"/>
	<parameter name="dFrom" class="java.util.Date"/>
	<parameter name="dTo" class="java.util.Date"/>
	<field name="g011" class="java.lang.String"/>
	<field name="g0121" class="java.lang.String"/>
	<field name="g140" class="java.lang.String"/>
	<field name="g141" class="java.lang.String"/>
	<field name="g147" class="java.lang.String"/>
	<field name="g142" class="java.lang.String"/>
	<field name="g020" class="java.lang.String"/>
	<field name="g021" class="java.lang.String"/>
	<field name="g027" class="java.lang.String"/>
	<field name="g022" class="java.lang.String"/>
	<field name="g080" class="java.lang.String"/>
	<field name="g081" class="java.lang.String"/>
	<field name="g087" class="java.lang.String"/>
	<field name="g082" class="java.lang.String"/>
	<field name="dtNum" class="java.lang.String"/>
	<field name="dtDate" class="java.util.Date"/>
	<field name="dtTime" class="java.lang.String"/>
	<field name="tranzitD" class="java.lang.String"/>
	<field name="g05" class="java.lang.Integer"/>
	<field name="g46" class="java.math.BigDecimal"/>
	<field name="inspFio" class="java.lang.String"/>
	<field name="inspLnp" class="java.lang.String"/>
	<field name="g071" class="java.lang.String"/>
	<field name="g072" class="java.util.Date"/>
	<field name="g073" class="java.lang.String"/>
	<field name="vDate" class="java.util.Date"/>
	<field name="vTime" class="java.lang.String"/>
	<field name="rDate" class="java.util.Date"/>
	<field name="rTime" class="java.lang.String"/>
	<field name="gd0" class="java.lang.String"/>
	<field name="dtCust" class="java.lang.String"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="60" splitType="Stretch">
			<line>
				<reportElement x="522" y="29" width="151" height="1"/>
			</line>
			<staticText>
				<reportElement x="11" y="10" width="258" height="20"/>
				<textElement>
					<font fontName="Times New Roman" size="10" isBold="true" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Журнал регистрации деклараций на товары]]></text>
			</staticText>
			<line>
				<reportElement x="290" y="29" width="217" height="1"/>
			</line>
			<staticText>
				<reportElement x="331" y="30" width="122" height="20"/>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="6" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[(код таможенного органа)]]></text>
			</staticText>
			<staticText>
				<reportElement x="541" y="30" width="100" height="20"/>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="6" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[(период)]]></text>
			</staticText>
			<staticText>
				<reportElement x="507" y="16" width="15" height="15"/>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[за]]></text>
			</staticText>
			<textField pattern="dd MMMMM">
				<reportElement x="522" y="15" width="53" height="13"/>
				<textElement>
					<font fontName="Times New Roman" pdfEncoding="Cp1251"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{dFrom}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="581" y="15" width="8" height="13"/>
				<textElement textAlignment="Center"/>
				<text><![CDATA[-]]></text>
			</staticText>
			<textField pattern="dd MMMMM yyyy">
				<reportElement x="595" y="15" width="100" height="13"/>
				<textElement>
					<font fontName="Times New Roman"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{dTo}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="353" y="15" width="100" height="12"/>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{dtCust}]]></textFieldExpression>
			</textField>
		</band>
	</title>
	<pageHeader>
		<band height="24" splitType="Stretch">
			<staticText>
				<reportElement x="739" y="0" width="26" height="20"/>
				<textElement>
					<font fontName="Times New Roman"/>
				</textElement>
				<text><![CDATA[Стр.]]></text>
			</staticText>
			<textField>
				<reportElement x="765" y="0" width="37" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band height="108" splitType="Stretch">
			<staticText>
				<reportElement x="0" y="1" width="50" height="94"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement>
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[№
п/п
]]></text>
			</staticText>
			<staticText>
				<reportElement x="158" y="95" width="57" height="13" backcolor="#999999"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[4]]></text>
			</staticText>
			<staticText>
				<reportElement style="table" x="0" y="95" width="50" height="13" backcolor="#CCCCCC"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[1]]></text>
			</staticText>
			<staticText>
				<reportElement x="240" y="95" width="57" height="13" backcolor="#999999"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[6]]></text>
			</staticText>
			<staticText>
				<reportElement x="158" y="1" width="57" height="94"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Декларант (ОГРН,  ИНН, КПП (если имеются)]]></text>
			</staticText>
			<staticText>
				<reportElement x="215" y="1" width="25" height="94"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Код заявленной таможенной процедуры]]></text>
			</staticText>
			<staticText>
				<reportElement x="215" y="95" width="25" height="13" backcolor="#999999"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[5]]></text>
			</staticText>
			<staticText>
				<reportElement x="240" y="1" width="57" height="94"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Отправитель (ОГРН,  ИНН, КПП (если имеются)]]></text>
			</staticText>
			<staticText>
				<reportElement x="297" y="1" width="57" height="94"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Получатель (ОГРН,  ИНН, КПП (если имеются)]]></text>
			</staticText>
			<staticText>
				<reportElement x="354" y="1" width="43" height="94"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Общее число декларируемых товаров]]></text>
			</staticText>
			<staticText>
				<reportElement x="397" y="1" width="39" height="94"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Общая статистическая стоимость товара]]></text>
			</staticText>
			<staticText>
				<reportElement x="436" y="1" width="80" height="94"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Отметки о принятом решении: регистрация декларации на товары (регистрационный номер)/отказ в регистрации декларации на товары/отзыв декларации на товары]]></text>
			</staticText>
			<staticText>
				<reportElement x="516" y="1" width="46" height="94"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Фамилия, инициалы должностного лица таможенного органа,  принявшего решение, и номер его ЛНП]]></text>
			</staticText>
			<staticText>
				<reportElement x="562" y="1" width="46" height="94"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Дата и время принятия решения и передачи декларации на товары для проверки (возврата декларации на товары)]]></text>
			</staticText>
			<staticText>
				<reportElement x="608" y="1" width="75" height="94"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Дата и время вручения декларанту экземпляров декларации на товары, подлежащих возврату декларанту (при принятии решения о выпуске, условном выпуске)]]></text>
			</staticText>
			<staticText>
				<reportElement x="683" y="1" width="51" height="94"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="Left">
					<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
				</textElement>
				<text><![CDATA[Примечание]]></text>
			</staticText>
			<staticText>
				<reportElement x="50" y="95" width="56" height="13" backcolor="#999999"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[2]]></text>
			</staticText>
			<staticText>
				<reportElement x="106" y="95" width="52" height="13" backcolor="#999999"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[3]]></text>
			</staticText>
			<staticText>
				<reportElement x="50" y="1" width="56" height="94"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8"/>
				</textElement>
				<text><![CDATA[Дата и время подачи декларации на товары и ее электронной копии]]></text>
			</staticText>
			<staticText>
				<reportElement x="106" y="1" width="52" height="94"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center">
					<font fontName="Times New Roman" size="8"/>
				</textElement>
				<text><![CDATA[Номер транзитной декларации]]></text>
			</staticText>
			<staticText>
				<reportElement x="297" y="95" width="57" height="13" backcolor="#999999"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[7]]></text>
			</staticText>
			<staticText>
				<reportElement x="354" y="95" width="43" height="13" backcolor="#999999"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[8]]></text>
			</staticText>
			<staticText>
				<reportElement x="397" y="95" width="39" height="13" backcolor="#999999"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[9]]></text>
			</staticText>
			<staticText>
				<reportElement x="436" y="95" width="80" height="13" backcolor="#999999"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[10]]></text>
			</staticText>
			<staticText>
				<reportElement x="516" y="95" width="46" height="13" backcolor="#999999"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[11]]></text>
			</staticText>
			<staticText>
				<reportElement x="562" y="95" width="46" height="13" backcolor="#999999"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[12]]></text>
			</staticText>
			<staticText>
				<reportElement x="608" y="95" width="75" height="13" backcolor="#999999"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[13]]></text>
			</staticText>
			<staticText>
				<reportElement x="683" y="95" width="51" height="13" backcolor="#999999"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[14]]></text>
			</staticText>
		</band>
	</columnHeader>
	<detail>
		<band height="77" splitType="Stretch">
			<frame>
				<reportElement stretchType="RelativeToBandHeight" x="0" y="0" width="734" height="77" isRemoveLineWhenBlank="true"/>
				<box>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" x="158" y="20" width="57" height="11" isRemoveLineWhenBlank="true">
						<printWhenExpression><![CDATA[($F{g140}!= null)]]></printWhenExpression>
					</reportElement>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g140}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement x="158" y="0" width="57" height="11" isRemoveLineWhenBlank="true"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g142}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement positionType="Float" x="159" y="11" width="56" height="11" isRemoveLineWhenBlank="true">
						<printWhenExpression><![CDATA[($F{g140}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[ОГРН:]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" x="214" y="10" width="25" height="11" isRemoveLineWhenBlank="true"/>
					<textElement textAlignment="Center">
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g0121}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" x="214" y="0" width="25" height="11" isRemoveLineWhenBlank="true"/>
					<textElement textAlignment="Center">
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g011}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement x="107" y="0" width="50" height="11" isRemoveLineWhenBlank="true"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{tranzitD}]]></textFieldExpression>
				</textField>
				<textField pattern="dd.MM.yyyy" isBlankWhenNull="true">
					<reportElement x="51" y="0" width="54" height="11" isRemoveLineWhenBlank="true"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{dtDate}]]></textFieldExpression>
				</textField>
				<textField isBlankWhenNull="true">
					<reportElement x="52" y="10" width="53" height="11" isRemoveLineWhenBlank="true"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{dtTime}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement x="356" y="0" width="41" height="11" isRemoveLineWhenBlank="true"/>
					<textElement textAlignment="Justified">
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g05}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement x="397" y="0" width="38" height="11" isRemoveLineWhenBlank="true"/>
					<textElement textAlignment="Justified">
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g46}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement x="438" y="0" width="35" height="11" isRemoveLineWhenBlank="true"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g071}]]></textFieldExpression>
				</textField>
				<textField pattern="ddMMyy/" isBlankWhenNull="true">
					<reportElement x="479" y="0" width="34" height="11" isRemoveLineWhenBlank="true"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g072}]]></textFieldExpression>
				</textField>
				<textField isBlankWhenNull="true">
					<reportElement x="438" y="12" width="56" height="11" isRemoveLineWhenBlank="true"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g073}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement x="517" y="0" width="45" height="11" isRemoveLineWhenBlank="true"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{inspFio}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="536" y="11" width="25" height="11" isRemoveLineWhenBlank="true"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{inspLnp}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="516" y="11" width="20" height="11" isRemoveLineWhenBlank="true">
						<printWhenExpression><![CDATA[($F{inspLnp}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[ЛНП:]]></text>
				</staticText>
				<textField pattern="dd.MM.yyyy" isBlankWhenNull="true">
					<reportElement x="562" y="0" width="45" height="11" isRemoveLineWhenBlank="true"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{rDate}]]></textFieldExpression>
				</textField>
				<textField isBlankWhenNull="true">
					<reportElement x="562" y="11" width="45" height="11" isRemoveLineWhenBlank="true"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{rTime}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement x="684" y="0" width="50" height="11" isRemoveLineWhenBlank="true"/>
					<textElement textAlignment="Justified" verticalAlignment="Top">
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{gd0}]]></textFieldExpression>
				</textField>
				<textField isBlankWhenNull="true">
					<reportElement x="612" y="11" width="69" height="11" isRemoveLineWhenBlank="true"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{vTime}]]></textFieldExpression>
				</textField>
				<textField pattern="dd.MM.yyyy" isBlankWhenNull="true">
					<reportElement x="612" y="0" width="69" height="11" isRemoveLineWhenBlank="true"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{vDate}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement x="0" y="0" width="49" height="11" isRemoveLineWhenBlank="true"/>
					<textElement textAlignment="Justified">
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{dtNum}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="474" y="0" width="3" height="11" isRemoveLineWhenBlank="true">
						<printWhenExpression><![CDATA[($F{g071}!= null)]]></printWhenExpression>
					</reportElement>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<text><![CDATA[/]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" x="158" y="43" width="57" height="11" isRemoveLineWhenBlank="true"/>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g141}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement positionType="Float" x="158" y="31" width="57" height="11" isRemoveLineWhenBlank="true">
						<printWhenExpression><![CDATA[($F{g141}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="true"/>
					</textElement>
					<text><![CDATA[ИНН:]]></text>
				</staticText>
				<staticText>
					<reportElement positionType="Float" x="158" y="54" width="57" height="11" isRemoveLineWhenBlank="true">
						<printWhenExpression><![CDATA[($F{g147}!= null)]]></printWhenExpression>
					</reportElement>
					<box leftPadding="0" bottomPadding="0"/>
					<textElement>
						<font fontName="Times New Roman" size="8" pdfEncoding="Cp1251" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[КПП:]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement positionType="Float" x="158" y="66" width="57" height="11" isRemoveLineWhenBlank="true">
						<printWhenExpression><![CDATA[($F{g147}!= null)]]></printWhenExpression>
					</reportElement>
					<textElement>
						<font fontName="Times New Roman" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{g147}]]></textFieldExpression>
				</textField>
			</frame>
		</band>
	</detail>
	<columnFooter>
		<band height="20" splitType="Stretch">
			<printWhenExpression><![CDATA[false]]></printWhenExpression>
		</band>
	</columnFooter>
	<pageFooter>
		<band height="28" splitType="Stretch"/>
	</pageFooter>
	<summary>
		<band height="81" splitType="Stretch"/>
	</summary>
</jasperReport>



...
Рейтинг: 0 / 0
iReport и высота фреймов в detail
    #37729938
sanBez
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
asu81,

Тут случай когда спасение утопающих - дело рук самих утопающих. :)
В этом случае я могу дать только направления без гарантии. Может кто еще поможет...

1. Удали вообще band'ы ColumnFooter, PageFooter, Summary. Запусти, попробуй
2. Удалить все кроме detail, запустить, проверить. Может подогнать размер detail (в свойствах) чтоб высота страницы была кратна высоте detail (хотя подгонка с удалением строк наверно ничего не даст, это меня понесло)
3. Выгрузить отчете не в PDF, а в html, excel. Иногда по тому как слиты/разбиты ячейки в ексель можно понять откуда пустота. В html аналогично, но придется ковыряться руками в текстовом редакторе

Обязательно pdf нужен? Если бы html, там вообще все пустые строки можно было бы убить одним махом. Мой любимый метод :)
...
Рейтинг: 0 / 0
11 сообщений из 11, страница 1 из 1
Форумы / Отчетные системы [игнор отключен] [закрыт для гостей] / iReport и высота фреймов в detail
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


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