PDF TEMPLATES ISSUE...DISTANCE BETWEEN LINES

Hello People... after a read the manual i tried to do a pdf template based on a legal asset map.
in Manual i read this
'Note: The placement of this field in relationship to the
BODY_START tag defines the distance between the repeating rows
for each occurrence. See Placement of Repeating Fields, page 8-15.'
My template have fixed lines and what i want to do is for each ocurrence put the data inside of line of the template. i tried to adjust commanding the space of start body form field and the repeating group field. Some rows stay's inside of the lines of my template but some rows don't. someone know's a way to do this? i dont understand why the distance between the rows have variations and dont stay always at the same distance of the previous line. I can send my output to anyone.
Tks in advance.

Kenoli,
The objects are interacting because they are Inline (Moves with Text) and/or you have "Causes Wrap" turned on.
With the object selected, go to the Format Pane and the Arrange Tab, set the Object Placement the way you want it and adjust Text Wrap to None.
Jerry

Similar Messages

  • 11i AP Check PDF Template Issue

    Greetings All ~
    Some history:
    I have been working on trying to find a solution for printing our PDF AP Check Template. I started off using a template that used a Recurrsive template, thought I was golden but then when running with multiple invoices discovered that the check does not stay at the bottom of the page.
    Then I stumbled on a blog by Tim Dexter that provided a template for fixed rows but my check still floats depending on the number of invoies on my page.
    Then I also found another blog by the "Functional DBA" that mentioned using XSL-FO rather than the RTF.
    I have spent days working on this with no solution, so I am hoping to get some help here like I have in the past. I also understand that there is no RTF template in 11i for AP Check. So what happens to all this when we go to R12?
    I either need to say we are not going to do this until R12 or get moving on this so any help or guidance is much appreciated.
    Thank you.

    Yes , if ur calling another report in your data template by using after report trigger... still in that case the concurrentprg and template botha re important....
    template is important as you have to run the second report also in xml publisher pdf format .
    for concurrent program i am not sure but its important in any case ... i think.
    Regards
    Ratnesh P

  • Issues With PDF Template Mapping

    Hi all,
    Oracle BI Publisher for Windows 10.1.3.2.1
    Oracle Publisher Desktop 10.1.3.2.1
    Adobe Acrobat 5.0.5
    Broswer IE 6.0.29
    I have created a report based on a single database table (DEMO.PRODUCTS) but am experiencing problems when I try and map the form fields in PDF Template to my sample XML file.
    I created a PDF Template and uploaded this template to my Layout. This PDF Template has two form fields on it (PRODUCTNAME and UNITPRICE, which incidentally are the names of the database columns I want them to map to).
    I have also uploaded my sample XML data file and therefore have access to the Map Form Fields button on my report definition. However, when I click on the button a new window opens with the Map PDF Form Fields and a dialog to "Click on each highlighted...." and then hangs. When I close the window I receive a message about an Adobe Acrobat error.
    If I try and do the same thing in Firefox then I receive a message in the JavaScript Console:
    Acrobat Database Connectivity Built-in Functions Version 5.0
    Acrobat EScript Built-in Functions Version 5.0
    Acrobat Annotations / Collaboration Built-in Functions Version 5.0
    TypeError: app.execDialog is not a function opened this in Adobe Acrobat
    Any suggestions or comments appreciated.
    Many thanks,
    Gary.

    Hi Aashish,
    I suggest you to check the RTF Template of your report ....as if your xml output file on submit request form--->diagnostic --->view xml ...is generated ... it means that your data defination file is perfectly fine but there is issue with your rtf template....may be some of grouping or tag is not put properly...
    one thing i want to suggest you to pls save that data file as .xml extension and upload in rtf u designed on youe desktop.... check theprview if its coming fine or not.
    let me know if u still facing the same problem.
    regards
    Ratnesh P

  • Shortest distance between two line segments

    Hi.
    I am looking for the code of the "Shortest distance between two line segments". I would appreciate if anyone has and willing to share.
    I can find some in the net but its in VB and i am not familiar with it.
    THanks a lot.
    regards,

    There are a couple of things that are not clear:
    What determines the rotation speed and lenght of each stick at any given time?
    What is the program allowed to do to prevent collision (change speed/direction, change radius, stop everything)
    Since you want to prevent collision, you need a predictive algorithm. Once they overlap, the collision has already happened. Too late!
    What information does your algorithm get (e.g. r1, r2, theta1, theta2, delta-thetat1, delta-theta2, etc.), i.e. does the program only get static information and need  to construct the trajectory from sequential history data or does it get dynamic information about speed and direction?
    The trivial answer would be to just keep r1+r2 < distance(P1,P2). This will prevent all "potential" collisions.
    LabVIEW Champion . Do more with less code and in less time .

  • How to draw a line(shortest distance)  between two ellipse using SWING

    how to draw a line(should be shortest distance) between two ellipse using SWING
    any help will be appreciated
    regards

    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import javax.swing.*;
    import javax.swing.event.MouseInputAdapter;
    public class ELine extends JPanel {
        Ellipse2D.Double red = new Ellipse2D.Double(150,110,75,165);
        Ellipse2D.Double blue = new Ellipse2D.Double(150,50,100,50);
        Line2D.Double line = new Line2D.Double();
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            g2.setPaint(Color.green.darker());
            g2.draw(line);
            g2.setPaint(Color.blue);
            g2.draw(blue);
            g2.setPaint(Color.red);
            g2.draw(red);
        private void connect() {
            double flatness = 0.01;
            PathIterator pit = blue.getPathIterator(null, flatness);
            double[] coords = new double[2];
            double x1 = 0, y1 = 0, x2 = 0, y2 = 0;
            double min = Double.MAX_VALUE;
            while(!pit.isDone()) {
                int type = pit.currentSegment(coords);
                switch(type) {
                    case PathIterator.SEG_MOVETO:
                    case PathIterator.SEG_LINETO:
                        Point2D.Double p = getClosestPoint(coords[0], coords[1]);
                        double dist = p.distance(coords[0], coords[1]);
                        if(dist < min) {
                            min = dist;
                            x1 = coords[0];
                            y1 = coords[1];
                            x2 = p.x;
                            y2 = p.y;
                        break;
                    case PathIterator.SEG_CLOSE:
                        break;
                    default:
                        System.out.println("blue type: " + type);
                pit.next();
            line.setLine(x1, y1, x2, y2);
        private Point2D.Double getClosestPoint(double x, double y) {
            double flatness = 0.01;
            PathIterator pit = red.getPathIterator(null, flatness);
            double[] coords = new double[2];
            Point2D.Double p = new Point2D.Double();
            double min = Double.MAX_VALUE;
            while(!pit.isDone()) {
                int type = pit.currentSegment(coords);
                switch(type) {
                    case PathIterator.SEG_MOVETO:
                    case PathIterator.SEG_LINETO:
                        double dist = Point2D.distance(x, y, coords[0], coords[1]);
                        if(dist < min) {
                            min = dist;
                            p.setLocation(coords[0], coords[1]);
                        break;
                    case PathIterator.SEG_CLOSE:
                        break;
                    default:
                        System.out.println("red type: " + type);
                pit.next();
            return p;
        public static void main(String[] args) {
            final ELine test = new ELine();
            test.addMouseListener(test.mia);
            test.addMouseMotionListener(test.mia);
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.add(test);
            f.setSize(400,400);
            f.setLocation(200,200);
            f.setVisible(true);
            EventQueue.invokeLater(new Runnable() {
                public void run() {
                    Graphics g = test.getGraphics();
                    g.drawString("drag me", 175, 80);
                    g.dispose();
        private MouseInputAdapter mia = new MouseInputAdapter() {
            Point2D.Double offset = new Point2D.Double();
            boolean dragging = false;
            public void mousePressed(MouseEvent e) {
                Point p = e.getPoint();
                if(blue.contains(p)) {
                    offset.x = p.x - blue.x;
                    offset.y = p.y - blue.y;
                    dragging = true;
            public void mouseReleased(MouseEvent e) {
                dragging = false;
            public void mouseDragged(MouseEvent e) {
                if(dragging) {
                    double x = e.getX() - offset.x;
                    double y = e.getY() - offset.y;
                    blue.setFrame(x, y, blue.width, blue.height);
                    connect();
                    repaint();
    }

  • Issue with long gaps between lines in both Mail AND Address Book

    Hey folks,
    I'm having a weird problem... I've done a bit of research on here but I have yet to find my exact issue... I was wondering if anyone can shed some light on this for me!!
    This problem has been happening in my Address Book app for awhile now, but more recently started happening in Mail - there are long gaps in between lines such as Name, Date, Subject, From, ect...etc... Plus, in Mail, when I hover over the To and From names, the highlight bubble is really large! It's very strange... check out this screen grab...
    I've tried repairing permissions but that didn't seem to help.
    My Mail only did this after quitting the program and starting it back up, but now it does it all the time. Address Book has been having this issue for quite some time.
    Any help would be much appreciated!!!
    Thanks in advance...
    - Joe Ciaramella
    G4 Dual 1ghz   Mac OS X (10.4.4)  

    Ernie,
    Thanks so much for your help... To answer your question, yes I did research those topics but finding things in bits and pieces didn't seem to do the trick. Well, tonight I ran Font Finagler AND I reinstalled Library > Fonts from my OS X install disc... And low and behold, MY PROBLEMS ARE CURED!!!!
    So thanks for giving me the link to those other posts which seemed to have all the info I needed.
    Take care...
    - Joe Ciaramella

  • Distance between next line

    Dear experts,
    In sapscript if use the following code,i find that something like this is happening
    I have given code for the window i created myself ZWIN
    /E: HEADING
    AS:   Mr Bob Williams
    AS:  12,Vincent Street
    AS   :London.
    But i find text comes on paper like this on printing.
    Mr Bob Williams
    12,Vincent Street
    London
    There is a lot of distance between next line.Which attribute i need to control ?

    Hi,
    you can create customized paragraph format based on your requirement. But its better to understand each and every function in the styles so that you can understand the behaviour.
    Thanks
    Arul

  • Populate PDF template with data from another form

    Hi all, it's been a while since I've been here. I'm not a LC pro by any stretch, but I've been working on a personal project which I hope will someday result in a small business. The idea is simple: a client fills out a custom form in Acrobat Reader which I've created in LC Designer. Upon completion, they email the pdf (or XDF, or XML, or E4X or whatever might be possible, I'm not even sure!) back to my website.
    On my end... and this is hopefully automated... the data would be injected into a template PDF the client needs. This would then be sent back via email for them to print.
    It's been over a year since I worked on this. Both the front end forms and the pdf templates are built, but the interaction between receiving the client data and populating the template form never got worked out.
    Could anyone provide me with a clue as to what this workflow might look like?
    Just to be clear, this application would be waaay too small to even think about going the Enterprise route. I'm "thinking" the automation part of it would be handled by some custom PHP coding, but that's another story.
    Thanks!
    Graham Calhoun

    Thanks PMG.
    Yes, I am wedded to the idea that I will only use Adobe PDF. The server component is a whole other story though. I understand the value of it, but as a small business, the idea of coughing up 60k is pretty much out of the question. Especially given that this form is a one of a kind, simple, time saver for my prospective clients.
    From what I understand about LC, Acrobat and Reader, there are severe limitations imposed on saving form information in Reader. My clients need to be able to do that, as the form is quite extensive and needs to be revisited to be sure information is correct.
    While any one user will probably not exceed the 500 submissions issue, hopefully there will be more than 500 users submitting 1 time!
    We'll see if I can work around this issue.

  • PDF Template

    Hi,
    We designed a PDF Template for Purchase Order and are able to get the output correctly only for a Single PO number which displays on one page...if it contains more number of lines which take more than one page then we are not getting the output correctly.
    The lines data are displaying correctly but header data with ship to and bill to are coming only on the last page.
    We designed the PDF Template in a similar manner as given in the user guide(3-14) for PO report.
    Thanks.

    Sounds like an issue with the for-each grouping or xml file hierarchy. Have you tried creating an RTF template, that has worked very well for us.
    Brett

  • Page break between line items and address in invoice

    Hi Team,
    I am getting a Page beak problem between line items in an invoice.
    If i have 10line items which needs to be displayed in the output all are displayed in 3 pages. but my problem is when displaying the line item details in any page it should be fully displayed on the same page else it should go to the next page for display.
    Each line details needs to be printed on same page only (currenty Items and adresses are split up in different pages. ).
    Please let us know how can i solve this.
    Thank you for your help.
    Best Regards,
    Kumar.

    Hi Karthik,
    Thank you for your answer.
    I have already done creating a folder and grouped the text elements as you have suggested in Mainwindow. I guess my explanation on my issue is not clear.
    Actaully after printing the number of line items in an order we are printing the Certificate recevier details as a last row which is now having the problem, and it is getting truncated into two parts when enough space is not there to print on the same page.
    If i make the text element related to the  Certificate receiver properties to Page protection will it work ? i will try this option now..
    Mean while any suggestion on this regard is welcome.
    Thanks alot for your help.
    Best Regards,
    Kumar.

  • Bursting a PDF Template is not working correctly

    We are using a PDF template for an export document and we are bursting the request so that we can send the output to multiple destinations.
    This all works correctly until we hit a document that results in multiple pages. This results in the generated output to be a complete mess. Text appearing all over the page.
    If I take the same XML and run it through the template in Template viewer, everything works as expected. The text is all where it is supposed to be. So this appears to be an issue with how the XML and template are bursted.
    Anyone have any ideas?
    EDIT: I should mention that we're on XML Publisher v 5.6.3
    Edited by: Allen N on Apr 30, 2009 1:45 PM

    Problem solved - thanks pancenter!
    "In Preferences/Audio
    Do you have Universal Track Mode selected? If not, try selecting it."

  • HP Envy 17t-j100 Distance between USB Slots suggestion

    I intended this post as a recommandation for HP. 
    I have an HP Envy Touchsmart 17t-j100 and everything is excelent up until now.
    The only thing that is very annoying is the distance between USB ports. PLEASE increase the distance between USB ports for the future models. I have a lot of problems tryng to connect everything I need.
    Even if I try to open the DVD drive, it will stuck in my USB device. I mean how much difficult is to put a distance of 1 cm between them? 
    If the USB cables are the standard size, there are no problems but most of the USB devices nowadays are much more wider than a standard USB cable and I keep having problems.
    I mean it's a 17" laptop, there is plenty of space on the sides. In the end, it's better to drop the DVD drive and put a VGA slot instead, but with bigger distance between USB ports.
    I am planning to buy another ENVY in the future but I really want my new laptop to have USB ports with a wider distance bewtween them. 
    Thank you very much and I hope HP will take care of this little problem on the future models.
    Have a nice day.
    This question was solved.
    View Solution.

    Hi @catapara89 ,
    Thank you for visiting the HP Support Forums and Welcome. Thanks so much for taking the time to let us know of your suggestions on the USB slots. It is important and has been viewed.
    Have a great week.
    Thanks.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • Calculating co-ordinate distances between specific atoms

    Hi,
    Below is some code to calculate distances between all pairs of atoms. However, i need to make it slightly more specific by only calculating the distance between certain pairs of atoms
    input
    ATOM 5 CA PHE 1 113.142 75.993 130.862
    ATOM 119 CA LEU 7 113.101 72.808 140.110
    ATOM 138 CA ASP 8 109.508 74.207 140.047
    ATOM 150 CA LYS 9 108.132 70.857 141.312
    ATOM 172 CA LEU 10 110.758 70.962 144.119
    e.g distance between all pairs for atoms 5, 119, 150 and 172 (say), last three columns are x,y and z co-ordinates
    code it self
    import java.util.*;
    import java.io.*;
    public class Distance {
    public static void main(String[] args) {
    System.out.println("***Campbells PDB Distance Calculator***" + "\n");
    new Distance();
    System.out.println("\nResults printed to file DistanceCalculations" + "\n");
    System.out.println("\nDue to nature of code, if rerun results will be appended to the end of previous run.");
    public Distance() {
    Vector atomArray = new Vector();
    String line;
    try{
    System.out.println("Enter PDB file:" + "\n");
    BufferedReader inputReader =new BufferedReader (new InputStreamReader(System.in));
    String fileName = inputReader.readLine();
    if ( fileName !=null) {
    BufferedReader inputDistance = new BufferedReader (new FileReader (fileName));
    while (( line = inputDistance.readLine()) !=null && !line.equals(""))
    Atom atom = new Atom(line);
    atomArray.addElement(atom);
    for (int j=0; j<atomArray.size(); j++) {
    for (int k=j+1; k<atomArray.size(); k++) {
    Atom a = (Atom) atomArray.elementAt(j);
    Atom b = (Atom) atomArray.elementAt(k);
    Atom.printDistance (a,b);
    } //if
    } //try
    catch (IOException e) {
    System.out.println("Input file problem");
    } catch (Exception ex) {
    System.out.println (ex);
    class Atom {
    public double x, y, z;
    public String name;
    public Atom(String s) throws IllegalArgumentException {
    try {
    StringTokenizer t = new StringTokenizer (s, " ");
    t.nextToken();
    this.name = t.nextToken();
    for (int j=0; j<3; j++) t.nextToken();
    this.x = new Double(t.nextToken()).doubleValue();
    this.y = new Double(t.nextToken()).doubleValue();
    this.z = new Double(t.nextToken()).doubleValue();
    catch (Exception ex) {
    throw new IllegalArgumentException ("Problem!!!! :-(");
    public String toString() {
    return "atom : " + name + "(x=" + x + " y=" + y + " z=" + z + ")";
    public double distanceFrom (Atom other) {
    return calculateDistance (x, y, z, other.x, other.y, other.z);
    public static double calculateDistance (double x1, double y1, double z1, double x2, double y2, double z2) {
    return Math.sqrt(Math.sqrt(Math.pow(Math.abs(x1-x2),2)+Math.pow(Math.abs(y1-y2),2))+Math.pow(Math.abs(z1-z2),2));
    public static void printDistance (Atom a, Atom b) {
    try{
    FileWriter fw = new FileWriter("DistanceCalculations", true);
    PrintWriter pw = new PrintWriter (fw, true);
    if
    (a.distanceFrom(b) <9){
    pw.println("Distance between " + a.toString() + " and " + b.toString() + " is " + a.distanceFrom(b));
    pw.flush();
    pw.close();
    } // if??
    } //try loop
    catch(IOException e) {
    System.out.println("System error");
    }

    ok, essentially
    want to calculate distance between to ranges. Say
    range 1 is the first three, range 2 the rest. THen
    calculate distance between all possible pairs between
    these two rangesYes - and no doubt that any number of people here could write it for you. But that's not what the forum is about. So what, exactly, is preventing you from doing it?
    Sylvia.

  • Use XMLP to pull only specific pages from larger PDF template?

    We need to be able to pull specific pages or a range of pages out of a larger template to use to merge data into and return to users or the selected delivery method. I've seen a lot of information about how to add page numbers to PDF templates / documents, but nothing about how I can pull out specific pages. We know this can be done using iText or some other technology, but does anyone know if this can be done using XML Publisher at all? This is a big issue for us and could determine whether we end up using XMLP at all or go with something else. Any info would be helpful.
    Thanks!

    Hi
    Publisher is not currently capable of pulling out specific pages from a given PDF,.
    Regards, Tim

  • Special Characters in the RTF or PDF Template

    I need some help from you, regarding the special characters display in the RTF or PDF template of XML publisher.
    The instrument name, I retrieve has a special character in it
    Synchron® LX20 PRO Clinical System
    But, when it gets displayed on the RTF template, it shows up as
    Synchron® LX20 PRO Clinical System
    Appreciate any help from your side to resolve this issue.
    Environment:
    XML publisher 5.6.2
    MS word 2003
    Ebusiness Suite := 11.5.10. CU2

    One of the workarounds, we have is by using the replace
    <?xdofx:replace(CFD_INSTR_SYSTEM,'Â','')?>
    But my concern is, if we have any cleaner solution then this. Since in my case, I need to use this replace function with most of the XML element tags; with an anticipation that it may come up with a special character. ( Though this is a very corner scenario).
    And moreover in this present case, the special character is ® ; not sure if the display will be  for all special characters.
    If there is a better solution, let us know.

Maybe you are looking for