Jump to content
Changes to the Jaspersoft community edition download ×

Grouping Problem


2005 IR Help

Recommended Posts

By: Jonathan Sutherland - jsutherland

Grouping Problem

2004-03-30 01:30

I cannot get each group to appear on a new page. They always become mixed together and spread over 2 pages.

 

###################################

 

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd"><jasperReport name="Umlaufzeitenueberwachung" columnCount="1" printOrder="Vertical" orientation="Landscape" pageWidth="842" pageHeight="595" columnWidth="792" columnSpacing="0" leftMargin="25" rightMargin="25" topMargin="30" bottomMargin="30" whenNoDataType="NoPages" isTitleNewPage="false" isSummaryNewPage="false">

<reportFont name="Arial_Normal" isDefault="true" fontName="Arial" size="8" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>

<reportFont name="Arial_Wagennr" isDefault="false" fontName="Arial" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1252" isPdfEmbedded="false"/>

<reportFont name="Arial_Bold" isDefault="false" fontName="Arial" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1252" isPdfEmbedded="false"/>

<group name="test" isStartNewPage="true" isStartNewColumn="false">

<groupExpression><![CDATA[1]]></groupExpression>

<groupHeader>

<band height="50" isSplitAllowed="false">

<staticText>

<reportElement mode="Opaque" x="0" y="1" width="45" height="40" forecolor="#000000" backcolor="#C0C0C0" positionType="FixRelativeToTop" isPrintRepeatedValues="true" isRemoveLineWhenBlank="false" isPrintInFirstWholeBand="false" isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Left" verticalAlignment="Middle" lineSpacing="Single">

<font reportFont="Arial_Bold"/>

</textElement>

<text><![CDATA[Datum]]></text>

</staticText>

</band>

</groupHeader>

<groupFooter>

<band height="100" isSplitAllowed="false">

<rectangle>

<reportElement x="0" y="0" width="45" height="12" backcolor="#ffffff" forecolor="#e9e9e2" />

<graphicElement/>

</rectangle>

<staticText>

<reportElement mode="Opaque" x="0" y="0" width="45" height="10" forecolor="#000000" backcolor="bgColor" positionType="FixRelativeToTop" isPrintRepeatedValues="true" isRemoveLineWhenBlank="false" isPrintInFirstWholeBand="false" isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Left" verticalAlignment="Middle" lineSpacing="Single">

<font reportFont="Arial_Bold"/>

</textElement>

<text><![CDATA[30.12.2003]]></text>

</staticText>

</band>

</groupFooter>

</group>

<group name="test2" isStartNewPage="true" isStartNewColumn="false">

<groupExpression><![CDATA[2]]></groupExpression>

<groupHeader>

<band height="50" isSplitAllowed="false">

<staticText>

<reportElement mode="Opaque" x="0" y="1" width="45" height="40" forecolor="#000000" backcolor="#C0C0C0" positionType="FixRelativeToTop" isPrintRepeatedValues="true" isRemoveLineWhenBlank="false" isPrintInFirstWholeBand="false" isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Left" verticalAlignment="Middle" lineSpacing="Single">

<font reportFont="Arial_Bold"/>

</textElement>

<text><![CDATA[Datum]]></text>

</staticText>

</band>

</groupHeader>

<groupFooter>

<band height="100" isSplitAllowed="false">

<rectangle>

<reportElement x="0" y="0" width="45" height="12" backcolor="#ffffff" forecolor="#e9e9e2" />

<graphicElement/>

</rectangle>

<staticText>

<reportElement mode="Opaque" x="0" y="0" width="45" height="10" forecolor="#000000" backcolor="bgColor" positionType="FixRelativeToTop" isPrintRepeatedValues="true" isRemoveLineWhenBlank="false" isPrintInFirstWholeBand="false" isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Left" verticalAlignment="Middle" lineSpacing="Single">

<font reportFont="Arial_Bold"/>

</textElement>

<text><![CDATA[26.01.2004]]></text>

</staticText>

</band>

</groupFooter>

</group>

<background>

<band height="0" isSplitAllowed="true"></band>

</background>

<title>

<band height="150" isSplitAllowed="true">

<line direction="TopDown">

<reportElement mode="Opaque" x="0" y="0" width="792" height="0" forecolor="#000000" backcolor="#FFFFFF" positionType="FixRelativeToTop" isPrintRepeatedValues="true" isRemoveLineWhenBlank="false" isPrintInFirstWholeBand="false" isPrintWhenDetailOverflows="false"/>

<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />

</line>

<staticText>

<reportElement mode="Opaque" x="0" y="10" width="792" height="30" forecolor="#000000" backcolor="#FFFFFF" positionType="FixRelativeToTop" isPrintRepeatedValues="true" isRemoveLineWhenBlank="false" isPrintInFirstWholeBand="false" isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">

<font reportFont="Arial_Normal" size="22"/>

</textElement>

<text><![CDATA[umlaufzeitenueberwachung Uebersicht]]></text>

</staticText>

</band>

</title>

<pageHeader>

<band height="0" isSplitAllowed="true"></band>

</pageHeader>

<detail>

<band height="0" isSplitAllowed="false"></band>

</detail>

<summary>

<band height="20" isSplitAllowed="true"></band>

</summary>

</jasperReport>

 

#######################################

 

Any help gratefully accepted.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...