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

Similar Messages

  • 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.

  • 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

  • In smartform table data is repeating

    in smartform table, data is repeating and filling the page...
    actual data is only 3 rows...
    but it repeats and fills the page...how can i stop this...

    Hi Rajkamal
    You can easily debug the smartform; try hardcoding the break-point for your user ID.  (Break <ID>)
    Please check the number of entries in your table.
    If the number of entries are correct it can be only some loop in smartform - happy hunting !!
    Neer

  • 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

  • Dynamic color in cell of an SmartForm Table

    Hi Experts,
    How can i assign a color for a text in a cell (shading) in a smartform table?? Color depends of the data in smartform.
    Thanx

    I don't think we can do it dynamically.
    So, may be you have to create as many texts as you have colors conditions and assign relevent condition to each text.
    Regards,
    Naimesh Patel

  • 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.)

  • Problem in Smartforms table printing

    Hi Friends
    I have a weird problem with printing the smartforms table.
    The problem is as follows.
    Suppose there are 10 rows (entries/records) in the table and the page can accomodate only first 5 rows, it automatically overflows into the next page. Now typically the table should print the next 5 entries. But, instead, only the 6th row is printed and the rest 4 rows are not printed.
    Please advice.
    Thanks
    sam.

    This is due to some technical reason in the ABAP. If you are passing the sorted table, you have to declare it as already sorted.
    please read this
    If in the form interface a tables was passed that was sorted before by the application, and it is now processed in the loop of a data node, you must again list the sort fields explicitly and, in addition, mark the checkbox "already sorted".
    Due to technical reasons in ABAP, it is not possible to automtically pass the sort fields.

  • How to display smartforms table lines useing different background colour

    Hi all:
    How to display smartforms table lines useing different background colour .
    for example:
    line1:green
    line2:red
    line3:green
    line4:red
    line5:green
    line6:red
    line7:green
    line8:red
    Any help is highly appreciated!!
    启明星

    Hi,
    Create a two lines one for header and second for data in the table.
    1)In table painter we can find the pencil mark.
    2)select the pencil mark
    3)now select the line which you need to shade
    4) now select the shading colour in the table painter and the provide the resolution up to 100% and select table pattrn for that line.
    5) Now you can use this for the header now only the header gets shaded and the remaining gets unshaded.
    reward points if useful
    Thanks and Regards,
    Nishant

  • Smartform - tables

    Hi Friends..
    I need information about smartform tables, how to draw tables in smartform and display the data inside the tables.
    Thanks in advance
    gowrishankar

    hi gowrishankar,
    if u want to dispaly data item wise than u should use table....when data varies dynamically u should use tables....
    in this u need to define cells under table tab in that goto details...
    in data tab u will have to loop on internal table...
    and in pattern u will have select the patterns...
    for that table...
    hope this will help u out...
    please reward points in case usefull...
    regards,
    prashant

Maybe you are looking for