jasper报告文本字段被削减
<band height="20">
<textField textAdjust="StretchHeight">
<reportElement positionType="Float" x="10" y="0" width="545" height="20" uuid="835e5c50-820a-48e7-aa71-b0e5fea3737f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<box bottomPadding="10">
<pen lineWidth="0.0"/>
</box>
<textElement textAlignment="Justified" markup="none">
<font fontName="Helvetica Neue" size="8.7"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA["RAY ENGINEERING PRIVATE LIMITED mainly deals in products such as GENERAL CONSTRUCTION SERVICES OF HIGHWAYS, STREETS, ROADS, RAILWAYS AND AIRFIELD RUNWAYS, BRIDGES AND TUNNELS (37.32%),CONSTRUCTION SERVICES OF OTHER NON-RESIDENTIAL BUILDINGS SUCH AS EDUCATIONAL INSTITUTIONS,HOSPITALS, CLINICS INCLUDING VERTINARY CLINICS, RELIGIOUS ESTABLISHMENTS, COURTS, PRISONS, MUSEUMS AND OTHER SIMILAR BUILDINGS (16.22%),GENERAL CONSTRUCTION SERVICES OF HARBOURS, WATERWAYS, DAMS, WATER MAINS AND LINES & IRRIGATION AND OTHER WATERWORKS (12.48%)"]]></textFieldExpression>
</textField>
</band>
整个文本没有打印。它在其他后被切割。 如果我在最后添加更多单词(12.48%)开始显示整个文本。 这个不寻常的问题似乎是由于贾斯珀库中的一个错误,因为我尝试了各个方面来纠正这一点。
<band height="20">
<textField textAdjust="StretchHeight">
<reportElement positionType="Float" x="10" y="0" width="545" height="20" uuid="835e5c50-820a-48e7-aa71-b0e5fea3737f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<box bottomPadding="10">
<pen lineWidth="0.0"/>
</box>
<textElement textAlignment="Justified" markup="none">
<font fontName="Helvetica Neue" size="8.7"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA["RAY ENGINEERING PRIVATE LIMITED mainly deals in products such as GENERAL CONSTRUCTION SERVICES OF HIGHWAYS, STREETS, ROADS, RAILWAYS AND AIRFIELD RUNWAYS, BRIDGES AND TUNNELS (37.32%),CONSTRUCTION SERVICES OF OTHER NON-RESIDENTIAL BUILDINGS SUCH AS EDUCATIONAL INSTITUTIONS,HOSPITALS, CLINICS INCLUDING VERTINARY CLINICS, RELIGIOUS ESTABLISHMENTS, COURTS, PRISONS, MUSEUMS AND OTHER SIMILAR BUILDINGS (16.22%),GENERAL CONSTRUCTION SERVICES OF HARBOURS, WATERWAYS, DAMS, WATER MAINS AND LINES & IRRIGATION AND OTHER WATERWORKS (12.48%)"]]></textFieldExpression>
</textField>
</band>
The whole text is not getting printed . It gets cut after OTHER .
If i add more words in the end after (12.48%) it starts displaying the whole text.
This unusual issue seems to due to a bug in jasper library as i have tried every aspect to correct this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论