2 Questions: JSF & PDF and Charts?

Is it possible to create a dynamic PDF file and send this to the client?
I've only found some information (FOP and iText) for servlets :-/
And the other question: How can I create a chart in JSF? Is there already a free component? And is it possible to display that chart on the PDF?

Can't help you with the PDF question. But I have a little bit of experience with chart rendering.
The chart example under in samples/components/web/chart.jsp illustrates one way to do charts.
You can also do it via JFreeChart
http://www.jfree.org/jfreechart/index.html
There's no JSF tags in JFreeChart but following the chart.jsp example tags it
was realitively easy to change that example to work with JFreeChart running
the Servlet model.
See
http://homepage.ntlworld.com/richard_c_atkinson/jfreechart/
Mine version is to custom to give it to you as an example.
- Kristina

Similar Messages

  • Questions on graphs and charts.,,,

    Hi ,
    I have always been facing problem while working with graphs and charts. First of all let me be clear with the data these accept. further questions as under:
    1. If I wire an array (1-dimention) to graph/chart , it plots it on Y axis. In this case, what are the values on x.axis?
    2. If I want to acquire a voltage on Analog I/P channel for some specified time , say 2 sec., how to ensure that time span and data without missing anyone.
    3. If I have to plot an I-V plot, how to make sure that V will come on Y-axis and I will come on X-axis.
    Plz clear these doubts...
    Regards
    GNS

    Hi,
    1. Charts takes sigle point value like plotting DC voltages, Graph takes set of values like arrays (1D) which are plotted on Y-axis with respect to x axis which is integer number like 0,1,2..etc.. ,
    XY graph takes bundled array of X-axis & Y axis.
    2. Charts are used where a single point value is to be presented/updated w.r.t. to time or x scale (x scale can also act an index).
    Also it supports update modes like sweep, scope & strip.
    3. Graph are used to plot waveforms which does have no. of samples acquired from DAQ board or other source, which needs to be plot on Y-axis.
    Main inputs of waveforms are starting time (t0), time stpes(dt) & Y elements.
    4.X-Y graphs are used where you want to plot Y elements w.r.t. to the defined X eleme
    nts. For e.g. I want to plot as
    Y=10 when X = 0
    Y=20 when X = 2
    Y=30 when X = 3
    etc.
    Here we have one array of Y elements & other array of X elements. So bundle your X & Y array & fetch to XY graph to plot it.
    Hope it clears you the concepts. Your feedbacks are welcome.
    Best Regards,
    Nirmal Sharma
    India

  • Nobody get back to me on my other question, so I'm going to try again. I am making a PowerPoint for a meeting and I want to take a 3D PDF and have it spin or rotate on a continuous loop. How can I accomplish this?

    Nobody get back to me on my other question, so I'm going to try again. I am making a PowerPoint for a meeting and I want to take a 3D PDF and have it spin or rotate on a continuous loop. How can I accomplish this?

    Please ignore PowerPoint comment, I can make the 3D PDF no problem with my converter plug-in for AutoCAD. Once it is made though you can spin it by hand/mouse in Adobe. but I want a video like scene with the object spinning by itself for modeling purposes?

  • How to export an entire model content (tables and charts) to pdf

    Hello,
    I would like to export a complete model, which includes tables and charts, to pdf.
    I am already familiar with [this|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/47fe4fef-0d01-0010-6f87-ed8ecb479123] tutorial but it explains how to do it for a single table and doesn't deal with charts. What I would like to do is take like a screenshot of the entire iView/model content to pdf.

    Hi, rbish-
    Not for the entire stage.  The only thing you could do is to highlight everything and convert it to a symbol, then ensure that you move your triggers and labels to the new symbol.  Then you could export an individual symbol, which will also package all of the dependent symbols.
    Hope that helps,
    -Elaine

  • Adobe design question for barcodes and including PDFs

    Hi all,
    I am new to using Adobe LC ES 8.2. I have been reading this forum and it has been very helpful. We have certainrigid requirements for our application that is making it difficult to come up with a clean solution. I am hoping this forum will be able to answer some of my questions:
    Use case: Our application needs to mail correspondence to users (printed PDFs not fillable forms). We plan to use Adobe LC ES Designer to design all the forms and Assembler Service to assemble the documents together. The plan is to merge the templates with XML business data dynamically and then assemble them. When the documents are assembled together, documents to be assembled include Cover Pages Templates, Notice Templates, Attachments (could be templates or static PDFs) and decisions that will be converted into PDF from an RTF document using Adobe Professional 8. The user creates the document in RTF and convert it into PDF using Adobe Acrobat Professional and store it for assembly process. Our Print Shop requires the entire assembled mailing to have bar codes on each of the pages with the following information:
    1 D 3of9 barcode - JOB ID (can be sent dynamically) +  PIECE ID (number of mailing) + SHEET ID (page number with in the PIECE ID - front and back of the page get the same number)
    Following are the questions we have:
    1. What ways are available to apply the bar code to the assembled document as one piece of information in the bar code is the SHEET ID for the entire mailing? I would know the total number of pages only after assembly.
    2. If there is a way to manipulate the barcode information after assembly, I am not sure how we can handle bar coding the Decision PDFs that will be converted from RTF using Adobe Professional 8.
    Please advice.
    Thanks.

    Thank you. So, using Form Services we can manipulate the document (barcode object) after assembly.This is great.I will look into this. When we spoke to Adobe, they wanted us to complete all merge prior to assembly and said we cannot manipulate the document after assembly.
    How would I handle a barcode for a PDF that has been converted into PDF from a RTF document? My concern is that even if the RTF has a barcode, will it be a format that can be manipulated after it is converted into PDF by the user and submitted to the assembly process?
    One of my ideas is to maybe convert this PDF into images and include it in the XML data as base64 images and merge it with an Adobe Form template having image fields. This is not a clean approach and I am very concerned about performance issues with the size of the data XML.
    The other thing I am reading up about is "Underlaying pages" - http://livedocs.adobe.com/livecycle/8.2/ddxRef/wwhelp/wwhimpl/js/html/wwhelp.htm?href=0012 71.html#1548394&accessible=true
    Any ideas?
    Thank you so much.

  • Can excel slicers and power chart be embedded into a pdf  and being interactive?

    Hi,
    Create a data dashbord using powerpivot and slicers, is that possible to convert it to a pdf?

    No, you cannot convert to from Excel to PDF and retain any of that type of interactivity that's available in Excel.

  • Pattern swatches are shifting when exported to PDF and viewed in Preview/GoodReader

    I've tried for days to find an answer to this question, but haven't succeeded. Please also be aware that I'm a self-taught Adobe Creative Suite user. I'm working on a Mac with CS6.
    I work for a small publisher that produces knitting books. The problem is this: our tech editor has created charts in Illustrator using the pattern swatches feature. (These are knitting charts. Each square contains a pattern swatch representing the knitted stitch.)
    I am then placing these charts in their native .ai format into an Indesign file and exporting them to PDF. In Acrobat, the charts look fabulous. In the Mac Preview reader and in GoodReader, the charts do this...
    ... the pattern swatches shift around inside their squares. Each of those dots should be centered inside their squares. In Preview, when I resize the application frame, the pattern swatches move as I re-size the frame. Any ideas about what might be happening here?
    I've tried saving the charts as PDFs and placing those into the InDesign file. Doesn't help. Exporting the charts as images (jpg or tif) works, but I have to make the resolution/file size ridiculously large to get the quality of the vector image. I'd rather place the .ai files into the .indd file if possible.

    Try using File>Object>Expand on a copy of the original before making the PDF for placing.

  • Opening a PDF and passing open parameters...

    I currently can open a pdf file using JSF 1.2 but I cannot figure out how to send in the adobe open parameters. I tried to append the open parameters #search=blah to the end of the File but am having no luck. Is it possible? Any ideas or can anyone point me in the right direction? I followed this example
    File file = new File("C:\\blah.pdf");
    response.setContentType("application/pdf");
    response.setContentLength(file.length());
    response.setHeader("Content-disposition", "inline; filename=\"" + file.getName() + "\"");
    BufferedInputStream input = null;
    BufferedOutputStream output = null;
    view plaincopy to clipboardprint?
    try
    input = new BufferedInputStream(new FileInputStream(file), DEFAULT_BUFFER_SIZE);
    output = new BufferedOutputStream(response.getOutputStream(), DEFAULT_BUFFER_SIZE);
    byte[] buffer = new byte[DEFAULT_BUFFER_SIZE];
    int length;
    while ((length = input.read(buffer)) > 0)
    output.write(buffer, 0, length);
    finally
    close(output);
    close(input);
    Appreciate any comments! Thanks!

    Re: Opening a PDF and I get a blank dialog box with a ? in it.
    As an update the work around is to have Adobe open in the background and you wont get the error.
    The software in question calls the registry to launch adobe calling  HKEY_CLASSES_ROOT > .pdf > AcroExch.Document

  • How to create WorkBook and Chart

    Hi Experts,
    Good Morning.
    I am facing big problem is How to create WorkBook and Chart in BI 7.0.
    My Requirement is following below..............
    1. How create work book, then how to add the Company LOGO,  End of report footer message.
    2. How to Create Chart, then how to design.
    Please provide me Solutions Asap, its very critical issue.
    Thanks & Regards,
    Bharathi.
    <Moderator Message: Before posting a question you should read the help as suggested in the answer you got. Additionally I would strongly recommend to read the rules of engagement. Your question violated a few of the rules like a) search the forums before posting; b) read the documentation before posting; c) do not request anything asap, nothing is more important than our own work...>
    Edited by: Siegfried Szameitat on Jul 15, 2010 8:25 AM

    Hi
    1) Please check the following URL.
        [http://www.researchsummary.ca/bw/Sample_Ch10.pdf]
         Hope it will help you.
    2) Default chart option is available in BEx please check and let me know in case any questions.
    Regards
    YuvaraajP

  • HELP: I need to link a PDF within PDF and be able to open and return to original PDF

    I have a master PDF and have attached 7 supplemental PDF documents. I created "click here" icons and used the steps below so that the linked document would open. The problem is, once I open the supplemental PDF, it closes the original master. I would like to close the linked document and return to the master view. Is there a way to do this?
    Or is there a way to do this from InDesign? I created master file in InDesign and exported as an Interactive PDF.  I created the buttons and linked them to external files. This works great as long as the master PDF and the links are all in one file, but that is a pain to send to a viewer. Ideally, I want to be able to send the master PDF to a viewer and not have to send a links folder. Is there a way to embed the supplemental PDFs into the master so that they are all combined into one file AND have the ability to use buttons to call up one of the attachments, close, and return to the original?
    Thanks in advance!!

    I want to do the same thing that the original poster of this question wants to do. I haven't worked extensively with Acrobat so am finding by trial and error the several ways PDFs within PDFs can be accomplished. I'm using a trial version of Acrobat Pro X and have experimented with three options.
    1 - I've created a Portfolio and am impressed with what that can do, though I think it may be "overkill" for the current size of my project.
    2 - I've also tried creating this project as an index but discovered that the links I'd created in the original docs didn't work when I moved the index and its contents (keeping the file structure the same). I presume this means the links are absolute? I also don't understand how it is that users search a .pdx file, or how to present what I want to be the original opening PDF of indexed docs.
    3 - I've also thought to create one PDF with attached PDFs, so I'd like to have you expand on your comment about creating a master document and attaching documents to it.
    The specifics of my project are these: I have created a master directory that contains approximately 120 links. Most of the links are repeated three times (users can find in the directory the item they need in three different ways: alphabetically, by application, or by module; hence each item listed once in each of three categories). I want to make that directory the "master" PDF that users open first, and then locate within that PDF the 5-8 PDF documents that contain all of the places to which the directory links. I want the "master" directory to be self-contained and completely "portable" as far as all of the documents and links are concerned so that when I make the PDF available from our website users can open the master from there or copy it and have all of the docs they need with all of the links intact. I think I prefer that all docs open in new windows, since returning to the original doesn't seem very user friendly in Acrobat (I like the tabs feature in FoxIt when multiple PDFs are open...).
    I'd like an opinion about the best way to accomplish what I need to do, and am also wondering whether there are other options I am unaware of. BTW, the reason we've decided to document this whole project in PDFs rather than HTML is because this project contains a big number of tables, which do not look consistent across various browsers (i.e., most of our tables look fine in IE and Firefox, but awful in Google Chrome...). In researching my issue on the Acrobat Windows forum I see that rendering tables in Acrobat is also an issue that seems to be unresolved.
    Thank you!

  • I am in the process of expanding a database of chemistry journal articles.  These materials are ideally acquired in two formats when both are available-- PDF and HTML.  To oversimplify, PDFs are for the user to read, and derivatives of the HTML versions a

    I am in the process of expanding a database of chemistry journal articles.  These materials are ideally acquired in two formats when both are available-- PDF and HTML.  To oversimplify, PDFs are for the user to read, and derivatives of the HTML versions are for the computer to read.  Both formats are, of course, readily recognized and indexed by Spotlight.  Journal articles have two essential components with regards to a database:  the topical content of the article itself, and the cited references to other scientific literature.  While a PDF merely lists these references, the HTML version has, in addition, links to the cited items.  Each link URL contains the digital object identifier (doi) for the item it points to. A doi is a unique string that points to one and only one object, and can be quite useful if rendered in a manner that enables indexing by Spotlight.  Embedded URL's are, of course, ignored by Spotlight.  As a result, HTML-formatted articles must be processed so that URL's are openly displayed as readable text before Spotlight will recognize them.  Conversion to DOC format using MS Word, followed by conversion to RTF using Text Edit accomplishes this, but is quite labor intensive.
      In the last few months, I have added about 3,500 articles to this collection, which means that any procedure for rendering URL's must be automated and able to process large batches of documents with minimal user oversight.  This procedure needs to generate a separate file for each HTML document processed. Trials using Automator's "Get Specified Finder Items" and "Get Selected Finder Items", as well as "Ask For Finder Items"  (along with "Get URLs From Web Pages") give unsatisfactory results.  When provided with multiple input documents, these three commands generate output in which the URLs from multiple input items are merged into a single block, which yields a single file using "Create New Word Document" as the subsequent step.  A one-to-one, input file to output file result can be obtained by processing one file at a time, but this requires manual selection of each item and one-at-a-time processing. What I need is a command that accepts multiple input documents, but processes them one at a time, generating a separate output for each file processed.  Is there a way for Automator to do this?

    Hi,
    With the project all done, i'm preparing for the presentation. Managed to get my hands on a HD beamer for the night (Epason TW2000) and planning to do the presentation in HD.
    That of course managed to bring up some problems. I posted a thread which i'll repost here . Sorry for the repost, i normally do not intend to do this, but since this thread is actually about the same thing, i'd like to ask the same question to you. The end version is in AfterEffects, but that actually doesn't alter the question. It's about export:
    "I want to export my AE project of approx 30 min containing several HD files to a Blu Ray disc. The end goal is to project the video in HD quality using the Epson  EMP-TW2000 projector. This projector is HD compatible.
    To project the video I need to connect the beamer to a computer capable of playing a heavy HD file (1), OR burn the project to a BRD (2) and play it using a BRplayer.
    I prefer option 2, so my question is: which would be the preferred export preset?
    Project specs:
                        - 1920x1080 sq pix  (16:9)
                        - 25 fps
                        - my imported video files (Prem.Pro sequences) are also 25 fps and are Progressive (!)
    To export to a BRD compatible format, do i not encounter a big problem: my projectfiles are 25 fps and progressive, and I believe that the only Bluray preset dispaying 1920x1080 with 25 fps requests an INTERLACED video  (I viewed the presets found on this forum, this thread)... There is also a Progr. format, BUT then you need 30 fps (29,...).
    So, is there one dimension that can be changed without changing the content of the video, and if yes which one (either the interlacing or the fps).
    I'm not very familiar with the whole Blu-ray thing, I hope that someone can help me out."
    Please give it a look.
    Thanks,
    Jef

  • PDF and Print Control in Reports.

    Dear All,
    I want to set particular format for every report in PDF and Print control option like want to place client's logo in header and page number and date in fotter , how can i achive this,is there any way we can set it globally coz doing on every report is very time consuming.
    Regards,
    Tarang Jain

    You need Firebug....to know how your Dashboard works!!!!!!
    Check these 2 blogs and play.....
    http://oraclebizint.wordpress.com/2008/01/03/oracle-bi-ee-101332-customizing-download-links/
    http://oraclebizint.wordpress.com/2007/10/26/oracle-bi-ee-101332-styles-and-skins-firebug-to-your-rescue/
    i hope i helped....
    http://greekoraclebi.blogspot.com/
    Close the question.....and add a new thread...
    Give if you wish the appropriate points...

  • General questions on IDOCs and IDOCs for 2 Accounting Interface BAPIs

    This post involves several questions pertaining to the topic of IDOC creation. I downloaded a couple of PDFs and tried googling for material on that, but things are far from being clear in my mind.
    I tried to put my questions in some order, so we can follow a line of reasoning. Here we go, then:
    I have one code where I there are calls to 2 BAPIs:
    - BAPI_ACC_ACT_POSTINGS_REVERSE and
    - BAPI_ACC_GL_POSTING_REV_POST
    I am supposed to prepare/create an IDOC to perform the activities these BAPIs are responsible for, for the sole purpose of providing us much more details on the activities being executed in the system - this is one of the IDOC's features, if I got it right, its highly detailed logging of everything that is going on behind.
    Now, the 1st question arises:
    From the material I read, I understood that IDOCs are nothing more than data containers, whose sole purpose is to provide a means of communication between two different systems/parties - one of them would usually be SAP. If this is right, than what sort of IDOC would be this one I am supposed to build - if there's not going to be any inter-system communication ? Doesn't it sound strange that pure "data containers" can work as "logging functions" ? Please share some light here.
    The 2nd question - after I understand what an IDOC really is - is
    then connected to the job I have to do. I found 2 IDOCs which I think have the proper/correspondent basic types for the 2 aforementioned BAPIs. They are, respectively:
    - ACC_DOCUMENT_REVERSE01 and
    - ACC_GL_POSTING_REVERSE01
    Getting back to my understanding of IDOCs, I got that every IDOC is generally made of one control record, data record(s), and status record(s). 3rd question: Where do the segments fit in ? Are the segments definitions of the Data Records ? And why is it that some IDOC types have header segments only and others doesn't have one ? (header segments are not the same as control records, right ?)
    Finally, what is the general process flow for creating/preparing an IDOC ? I looked over a couple of forum posts about this but some of them differ one from another in the order of the steps, some don't mention this or that step, so I am still confused.
    4th and last question: what comes first ? The definition of a partner, the bonding of a message type with an IDOC basic type, definitions of the inbound/outbound interfaces ?
    Any help here would be highly appreciated.
    Thanks in advance,
    Avraham

    Hi Jaya,
    Answer 1. Class is a template for creating objects. Object can also be called as instance.
    Interfaces allow you to use different classes in a uniform way (polymorphism).
    Answer 2. Normal abap is a procedural programming where as by using abap objects we can achieve object oriented programing.
    Answer 6. Source code:
    In below code i have created a interface and a class which is implementing the interface. I have declared a reference variable of type interface and created a object. Then i have called a method.
    REPORT  ZABAPOBJECTS_INTERF.
          INTERFACE I1
    INTERFACE I1.
      METHODS METH1.
    ENDINTERFACE.                    "I1
          CLASS C1 DEFINITION
    CLASS C1 DEFINITION.
      PUBLIC SECTION.
        METHODS: METH2.
        INTERFACES: I1.
    ENDCLASS.                    "C1 DEFINITION
          CLASS C1 IMPLEMENTATION
    CLASS C1 IMPLEMENTATION.
      METHOD I1~METH1.
        WRITE: / 'This is a method one'.
      ENDMETHOD.                                                "I1~METH1
      METHOD METH2.
        WRITE: / 'This is a method two'.
      ENDMETHOD.                                                "METH2
    ENDCLASS.                    "C1 IMPLEMENTATION
    START-OF-SELECTION.
      DATA : REF1 TYPE REF TO I1.
      CREATE OBJECT REF1 TYPE C1.
      CALL METHOD REF1->METH1.
    Question 7: Yes we need to create a class but most probably we use the existing classes.
    Regarding BAPi's go through the below links,
    http://www.sapgenie.com/abap/bapi/example.htm
    http://www.sapdevelopment.co.uk/bapirfc/bapirfchome.htm
    Regards,
    Azaz Ali.

  • Newbie questions on fms and actionscript 3

    Ok, like I said I'm a newbie, but I do understand the differance between ssas and as3. Not all, but all most everything I see written in SSAS can be writen into a external AS3 file. This leads me to quite a few questions I'm hoping you kind people can shed some light on for me.
    1)  What is the advantage of writing a SSAS file over an external AS3 file?
    2) Can I write an .asc file in AS3 or do I have to use AS1? Please understand I'm using tuts from fmsguru.com and the books "Learning Flash Media Server" (pdf) and "Programming Flash Communication Server". I'm not a javascript programmer so nothing I do in AS1 seems to make any sence while everything I do in AS3 does. It may not seem like it to you people that are programmers, but to those of us that aren't, AS1 and AS3 are miles apart.
    3) kind of off topic, but a security question. I'm not a "hacker" and don't like the jerks that are. My question is on external AS / SSAS files and swf files. When my fla is compiled into a swf does my external AS files remain external? I assume they do, but then what is the threat of the swf being decompiled? In most projects I would do I could care less if somebody had access to my fla as long as they don't have my actionscript files.
    I don't know. Maybe on questions one and two I'm getting confused becasue I'm using out dated material. Again I assume that even though fms was built off of the javascript engine it should be able to read and execute my AS3 file. Other wise what was the point of the evolution of actionscript into a fully functional programming language?
    Thanks for any help you might have...

    1) I did not get this question correcly - for that matter SSAS can only be in AS1 - so i dont see reason comparing them
    2) It has to be AS1
    3) if you doing "include" stuff - i think code would go into compiled swf and proper decompiler would give you the code.
    Last para - Server-side engine understands only AS1 so it wont be able to read and understand your AS3 file.

  • Graphs and Charts output in XML Publisher Report

    Hi All,
    I have incorporated the graphs and charts as well as some bitmap images in XML Report (RTF File), When i am taking a output in pdf. it is coming fine and working properly, where as while taking the same output in excel, graphs/charts/bitmap images are not getting displayed. Only you can view the data.
    can you please suggest what's the issue on the same and how can be resolved.
    Thanks & Regards
    Ankur Dawra

    Not sure you are on the right forum...

Maybe you are looking for

  • Interaction of Financial modules

    Hi I am working on a presentation of the uses of AR, OM, CE in the Telecommunications Industry. Anybody with information , please email me.

  • Begin and Commit Transactions

    I would like to use the begin and commit transaction in stored procedures in T-SQL. I wanted to know if I can put it around a few statements at once and so if there is an error in one of them none of the above statements will save and the procedure w

  • Person or Group colum in the SharePoint list retrieves empty value for Mobile phone property

    Person or Group colum in the SharePoint list retrieves empty Mobile phone for some users although thoses users have Mobile Phone values in the User Proifles. This happens only for some users. For some users  it shows Mobile phone for some days and af

  • RAW Camera support for Canon EOS 500D?

    I just bought the Canon EOS 500D and now Aperture returns an "unsupported image format" when I shoot in RAW. I have the latest RAWCameraUpdate.pkg with version 2.5. Still nothing. Help!?

  • Updating glitched music in iPod.

    I recently had to re-import some CD's using error corrections. They now play perfectly in iTunes, but the iPod will not re-sync with the new "glitch-free" versions. Any ideas?