Filemaker body auto resizing: Blank pages or cut content? - layout

I am building a layout to print (PDFs) of letters. I understood that text fields can shrink automatically to avoid white spaces.
My layout body is about 10 pages high as this would be the longest possible letter. Problem is: I cannot figure out how to tell the body to shrink to one page if I have a one page letter only.
Thus, I end up having 9 empty pages (only page numbers) and one "real" page.
How can I avoid all the empty pages?

If you have one enormous text field that you want to reduce in size based on the contents and have the enclosing part also reduce in size, look closely at the Position tab of the Inspector panel.
Under the "Sliding and Visibility" section, you'll find a checkbox for "Sliding up based on" with an additional pair of radio buttons and one checkbox when that's turned on. The checkbox reads "Also resize enclosing part". That's what you need to make sure is on to reduce the size of the body part the text field appears in.

Related

Custom Cell Formatter to Hide/Show Truncated Text

One of the columns in my table can contain a large amount of text, several paragraphs. This causes each row to be very tall and the table not readable.
I would like to set up a custom formatter for this column to automatically truncate the viewable text after X characters (X would be configurable) and include ellipses after that point and then display a "Show More" link. Clicking on "Show More" would then reveal all of the text in the cell, causing the row's height to expand to show all of the text, then toggling the "Show More" link to say "Show Less". Clicking on "Show Less" would return to the truncated view of the cell.
I can get part of this to work by simply returning from the custom formatter the first X characters of the text followed by a an element with display set to null containing the rest of the text. Clicking on "Show More" would change the element's display to inline.
In one sense this works, because the hidden text is displayed in part when Show More is clicked, but only the part that will fit into the existing cell's size. The rest is hidden and an ellipses is added.
For example, the initial load would show:
The quick brown fox jumped over the lazy
...Show More
Then after toggling it would show:
The quick brown fox jumped over the lazy dog... [this ellipses is added automatically by the CSS]
Show Less
How do I get the cell to expand to show all of the text?
A trickier version of this is to support HTML content, which can't be truncated as easily and still support showing the formatting properly. text-overflow:ellipses seems like it might solve that problem, but I have not figured out how to get it to work in this context. Indeed, text-overflow:ellipses might overall be a simpler solution to this problem if it can be made to work.
Btw, the alternative is to show the full text in a modal dialog, although I have not investigated that approach yet. (I don't think Tabulator supports a modal dialog out of the box, so I would need to add one, such as jquery's. See: Does anyone have or know of any example of a custom popup editor for Tabulator?)

Microsoft Power Point 2010 Cannot Propagate Page Number Footer on Master Slide

