How to avoid data being cut when presenting a BIRT report as PDF? - pdf

After exporting report in PDF format I realized that a few rows were hidden. As you can see in the image:
Notice that the 1st row in the second page is not the next row fetched by the data set, which should actually be 10 January 15 03:00.
Also, there's no Page Break, instead the default layout comes from the Master Page which is US letter.
I've been trying different solutions for this problem and after checking
M Williams and James Jenkins suggestions (among others) I still couldn't find it.
Perhaps Dominique could help? Dom?

The large blank space we can see below this table suggests there is a fixed margin or something like that which prevents all rows to be displayed. What is the value of the "Page break interval" property of the table? By default it is 40, try to decrease it until all rows are displayed in PDF. Otherwise you need to find out which element of the report has a fixed height or margin, This blank space might also be due to a property of the master page such margins and footer size

Related

Replace a blank before a table page break Word VBA

I uncheck "Allow row to break across pages" for a table's properties So, the table is shown on a new page to ensure that all the content is on one page, this works fine. But Word generates a blank space before the page break, I need to replace it with some text for a legal reason. I can't use a watermark or shapes because un Oracle BI Publisher only prints it on PDF and I need to export it to a docx.
The data is dynamic, so sometimes the text before the table and the text inside the table may change.
Current Version https://imgur.com/a/FTx0q
I need some like this https://imgur.com/a/ySitL
MS Office support told me that it can't be done with Word...
Maybe with VBA code?
Update
Thanks Cindy for your help.
I have a table into another table many paragraphs, checkbox etc and they are fitting on a new page. It's working.
I understand there isn't a page break.
It's Paragraph mark.
But what I need to do is insert a kind of mark, a text like XXXX,-----------, Instead of leaving "free space",
It's a requirement not change the font size or another text format.
For a legal requirement, some paragraph must fit on a new page and "blank spaces" replaced by a kind of mark.
I can't hard code it because in several cases not all the paragraphs or section in a page will be shown and I don't know by default when a new page is needed.
I am available to use macros or anything.
What you could do is insert a page-size table into a textbox in the page header and format the body text with a white background. The table will thus be hidden behind any text on the page, but not otherwise (provided you don't pad unused space with empty paragraphs, etc.).

Listview.AutoResizeColumns(ColumnHeaderAutoResizeStyle.HeaderSize) expands last column to fill listview

This just started happening in the last week. I'm currently using VS 2012 Professional on Windows 10, coding in VB.NET. I had been successfully using Listview.AutoResizeColumns(ColumnHeaderAutoResizeStyle.HeaderSize) to resize the columns prior to passing the listview to a printing routine. I took a week off the project and when I ran it again the last column started to occupy the remaining balance of the listview width after calling the method, getting rid of what some call the 'ugly' last empty column. So it now pushes that last column off onto another page due to the increased width. It did not do this before. In that week off I did install the VS 2015 Community edition to evaluate.
Has anyone else noticed this? And if so... solution?
Found the problem.
When using Listview.AutoResizeColumns(ColumnHeaderAutoResizeStyle.HeaderSize) it will work as desired by resizing ALL the Columns to the Width of the Header Text ONLY if the ListView's width is less than the total Column widths.
If the ListView's width is wider than the total Column widths, then the LAST Column will then fill the remaining space, which is what I did not want reflected in my printing routine. I was using those Column widths in my printing routine. The problem was those widths, which changed as the ListView's width changed, being passed into the printing routine. Not reliable.
My Work-Around: I simple resized the last Column the 'old fashioned' way after calling .AutoResizeColumns.
Also. I didn't feel the need to post any code, as the one, snarky, condescending comment states, as it was a behavioral problem, not a code problem, and would have only clouded the issue. But thanks for the input 'Visual' Vincent. It really added to the solution!

empty column in pdf version of ssrs report

My report structure:
header
tablix in rectangle
footer
from reportviewer and visual studio all looks great, but when i render pdf i'm getting document consisting of 3 pages, first (with header) is ok, but the rest gets an empty column on the right
i try to put each column and row in rectangle etc.
i'm sure that size of my report body is ok (body + margins <= page)
example with colors (dark blue - subreport in rectangle, yellow - main container):
height is correct, but width from second page is too large
Not sure if this is your issue, but I have found that I get that kind of issue when the width of report + left margin + right margin is too close to page size. An easy way to see if this may be the issue is to see if you have random blank pages. I would also suggest attempting to shorten the columns to all fit on one page width. Another thing to try is export it to Word. Strangely enough, if the report goes over the width that you specify for a page, Word will accommodate your report and become a bigger page size. See if you are still missing columns in those cases.

How to generate pdf from a libreoffice calc sheet fitting the page width?

Using LibreOffice 4.1.2.3 in Ubuntu 13.10 I am desperately trying to export the content of a sheet (4 columns) into a pdf (portrait), so all 4 columns fit on a page. A page nicely explains all the settings - but they do not have any effect!
I select all the range I want to export to a pdf (the 4 columns previously mentioned), click File -> Export as PDF, and no matter what I change (e.g. zoom to 7%), the generated pdf contains two pages: One page with the first three columns, and another page with the fourth column.
This is quite cumbersome and ridiculous, and any help is appreciated to solve this problem.
Maybe the LibreOffice Help is misleading here. Those settings (Fit width etc) just affect how to display the resulting PDF. If you want to scale the output to make it fit to a certain number of pages, you will have to modify the page styles's properties: Menu Format -> Page... -> Sheet Tab.
Here, you have three options:
Reduce / enlarge printout: set a fixed scaling factor (e.g. 50 %);
Fit print range(s) to width / heigth: set either the maximum width or maximum heigth in pages, scaling will be proportionally in every case;
Fit print range(s) on number of pages: set the maximum page number.
In your case, just select the third option and set the page number to 1:
I had the same settings as in tohuwawohu's answer, though page still ended too early after column EF, no matter of Scale, Page width or margin settings.
Then I discovered Format -> Print Ranges -> Edit menu with custom range - .
Changing to last column solved my problem. HTH somebody.
Go to File > Print Preview, and adjust the content size with the zoom slider. Click Export and you're done.

SSRS 2005 with matrix and list shows blank page between every data page when printing or exporting to PDF

I am using SQL Server Reporting Services 2005 - I have created a portrait A4 report 8.5in by 11in.
The report consists of a header, body and a footer.
The body consists of a number of textboxes in a 2 column layout and underneath them a matrix placed onto a list.
The matrix consits of 2 fixed rows (with 1 fixed textual column in the top row and 2 dataset field columns in the bottom one) and a number of columns (each with a width of 0.875in and data taken from different dataset fields). I use the group expression =Ceiling(RowNumber(Nothing)/5) on the list, to make the matrix columns start below the previous ones every 5 repeated columns.
The problem I am facing is that a blank page (with only header and footer) is appearing between every page of report data when I export the report to PDF or print it physically, if the matrix spans more than one page of data. There is plenty of room for the columns of the matrix on the page. I have tried the following, but to no avail:
1) I checked that Page Width (8.5in) >= Body Width (7.20833in) + Left Margin (0) + Right Margin (0)
2) I checked that Page Height (11in) >= Page.TopMargin (0) + Header.Height (2in) + Body.Height (6.60417in) + Footer.Height (0.89583in) + Page.BottomMargin (0)
3) I played around with various margin values, ranging from 0in to 0.5in for the left, right, top and bottom margins.
4) I set all textboxes' CanGrow property to false. This also has the undesirable effect of chopping out the text when it cannot fit, but even so, the blank page problem still occurs.
5) I placed the list and the matrix together in a rectangle with the blank space (to the right of the matrix) outside the rectangle.
The only thing that stops the blank pages from appearing is changing the list grouping expression to =Ceiling(RowNumber(Nothing)/2), i.e. make the matrix start a new "table" every 2 repeated columns (rather than 5). This, however, I do not understand, as there is plenty of space for 3 other columns to their right and it is odd and untidy to just put 2!!
I would greatly appreciate any help in this!
Thanks in advance!
Tim
For anybody who is having a similar problem in SSRS 2008, I found the only way to fix this was to set the property named ConsumeContainerWhitespace on the Report itself to true.
In my case the issue was that the matrix on the page was narrow in design mode with a lot of whitespace to the right. When rendered, the matrix was rendered much wider (due to the data) but the renderer would also include the whitespace, causing the report to be much wider than the actual page.
If you set this property, the extra whitespace does not get rendered.
If I understand you correctly I've solved this problem before. The matrix claims extra white space, the solution I used is as follows:
You need to consume the white space.
[-------page width------]
[matrix][-textbox hack-]
I think you can set the textbox to be invisible
Note: When I attempted this in 2005, it only worked when the invisible textbox spanned the entire line.