Jump to content
We've recently updated our Privacy Statement, available here ×

malamut

Members
  • Posts

    1
  • Joined

  • Last visited

malamut's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi! I'm using htmlcomponent sample and I've read this issue and a lot of similar questions. It's clear that html genericElement in this case behaves like image and isStretchWithOverflow="true" works only with text fields. However scaleType RealHeight and RealSize also don't work. You can see modified sample and results in attachments. If reportElement's height is changed from original 110, to smaller value, for example, 50 - html become smaller despite scaleType RealHeight. Similar example with images works. Is it bug or I'm doing something wrong? Code:<band height="550"> <genericElement> <reportElement uuid="96e1bb01-0188-4f2a-8d27-b8210e2557dd" stretchType="RelativeToBandHeight" x="0" y="230" width="230" height="50" backcolor="#ADD8E6"/> <genericElementType namespace="http://jasperreports.sourceforge.net/jasperreports/html" name="htmlelement"/> <genericElementParameter name="htmlContent"> <valueExpression><![CDATA[$P{htmlTable}]]></valueExpression> </genericElementParameter> <genericElementParameter name="scaleType"> <valueExpression><![CDATA["RealHeight"]]></valueExpression> </genericElementParameter> </genericElement> </band>
×
×
  • Create New...