I am making a power point template and I have a master, and dozens of slides under it. My master has a footer (Page Number)
[ <#>]
In the bottom right corner. (You can see this by opening up a blank presentation and viewing the master).
What I want to do is add some text such as
[ AUTHOR HERE <#> ]
and propagate this from my master to all the slides that inherit this master. But this doesnt work. It is absolutely dumb and ridiculous.
NOTE: I am aware of the functionality that I can do Insert -> Header & Footer -> Check the right boxes -> Apply Changes to All and this will come in handy when I want to reflect the change.
I can change the Footer and apply it in the Slide Master View and the Footer is updated. However, and this is the most frustrating part, when I add AUTHOR HERE to the Slide Number Part of the footer, those changes will not get reflected in the child slide!!
There is a fix, and it is to do it manually, but I would like this template to be dynamic so all you gotta do is change the name in the Page Number placeholder and it will update the rest of the template. I can make the PAGE NUMBER RED AND BOLD, I can move the Page Number place holder around and it updates the child slides accordingly, but when I add text into the box, it doesn't propagate! Why?!
Again, I'm trying a proof of concept from a default presentation.
I swear this is impossible.
In the redesign from PPT 2003 to 2007, MS solved a rather small problem that affects a moderate number of people and in so doing, created a big problem that affects anyone who uses headers/footers/etc. They haven't seen fit to fix it.
A couple of things:
I think you'll need to apply your "Author Here" text to the slide placeholder on each of the layouts (the "slides" indented beneath the main master in Master view).
To have the text apply, you'll want to go to Insert | Headers/Footers, remove the check next to Slide Number, click Apply to all. Then repeat to put the check next to Slide Number again. IOW, turn the slide numbers off then turn them back on again. This forces them to regenerate.
Finally, just in case: the <#> you see there isn't really a normal character, so typing <#> won't work. If you type your "Author Here " and then while the text cursor's still in the text box, choose Insert | Date&Time, you'll get the correct character.

Jasper Reports: Subreport incorrectly stretching out to whole page or causing page break

I have a subreport which is the sole contents of the detail band on the master report. This subreport can have a variable height, but 3 or 4 could easily fit on one page.
When running the report, either the band is stretched all the way to the bottom of the page or the subreport is causing a page break. I think the former, because I added a line into the detail band with position relative to bottom, and it has appeared at the bottom of each page in the filled report.
One thing I've already considered and fixed is the page height of the subreport.
edit: for clarity.
So how can I stop this page sized expansion and get multiple subreport prints to fit on one page?
I have done some more playing with it, and I think the vertical print order of the sub-report is playing a factor. When switched to horizontal the layout is still wrong (because its not the desired print order), but any sub-report which follows another is placed correctly at the end of the previous rather than a whole new page.

ssrs 2008 r2 pdf blank pages

I have report with dynamic-width list which when exported to pdf has every second page blank. I followed instructions given here, squeezed everything as hard as I could - and it worked. However I also have footer inside which I have horizontal line that should continue through whole page width. If I make it long I have every second page blank, if I make it short - it stays that short. Also suppose I need to have textbox at the far right corner of a page, which again would make blank pages in pdf to appear. Is there any solution to this?
One thing I have found useful to diagnose exactly why SSRS is generating blank pages, is to set the background of the report (or report elements) to a non-white color. Generate the report again, then you can usually see what is being spilt over into another page. You can usually figure out what SSRS is doing, and tweak your report accordingly.
Set the report property ConsumeContainerWhitespace to True. I believe the default is false, so if you didn't think to ltrim(rtrim()) in your dataset, something I often forget to do, then the whitespace could be causing it.
For the line, if it is simply to separate the footer from the body of the report, try selecting the entire footer row and set the BorderStyle-Top property to Solid instead of having a line.
For the text box, it has to be entirely within the page dimensions or you will get a second mostly blank page. Left margin + right margin + report width <= page width. On one of our printers this still isn't enough so we have to reduce the right margin by another 0.05cm more (so 0.45cm instead of 0.5cm which it should be) to stop getting blank pages every second page.

How to force a textbox to split, rather than move to a second page in SSRS 2005 (PDF Export)?

This question is a follow up to my original question, I've done a bit more reseach, i narrowed a problem down quite a bit.
I've also uploaded a sample .rdl to illustrate the problem
I've got the following report setup: a header (image in the body), two textboxes, and a footer.
First textbox has a little bit of text, and second textbox has lots of text. Second textbox can fit on one page by itself, but won't fit on the page with my header and the first textbox.
The problem is that for some reason, the second textbox in the report is unaware of other contents of that same report, and as long as that one textbox fits on one page - it will be moved to the second page. (once the textbox grows larger than 1 page - it will split, and will achieve the desired behavior)
Desired behavior is to split the second textbox, and keep as much text on the first page as possible, and move the rest to the second page.
I'm not sure about v.2005 but in v.2008 you can set a textbox property: KeepTogether to false.
This will fit as much text on the first page than the rest on the second page.
This is pretty standard behaviour in SSRS. Like many issues with the Reporting engine, you have to trick it.
In this case you could try to provide the 'lines' for the second text box as individual rows in a Detail, then use a repeater or table to display them. Alternatively you could break on 'paragraph'. Unfortunately you'll have to do this in your data source, probably in a stored procedure, depending on how you're getting the data to the report.
If appropriate you could look at client-side reporting (.rdlc files), which allows you to pre-process the data in a .NET application, although setting up for printing can be more complex.

Resources