How export a pie graph(displayed in jspx page) into a PPT file.

I am trying to export a pie graph(displayed in jspx page) into a PPT file using Apache POI. But I am facing a problem when I calling the below mentioned code from a button.
Code:
SlideShow slideShow = new SlideShow();
Slide slide = slideShow.createSlide();
FileOutputStream out = new FileOutputStream("slideshow.ppt");
slideShow.write(out);
out.close();
The above mention code is working and a blank ppt file is created when I am running the code from a standalone java class. But when it is called from button in an adf project code is not throwing any exception but the ppt file is not created.

Hi,
sorry but the code snippet alone doesn't help to solve the problem. Did you debug the code to see if it works? My assumption is that the file gets written, just not in the directory you are looking at
Frank

Similar Messages

  • How to convert text values acceses from jsp page into an xml file?

    /* this is the jsp page which i want to convert it into an xml file
    please help me , i thank in advance*/
    <html>
    <head>
    <title> xml test</title>
    </head>
    <body>
    <form action="testxml2.jsp" method = post>
    <ul>
    <li>
    <ul>NAME:
    <br>
    <li>First Name:<INPUT NAME="firstName" TYPE=text SIZE=20><br>
    <li>Middle Name:<INPUT NAME="middlename" TYPE=text SIZE=20><br>
    <li>Last Name:<INPUT NAME="lastname" TYPE=text SIZE=20><br>
    <li>t Name:<INPUT NAME="tname" TYPE=text SIZE=20><br>
    </ul>
    <br>
    <ul>Role:</b><p><input type="radio" name="role" value="buyer">Buyer<p>
              <input type="radio" name="role" value="seller">Seller<p>
              <input type="radio" name="role" value="thirdparty">Third Party<p>
    </ul>
    <ul>
    Qualification:<br>
    <li>Highest Degree:<INPUT NAME="degree" TYPE=text SIZE=20><br>
    <li>Percentage: <INPUT NAME="percentage" TYPE=text SIZE=20><br>
    </ul>
    <ul> Adress:
    <li> streetName:<INPUT NAME="street" TYPE=text SIZE=20><br>
    <li>cityName:<INPUT NAME="city" TYPE=text SIZE=20><br>
    <li>StateName:<INPUT NAME="state" TYPE=text SIZE=20><br>
    </ul>
    </ul>
    <b>
    <INPUT TYPE=SUBMIT VALUE="ENTER" >
    </body>
    </html>

    hi there,
    In the MCV there is a part about struts, this is a descent way to do this.
    how to do it:
    create an actionform containing all the properties of the page.
    then when you submit your form use an method in the actionforms (that you have written) that makes sets your data in a xml file.
    this works very quickely and i use it in production...
    you can choose if you want the xml to generaded hard coded or via a parser.
    greetings

  • How do I copy different parts of the page into separate pdf files?

    I have Adobe Acrobat 9 Pro and an assortment of very large pdfs that I want to make into about a thousand individual pdfs.  The pages contain text and I want to be able to copy parts of the page into separate different pdfs.  It would be really nice if I could split up the page into the required sections by highlighting all the different sections on the page and then save each section to individual pdfs all at once.  Acrobat has so many features that I am hoping that it can do something like this.  Thanks  Anewbie282

    With the number of pages you are talking about, there is no real easy solution. However, try extracting the page(s) you want in a new file. After the extracted file exists, try using the object select tool to remove the parts you do not want. You might find using the redaction tool to zero out the parts you don't want might work better. Unfortunately, a PDF is not a word processor type data file and the editing is likely not going to be easy.

  • How to override pie graph label

    Hi,
    I have a dvt pie graph component on my page. I want to programatically set my pie graph label in a java bean.
    For example, in my pie graph, there are 2 values, paid and unpaid. In my bean, I programatically format my paid amount, and I want to set the paid label to be "Paid (<formatted amount paid>)". I want to do the same for Unpaid.
    How to I access and set the label for Paid and Unpaid series in my code? I could not use EL expression to do that as the label field of the <item> component of the graph do not understand EL expression.
    Thank you for your time.
    Any input is much appreciated.

    Hi,
    How are you passing data to the graph? Are you trying to format the labels shown next to each slice of the pie, or the tooltips (shown when you mouse over the slice)?
    You can use the dvt:sliceLabel tag to format your pie labels.
    For example:
    <dvt:sliceLabel textType="LD_TEXT">
    <dvt:numberFormat decimalDigit="0"/>
    </dvt:sliceLabel>
    This will show text in the pie labels, and format the numbers displayed in the tooltip to have no decimal places.
    Valid values for text type are:
    LD_TEXT, LD_VALUE, LD_PERCENT, and LD_TEXT_PERCENT.
    Hope this helps
    Katia

  • How do I convert a document created in Pages to a pdf file?

    How do I convert a document created in Pages to a pdf file?

    The same way that you would do it for any application, print menu or export menu.

  • Including jspx page into Panel Tabbed !!

    Hi all,
    Jdeveloper 11g is really powerful ..
    I want to create windows explorer interface which consists of two main areas:
    First one represented as a tree and the second to show the details of the selected item in the tree. I want the detail area to be as tabbed so that multiple tabs can be seen at a time, I developed most of this issue.
    Here is my question:
    How to include a jspx page into one of the tabs (showDetailItem) created in the panel tabbed, I've tried <jsp:include> but it didn't work
    Regards,
    Bassam

    not sure what you mean by Panel Tabbed, but you should be able to do something like the following so that when user clicks on a tab, the proper page will load:
    <af:showOneTab binding="#{backing_bean.showOneTab1}"
    id="showOneTab1" position="above">
    <af:showDetailItem text="Tab Text"
    binding="#{backing_bean.showDetailItem1}"
    id="id"
    disclosed="#{some evaluation}">
    <!-- include header jsp -->
    <f:subview id="positionHeader">
    <jsp:include page="/Header.jspx"/>
    </f:subview>
    </af:showDetailItem>
    </af:showOneTab>
    the included jsp will need to be stripped of at least the <f:view> tag since it's being included in another page that will already have the <f:view> tag. Can't remember if there are other tags <afh:html>, <afh:body> which might need to be removed from the included jsp.

  • How do I scan multiple pages into one pdf file using the PIXMA MG7520 on Windows 8.0? Please help!

    I recently received a PIXMA MG7520 for a gift.  It works great with my lenovo laptop/tablet running on Windos 8.0.  The one drawback to the HP all-in-one that it replaced is it does not have an ADF.  That being said, there must be some way to scan multiple pages into one pdf file.  I need help figuring thing out.  Thanks in advance!
    Solved!
    Go to Solution.

    Hi mdtolbert54,
    There is a program that comes with the printer called the IJ Scan Utility that can assist you with scanning multiple pages into a single PDF document.  To do this, please follow these steps:
    1. On your keyboard, press the Windows key.
    2. Start typing IJ SCAN UTILITY. The search window opens as you type. Once the IJ SCAN UTILITY is displayed, please select and open it.
    3. In the Canon IJ Scan Utility window that opens, click SETTINGS.... in the bottom right of the window. The Settings dialog box appears.
    4. Click the DOCUMENT SCAN option on the left pane of the window.
    5. In the SAVE SETTINGS section of the window, you will select the save format and location of the document you are about to scan.
    a.) In the FILE NAME field, specify the name you would like to give the file. By default the filename will begin with IMG; you can remove IMG and change it to whatever you would like to name the file.
    b.) In the DATA FORMAT field, use the drop-down arrow to select the PDF (Multiple Pages) option. 
    c.) In the SAVE IN field, please navigate to the area where you would like the file to be saved once it is scanned in. By default, the file will be saved in the MY DOCUMENTS folder.
    6. Once all settings have been selected, click the OK button at the bottom of the window to save the changes. The IJ Scan Utility main screen appears.
    7. Click the DOCUMENT button. Scanning starts. Click the CANCEL button to cancel scanning if needed. Scanned items are saved in previously selected folder location specified in the SETTINGS... window.
    If you find that you need advanced scanning options such as adjusting resolution, brightness, contrast, saturation, color balance, etc. in addition to the options selected above, please click on the SCANGEAR button on the IJ Scan Utility Main screen, then adjust the items as necessary.
    Once the items above are set for document scanning, in the future, you will only need to launch the IJ Scan Utility, then press the DOCUMENT button to perform the scan (unless you want to make changes to the settings).
    Hope this helps!
    This didn't answer your question or issue? Please call or email us using one of the methods on the Contact Us page for further assistance.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • How do i scan multiple pages into one pdf file

    How do I scan multiple pages into one pdf file?

    That depends on your scanning software. Adobe Reader doesn't scan.

  • HP Officejet 6500A How do I scan a document with multiple pages into one file?

    HP Officejet 6500A Plus e-All-in-One Printer - E710n
    Windows 7 (64 bit)
    How do I scan a document with multiple pages into one file?  My old printer (psc 2110) asked after each scan if I wanted to scan another page.  At the end I had one pdf file with multiple pages.
    This new one creates one file for each page and I cannot find a way to create one pdf file with multiple pages.
    This question was solved.
    View Solution.

    Hi mpw101,
    If you load the papers into the ADF - Automatic Document Feeder, and then select Document to PDF then they will all be scanning into one file. Let me know if this works for you?
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"

  • How do I print multiple copies of a page in a PDF File?

    How do I print multiple copies of a page in a PDF File?  For some reason I tell it to print, for example, 3 or 4 copies of a certain page and it will only print one copy!!!

    OS X 10.9.5Adobe Reader 11.0.10
    I increase the number of copies to 3, 4, or 5 (etc.) but it would still only print one copy of the designated page/pages.
          From: pwillener <[email protected]>
    To: Caren Harris <[email protected]>
    Sent: Friday, March 6, 2015 9:17 PM
    Subject:  How do I print multiple copies of a page in a PDF File?
    How do I print multiple copies of a page in a PDF File?
    created by pwillener in Adobe Reader - View the full discussionOperating system?  Reader version? If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7262032#7262032 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7262032#7262032 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"  Start a new discussion in Adobe Reader by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • How do I save documents from the new Pages into a Word Document

    How do I save documents from the new Pages into a Word Document?

    Thank you so much - so simple!  I had been using the 'share' option (worked in old Pages) and only had icloud or email as options.  I have to attach word documents to emails to send to work. I don't want to use icloud because it's too public and I don't trust it.  Also, you have to be able to access the internet and I need word documents on my USB stick for work where there's no internet.
    I love my Mac but I do wish Apple would remember those of us living in less-than-perfect computer-land.
    Thanks again
    Lindsay

  • I have a file with 64 pages in it.  How do I save and email one specific page out of the file?

    I have a file with 64 pages in it.  How do I save and email one specific page out of that file?

    With nothing but the free Reader? Take a screenshot of the page and email the image.

  • How to scan more pages into one PDF file using hP inkjet 2515

    Dear friend 
    How to scan more pages into one PDF file using hP inkjet 2515 

    Dear friend 
    How to scan more pages into one PDF file using hP inkjet 2515 

  • Weblogic portal 10.3 - How to make JSF page to display different jspx page

    Hi,
    I am new to Weblogic Portal Technology. In my porject I am using trinidad jsf 1.1 and weblogic portal 10.3. I have an issue in changing the jspx path in the JSF portlet at runtime. My scenario is as given below.
    I have a left portlet and a right portlet on my consumer.portal page.
    Left Portlet:_
    The left portlet contains a custom menu created using commandlink tag in trinidad JSF.
    Right Portlet:_
    The right portlet contains a content portlet which will display the jspx.
    Problem:_
    When I click on the menu item link in the left portlet, the right portlet should display the appropriate jspx.
    Is there any solution for this scenario? Can anyone provide me step by step procedure to implement the above scenario?
    Thanks in advance

    Hi Chris,
    I have already gone through this document. But the procedure that is given in it is not working. I mean I am not able to render diffferent different jspx files based on the menu link clicked. It will great if you can provide me steps by step process since I am new to the portal World.
    Thanks a lot for your reply

  • How to save the modified rows in jspx page usind adf default commit action

    Hi,
    We are displaying some columns of the database table in jspx page. Here we are using adf commit action to save these values to database which is updating all the rows by default. In this page there are some editable columns which the user can miodify. How can we update only these modified rows using default adf commit action. Also we want to update last_updated_date column of that particular row which is modified in the UI from backing bean .
    Can anyone please help us in solving this.
    Thanks in advance

    User,
    A key question - what are you using for the model layer (ADF Business Components, JPA, EJB, etc)?
    How are you determining that a "commit" action is updating rows (even those which haven't changed)?
    If you are using ADF Business Components - have a read in the documentation about history columns - the use case you describe (updating the last_udpdated_date column) is supported "out-of-the-box" for this.
    John

Maybe you are looking for

  • DVI connection to second monitor doesn't work

    When I had the connection from my Mac Pro to my two monitors (20" Cinema display and 19" Princeton monitor), I had the black screens for a few seconds for both monitors then return to normal. It happens anytime. I read the forum and changed the VGA c

  • Cannot access newly installed Bridge CC

    Windows 7 PC: Tried to install Photoshop CC and Bridge CC to a drive other than C; Access problems: Advised by Adobe that I must install to C: After fitting larger C drive I finally managed to access Photoshop by uninstalling and then reinstalling it

  • Oracle Text performance -- failed attempts

    We are trying to implement a simple search of text data stored in a heavily used table (inserts/updates). There are 3 columns to index -- Headline (varchar2(255)) Subheadline (varchar2(255)) Teaser (varchar2(4000)) The first attempt to implement Orac

  • Process Batch in IS Mills

    Hi, Is there internal batch number assignment possible for Process Batches in IS Mills system? Best Regards Ramakanth

  • Dynamic Time Series in Essbase =/= Workspace

    Hi all, I have a question regarding DTS. I was trying to make changes to Dynamic Time Series to Period dimension in Workspace. I enabled DTS, assigned a generation #, and gave default an alias. After making the changes, I deployed as usual from Appli