[#3127] - Default style applied in report when no style reference was attached

Category:
Bug report
Priority:
High
Status:
Confirmed
Project: Severity:
Major
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

It looks like in certain cases the layout is being altered using style references which haven't been linked to the report. In those cases functionality like for example 'strech' is not being applied.

Case:
- create a main report with one field with a text which fits perfectly using size 10. This report does NOT have a imported style reference.
- Add a subreport in this report with the same text and assign a style reference with a default font size of 11 of 12.

=> The text field in the subreport will be displayed in size 11 or 12 and is correctly strechted.
=> The text field in the main report is now also displayed in font 11 or 12 but the strech does not apply to this field.

Workaround is to assign the font size 'hardcoded' on the field to avoid that a style reference from a subreport influences the output of the main report.

AttachmentSize
Binary Data report1_subreport1.jrxml1.18 KB
v5.0.1
fenix4life's picture
Joined: Oct 5 2009 - 5:27am
Last seen: 7 years 8 months ago

4 Comments:

#1
  • Assigned:nobody»
AttachmentSize
Binary Data report1.jrxml1.94 KB
#2
  • Assigned:» anonymous
AttachmentSize
Binary Data report1.properties372 bytes
#3
  • Status:New» Confirmed
  • Assigned:anonymous» teodord
#4

Attaching here a subreport sample overlay to reproduce this issue more easily inside a JRL project distro.

AttachmentSize
Package icon subreport.zip2.79 KB
Feedback
randomness