How to put a solid bottom border for table at page break - XML Publisher

Hi There,
In XML Publisher Invoice report template, I have table with hidden lines. It repeat for each invoice item.
However I need to close the table with a solid line at the page break, when the table is extended to multiple pages.
How can we know if its a page break. I think we can use an if condition if we know the tag for page break( for example like this <?if:@page-break="true"?> ).
Thanks in Advance.
Vishnu.

You can declare two variables, to hold the previous and current LOCATION values and break the page when it differs.
Or just before your end-for-each, have this code.
<?if:position()!=1 and position()!=last() and LOCATION!=following::LOCATION[1]?><xsl:attribute name="break-before">page</xsl:attribute><?end if?>
Ensure that its placed in a form field.
This will have a page break when LOCATION changes.

Similar Messages

  • Fine solid black border for table-cell

    Hi!
    I'm facing the following problem. I'd like to have a tableview where cells have a fine! black (not grey) border. The result should look like a typical Excel-Spreadsheet.
    When entering this in the css Stylesheet:
    .table-view {
        -fx-background-color: white;
        -fx-border-color: black;
        -fx-border-width: 0.8px;
    .table-cell {
        -fx-background-color: white;
        -fx-text-fill: black;
        -fx-border-color: black;
        -fx-border-width: 0.1px;
        -fx-border-style: solid;
    The border of the tablecells get grey are still are to width. How could I get my excel-like grid? When increading changing the width (i.e. to 0.5) the line gets "more black") but unfortunately also too wide.
    Thanks in advance,
    Michael

    Hi!
    I'm facing the following problem. I'd like to have a tableview where cells have a fine! black (not grey) border. The result should look like a typical Excel-Spreadsheet.
    When entering this in the css Stylesheet:
    .table-view {
        -fx-background-color: white;
        -fx-border-color: black;
        -fx-border-width: 0.8px;
    .table-cell {
        -fx-background-color: white;
        -fx-text-fill: black;
        -fx-border-color: black;
        -fx-border-width: 0.1px;
        -fx-border-style: solid;
    The border of the tablecells get grey are still are to width. How could I get my excel-like grid? When increading changing the width (i.e. to 0.5) the line gets "more black") but unfortunately also too wide.
    Thanks in advance,
    Michael

  • Curved border for tables

    How can i create cruved border for table using CSS ?.
    Please post sample code.

    I did not realize that some browsers have started to support
    CSS3 yet.
    Yes the CSS3 spec does allow for a border radius property and
    a few
    users may have a compliant browser that understands it.
    Here is the first link I found with a Google search for "CSS
    curved border"
    http://www.esqsoft.com/css-help/border-radius-css-curved-borders.htm
    Still not a ColdFusion/CFML issue so you are a bit off topic
    for this forum.

  • How do I create a beta site for my client to preview before publishing?

    how do I create a beta site for my client to preview before publishing?

    Provide the name of the program you are using so a Moderator may move this message to the correct program forum
    This Cloud forum is not about help with program problems... a program would be Photoshop or Lighroom or Muse or ???

  • How can I make a default border for a JWindow?

    I have a JWindow object that is created when a button is pressed in a JFrame. I want the JWindow to have the same type of border as the JFrame from which it's created. However, the JWindow is not created automatically with a border as the JFrame is, so I don't know how to set the border abstractly so that whatever border is used for the JFrame, per he default L&F, will also be used for the JWindow.
    I tried grabbing the border object from the JFame instance itself, but there is no such field in JFrame or any of its ancestor classes. I looked at UIDefaults, but I have no idea how this class can be used to get what I want. For example, if I use UIDefaults.getBorder(Object obj), what do I specify for the argument?
    I'd be happy with an abstract or a concrete solution. That is, either using the default Border for top level containers in the current L&F, or by grabbing an actual Border instance from a JFrame object.
    -Mark

    Also, I'm curious why you said that JFrame is not a swing component.A Swing component extends JComponent. Basically this means that all the painting of the component is done in Java. You can add Borders to any Swing component. It is called a light weight component. A light weight component cannot exist by itself on the window desktop.
    JFrame, JDialog and JWindow are top level components. They can exist on their own on the windows desktop because essentially they are Windows native components. They have been fancied up to make it easy for you to access and add other Swing components to it which is why they are found in the swing package.
    A Windows border is not the same thing as a Swing Border and there is no way to access the native windows border and use it in a Swing application (that I know of anyway). Swing Borders are not used in a normal JFrame, the Windows border is used. You can however, turn off the use of Windows decorations and use Swing painted decorations. Read the tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/components/frame.html#setDefaultLookAndFeelDecorated]Specifying Windows Decorations. However, this doesn't really help you with your Border problem. If you look at the source code for the FrameBorder, you will find that the "blue" color of the Border is only painted for "active" windows and a JWindow can never be the active window, only the parent JFrame or JDialog is considered active.
    Here is a simple program for you to play around with:
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.border.*;
    public class FrameDecorated
         public static void main(String[] args)
              JFrame.setDefaultLookAndFeelDecorated(true);
              JFrame frame = new JFrame();
              frame.setDefaultCloseOperation( JFrame.DISPOSE_ON_CLOSE );
              frame.setSize(300, 300);
              frame.setVisible(true);
              Border border = frame.getRootPane().getBorder();
    //          Border border = UIManager.getBorder( "RootPane.frameBorder" );
              System.out.println( border );
              JWindow window = new JWindow(frame);
              JPanel contentPane = (JPanel)window.getContentPane();
              contentPane.add(new JTextField(), BorderLayout.NORTH);
              contentPane.setBorder( border );
              window.setSize(300, 300);
              window.setLocationRelativeTo( null );
              window.setVisible( true );
              System.out.println("Window:" + window);
              Window ancestor = SwingUtilities.getWindowAncestor(contentPane);
              System.out.println("Ancestor:" + ancestor);
              System.out.println(ancestor.isActive());
              System.out.println(frame.isActive());
    }

  • How to put an mp4 movie file for viewing or streaming/

    How do I download an mp4 file for viewing or streaming?

    The easiest way is to add your video to YouTube or Vimeo and embed it into your page.

  • How to put links (name anchors) in a dynamic generated page

    I have a page (results.asp) that gets dynamically generated
    from a db using a DW and MySQL app. The page (a table) looks
    sometihng like this:
    Year Card #
    1951 01
    1951 02
    1951 03
    1952 01
    1952 02
    1953 01
    1953 02
    1953 03
    and so on
    I've made the "Year" column a text link and added a Pop-Up
    Menu behavior so that users could select a year and jump directly
    to a specific section of the page (table). However, I'm not sure
    how to put a <a href> name anchor in for each of the years.
    For instance calling :
    <a name="1951">1951</a>
    from a declaration of:
    <a href="#1951">Go to year 1951</a>
    I would want to call each year (1951, 1952...1973) using name
    anchors. But again, I'm not sure how to put all the named anchors
    in a document that gets dynamically generated. It is a a table that
    gets its data generated via a Repeated Region. Hope this question
    makes sense. Any suggestions/comments appreciated. Thanks.

    If you year card allways follows that format then you could
    use the
    following code on the page.
    Outside of the repeat region have this statement
    <%
    Dim TestYear, CurrentYear, ThisYearCard
    TestYear = "0000"
    %>
    Then in the repeat region where you want the anchor to appear
    use this code
    <%
    ThisYearCard = recordset.fields.item("YearCard").value
    CurrentYear = Left(ThisYearCard, 4)
    If TestYear <> CurrentYear then
    response.write("A name='") & CurrentYear & "'>"
    TestYear = CurrentYear
    End if
    %>
    Where you want the Year card to appear you would then use
    <%=ThisYearCard%>
    rather than the recordset element.
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "obcbeatle" <[email protected]> wrote in
    message
    news:e67pg5$rp0$[email protected]..
    >I have a page (results.asp) that gets dynamically
    generated from a db using
    >a
    > DW and MySQL app. The page (a table) looks sometihng
    like this:
    >
    > Year Card #
    > 1951 01
    > 1951 02
    > 1951 03
    > 1952 01
    > 1952 02
    > 1953 01
    > 1953 02
    > 1953 03
    > and so on
    >
    > I've made the "Year" column a text link and added a
    Pop-Up Menu behavior
    > so
    > that users could select a year and jump directly to a
    specific section of
    > the
    > page (table). However, I'm not sure how to put a <a
    href> name anchor in
    > for
    > each of the years. For instance calling :
    >
    > <a name="1951">1951</a>
    >
    > from a declaration of:
    >
    > <a href="#1951">Go to year 1951</a>
    >
    > I would want to call each year (1951, 1952...1973) using
    name anchors.
    > But
    > again, I'm not sure how to put all the named anchors in
    a document that
    > gets
    > dynamically generated. It is a a table that gets its
    data generated via a
    > Repeated Region. Hope this question makes sense. Any
    > suggestions/comments
    > appreciated. Thanks.
    >

  • How to put Total Amount only on the section last page?

    I have been working on oracle purchasing report. I have used <?for-each@section:G_HEADERS?>. So report is paged based on new PO number. However, I have put a total amount on footer section. If the report with one specific PO number haas more than one page, for example, total page as 3, I'd like total field shows "Continued" on page 1 and 2, only list the total number on page 3. Does anyone know how to do that? The logic will be something like:
    if (currentPageNum < sectionTotalPage), then 'Continued', else <?TOTALAMT?>. However, I don't know how I can get currentPageNum and how to get sectionTotalPage.
    Edited by: user638845 on Apr 20, 2010 12:38 PM
    Edited by: user638845 on Apr 20, 2010 12:47 PM

    Hello,
    thank you for your reply, but the situatiation is the following:
    I have a dynamic form with two tabels, both of them are included into two separated subforms. And because I do not know how many lines will have each of them I have no clue how to force Designer to display the footer (or any object) at the very buttom on the last page only. I already included the footer into separated subform before I asked the question, but the problem is, that the footer is not displayed at the very buttom of the page, but directly behind the second tabel (subform). So it can happen that the second tabel will end at the top of the last page, it can have only 5 lines on the last page and in this case the footer will be displayed at the top or in the middle of the last page, not at the very buttom. This is my problem.
    Thank you once again for any suggestions.
    Best regards,
    Jan Zahradnicek

  • How can i  apply this  java program for  a jsp page?

    import java.io.*;
    import java.util.*;
    public class FileProcessing
      //create a vector container  for the input variables
         Vector variables = new Vector();
      //create a vector container for the constants
         Vector constants = new Vector();
      /*create a string expression container for the equation
         as read from the file */
         String expression = " ";
      //create double result container for the final result
         double result = 0;
         public boolean processFile(String filename,String delim)
          //index for values vector
              int num_values = 0;
          //index for constants vector
              int num_constants = 0;
          //current line being read from the external file.
              String curline = " ";
          //start reading from the external file
              try
                   FileReader fr = new FileReader(filename);
                   BufferedReader br = new BufferedReader(fr);
                   while(true)
                        curline = br.readLine();
                        if(curline == null)
                             break;
                    //determine the type of current interaction
                        boolean variable = curline.startsWith("input");
                        boolean constant = curline.startsWith("constant");
                        boolean equation = curline.startsWith("equation");
                        boolean output = curline.startsWith("result");
                   //on input variables
                        if(variable)
                          StringTokenizer st = new StringTokenizer(curline,delim);
                          int num = st.countTokens();
                          int count=0;
                          while(st.hasMoreTokens())
                               String temp = st.nextToken();
                               if(count==1)
                                    byte b[]= new byte[100];
                                    System.out.println(temp);
                                    System.in.read(b);
                                    String inputval = (new String(b)).trim();
                                    variables.add(num_values,inputval);
                                    num_values++;
                               count++;
                        // on constant values
                        if(constant)
                             StringTokenizer st = new StringTokenizer(curline,delim);
                             int num = st.countTokens();
                             int count = 0;
                             while(st.hasMoreTokens())
                                  String temp = st.nextToken();
                                  if(count==1)
                                       byte b[]= new byte[100];
                                       System.out.println(temp);
                                       System.in.read(b);
                                       String cons = (new String(b)).trim();
                                       constants.add(num_constants,cons);
                                       num_constants++;
                                  count++;
                        // on equation
                        if(equation)
                             StringTokenizer st = new StringTokenizer(curline,delim);
                             int num = st.countTokens();
                             int count = 0;
                             while(st.hasMoreTokens())
                                  String temp = st.nextToken();
                                  if(count==2)
                                       this.expression = temp;
                                  count++;
              // now we are ready to evaluate the expression
                       if(output)
                          org.nfunk.jep.JEP  myparser= new org.nfunk.jep.JEP();
                          myparser.setAllowAssignment(true);
                          for(int i=1;i<variables.size()+1;i++)
                             String name = "arg"+Integer.toString(i);
                             myparser.addVariable(name,new Double(variables.get(i-1)
                                                .toString()).doubleValue());
                          for(int i=1;i<constants.size()+1;i++)
                               String name = "arg" +Integer.
                                         toString(i+variables.size());
                               myparser.addConstant(name,new Double(constants.get(i-1).toString()));
                   //output is obtained as follows
                          myparser.parseExpression(expression);
                          result = myparser.getValue();
                          System.out.println("Assay value: "+result);
              catch(Exception e)
                   System.out.println(e.toString());
              return true;
         public static void main(String[] args)
              FileProcessing fp = new FileProcessing();
              fp.processFile("input.eqn",":");
    }//my text file name is: "input.eqn" (given below)
    input:Enter Value1:arg1
    input:Enter Value2:arg2
    input:Enter Value3:arg3
    constant:arg4
    constant:arg5
    Equation:arg1+arg2+arg3
    result:

    how can i apply this java program for a jsp pagewhy do you want to do this ?
    Your program reads from a file on the disk and formats based on a patterm.
    Jsp is not intended for such stuff.
    ram.

  • RH8 for Word - Strange page breaks and non-scoll headers

    RH8 and Word 2007 generating WinHelp 2000.
    Normal page breaks are full page width.
    When I insert one in manually, it shows as only 2 inches wide.
    A tiopic with this short break does not show as a non-scroll header and does not get included in the browse sequence
    Any ideas folks?

    Funny you should ask as I've been trying to figure this out too!
    This is a Word 2007 issue - I assume you are using Office 2007? I am using RH7, but I believe my solution will work for you because it is Word, not RH.
    Anyhow, assuming my Word 2007 assumption is spot-on, you need to change word options.
    Go to the Office button, select Word Options.
    Select Advanced.
    Scroll to bottom of the window and look for Compatibility options (very bottom of the window).
    Expand the layout options.
    Check "don't split apart page break and paragraph mark". (You can apply this to the current open doc you see or all docs - if all docs, you will probably change the global normal template, which you may not want to do.)
    Click Okay.
    Note, if you go to recheck the setting, the format is now listed as "custom".
    Specifically, what was happening is the page break was taking on a "normal" style with 0pts before and after. This caused for me a big gap between the top of the help window and my heading 1 style. (I have my Heading 1 style set to 6pt before and 2pt after and font is 12pt.) Changing the above makes the page break itself take on the Heading 1 style which then also expands across the draft window instead only a couple inches. Other than affecting how the Heading 1 might appear in the compiled help system, I don't see any probelm with using the page break with the normal style applied to it, however, it is a little disconcerting. I noticed this particularly in the Outline view as I sort the pages in my the doc alphabetically based on Heading 1 so I can locate info easily by client name. When I used the "normal" or should I say "abnormal" style page break, these page breaks were excluded from the sort and I had no page breaks! (At least there is still an undo option!)
    I'm not sure, but you may need to modify the robohelp.dot template to keep this permanent for your robohelp for word help systems.
    In addition, your heading style probably does not have the paragraph format setting set to "keep with next", so change the style and that should add the non-scroll to the header.
    One final piece of advice, have the "developer" tab showing in the ribbon. This allows you to access the template and see the styles in your doc. I would  uncheck the "automatically update" option so that when you reopen the doc, it doesn't lose any doc specific style changes you made.
    bb

  • How to change co-ordinates of an internal table in page 1 & 2 using offline adobe forms?

    Hello All,
    How to change co-ordinates of an internal table(main window data) from page 2 onwards in offline adobe forms. For e.g., I need to print my internal table around 3-4 lines along with header&footer(only 1st page)in page 1. From 2nd page onwards Internal table should print header and use remaining page til end.
    Thanks in advance for your help.
    Thank you,
    Janakiram.

    Issue resolved...need to use content area option to achieve the same.
    Thanks,
    Janakiram.

  • How to Avoid Blank Page in  XML Publisher oracle report

    Hi,
    I am running a report in xml publisher. The output of the report prints 2
    pages, one page with correct report output and other page is a blank page
    with header details.
    I want to avoid this blank page. Is there something wrong? Please help to fix this issue!
    Thanks!

    I am running a report in xml publisher. The output of the report prints 2
    pages, one page with correct report output and other page is a blank page
    with header details.
    I want to avoid this blank page. Is there something wrong? Please help to fix this issue!Is the issue with this specific XML Publisher report only?
    Do you have all the patches in (Overview of Available Patches for Oracle XML Publisher embedded in the Oracle E-Business Suite [ID 1138602.1]) applied? -- Search for "blank page".
    Thanks,
    Hussein

  • How to avoid blank page in xml publisher report

    hi,
    i have a xml report, it shows 7 rows in one page. the question is: if there are just 7 rows , when previews with pdf, it will generate 2 pages, the first page shows 7 rows, and the second page is blank.
    anyone can help?
    you can get the rar file that contains the .rtf and then .xml file at this site: [http://www.4shared.com/file/azhdqCp_/DELIVERY.html]

    I am running a report in xml publisher. The output of the report prints 2
    pages, one page with correct report output and other page is a blank page
    with header details.
    I want to avoid this blank page. Is there something wrong? Please help to fix this issue!Is the issue with this specific XML Publisher report only?
    Do you have all the patches in (Overview of Available Patches for Oracle XML Publisher embedded in the Oracle E-Business Suite [ID 1138602.1]) applied? -- Search for "blank page".
    Thanks,
    Hussein

  • Pivot Table, "Insert Page Break After Each Item" Setting Only Works for the First Item Change

    I have a flattened pivot table generated from Powerpivot and I would like to insert a page break for each change in the row item.
    When I use the pivot table Field Settings>Insert Page Break After Each Item, Excel inserts the first page break then returns to normal pagination for the rest of the output.
    Is there another setting required to maintain the page breaks after the item change?
    Thanks.

    We are experiencing the same problem. Did you ever find a solution?

  • (RTF) Check if there is enogh space for tables on page...

    Hi All,
    I have a report consisting of various tables of grouped data, each of which can contain varying amounts of rows.
    The first row of each table is defined as the header row and set to repeat across page breaks.
    What is happening as a result, is that as the report gets to the last line of the page, only the next table header prints then <new page>, table header reprints followed by the table data.
    Is there a way to only start a table on the current page, if there is enough room for at least one or two additional data rows to print?
    I could surround the table with another single-cell table, and set this to 'not break across pages', but a single table could be longer than a single page, and I don't want to have (for example) 1/2 page of white space, if the entire table won't fit on the space left on the current page.
    i.e. This is the problem:
    ==============
    +table 1 header       
    ==============
    +data row1             
    +data row2             
    +etc                       
    ==============
    ==============
    +Table 2 header      
    ==============
    -- page break --
    ==============
    +Table 2 header      
    ==============
    +data row1             
    +data row2             
    +etc                       
    ==============
    Thanks,
    Rob.
    Edited by: user2540130 on 7/04/2010 22:37

    Paanday, first make sure your Android has adobe air installed on it. Open the android market on your phone and search for it. If you can't find/install it, it means your phone is not compatible and will not run flash content that was exported as an .apk file.
    Your phone needs this https://market.android.com/details?id=com.adobe.air&feature=search_result installed.
    Also, don't you need Android version 2.2 at least? I could be wrong about this.
    And third, like I said, I fixed that issue by recreating my android certificate.

Maybe you are looking for

  • Long-term  retention backup strategy for Oracle 10g

    Hello, I need design a Archivelog, Level 0 and Level 1 long-term retention backup strategy for Oracle 10g, It must be based in Rman with tapes. ¿Somebody could tell me what it's the best option to configure long-term retention backups in Oracle?, "CO

  • Which is better?? Struts or...

    Hi I have an application (maybe around 20 UI pages) to be designed> I am new to struts.. I was looking through the PetStore code from BluePrints. Now since I can reuse the Controlelr Component from there I was wondering which would be better? Leanrin

  • Problem in screen whilw calling it from report

    Hi friends, I have created a report which contains a selection screen with following fields. Selection screen all are slect optins. VBELN KUNNR MATNR now when i enter the values in these slection screen and execute it, it basically calls a screen 100

  • Error running DataExportUtility - Cannot set up certs for trusted CAs

    When I try to run the DataExportUtility, I get the following Java exception... any ideas? Starting Data Export Utility... Exception in thread "main" java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot set up certs for trusted C

  • Replacement cost of assets based on Index value

    Hi All, We make one Index series but when we assigned the asset master in Insurance Tab system give the error massage. Indexing already performed in depreciation area 01 (Correct) Massage No,-AA283 Thanks & Regards, Juhi Edited by: juhis022 on Mar 2,