Survey PDF Layout (FOP)

Dear,
We installed an external CATServer in order to generate surveys as PDF documents using the Apache FOP libraries. Everything is working but now I would like to make some changes in the XSLT containing the '<fo:' elements (for example to decrease the font for the printable version). How can we know which XSLT is used and when? I already uploaded a Z_xxx.XSLT file into the survey repository (crm_survey_suite) but how can I use it? Thanks in advance,
Fabian Joiris
EoZen

Yes - this helped marvelously. The only other thing I have
noticed (other than the PDFs being produced faster), is that there
are occasionally extra blank pages being produced here and there,
but I presume it has something to do with the way I am coding page
breaks.
Thanks for your help!
cheers,
-sutton

Similar Messages

  • How to:  make a new document in Pages based a Pdf layout (same measures)

    Hi,
    hope someone can help me,
    for a couple of days I have been on Google looking for a solution, but I can't find any
    I have a macbook ( Mavericks) and iWork / PAGES to make bussinesscards, invitations, flyers ....
    From the online printershop Flyer.be  I received a PDF- layout with the exact messures on how my documents must be.
    I know that from Pages I can tranfer my new made documents to PDF (as the printershop requiers) that's no problem
    BUT
    how do I import their PDF-layout into PAGES?
    can this be done in Automator, if yes, How?
    can I convert their PDF to a Template for PAGES?
    if I don't use their PDF- layout but simply use the original Templates that are in PAGES (for example: envelop), the messures are never the same as those required by the printershop,  how can I solve this?
    Dus: I need to find out how to use their messures and be able to work in iWork.
    Hope it's clearly explaned - as my native language is Dutch
    Anyone ? any idee?
    Thanks in advance.
    Greetings Speedy

    That is not a template for a Business Card. It looks like the template for a Compliments Slip 210 x 100mm.
    Also you do not use the Ruler to position things accurately, you use:
    Format > Arrange > Size/Position
    It looks like the Printer wants each item to be its own document, with Page setup to final size.
    There will be a problem however with the page bleed (the image that goes off the edge of the paper) because Pages does not have this.
    Swift Publisher does.
    PDF files are usually not editable, but Adobe Illustrator will open them and edit them and has all the tools you need to format the Stationery.
    Sketch can also open and edit pdfs now and is IMHO absolutely brilliant as well as beautiful to look at.
    Peter

  • Converting xml file with arabic content to pdf using FOP

    Hello all
    I am trying to convert a dynamically generated xml file in which most of the data comes from the oracle database with arabic content, to pdf using FOP. I have used "Windows-1256" encoding for the xml. If i open the xml generated with the internet explorer the arabic content displays properly but the pdf is not generated and the acrobat reader shows the file as corrupted or not supported. Please help me. Its very urgent.
    Thanks & Regards
    Gurpreet Singh

    There is no direct support for importing RTF from an XML extract. Perhaps feature 1514 "Mapping formatted XML data into multiline field" will be of some use. This was released in 11.0, I believe.
    Essentially you can establish paragraph and certain text formatting like bold and underline when you include the proper token information in the data. I believe this is similar to simple HTML tokens.
    Example: &lt;FIELD>&lt;P>First paragraph of data.&lt;/P>&lt;P>New paragraph with &lt;B>&lt;U>bold and underline text&lt;/U>&lt;/B>. Rest of paragraph normal.&lt;/P>&lt;/FIELD>
    The result is something like this:
    <P>First paragraph of data.</P><P>New paragraph with <B><U>bold and underline text</U></B>. Rest of paragraph normal.</P>

  • How to define PDF layout when exporting?

    With Discoverer 10g 10.1.2.45.46c, is it possible to define the PDF layout (landscape vs. portrait) and also can I shrink the report to fit x pages?
    If not, are these future features?

    In Viewer, the export to PDF and print to PDF generate identical output. If you want to change the size or the layout of the PDF output, go to the Page Setup screen in Viewer and set the page options appropriately. Then, when you click to send the worksheet by email and select PDF as the export format, the generated PDF will pick up the layout properties from the page setup options.
    More information:
    In the print dialog in both components you can do the following and more:
    - Specify the paper size (A4, Letter, etc...)
    - Specify a shrink value (i.e. shrink to 40, 50, 60%, etc..)
    - Specify that the print output should fit in 3x4, or 2x4 pages, etc...
    All this is documented in detail in the Discoverer doc.
    For Discoverer Plus, take a look at Ch 18 of the Oracle® Business Intelligence Discoverer Plus User's Guide, 10g Release 2 (10.1.2.1), B13915-04
    For Discoverer Viewer take a look at the Oracle® Business Intelligence Discoverer Viewer User's Guide, 10g Release 2 (10.1.2.1), B13987-04.
    Ch 4 - Dialog reference - has a section titled: "Printable Page Options page: Content tab" which should give you some idea of the print capabilities available there.
    -Abhinav

  • Printing PDF with FOP is very strange

    Hello,
    i have a very strange problem.
    My old environment
    Oracle 10.2 DB
    Apex 4.0.2
    Apache
    FOP inside a OC4J Container
    My printing Report contains 9 Queries and each query is using some bind variables.
    We also use our own report layout
    That works since 2 years now.
    Now we migrated to a new server
    The new eniroment
    Oracle 11.2.0.3
    Apex 4.0.2
    EPG
    FOP inside a OC4J Container
    Same reports as in the old environment.
    Now the pdf is producing empty content, but the pdf is a valid pdf file.
    After a lot of testing with epg, apache, apex 4.2 and the old environment we have no clue whats wrong here.
    how can i get the xml which is send to to fop engine?
    I need to see what is in that xml
    I tried the "test report" button and so on, but working with bind variables in the queries is not showing the correct content.
    cheers volker

    First of all, bonus points for that subject - made me laugh
    I tried the "test report" button and so on, but working with bind variables in the queries is not showing the correct content.Not sure what you mean by this.
    Edit report query -> Edit SQL for one of the queries (the little pencil)
    Set bind variables -> (enter as appropriate) -> Test query
    Produces XML download.
    Do you generate any large content, greater than 32k?
    Scott

  • Web Application Designer - export to XLS/PDF layout

    Hello experts,
    I have a situation when Web Report has 6 different data providers. Each of these data providers is assigned to analysis item. So there are 6 analysis items (let's call them AI1, AI2, AI3, AI4, AI5 and AI6). When I do the export to excel or PDF, the layout of the document looks like this:
    AI1
    AI2
    AI3
    AI4
    AI5
    AI6.
    However, I need the layout to look like this:
    AI1 AI2
    AI3 AI4
    AI5 AI6.
    Is there a way to do that in WAD?
    Thank you in advance!

    Here's the excerpt of HTML code if that's what you mean. In WAD my layout looks like this:
    1 2
    3 4
    5 6.
    And I want it to look like this when it's exported to excel or PDF. However, when I do the export, the layout changes to:
    1
    2
    3
    4
    5
    6
    <bi:CONTAINER_LAYOUT_ITEM name="CONTAINER_LAYOUT_CHARTS_ANALYSIS_1000" designheight="20" designwidth="1000" >
    <bi:WIDTH value="1000" />
    <bi:FULL_WIDTH value="" />
    <bi:HEIGHT value="20" />
    <bi:FULL_HEIGHT value="" />
    <bi:ROW_LIST type="ORDEREDLIST" >
    <bi:ROW index="1" type="ORDEREDLIST" >
    <bi:COLUMN index="1" type="COMPOSITE" >
    <bi:CHILD_ITEM_REF value="ANALYSIS_ITEM_3000" />
    </bi:COLUMN>
    <bi:COLUMN index="2" type="COMPOSITE" >
    <bi:CHILD_ITEM_REF value="ANALYSIS_ITEM_4000" />
    </bi:COLUMN>
    <bi:COLUMN type="COMPOSITE" index="3" />
    </bi:ROW>
    <bi:ROW index="2" type="ORDEREDLIST" >
    <bi:COLUMN index="1" type="COMPOSITE" >
    <bi:CHILD_ITEM_REF value="ANALYSIS_ITEM_5000" />
    </bi:COLUMN>
    <bi:COLUMN index="2" type="COMPOSITE" >
    <bi:CHILD_ITEM_REF value="ANALYSIS_ITEM_6000" />
    </bi:COLUMN>
    </bi:ROW>
    <bi:ROW index="3" type="ORDEREDLIST" >
    <bi:COLUMN index="1" type="COMPOSITE" >
    <bi:CHILD_ITEM_REF value="ANALYSIS_ITEM_1000" />
    </bi:COLUMN>
    <bi:COLUMN index="2" type="COMPOSITE" >
    <bi:CHILD_ITEM_REF value="ANALYSIS_ITEM_2000" />
    </bi:COLUMN>
    </bi:ROW>
    </bi:ROW_LIST>

  • Issue with RTF layout vs. PDF layout

    I'm creating a report that needs to have output for both PDF and RTF. I have a simple request, I need to have 1 line drawn in the report. No data issues or anything else, just a simple line.
    I've used the auto-shape menu to draw a line and it appears in my PDF output but not my RTF output. I've also tried having a table be in my layout and just show the bottom or top border. The problem with that is that in the RTF output, the user will see the other lines of the table whether I like it or not.
    In the BI Pub manual it says, 'BI Publisher supports Microsoft Word drawing, shape, and clip art features. You can add these objects to your template and they will be rendered in your final PDF output.' Anyone know if this is worded this way because Oracle knows it won't work in your RTF output?
    Thanks!
    Kris Henning
    www.piocon.com

    Could you test it to be according to the following step?
    Step 1:
    You must get the following values from application.
              SELECT xt.template_code
              ,xt.application_short_name
              ,xt.application_id
              ,xt.template_type_code
              INTO l_template_code
              ,l_application_short_name
              ,l_application_id
              ,l_template_type_code
              FROM apps.xdo_templates_vl xt
              ,apps.xdo_ds_definitions_b xds
                   ,fnd_concurrent_programs fcp
                   ,fnd_concurrent_requests fcr
              WHERE xt.ds_app_short_name = xds.application_short_name
              AND xt.data_source_code = xds.data_source_code
              AND fcp.concurrent_program_name = xds.data_source_code
              AND xds.application_short_name = ( SELECT application_short_name
              FROM fnd_application
              WHERE application_id = fcp.application_id
              AND fcp.concurrent_program_id = fcr.concurrent_program_id
              AND fcr.request_id = :p_conc_request_id
              AND (xt.end_date IS NULL OR TRUNC(xt.end_date) > TRUNC(sysdate));
    Step 2:
    Submit the concurrent program in RDF. Below are the scripting codes.
              IF      l_template_code IS NOT NULL
              AND :p_conc_request_id IS NOT NULL THEN
                   l_request_id := FND_REQUEST.SUBMIT_REQUEST ( 'XDO'
              ,'XDOREPPB'
                                                                ,'XML Report Publisher'
                                                                     , TO_CHAR (SYSDATE,'YYYY/MM/DD HH24:MI:SS')
                                                                     , FALSE
                                                                     , :p_conc_request_id
                                                                     , l_application_id --l_application_short_name 
                                                                     , l_template_code
                                                                     , NULL
                                                                     , 'N'
                                                                     , l_template_type_code
                                                                     , 'PDF'
                                                                     , NULL,NULL,NULL,NULL,NULL
                                                                     , NULL,NULL,NULL,NULL,NULL
                                                                     , NULL,NULL,NULL,NULL,NULL
                                                                     , NULL,NULL,NULL,NULL,NULL
                                                                     , NULL,NULL,NULL,NULL,NULL
                                                                     , NULL,NULL,NULL,NULL,NULL
                                                                     , NULL,NULL,NULL,NULL,NULL
                                                                     , NULL,NULL,NULL,NULL,NULL
                                                                     , NULL,NULL,NULL,NULL,NULL
                                                                     , NULL,NULL,NULL,NULL,NULL
                                                                     , NULL,NULL,NULL,NULL,NULL
                                                                     , NULL,NULL,NULL,NULL,NULL
                                                                     , NULL,NULL,NULL,NULL,NULL
                                                                     , NULL,NULL,NULL,NULL,NULL
                                                                     , NULL,NULL,NULL,NULL,NULL
                                                                     , NULL,NULL,NULL,NULL,NULL
                                                                     , NULL,NULL,NULL,NULL,NULL
                                                                     , NULL,NULL,NULL,NULL,NULL
                                                                     , NULL,NULL,NULL
              COMMIT;
                   ELSE
                                  srw.message(1,'Error in Fetching the Template');
                   srw.message(1,'l_template_code : '||l_template_code);
                   srw.message(1,'p_conc_request_id : '||:p_conc_request_id);
                   END IF;
    Thanks.
    Sinolee

  • Generate PDF with FOP : Specific charactar are wrong

    Hello,
    I've finally tested FOP to convert HTML to PDF. It's GREAT.
    I have just a little problem, german specific characters are shown well under html,
    but not under PDF. Any idea about this issue ?

    Hello,
    I've finally tested FOP to convert HTML to PDF. It's GREAT.
    I have just a little problem, german specific characters are shown well under html,
    but not under PDF. Any idea about this issue ?

  • Xml publisher pdf layout in ebs is incorrect

    Hi,
    I am doing a pdf report for a pre-printed layout.
    My layout has to be exact for all pages.
    i have a grouping on top of my layout..
    when runing it in ebs the first page on top has less space , and the other pages has more space on top of the page.
    but the 2nd, 3rd, etc... has the exact layout
    can it be the G (grouping) on top of my page that is causing this problem?
    and how would i solve this??

    Can someone on Apps 11.5.10.2 who has applied the patch (I believe it upgrades the server version to 5.6.3) check and see if the behavior I described is the same on their system?
    Or can someone tell me if this is expected?
    Thanks again.

  • Error switching to PDF Layout Tab in txn SFP

    For any ADOBE PDF form, if I switch to the layout tab
    I get the following errors
    > Error while generating document
    > Memory Protection Fault in OLE Container Control
    I'm running SAPGUI 6.4
    The SAP Server is WAS 6.4
    I have Acrobat Reader 7.0.2 loaded on my system.
    This problem seems specific to my desktop. Others can view the layout of the PDF without issue.
    Any suggestions?
    Regards,
    Lavaughn

    Hi,
    I too experienced similar problems recently -  used to get errors like SOFFICEINTEGRATION143, SOFFICEINTEGRATION141 & SOFFICEINTEGRATION101(Memory protection error for OLE Container) while accessing Layout of Interactive Forms.
    I got it resolved by uninstalling the NWDS (which uninstalls Adobe LiveCycle Designer (ALD) as well) and then reinstalling ALD and NWDS (Optional).
    With the NWDS installation, ALD is also bundled.
    If you need to install ALD separately, you may get the right ALD version from
    SAP Support Portal->Downloads-> Entry by Application Group->
    Support Packages and Patches-> SAP NetWeaver-> SAP NETWEAVER-> SAP NETWEAVER 7.0-> Entry by Component-> Frontend  =>> ADOBE LIVECYCLE DESIGNER 8.0 -> #OS independent.
    Hope this helps.
    George Mathew

  • Customize standard PDF layout for PO Report

    Hi,
    I need to customize the layout of standard PO report in R12 instance.
    Navigation Path:Purchasing Vision Operations (USA) -->Buyer Work Center -->Orders
    Under view : My open orders,click on a specific PO number.
    At the detail level,on the top right side Actions seleceted as 'View PDF' and then click on GO button.
    The PO report output opened in a PDF format.Here I need to do some modifications for the customization report.
    So could you please tell me where do I start from.The changes that I did should be shown in the PDF PO report Output.
    One more query is : How can I indentify this PDF PO report output belongs to which concurrent program?
    Appreciate your help.
    Thanks,
    Radhika
    Edited by: user10491126 on Dec 21, 2009 10:27 PM

    Hi,
    Welcome to forum !!!
    Your buyer work center form basically points to standard PO functionality and bring all info in 1 page for buyer. Please check PO Output for Communication process for details.
    One more query is : How can I indentify this PDF PO report output belongs to which concurrent program?
    Ans : I believe "PO Output for Communication" ( it's a request in POXPOPDF module) which generate the PDF, its a Java concurrent program.*
    Hoep this will help.
    Regards :)
    S.P DASH

  • Problem in IAS Server with generation of PDF with FOP and XML parsing

    Dear co.forumers :
    We are developing an application that generates a pdf document with FOP Apache utilities, and this PDf is stored in a folder of the server. Firts of all, a DDBB data is retrieved using java ( jdbc) middleware classes ( servlets ), and with these data, the pdf is generated using FOP. In these process, he data retrieved from the DDBB is converted in a XML file , and the with the XSL FOP utility, the pdf is generated.
    In the other hand, we have another application that consults data from a java beans, using a JSP, generates a XML with the data of the beans, and with this XML, and with a XSL file generates and html , with the data and fixed text.
    Both applications have been deployed as a separated WebApp in the IAS. Both use Xalan as XML parser amb Xerces is used aswell.
    So, the problem is , after generating a pdf with the firts application, every html generated via JSP-XML-XSL transformation in the second application is shown completelly bad formated. All fixed text are wrongly composed, and the text that should appear in textFields and ComboBoxes is also bad formated. The XML with the data is well generated, so the problem is in the parsing of these XML and the conversion in html through XSL. We have to re-initiate the server and then everything goes well again. If no pdf is launched, no problem occurs with the other application.
    How an a WEB APP pplication can affect to another, installed both in different folders of the IAS ? We tried to change Xalan version and FOP version, but no result.
    Is this a Poltergeist ?? and X file , maybe ?
    Has anyone had the same problem ?
    Pleae, any help will be very wellcomed.

    A PDF document may be generated in the JDeveloper OC4J server.
    http://www.oracle.com/technology/pub/notes/technote_vohra_fop.html

  • PDF generation , FOP and Oracle Express DB

    Am I right in assuming that you can't use the FOP PDF generation utility with Oracle Express Edition Database? i.e. no oc4j directory etc..
    regards
    Paul P

    Am I right in assuming that you can't use the FOP PDF generation utility with Oracle Express Edition Database? i.e. no oc4j directory etc..
    regards
    Paul P

  • Arabic pdf using FOP

    hello all ..
    i m able to generate the pdf in arabic format using FOP 0.20.4 but the problem is that the data that comes from database (arabic data in oracle database) is not displayed properly and the direction of the data is not correct. Please help me if someone has tried to generate the arabic pdf.
    thanks in advance
    gurpreet singh

    No i m not using iText. I m using FOP. But if u know
    the solution for iText then please help me as i tried
    to use that too but arabic data is not displayed.
    Gurpreet SinghKaaka, yeh dekho. http://itextdocs.lowagie.com/tutorial/#part3
    There are a number of examples using Unicode and fonts- they might be of some help.
    I am not too familiar with iText, so you may want to ask specific questions over there.
    Here is a link for FOP:
    http://www.javaranch.com/journal/200409/CreatingMultipleLanguagePDFusingApacheFOP.html

  • Including image in FO fille to generate PDF using FOP

    Hi, we are trying out generating PDF files in JDK1.1.7 environment by using FOP.
    While we are testing we are encountering problem with writing images.
    In .fo file if the image is included, it is giving the following exception.
    We are of no clue regarding this. If any one can help in this regard, please help us out.
    Help of any kind is greatly appreciated.
    Following is the Exception:
    java.lang.UnsatisfiedLinkError: parseImage
    at sun.awt.image.GifImageDecoder.readImage(GifImageDecoder.java:558)
    at sun.awt.image.GifImageDecoder.produceImage(Compiled Code)
    at sun.awt.image.InputStreamImageSource.doFetch(Compiled Code)
    at sun.awt.image.ImageFetcher.fetchloop(Compiled Code)
    at sun.awt.image.ImageFetcher.run(Compiled Code)
    Error while creating area : Error while loading image file:/C:\fop1.4\src\xml_fe
    ather.gif : class java.lang.Exception - Image error
    Hisun.awt.image.URLImageSource
    Regards
    Ramavardhan.

    java.lang.UnsatisfiedLinkError: parseImage
    means that a native library is missing (ie .dll on windows, .so on most unix, .sl on other unix). The default behaviour is to try and load librarys from the CLASSPATH variable, but apps can try to locate them in other ways.
    asjf

Maybe you are looking for