I'm working in BIRT reports. I'm facing some issues with when importing the report to pdf format.
this is the issue I'm facing
Report is generated successfully in BIRT viewer. But when it exports to the pdf report alignment will change.It prints only left to right around 80% from the original report.I think issue with print area.In designer it report width is more than the print with.I try to reduce it but I couldn't reduce the width of the table.I think reason is the table i'm using in the report. Table has 8 columns so I couldn't reduce the width of columns. column has minimum width, I can't reduce more than than.
So what can I do to this issue ?
Anyone knows the solution to this issue ?
Thank you in advance
You could try making the font in your table one of the relative sizes (small, medium, large) rather than a hard 10 pts, 12 pts, etc. And then make the column width a percentage instead of a definite pixel number. E.g. column 1: 15%, column 2: 10%, column 3: 5%, column 4: 20%, column 5: 20%, column 6: 30% - or however it best fits the contents.
There isn't much you can do beyond that because you are rendering it onto a PDF document that is going to be the exact size of your master page, however you have that defined (letter size, legal, etc). If you haven't changed the orientation of your master page from portrait to landscape (on the master page tab), you could try that if it is workable for you.
Specifying the sizes, padding, margin etc in mm (or inches) works well. This also ensures exact measurements. The background images are exceptions, because they're pixel-based.
Related
I have a tabular report in Oracle Reports 6i, and when I print it, it produces a large margin at the bottom and continues to print the remaining rows/records on the next page. The orientation of the printout is portrait. I increased the number of maximum records per page, but when it prints it won't go beyond the number of rows it's been printing, and it's like the change is of no effect.
When in Paper Layout editor, check the margin layout. Thick black line shows "usable" part of the report - check whether it is stretched through the whole paper size.
Also, see whether paper size is correctly set. For example, for portrait A4 paper, it should be 21 cm wide and 29.7 cm high.
Furthermore, data is contained within a frame; actually, two of them (repeating and ... well, the one that encloses it; its default name begins with an M). See their vertical elasticity properties. Should be either variable or expand (maybe one (or both) of them are now fixed).
I created a macro that updates around 55 PowerPoint slides, ranging from populating tables to updating line and bar charts. The macro works well, however, for some reason the PowerPoint file size has increased significantly. While working on the macro the size was around 80,000 KB, after making very few minor changes it suddenly close to doubled to 150,000 KB. To find out which slides cause this huge size, I published the slides to see the individual slide sizes and am able to narrow down the problem. Due to the large variety of charts I will focus on one kind.
I have 2 regular line charts on one slide and the size is 5000+ KB! Whenever I delete one of the two, the size is reduced to roughly half the size.
I have taken the following steps to try to find the problem:
1) Removed and deleted all cells that the chart references to (inside the PowerPoint) -- No change in file size.
2) Removed all chart features, such as axis title, legends, etc -- No change in file size.
3) Slide is not macro enabled and has therefore no macro included in the file.
4) Made sure there are no hidden objects.
All that is left is an empty 'Chart Placeholder' with no data in the XL file and yet the size is very large.
The PowerPoint slide contains no images either. A regular PowerPoint slide with a line chart should only have a size of around 50-100 KB and I am not sure how the chart has such a massive size.
First time posting my question here! Hopefully someone can help out.
Thanks!
UPDATE:
I finally was able to find the problem. For some reason, all charts had the maximum number of rows open (1+ million rows) making the file size that large!
I added: wb.worksheets(1).UsedRangeto the end of each procedure and now the entire file size is around 4000 KB!
Thank you.
It's easy to resize images so that they all have the same height while maintaining the aspect ratio, but how did they fit them all on a row such that every row has the same width? Did they crop some of the images or what?
Remember in google images (apart from cropping) -
Spacing between images are not always exactly same.
Height of all images in a row are also not always same.
Using above 2 techniques i.e. tweaking the spaces between images and changing size of image little bit by compromising height you can achieve this. In fact the the justify paragraph option in the text editor also use the spacing technique. They evenly distribute the extra spacing between all word.
You don't always get a good spacing in google image search. See this -
alt text http://dailycoding.com/filesharing/Google_image_search.jpg
they actually figure it out through an algorithm to put images next to eachother so with the padding and everything they end up being the same width then they cache that page for the keyword you searched for!
I found a very interesting article while looking for the same thing. If you look at google images you can see not all of the rows have the same height. but all the images in a row have the same height. So what you want to do is calculate the right height you need for the row so the images will fit (the images stretch if they get higher or lower). This article will possible help
http://blog.vjeux.com/2012/image/image-layout-algorithm-google-plus.html
I'm trying to format an RDLC report file in Visual Studio 2008 and I am having a formatting issue. I have a list at the bottom that contains a matrix that expands horizontally to the right. That pink box is just to visualize the problem I'm having.
When the report is rendered the matrix expands and instead of filling the pink box with the matrix is pushes the space in the pink box to the right resulting in an extra page when printing the reports.
One solution would be to shrink the pink box to be the size of the matrix which I've done. But then when the matrix grows the fields at the top of the report get pushed to the right by the same amount as the growth of the matrix.
Can someone please let me know what they think the solution would be? Thank you!
Use rectangles, try this http://www.lukehayler.com/2009/07/managing-reporting-services-layouts-using-the-rectangle-in-ssrs/
With jqGrid if width of columns are not specified, they share the width of the grid equally. (ie. if the width of grid is 400px and there are 4 columns, they all occupy 100px width). Is there an option to handle this in a smart way so width of the columns can be upon their content?
For example let's say there are two columns: name and info. Assuming average length of names is 60 chars, whereas average length of info is 400 chars. If the grid has a width of 460px, name column should has a width of 60px and info column should has a width of 400px.
Some kind of autowidth-to-content functionality is needed. I think there is a little possibility about that because if I dynamically resize the grid, then the width columns somehow changes and fits according to their contents.
Thanks in advance.
You could dynamically resize the grid in the `loadComplete', to make column width better fit the content. Normally I will just choose column widths that are satisfactory for each row and that tends to be good enough. There is also a method for showing an ellipsis for content that is too wide to fit within a column, although unfortunately the technique is error-prone in firefox.