Good morning, I would appreciate your help with this. I am making a report as requested, but I can not make a line cover the entire area of empty detail, in the image that I put only have two details, what I'm looking for is that line on the left extends throughout the space in white framed in red without all the details, is it possible? What should I configure in the line, thanks in advance.
Use I report 5.6.0
http://subirimagen.me/uploads/20190121164814.png
I would have put this in a comment but I don't have enough points. If the page height is immutable, and the line needs to stay the same throughout the page, you can just put that line in a background band.
Related
This question is related (follows from) this question.
I am dynamically generating Word documents from data in a database. In the generation I need to have the First Page of a section have a different top margin than the other pages in the section. For reason that would take too long to explain properly, I can't just create a new section with a different top margin.
To get around my problem I thought I would create a shape (rectangle) with no border and no fill (invisible) that was the height I wanted my margin to be. I would then place it absolutely at (0,0). I would also make it wrapTopAndBottom so that it pushed the text in the body of the page down. This is working... except for one small problem.
As you can see there is a large, blank area immediately after my shape. There are actual blank lines there. You can see the lines better in this image where I've put text in those lines.
When I look at the header xml file in the Word archive, those lines don't exist. I'm not sure where they are coming from or how to get rid of them. I can manually remove them using Word but every time I regenerate the file they get put back in there. If someone knows why this is happening and / or how to get around it, I'd appreciate the help.
Thanks.
I finally figured this out.
Sorry I couldn't post code up here. First, I'm not using C#, I'm using PHP. Second, the amount of code I'd have to post to show how the header is getting created is prohibitive on a forum like this. Third, I'm not really allowed to post the company's code up here.
In any case, the problem was simple once I saw it. We are placing multiple absolutely positioned objects (shapes, text, images, whatnot) inside the header. In the class that creates these objects each one was being placed inside a <w:p> element. For example, if there were 3 such objects, the XML looked like this.
<hdr>
<p>Some Object</p>
<p>Some Object</p>
<p>Some Object</p>
</hdr>
The problem is that even though each of the objects inside the <p> are absolutely positioned, the <p> element itself creates a line and space for that line. So the header above would have 3 blank lines in it. This became an issue if the header had 6 or 7 objects because the blank lines would push the header's margin down and force the page's content down as well. This was undesired behavior.
The solution is simple. All the absolutely positioned objects can be placed in the same <p> element. This leaves only 1 blank line in the header no matter how many objects you have.
I'm trying to create a report as shown below with a logo touching header and detail band... Can someone please help me on where to start with... Even the header end is having a cross lines... do i need to take that as an image or is it possible in ireport tool to have such designs??
I'm new to jasper reporting... Please help me on how to create such report
I'm not sure about crossed lines since it's been a year since my last time using iReports, but I can't remember this kind of attention to the estetic part and I think you should probably use a background image.
Regarding the logo touching header and detail, since I don't think iReport can deal with overlapping bands, I would suggest you to organize your report as shown in the following image.
Header (red part): take care of the whole report non connected to the detail
Detail (green part): just your data
You can handle vertical lines in both bands in order to preserve a sort of frame.
I had to emulate several times this sample. and I've always reached my goal in this way.
Hoping it helps.
FF
Im using RDLC for VS 2010 and exporting the graph to a word document gives one extra blank page (its not showing in PDF though). All of the dimensions in Report, Chart and Body are set 11x8.5 with no margins. I just wonder what could be causing the blank page in Word.
I was having the exact same problem and managed to solve it by adjusting the layout of my report.
Basically I moved all of my rectangles/tables etc to sit tightly next to each other, eliminating any white space where possible and also resized the report to be as small as possible, i.e. sit tightly against its contents.
It might also be worth enabling the report option to 'ConsumeContainerWhitespace'.
I suspect Word uses its own pagination logic, which is why you see a difference between pdf and doc. So it may just be the case that your report is over-running very slightly into the next page and saving a little space on the report may prevent this.
I realise this is not a precise answer, but I hope it helps nonetheless.
I've had this issue bothering me for quite some time now.
When I leave whitespace underneath a list, the list will push this downwards, instead of overwriting it.
Sometimes while doing so, pushing content onto the next page !
I've tried to illustrate the situation - see attached.
In the first image, the chart at the bottom left has position type "float", hence it's positioned underneath the whitespace.
When I change it to "relative to top", it's positioned at the correct place, but still the whitespace will be present underneath it (between the chart and the footer)
Can this be solved, and how?!
It's a real problem when trying to get a decent layout.
Thanks in advance.
That's just how JasperReports is. You designed the report with whitespace in it, so the report keeps it there.
In many cases (and I suspect that includes this case) you can get what you want by simply making the List component object bigger. In effect will set its minimum size to match the chart to its right. It can stretch further, but it won't force any whitespace to be added into the rendered report.
I'm working on a report. The sections look like the following:
Report Header
Page Header
PH1
PH2
Group Header1
Group Header2
Details
Group Footer2
Group Footer1
Page Footer
Report Footer
I have a couple of questions here:
On the first page, there are two complete group1(group-a, group-b), and part of the data from next group (group c). The vertical lines stop at the end of group-b. Group-a and group-b have grid but group-c has no grid at all. But all vertical lines look fine on the following pages.
I created a few summary objects under report footer, but nothing shows up, not even the text object I put there for testing. I've played around with the section export, but so far, no luck.
Please help me with the questions, thanks a lot. :)
As for line issue, one solution is to create separate line segments for each section. They need to be carefully positioned to line up vertically and sized to span the exact height. Use the editor dialog because mouse positioning just won't work right.
In old versions of Crystal there must have been a lot bugs because I could crash the app dozens of time before getting it right. Eventually I figured out how to avoid the crashes pretty well but I can't remember the details now. It's a big hassle all the way around.
Diagnosing the other issue is probably easier with a view of the designer.
Which version of Crystal? Is there a page break before the report footer?
I know you already tried the text object, but try adding a background color to the report footer to confirm that it's present in the output.