Table - minimum height?

Hi,
I'm creating an PDF print form for a customer and they have a layout requirement which I cannot figure out how to do.
The problem is that a table should fill the most of the page regardless of the number of lines, but when the document should be paginated, the footer should be moved to the last page. I hoped it would be as simple at the ability to set minimum height on the bodyrow, but this isn't possible.
I hope someone has a great idea how to fix this, as it's beginning to drive me crazy?
Here you can see page 1 and 2 from the customers layout description - if there is no pagination, page 1 should look like page 2.
Regards,
Stefan

I already did, but here's some more details.
The bodyrow content is wrapped in a positioned subform, where I calculate the subform height based on table height, page numbers, and the other elements on the pages.
On the initialize event on the wrapper subform I have this javascript:
var layoutheight = "174mm";
var lastpagelayoutheight = "147.79mm";
var pagecount = $layout.pageCount();
if (data.Page1.Linjer.BodyRows.HeightSpacer.Linjetabel.h > lastpagelayoutheight){
  data.Page1.Linjer.BodyRows.HeightSpacer.h = ((pagecount - 1) * layoutheight) + lastpagelayoutheight;
else{
  data.Page1.Linjer.BodyRows.HeightSpacer.h = lastpagelayoutheight;
Currently it needs some work done after some more thorough testing with a lot of lines. But you probably get the point.

Similar Messages

  • Smartform table minimum height

    Hi all,
    Is there a way to specify the minimum height of a table in smartforms, so that if we have say 10 lines in the internal table to be displayed, and we specify 15 as a minimum height, then 5 blank lines will be printed in addition to the other 10?

    Haku,
    u can still achieve the requirement by having another secondary window with a template of the size of sec.window with 'N' lines, so that lines are also printed from the secondary window.
    Modified steps:
    1.having the table in a secondary window (fixed size) and
    2.the table width should be equal to the secondary window width and
    3.the table should not any have border
    4.Now create a sercondary window2 of size and dimention same as the one created earlier .
    5.create a template of size equal to the window ,The template will have all the borders for each lines to be printed
    Window1 and window 2 will over lap each other .
    Now the template with table borders(like ) will be  printed from window 2 Then the table contents will be printed from window 1.
    Reward if u find it Useful,
    Sapsurfer

  • Table row height expansion with rotated text

    I am using InDesign CS 4 on a Windows XP Home Edition computer. I am transcribing Gregorian chant using an opentype chant font (http://www.marello.org/projects/caeciliae). I have set up a table which is rotated 90 degrees counter clockwise so that the text and music notation appear in separate columns with each syllable of the chant having its own row. The text and music are rotated 90 degrees clockwise by cell style so that they appear normally on the page.
    Everything I have described so well has worked out very well. One inconvenient thing, however, is that when the text is rotated in the way I describe the rows do not automatically expand, even though I have them set to a minimum height lower than the actual height. When I have the text un-rotated, the rows do automatically expand. Can anyone tell me if I am doing something wrong?

    It's an exceptionally convoluted process that looks something like this:
    NSTextStorage *textStorage = [[NSTextStorage alloc] initWithString: title];
    NSTextContainer *textContainer = [[NSTextContainer alloc] initWithContainerSize: NSMakeSize(FLT_MAX, FLT_MAX)];
    NSLayoutManager *layoutManager = [[NSLayoutManager alloc] init];
    NSFont *menuFont = [NSFont menuFontOfSize: [NSFont systemFontSize]];
    NSRect stringRect;
    [layoutManager addTextContainer: textContainer];
    [textStorage addLayoutManager: layoutManager];
    [textStorage addAttribute: NSFontAttributeName value: menuFont range: NSMakeRange(0, [textStorage length])];
    [textContainer setLineFragmentPadding: 0.0];
    [layoutManager glyphRangeForTextContainer: textContainer];
    stringRect = [layoutManager usedRectForTextContainer: textContainer];
    You'll probably want to use a different font and a more reasonable size for the text container.

  • Minimum height for main window

    Hi
    I am having a table with datas in my main window and a seperate footer(not table footer) which has to be dispalyed at the end of the page and both with borders. My problem is that when there is few data the box of main window is not touching the box of footer. It will display as 2 seperate boxes. I have tried providing minimum height to tables. But did not helped. Please suggest me a solution.
    Thanks in advance,
    Regards
    Sathar

    Hi Sathar,
    In FORM PAINTER u just join the borders of the main window and the footer.
    so that i will display both joined even if the data is more aor less.
    Best regards,
    raam

  • Report Generation Toolkit Table Row Height-MS Word

    I am having trouble setting the table row height in the report generation toolkit. I can set the column width fine, but the row height seems to remain the same no matter what I set it to. I have attached the VI that generates and formats the table, and the printout it is resulting in. I have also attached the template file I am using.
    Any tips to get this to work right? I am trying to make the cells exactly the same height as the text inside. 
    Solved!
    Go to Solution.
    Attachments:
    AddMarkersToReport.vi ‏20 KB
    badFormatting.pdf ‏179 KB
    splitter.docx ‏13 KB

    Hi,
    So I tried .2  and it didn't work.  So I went to Word to manually change it, and it did not work either.  There is a selection box in word, for the table properties, that seems to default to the value "at least".  When I changed this manually to "exactly" in word, no problem with the .2 manually in Word.
    Hopefully this can be set within the template, for all new inserted tables.  I'm not sure the report generator VI's expose this property.  Well, this is a start for the issue.
    Edit ****
    You can go into the add table VI and expose the property.  See pic.   However, you have to decide if you want to "upgrade" this VI permanently to expose this property or make a copy with the property exposed.   I haven't messed with the new class reports too much, so not sure of the ins and outs with this.
    I think this is the issue with the row size becoming smaller.
    Mark Ramsdale

  • How to set minimum height size for an empty XML Form iview

    Hi,
    I'm trying to configure the minimum height size of an XML Form iview without sucess. Even when there is no content to show, iview height size is around 80 pixels. When there is content the automatic configuration works fine and the iview is resized properly.
    The iview has automatic size and the minimum size for automatic is with 5 pixels...
    Any ideas?
    Thanks,
    Marcelo

    Hi,
    I'm trying to configure the minimum height size of an XML Form iview without sucess. Even when there is no content to show, iview height size is around 80 pixels. When there is content the automatic configuration works fine and the iview is resized properly.
    The iview has automatic size and the minimum size for automatic is with 5 pixels...
    Any ideas?
    Thanks,
    Marcelo

  • Fit Table width/height to Margin

    It would be a great handy feature if the table width could be fitted to the margin of the page.
    Moreover 'tables' need some more extra features like : distribute rows/column evenly to fit table width/height. At present this feature extends the table width/height when applied. Once I fix the width and height of the table, distribute rows/column must fit to that width/height only. The table should only extend when I add rows or column.

    >I have a 2-page site for a customer and have set it up as
    tables (from
    > Photoshop CS to Dreamweaver MX).
    Bad start. Read this for a better approach -
    Taking a Fireworks comp to a CSS-based layout in Dreamweaver
    http://www.adobe.com/devnet/fireworks/articles/web_standards_layouts_pt1.html
    http://www.adobe.com/devnet/fireworks/articles/web_standards_layouts_pt2.html
    Then read this -
    http://apptools.com/examples/pagelayout101.php
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Jonclyde" <[email protected]> wrote in
    message
    news:gfenmb$dek$[email protected]..
    >I have a 2-page site for a customer and have set it up as
    tables (from
    > Photoshop CS to Dreamweaver MX). The first page opens
    fine with the table
    > occupying 100% up and down as required, but clicking a
    link to the second
    > page
    > causes the table to shrink in size, even though (as far
    as I can tell)
    > both
    > pages are virtually identical when it comes to layout. I
    did one page,
    > then
    > copied it to make the second page. Check it out for
    yourself here:
    > www.jonathanstewart.com/chc/index.html. I can get the
    second page
    > (Services) to
    > open properly only if I set the target to _blank. Check
    the far right and
    > bottom of screen on both pages. The bar at the bottom
    should rest on the
    > bottom
    > of the browser window whatever the window's size, and
    the bar at the top
    > should
    > extend "off the page" at both left and right. Any ideas?
    >

  • CSS issue when changing the table row height to 16px

    Hello,
    After changing the table row height through css like this:
    .table-row-cell, .table-cell {
    -fx-cell-size: 16;
    the table rows are correctly displayed with a 16px height but the cell bottoms seem to be incorrectly set.
    For example the following css style (a red 3px bottom border):
    .table-cell {
    -fx-border-width: 0 0 3 0;
    -fx-border-color: red;
    doesn't work anymore with the new row height whereas it works with the 24px standard row height.
    While investigating with Scenic View, I noticed that changing the row height changes the TableRow layoutBounds height (from 24px to 16px so that's ok) but not the boundsInParent height which remains to 27px. I think it should become 19px (16 + 1.5 + 1.5). I don't know if it's a bug.
    Anyway, any help making the css red border working for a 16px row height would be greatly appreciated.
    Regards,
    Bruno.

    Q: Would this help to just use absolute div tags and give me 'ABSOLUTELY ABSOLUTE' positioning?
    No.  APDivs are not a good primary layout method.  Use default CSS positioning (which is no positioning at all).  Align page elements with margins, floats and padding.
    See example -- 2-Column CSS Layout with Grids
    (View Page Source in your browser to see the code)
    http://alt-web.com/TEMPLATES/2-col-fixed-with-grid.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Setting a minimum height for a dyanmic subform

    I am creating a form that is reading in a set of instructions from XML. I would like to limit the instructions to 2 per page. Is there a way I can set a minimum height for the subform, so it will at least be 1/2 the page?

    Hi,
    If that's the case, then you could size each field in the Design view so that each field takes up have a page. Then in the Layout tab select "expand to fit height" (should also have allowed multiple lines in the Object / Field tab).
    Then when you import the XML, short instructions will appear two per page, while longer ones will flow onto following pages. If the fields are set to half a page then you should not get more than 2 on a page.
    Hope that is of help,
    Niall 

  • Is it possible to set a minimum height for a DIV container?

    Hello fellow developers,
    I wonder if it is possible to set a minimum height or a fixed height for a DIV container (P container, SPAN conrainer) like in HTML?
    Thank you!

    Thank you, Robin!
    But is it somehow possible to reserve a portion of space in the text flow so that later I can put a movie clip over this open space?
    (In HTML I would create a fixed dimension DIV element for this purpose and add its contents later.)

  • Minimum height for second facet in PanelSplitter.

    I am using af:panelSplitter with vertical orientation. Is it possible to specify a minimum height for the second facet so that the facet so that the splitter cant be moved down when the second facet have certain height.
    At present I can move the splitter till the bottom of the page so that the second facet disappears entirely.

    Hi,
    don't think there is a way to do this.
    Frank

  • Minimum Height Won't Adjust

    Hi,
    I have a bunch of dead space at the bottom of my web page that I don't want. I have tried adjusting the Minimum Height in both Page Properties and Site Properties, as well as dragging the arrows at the bottom (they won't move.) Please help!
    Thank you so much!

    Hello
    Please go to File -> Site Properties and disable "Sticky Footer" to see if that resolves the issue.
    Cheers
    Parikshit

  • Subform minimum height property minH not working

    Hi,
    I am trying to set the minH property of a subform, so that it is always the same size as the content area that it is sitting in.  This is because it has a border around it - I want the resulting box to be the same size regardless of whether the table data fills it up or not.  However this is having no effect - when I have less than one subform's worth of data the box is still shrinking.
    I can specify the subform as Positioned, with a height of 12cm.  This does the job when there is only one page of data, but when the table overflows onto the second page, the subform (including border) is still fixed at 12cm when I want it to potentially stretch down the whole page (20cm).
    In the Subform Form Ready event I have the following Javascript:
    this.minH = "12cm";
    What I was hoping would happen is that the subform would always display a minimum of 12cm on the first page, and on the subsequent pages it would be at least 12cm and expandable up to the maximum content area height of 20cm.
    I am using LCD ES version 8.
    Thanks,
    Vindaloo

    Robert Phelan wrote:
    why don't you just put a border on the subform itself?
    I already have a border around the subform - the problem was that it shrinks with the data, when I want it to be a fixed size on the first page and expandable on subsequent pages.
    The minH property seemed to be exactly what I was looking for, except that it had no effect whatsoever.
    Anyway, I have solved the problem by putting a fixed rectangle of the required size on each master page, rather than trying to use a variable height border around the subform in the Design view.
    Thanks,
    Vindaloo

  • Table Row Heights

    Hi
    I am using Indesign CS3 SDK on Windows.
    I am trying to use GetRowHeights() of TableGeometry to get height of multiple rows. I am getting Minimum Row Height * Number of rows, and not the actual height.
    Can anybody tell me how to get the exact height of these rows?
    Rajani

    In BO XIR3.1 the row height does not appear to be based on individual rows. Instead the row height is the same for each row in the table. Is there some setting that I need to adjust here?

  • Dynamically adjust table row height based on data in column

    Hi all,
    I'm using JDeveloper 11.1.1.5.0 and have a requirement for a table to adjust the height of its rows depending on the data in the columns. One of the columns in the table is a rich text description field and I have the 'rows' property set to 13. This field could have twenty lines of text/images or just one. The users would like the page to show all twenty lines of text without having to scroll but the table has the same height for all the rows (that I set to 13) and provides a scroll bar when the data exceeds this size. My users do not like to scroll, and want the height of each row to be determined by the data in it. I looked at a few options and also did a search online, but was unable to find anything to fulfill this requirement. Do you know of how I could change the height of each row in the table so that it fits the data that it holds?
    I have an example of my table at: <b>Table with Set Row Height</b>
    As you see, the picture has to be scrolled so that the whole picture is visible. The user requirement is to adjust the row height to show the full picture. Ideally the next two rows would shrink, but that would be a nice to have.
    Thanks in advance for any pointers or help.

    Hi Frank,
    Thank you for replying to my question, I truly appreciate your help.
    I tried to use the autoHeightRows to adjust the height of my rows but was unsuccessful. If I understand the autoHeightRows property correctly, this is used for setting the height of the whole table. If this is incorrect and it can be used for setting the height of individual rows in the table, please correct me. I have the 'Rows' property of the richTextEditor set to 13 and this is the height that I would like to make dynamic based on the data.
    My users requirement is for the height to be big enough for the data in each row of the table (the table has a description column and the height of each row should be determined by the data contained in it). I updated my <u><b>Screen Shot</b></u> to show the desired layout and what is currently being generated though ADF (http://www.flickr.com/photos/87583386@N05/) .
    I have three rows in the example (in actuality these are around 50) and the text in each row can vary. The users would like to see the full text/image in each row without having to scroll each row. Currently my table is within Panel Box, which is inside a PanelGroupLayout-Scroll which is in a PanelStretchLayout. I tried to put the table by itself with the autoHeightRow modifications you suggested but thsi did not help either. I am using JDeveloper 11.1.1.6.
    Is this possible with an ADF Table? If it is, is the autoHeight property the only one that I am setting incorrectly? If not, is there another component I can use to get the desired functionality? My users are very strict about this requirement and will not accept the application without this.
    Thanks,

Maybe you are looking for

  • Nvidia card giving me same trouble as Ati card

    Okay, originally I was using a Radeon 9500 Pro video card.  The problem was that anything OGL accelerated completely froze my system; I couldn't run glxgears without it freezing.  I tried and tried and tried to find a solution to the problem, using t

  • Error messages are getting swapped in b/n Idocs

    Hi everybody, I am using SAP R/3 6.20. I have scheudled a background periodic batch job which automatically reprocesses the error IDocs of the same message type (say M1). It runs every 5 minutes and reprocesses all M1 IDocs in error created on the da

  • Download Manufacturing Integration and Intelligence (XMII)

    Hi, Dear all , can some you please help me to locate a valid URL from where I can download Manufacturing Integration and Intelligence (XMII). The link given in Service Market place is not a valid link. Thanks and Rgds Hemantha

  • Media Manger won't reconnect Merged Clips

    I have a project that has tons of merged clips (Video synced to Audio .wav files). All is well within the project, but if I try to use Media Manager to copy media and duplicate it into a new project, it cannot reconnect the Merged Clips. Video comes

  • Shift sequence in available capacity

    hi, all SAP experts,   my question is as follows I created grouping in which shift sequences are defined and i assign this group to work center in capacity header. So work center should have to select shift sequence in capacity tab but i enter manual