Creating extra star on PDF output (Customer Rating)

Hi all,
I am trying to develop a report for customer payment rating and creating start as a rating like one star, two star ... fine star.
I am developing this report according to user guide and getting one extra star like six star for 5.
I am using this code:
<?for-each@shape:xdoxslt:foreach_number($_XDOCTX,0,CUST_PYMT_RATING,1)?>
<?shape-offset-x:(position()-1)*25?>
<?end for-each?>
.Can any one tell me that what i am doing wrong with this code.
This code is generating six star for CUST_PYMT_RATING=5.
Thanks
XMPL User

maybe you should use this::
<?for-each@shape:xdoxslt:foreach_number($_XDOCTX,1,CUST_PYMT_RATING,1)?>
<?shape-offset-x:(position()-1)*25?>
<?end for-each?>
at this part ($_XDOCTX,0,CUST_PYMT_RATING,1) I think you need to use '1' =)
hope it helps ^-^
sorry I'm new to XMLP =)

Similar Messages

  • Save PDF Output custom settings?

    After tweaking almost every panel in the PDF output settings, I'd like to save those settings to reuse with other PDF contact sheets I'll be creating in the future. How do I do that? As soon as I tweak a setting, the Preset changes to Custom, and as soon as I select a different preset, the entire Custom entry is deleted from the dropdown menu.
    AM

    AnneMarie Concepcion wrote:
    After tweaking almost every panel in the PDF output settings, I'd like to save those settings to reuse with other PDF contact sheets I'll be creating in the future. How do I do that? As soon as I tweak a setting, the Preset changes to Custom, and as soon as I select a different preset, the entire Custom entry is deleted from the dropdown menu.
    AM
    While the Output Module of Bridge is a good idea it is not "ready for prime time" in either of the two functional areas.
    I guess that's why they left the old-style methods available on the installation disk.
    Just another casualty of the "Rush it out to meet a deadline" policy. 

  • CS6 PDF Output - Custom Template?

    I recently installed the windows version of CS6 Bridge.  I would like to create a custom template for pdf output.  However there is no "Custom" box in Template drop down box and the new template and recycle bin icons do not function.  What do I need to create and save custom template in Bridge pdf output?

    AnneMarie Concepcion wrote:
    After tweaking almost every panel in the PDF output settings, I'd like to save those settings to reuse with other PDF contact sheets I'll be creating in the future. How do I do that? As soon as I tweak a setting, the Preset changes to Custom, and as soon as I select a different preset, the entire Custom entry is deleted from the dropdown menu.
    AM
    While the Output Module of Bridge is a good idea it is not "ready for prime time" in either of the two functional areas.
    I guess that's why they left the old-style methods available on the installation disk.
    Just another casualty of the "Rush it out to meet a deadline" policy. 

  • Creating a nicely formatted PDF output, suggestions/stratigies?

    I really wanted to call this "Stupid Questions 101", but figured this was probably a better thread title.
    I think this is going to rather long, as I have many variables and other considerations, so let me start off trying to explain.
    I finally have my application pretty much finished (at least the initial version, have to see what users say). Now, I also need to add the capability for a nicely formatted report that's rather complicated, preferably as a PDF file. The final result needs to look like pages from a book (different fonts, lots of whitespace, left, right and center alignement, etc.) instead of a standard report layout.
    So first, I have about 30 tables (views actually). For this application, I need to produce a report that goes through all of the views and 'dumps' all of the information in each table for whatever 'parent' record the user wants. There's going to be lots of looping, and I have the typical parent - child - grandchild relationships, so when I'm printing the child record, before progressing to the next child record, I also need to print all of the assosciated grandchild records.
    A couple views can be simply output in one line, like the simple report format. Most views though need to formatted across multiple lines, like a form. Many fields will also need to be wrapped across multiple lines, adding to the whitespace and indenting problem.
    All together, I have around 300 fields or so that I need output, so as I understand it, ApEx itself can't handle this as a web page (besides all the various looping problems, but also the 100 'item' limit), so I'm thinking that I'll need to create a page with a PL/SQL region and write a package (with all of the views getting their own procedure), that will go through all of the looping etc. I'll need for the 'dump'.
    So, I'm wondering which is the best approach to take on this, I don't think I can use a PSP page to accomplish this, so I think I just need to use the web toolkit.
    1. Should I start my PL/SQL region off with the "pre" tag, so my 'layout' stays intact?
    2. I'll also need to print my field 'labels' in bold, so will the "pre" tag interfere with that?
    3. Will it be easier to place the htp.p statements in my package's procedures, or just write the package with the htp.p statements and add those with the PL/SQL region on the page? (But then I'll need to use dbms.output to send the data to the region won't I?)
    4. Since this will wind up (hopefully) as a nicely formatted region on the page (with lots of whitespace, etc.), will the FOP package allow me to create it (just the region, not the entire page) as a PDF, or does the FOP package only work with standard ApEx 'reports'?
    5. Am I way off base here, or is there a better aproach I'm missing? I really need to try and keep everything free (otherwise I'd consider PL/PDF), as being in the government, money is usually pretty tight, we usually only have money just for our salaries and office space.
    Like I said above, pretty stupid questions, but I haven't used the web toolkit in about 7 years or so, being tied up with merging two database and cleaning up the data from one of them (it had no data validation or integrity constraints at all, everything was a free-form field, like a giant spreadsheet).
    Thanks for any suggestions on how to best tackle this next stage of my problem.
    Of to start experimenting some.
    Bill Ferguson

    For anybody following this, here's a couple updates.
    I decided to go with an internal stylesheet, vs. an external (one less file I need to worry about moving during an upgrade, machine change, etc.). Since I'm generating the entire page through a PL/SQL package anyway, the internal stylesheet stays with the code, just in a separate procedure.
    I'm having problems getting a button to fire off the javascript to popup a new window that runs the package. I can run the package fine if I start a new window manually and supply the URL/user.package.procedure, so it's something with where I'm placing the javascript call. I've searched the forums, and the closest I found to an answer was to add the code to the "Image Attributes", but when I tried that, it insisted on an image also being specified. Since I don't have an image, or know of any, I tried both the "HTML Button" and "Template Based Button", but those grey out the "Image Attributes", and the javascript doesn't seem to fire from the "Button Attributes".
    The (edited) javascript call is:
    onclick="javascript:MypopUp2
    ('http://my_machine:my_port/mrds/usgs.print_site.print_doc?dep_id_in=&P0_DEP_ID.',800,600);"Anybody have any ideas on what/where I really need to place this? The javascript does work elsewhere, it's simply a copy of the popup2 script in core.js that I moved over into my own javascript file.
    On a different note, since I'm learning about css as I progress, I discovered that using "div" "/div" causes a new line, while "span" "/span" does not (angle brackets replaced with quotes). Took me a while to get figured out, it was really messing up my formatting, so maybe somebody else just learning this css stuff can save a few headaches.
    Hope somebody knows where to add the code to the button. :^)
    Bill Ferguson

  • Urgent: Custom font style not appearing in PDF output only

    Hi,
    For a customer, I received customer specific font styles(ttf font files) which I installed on my machine and then copied those files in Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts as well as in JRE/lib/fonts. Then I created a template in word and font there appears as custom font.
    Now I am getting that font style in all output formats(rtf,ppt,excel) except the PDF output. I am using Oracle BI Publisher desktop alone. Not sure what I missed because of which text font is not changing in PDF version only. I checked the PDF properties and there also custom font is not getting mapped.
    Thanks in advance.

    Here is the link that describes how to set up the font mapping for PDF output: Look for "Font Mappings (for PDF output)"
    BI Publisher Demo Library&lt;/title&gt;&lt;meta name=&quot;Title&quot; content=&quot;BI Publisher Demo Library&quot;&gt;…http://www.oracle.com/technetwork/middleware/bi-publisher/learnmore/demo-library-toc-173301.html
    Thanks,
    Bipuser

  • Extra Page coming in the PDF output -- Urgent

    Hi All,
    I have created an AR Invoice Print report (pre-printed).
    size of the stationary is half of A4.
    In a single A4 page two invocies will be accommodated.
    Here i have not used page break concept. I have adjusted the template with spaces.
    But when are invoices are given in a range lets say 1 to 10.
    The PDF output should have 5 pages accommodating 2 invoice in each page (this is working perfectly), but with this an extra black page is also getting generated. (The PDF is having 6 pages).
    If the range is given between 1 to 9 the extra blank page will not get generated.
    Is there any way to solve this issue???
    It little bit urgent.. :)
    Regards,
    Jana

    Jana,
    http://blogs.oracle.com/xmlpublisher/2007/03/
    Check on the "Anatomy of a Template I & II"... should work on your case. Also, make sure extra carriage returns and unnecessary spaces between tables are removed. If you use fillers, be sure to have the same height attribute as the field being filled.
    regards,
    Rownald

  • How to create a page break in PDF output

    Hi there
    Does anyone know how to create a page break in the PDF output when using the EXPORT TO PDF command?
    I can create a page break using the page-break-after/before HTML stylesheet command, but this is not "interpreted" when the PDF is generated, and I am required to print each table in my web template on a new page.
    Please ... been searching for ages for a solution to this and can't find anything.
    Cheers,
    Andrew

    Try posting in the iWorks forum.
    https://discussions.apple.com/community/app_store/iwork_for_ios

  • Creating pdf-output in Germany

    Hello,
    I have created a report with Developer 6.08 on a Windows NT 4.0-Client.
    The report creates pdf-output.
    The compiled report is run with rwrun60 on several PC with also NT 4.0.
    On some PC the output file is correct and can be read by the Acrobat Reader. On others the numbers in the created
    output file have a (german?) comma as decimal seperator.
    These files cannot be read by the Acrobat Reader.
    The regional settings on all PC are set to "Deutsch(Deutschland)".
    The NLS_LANG is set to AMERICAN_AMERICA.WE88ISO59P1 and the "decimal"-variable in the report is a dot.
    There must be some difference between the PC, but where is it?
    Thanks, Birgit

    Birgit,
    There was a bug with some german printer drivers where if you printed a report to that driver, afterwards you would see this behaviour with PDF output. This was fixed in an earlier 6i patch set. I would suggest that you download the latest 6i patchset from metalink and install that.
    Regards,
    Danny

  • Getting a extra space between the line in the PDF output

    I an having the rtf templete contains a table . That table contains 3 row and for the second row i have a for loop start at 1st column and end's at last column . first and 3rd row are the simple data donot have any for loop .
    So in the PDF out put of the templete gives me extra blank line between the data for the 2nd row.
    Example
    1st row ------ Contains data field
    2nd row For Each grouph data fields End for
    3rd row --------- Contains data field
    On the PDF output the data which is in the for loop ( 2nd row ) takes one more extra line ( space ) between the record .

    I an having the rtf templete contains a table . That table contains 3 row and for the second row i have a for loop start at 1st column and end's at last column . first and 3rd row are the simple data donot have any for loop .
    So in the PDF out put of the templete gives me extra blank line between the data for the 2nd row.
    Example
    1st row ------ Contains data field
    2nd row For Each grouph data fields End for
    3rd row --------- Contains data field
    On the PDF output the data which is in the for loop ( 2nd row ) takes one more extra line ( space ) between the record .

  • Creating Bookmarks in PDF Output

    I am going to be exporting my final InDesign document to PDF. I need to create bookmarks for the document because they are used to access topics in online help. I've attempted to do this by selecting Bookmarks in the export settings, with no results. I am not sure how to get headings in my InDesign document to appear in PDF output as bookmarks. Is there such a thing as a heading style in InDesign, as in FrameMaker and Word? Does anyone have experience doing this? I really need to know how to do it. Thanks.
    Best wishes,
    Tony

    The TOC uses only the headers that appear at the top of each page. How doI get the headings and subheadings throughout the document to appear as bookmarks in PDF?
    A TOC will include whatever you tell it to include.
    Right. Any paragraph-styled text can be extracted to TOC/bookmarks.
    The functionality you want is there, but your statements demonstrate that you've assumed limitations that aren't. They also demonstrate that you're not clueless. Look just a bit deeper.

  • HowTo: create pdf output

    Hi,
    i have designed a report (jsp) with jdev 9i and reports 9i. how can i create a pdf output in jdev 9i. i have found no samples. can someone help me to do that? i will provide an opportunity to convert the web layout to an pdf file.
    thanks
    Achim

    Sun's forums are better for this kind of question (you have to register).
    For example:
    http://forum.java.sun.com/thread.jsp?forum=52&thread=94196

  • OAF: Creating PDF output without calling concurrent program.

    Hi Everyone,
    i want to Create PDF output in OAF.
    I wil be having one button “Convert PDF” on my OAF page. On clicking on that button my page should generate pdf output without calling concurrent program(Because running a concurrent program may take much time sometimes.).
    How can I do that?
    I have never generated pdf outputs so plz help me to get out of this.
    What are the possible ways to get this?
    Any example?
    Any suggestions wil be really useful.
    Thanks.....

    Hi ,
    Please refer to -
    http://apps2fusion.com/at/85-daxesh/515-oa-framework-xml-publisher-integration
    http://apps2fusion.com/at/51-ps/260-integrating-xml-publisher-and-oa-framework
    Regards,
    Ashish

  • Xsql servlet: creating pdf output

    hello,
    is it possible to create pdf output with the xsql servlet???
    i know that html is possible. i'm a beginner..
    thanks
    cleo

    Birgit,
    There was a bug with some german printer drivers where if you printed a report to that driver, afterwards you would see this behaviour with PDF output. This was fixed in an earlier 6i patch set. I would suggest that you download the latest 6i patchset from metalink and install that.
    Regards,
    Danny

  • [iPhone] How do I Create a Star Rating Control?

    Hi
    I want to create a star rating control like the one seen in the iPod app. Is this available in one of the iPhone frameworks or do I have to create my own?

    OK thanks. I guess I'll have to create it myself and like you said it shouldn't be too hard. I had just hoped that I could make use of some graphic and functionality that were already there
    Thanks again!

  • Create PDF output from Web Layout Report

    Is there a way I can create a PDF output from a Web Layout Report? (NOT from a Paper Layout). The reason I ask because editing on the .jsp Web Layout is very easy and flexible while editing on the Payer Layout is very difficult. Thanks.
    - Todd

    Hi Todd,
    Please refer to this link:
    paper layout & web layout
    As for your second statement, it is a matter of opinion and I beg to differ that .... "Web Layout is very easy and flexible while editing on the Payer Layout is very difficult."
    Best Regards,
    John

Maybe you are looking for

  • HT1476 My iPod touch won't charge with the USB cable.

    For some reason my iPod touch (4th gen) will not charge when I plug it in with my USB cable in my pc. No symbol on the front, nothing. Any ideas? Thanks or any help. Oh yeah, the pc CAN sense the device, it shows up on iTunes.

  • How to manage Long field data Instead of  Substr..............

    Hi, I have one long column and need to check the existence of perticular key word in all records. So I used below function. Sometimes the length is more than 4000 bytes so i want to check string from 4000 bytes to 8000 bytes etc . till end of the str

  • Printing on two sides

    I cannot figure out where in Pages I can specify that I want to print on both sides of the paper. Any help would be greatly appreciated.

  • Set Inventory Organization

    DBMS_APPLICATION_INFO.SET_CLIENT_INFO is used to set operating unit. Do we have something similar to set Inventory Organization. Thanks, Suresh

  • Bluetooth paired my devices but not connected

    Hi everyone, I have this problem and maybe someone could help. Devices to pair Blackberry 7100 GlobalSat Bluetooth GPS BT 338 I have managed to get them paired and that is where everything starts to "not work". The embarassing thing is that I brought