ADF Graph - Export image to Excel

Hi All
I have a Jsp that displays an adf table and a graph.
I am currently sending the contents of the adf table to excel using the POI library.
I need to export the graph to excel also.
Has anyone implemented anything like this.
I have noticed that when I place the mouse button over the graph, I get the save image dialog and I can then save the image to my pc as a png.
I am using Adf Jsp, not faces and Jdeveloper 10.1.2.
Any help would be great
Thanks
Darren

Hi,
actually there is no declarative solution for this. Using the BI Graph bean's API you can generate the image to the server from where you should be able to pick it up when using POI
Frank

Similar Messages

  • XY graph export image JPEG color PB

    Dear.
    How save a graph in JPEG with a simplified presentation and keep the line color on the picture like "Invoke node: Export images" .
    To have  JPEG image I used the "invoke node: get image" and I put a 1 on the color to simplified the presentation but it's don't keep the line color.
    I have seen this post who speek about this subject:
    http://forums.ni.com/ni/board/message?board.id=170​&message.id=122665&query.id=182247#M122665
    In the zip there is a the project to show the difference between the tow "invoke node" 
    I someome can help me..  
    Massif
    Attachments:
    image simplified JPEG.zip ‏77 KB

    Hi Massif,
    if you set the picture depth to 1 you can´t have any color in it. Use 24 bit and change the background color. Or another solution, save your picture as bitmap, open it and save it as jpg. See the attached example.
    Mike
    Message Edited by MikeS81 on 04-21-2008 09:52 AM
    Attachments:
    image JPEG juste line color_LV80.vi ‏26 KB

  • Export JSP to Excel : Weird problem  (Urgent)

    Hi,
    Sorry for the length of question.
    I am facing a bit weired problem while exporting my JSP report to Excel.
    I have multiple tables in my JSP page .( Use of Multiple tables is a requirement .).
    I am using Struts and Oracle 9i JDeveloper for developement.
    I have a button called "Excel" and on its click , I am opening the same JSP page in a pop up and passing reqd. parameters to it using querystring
    ( sometimes I am keeping the parameters into session as the length is loo large to fit into queryString. )
    I am using
    response.setContentType("application/vnd.ms-excel");
    to transform my JSP page to Excel.
    Sometimes, this works fine.
    But, mant times this gives error such ( in Windows2000 Adv. Server ) as
    "Memory could not be "read"."..with the tile of error-popup as "Excel.exe".
    (In Windows NT , it never exports to Excel. Every time it gives "Dr. Watson Debugger" message box.)
    In Windows2000 Adv. Server ,
    While debugging, I observed that when I click on Excel button, the pop up opens and executes the page and again goes to the start of the page and executes again and thus tries to open the same Excel document.
    As we know, we cannot open same Excel document twice. Hence it gives a popup alert that
    " The file <filename with its entire path> could not be opened.
    There may be several reasons :
    You might be trying to open a file which does not exist.
    You might be trying to open the file which is already open. ..."
    etc.etc. and something like this.
    Now, this is totally unpredictable. If I click Excel button, It may open the file in excel and on next try it would give error.
    This is quite annoying. I searched on this forum, Google but could not find the solution yet.
    I cannot use POI - HSSF . I cannot use userdefined Excel tags as well. as it will require a lot of reqork and unfortunately I don't have that much time now.
    Please help me and let me know how would I be able to successfully and predictably export my JSP pages to Excel.
    Thanks,
    Swipsy.

    Hi,
    Why don�t you save as attachment? (use -> <% response.setHeader("Content-Disposition", "attachment; filename=\"name.xls\""); %> scriplet )...
    I�m doing the same work, but I have problems to export images to Excel by this method...
    Someone could help me??
    thanks a lot

  • Exception while Exporting Datagridview data with Images to Excel...

    Hi Everyone,
    I have datagridview in that 17 columns are text columns and 5 columns are Image columns,when I'm trying to export whole gridview data's along with images to EXCEL,getting "HRESULT:
    0x800A03EC" Error..While debugging the code I'm getting the error on image column not able to export..
    Can anybody help us to resolve this issue..
    Here is my code which i used:
    private void btnexportexcel_Click(object sender, EventArgs e)
    try
    SaveFileDialog savefile = new SaveFileDialog();
    savefile.Filter = "Excel (*.xls)|*.xls";
    if (savefile.ShowDialog() == DialogResult.OK)
    if (!savefile.FileName.Equals(string.Empty))
    FileInfo finfo = new FileInfo(savefile.FileName);
    if (finfo.Extension.Equals(".xls"))
    Excel.Application xlApp;
    Excel.Workbook xlWorkBook;
    Excel.Worksheet xlWorkSheet;
    object misValue = System.Reflection.Missing.Value;
    xlApp = new Excel.Application();
    xlWorkBook = xlApp.Workbooks.Add(misValue);
    xlWorkSheet = (Excel.Worksheet)xlWorkBook.Worksheets.get_Item(2) ;
    int i = 0;
    int j = 0;
    for (i = 0; i <= dataGridView1.RowCount - 1; i++)
    for (j = 0; j <= dataGridView1.ColumnCount - 1; j++)
    DataGridViewCell cell = dataGridView1[j, i];
    xlWorkSheet.Cells.Borders.LineStyle = Excel.XlLineStyle.xlContinuous;
    xlWorkSheet.Columns.AutoFit();
    if (cell.Value.GetType() == typeof(Bitmap))
    string image =Convert.ToString(dataGridView1.CurrentRow.Cells[i].Value); 
    Excel.Range oRange = (Excel.Range)xlWorkSheet.Cells[i + 1, j + 1];
    float Left = (float)((double)oRange.Left);
    float Top = (float)((double)oRange.Top);
    const float ImageSize = 32;
    xlWorkSheet.Shapes.AddPicture(image, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoCTrue, Left, Top, ImageSize, ImageSize);
    oRange.RowHeight = ImageSize + 2; 
    else
    xlWorkSheet.Cells[i + 1, j + 1] = cell.Value;
    xlWorkBook.SaveAs(savefile.FileName, Excel.XlFileFormat.xlWorkbookNormal, misValue, misValue, misValue, misValue,
    Excel.XlSaveAsAccessMode.xlExclusive, misValue, misValue, misValue, misValue, misValue);
    xlWorkBook.Close(true, misValue, misValue);
    xlApp.Quit();
    releaseObject(xlWorkSheet);
    releaseObject(xlWorkBook);
    releaseObject(xlApp);
    MessageBox.Show("Excel file created , you can find the file " + savefile.FileName);
    else
    MessageBox.Show("Invalid file type");
    else
    MessageBox.Show("You did pick a location " + "to save file to");
    catch (Exception ex)
    MessageBox.Show("Exception Occured", ex.Message);
    Thanks & Regards RAJENDRAN M

    Hi Everyone,
    I have datagridview in that 17 columns are text columns and 5 columns are Image columns,when I'm trying to export whole gridview data's along with images to EXCEL,getting "HRESULT:
    0x800A03EC" Error..While debugging the code I'm getting the error on image column not able to export..
    Can anybody help us to resolve this issue..
    Here is my code which i used:
    private void btnexportexcel_Click(object sender, EventArgs e)
    try
    SaveFileDialog savefile = new SaveFileDialog();
    savefile.Filter = "Excel (*.xls)|*.xls";
    if (savefile.ShowDialog() == DialogResult.OK)
    if (!savefile.FileName.Equals(string.Empty))
    FileInfo finfo = new FileInfo(savefile.FileName);
    if (finfo.Extension.Equals(".xls"))
    Excel.Application xlApp;
    Excel.Workbook xlWorkBook;
    Excel.Worksheet xlWorkSheet;
    object misValue = System.Reflection.Missing.Value;
    xlApp = new Excel.Application();
    xlWorkBook = xlApp.Workbooks.Add(misValue);
    xlWorkSheet = (Excel.Worksheet)xlWorkBook.Worksheets.get_Item(2) ;
    int i = 0;
    int j = 0;
    for (i = 0; i <= dataGridView1.RowCount - 1; i++)
    for (j = 0; j <= dataGridView1.ColumnCount - 1; j++)
    DataGridViewCell cell = dataGridView1[j, i];
    xlWorkSheet.Cells.Borders.LineStyle = Excel.XlLineStyle.xlContinuous;
    xlWorkSheet.Columns.AutoFit();
    if (cell.Value.GetType() == typeof(Bitmap))
    string image =Convert.ToString(dataGridView1.CurrentRow.Cells[i].Value); 
    Excel.Range oRange = (Excel.Range)xlWorkSheet.Cells[i + 1, j + 1];
    float Left = (float)((double)oRange.Left);
    float Top = (float)((double)oRange.Top);
    const float ImageSize = 32;
    xlWorkSheet.Shapes.AddPicture(image, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoCTrue, Left, Top, ImageSize, ImageSize);
    oRange.RowHeight = ImageSize + 2; 
    else
    xlWorkSheet.Cells[i + 1, j + 1] = cell.Value;
    xlWorkBook.SaveAs(savefile.FileName, Excel.XlFileFormat.xlWorkbookNormal, misValue, misValue, misValue, misValue,
    Excel.XlSaveAsAccessMode.xlExclusive, misValue, misValue, misValue, misValue, misValue);
    xlWorkBook.Close(true, misValue, misValue);
    xlApp.Quit();
    releaseObject(xlWorkSheet);
    releaseObject(xlWorkBook);
    releaseObject(xlApp);
    MessageBox.Show("Excel file created , you can find the file " + savefile.FileName);
    else
    MessageBox.Show("Invalid file type");
    else
    MessageBox.Show("You did pick a location " + "to save file to");
    catch (Exception ex)
    MessageBox.Show("Exception Occured", ex.Message);
    Thanks & Regards RAJENDRAN M

  • Why can I no longer export images in Numbers to Excel?

    Numbers 3.2.2
    MacBook Air 1.3GHz i5; Memory 4Gb 1600MHz DDR3
    OS X updated 24 September 2014
    In previous versions I have been able to export images within the Numbers file to and  Excel file.  I was able to do this up to three weeks ago!
    Now when I export to Excel the Images are being removed.  This is extremely inconvenient as I use this product to generate reports to my executives across Asia and this is no longer possible with this product.  Every other member uses Excel for this report and I am not on the outside, unable to participate fully in the conversations or modifications to critical performance reports!
    Would you please advise how I can now continue to use Numbers to:
         a.  Generate this report type
         b.  Review reports provided to me
         c.  Update and return reports provided for review and contributions?
    Thank you
    Dean Turner OAM

    Dean,
    1) I suggest if your job depends on a particular tool you that tool.  My suggestion is to purchase Excel and use the same tool as everyone else.  For times then you need not share with other use Excel.
    2)  I dropped an image in a Numbers file then exported to excel using the menu item "File > Export To > Excel..." then opened the file in LibreOffice (a free office clone).  That worked fine.  So I cannot confirm your reported problem.  Can you share what version of Numbers you are using?  Have you tried restarting your computer? What about have your tried a simple test where you create a new document, then drop a picture into that file and then export to excel?  Maybe the document you are using is corrupt.
    Wayne

  • I just purchased Export PDF to Excel and it does not export anything usable. Your terminology should not be "export" but paste image, which is of no value. Please cancel my account and refund my money. What a shame you would advertise this as a product.

    I just purchased Export PDF to Excel and it does not export anything usable. Your terminology should not be "export" but paste image, which is of no value. Please cancel my account and refund my money. What a shame you would advertise this as a product.

    Hi pgrillo,
    I'm sorry that you're disappointed with your ExportPDF subscription. I checked your account, and see that the order is still processing. As such, I'm unable to cancel it for you myself. However, a Customer Care agent can take care of your cancelation/refund quickly. Here is the contact information: Contact Customer Care. Click Still Need Help? Contact Us at the bottom of the page to find both phone and chat support options.
    Best,
    Sara

  • Export Icon/image to Excel in Ce 7.2

    Hi Experts,
    Is it possible to export the Table icon/Image to Excel using CE 7.2. if yes then let me know the process.
    PS: Im able to export the table data to excel.
    Any help will greatly appricated.
    Thanks
    AB

    Hi,
    i think it is noting to with CE, depend on the lib you use poi or jxl
    i think poi should support that
    Hope this is help full for u
    Regards
    Vijay

  • Problem on exporting images from jsp to excel

    i had exported content of jsp to excel, but the problem is i couldn't able to export images present in jsp to excel.
    the images are present in
    webapplication / images directory.
    guys if you know any way please let me know
    code which i used for exporting was
    <%
         response.setContentType("application/vnd.ms-excel; charset=UTF-8");
         response.setHeader("content-disposition","attachment; filename=test.xls");
    %>Message was edited by:
    mohaideenkhaja

    If Somebody have the solution the please let me know......................
    Thx

  • ADF view, export excel does not export more than 65536 rows

    as this is limitation of ms excel 2000, but not sure whether it is still limitation in using ADF view export excel feature.
    in our table , there are more than 80k rows, when we click on export excel, it only get's 65536 rows
    remaining rows are not exported.
    please let us know if this is still open issue or fixed, also let us know which version if it is fixed.

    Hi,
    Yo have to use custom library Ex: Apachi POI
    See
    Re: ADF table data export to Excel

  • Unable to export image from Webi to  excel.

    Hi,
    Can any one provide solution for export image from webi to excel( 3.1 & 4.0).
    Thanks,
    Praveen

    given link(https://service.sap.com/sap/support/notes/1299111) is not working.
    the above link contain
    Symptom
    Unable to Export images from a Web Intelligence report to Microsoft Excel.
    A Web Intelligence report is created using images to denote alerts. The report works OK in Web Intelligence but when exported to Microsoft Excel, the images do not display.
      Environment  
    Business Objects Enterprise XI Release 2
    Business Objects Enterprise XI 3.1
      Reproducing the Issue  
    Create a simple Web Intelligence document.
    Add a blank cell and within that cell link it to an image. (Either set as background for the cell or Image URL.)
    Save and export to Excel. The image will not be displayed.
    Cause
    Web Intelligence export engine does not support the export of images to excel.
    Resolution
    In BI4.0, Web Intelligence export engine does support the export of images to excel.
    Workaround 1 :
    Most image formats are supported in PDF export. Users may be able to use that as an alternative.
    Workaround 2 :
    If images are required in the final Excel document, the user would need to recreate those image links manually in Excel.
    Keywords
    Export , image , excel , WRC, Webi ,XIR2, XI3.1 , BI4.0
    Header Data
    Released On
    21.10.2011 14:43:35   
    Release Status
    Released to Customer   
    Component
    BI Business intelligence solutions  
    Priority
      Normal  
    Category
      Problem  
    Product
    Product
    Product Version
    SAP BusinessObjects Business Intelligence platform
    SAP BusinessObjects Enterprise XI 3.0

  • XY graph export simplified image emf bug

    Hi,
    I have a problem with exporting a XY graph to a simplified image (Enhanced metafile .emf or Encapsulated postscript .eps).
    Or using the print front panel option / method.
    When you run the example vi (XY graph bug - LabVIEW 2013 SP1.vi), right click the XY graph and choose the option "Export Simplified Image...", some of the plots are inverted when you choose .emf or .eps in the options menu (see "Export Simplified Image options.png").
      -->   
    When you choose Bitmap it works fine.
    Any ideas?
    Or is it a bug in LabVIEW 2013?
    BJK
    Attachments:
    XY graph bug - LabVIEW 2013 SP1.vi ‏27 KB
    Export Simplified Image options.png ‏23 KB
    XY graph export results.zip ‏26 KB

    Hi,
    Thank you for your answer.
    Actually I wanted to use the option "Automatically print front panel every time VI completes execution" or the "Print.Panel to Printer" method".
    But when I do that I have the same problem.
    Any workaround for that?
    BJK
    Attachments:
    Print options.png ‏38 KB

  • Wpf export graph to image problem

    My problem is I have created a new custom custom using the NI wpf graph as the basis. The control consist mainly of the graph,its axes and legends on a grid. To allow the legend to be moved around, I put it in a child grid. My problem is while trying to export the control as an image I am using the code below (similar to wpf graph export to image):
    Rect bounds = LayoutInformation.GetLayoutSlot(MainGrid);
    var bitmap = new RenderTargetBitmap((int)bounds.Width + 1, (int)bounds.Height + 1, 96, 96, PixelFormats.Default);
    bitmap.Render(MainGrid);
    My problem is the axes and the edges of the image exported to clipboard is dark as shown below. Is saved to image, the edges are instead transparent but better (not visible in the photos app but visible in paint). My question is why is this behavior and how can it be avoided?
    Thanks.
    Solved!
    Go to Solution.

    I did a bit of research and it seems the dark color is due to the trasnparency of the axes and edges of the image: the clipboard in windows does not support transparent image. The question is how can this transparency be removed from the axes and edges of the image?
    Thanks.

  • OBIEE 11g (11.1.1.6) Graph Export

    Hi Team,
    Just need to confirm if a graph exported to excel file will be editable to users?
    (Client want the graph to be downloaded in editable format while exporting to an excel file, just like we create graph from data in excel sheets. So far, a graph is downloaded as an image while export)
    Thoughts...??
    Pratim

    Hi Pratim,
    Not possible to edit an exported graph.
    Regards,
    Dpka

  • Issue while exporting report to excel

    I have a report created using ssrs.
    In that i have set the body background property to an image
    And also set a header in the report
    Now while exporting it to excel, I need to remove the body background  image and header
    Need Help
    Thanks
    Abhinav

    The workaround is to use a parameter that control the hidden properties and image/value properties of the header contents and background image path respectively. We need to place the header contents to a textbox or a rectangle so that the "hidden"
    properties can be set or reset. Similarly for the image path or value properties of body section can be set or reset using expression. I am using external image URL. Refer below step.
    1. Add a parameter "Export". Set the Available values
    as "Specify values" and add the below labels and values.
    Label                                 Value
    Header/Image                    Header/Image
    No Header/Image               No Header/Image
    For Default Values,
    Select Specify values option and add value as "Header/Image". Click Ok to close the parameter properties.
    2. As my header section contains a textbox and wanted to hide while i export, select the textbox properties and set the visibility/hidden expression as, =IIF(Parameters!Export.Value <> "Header/Image", True, False)
    3. Similarly in the report body properties, select the image source option as "External" and set the expression as,
    =IIF(Parameters!Export.Value <> "Header/Image", "" , "http://localhost/Testing/NEW_06.jpg")
    4. Preview the report and select the export parameter option as "No Header/Image".
    Regards, RSingh

  • Can I use Bridge to export image data into a .txt file?

    I have a folder of images and I would like to export the File Name, Resolution, Dimensions and Color Mode for each file into one text file. Can I use Bridge to export image data into a .txt file?

    Hello
    You may try the following AppleScript script. It will ask you to choose a root folder where to start searching for *.map files and then create a CSV file named "out.csv" on desktop which you may import to Excel.
    set f to (choose folder with prompt "Choose the root folder to start searching")'s POSIX path
    if f ends with "/" then set f to f's text 1 thru -2
    do shell script "/usr/bin/perl -CSDA -w <<'EOF' - " & f's quoted form & " > ~/Desktop/out.csv
    use strict;
    use open IN => ':crlf';
    chdir $ARGV[0] or die qq($!);
    local $/ = qq(\\0);
    my @ff = map {chomp; $_} qx(find . -type f -iname '*.map' -print0);
    local $/ = qq(\\n);
    #     CSV spec
    #     - record separator is CRLF
    #     - field separator is comma
    #     - every field is quoted
    #     - text encoding is UTF-8
    local $\\ = qq(\\015\\012);    # CRLF
    local $, = qq(,);            # COMMA
    # print column header row
    my @dd = ('column 1', 'column 2', 'column 3', 'column 4', 'column 5', 'column 6');
    print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
    # print data row per each file
    while (@ff) {
        my $f = shift @ff;    # file path
        if ( ! open(IN, '<', $f) ) {
            warn qq(Failed to open $f: $!);
            next;
        $f =~ s%^.*/%%og;    # file name
        @dd = ('', $f, '', '', '', '');
        while (<IN>) {
            chomp;
            $dd[0] = \"$2/$1/$3\" if m%Link Time\\s+=\\s+([0-9]{2})/([0-9]{2})/([0-9]{4})%o;
            ($dd[2] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of CODE\\s/o;
            ($dd[3] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of DATA\\s/o;
            ($dd[4] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of XDATA\\s/o;
            ($dd[5] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of FARCODE\\s/o;
            last unless grep { /^$/ } @dd;
        close IN;
        print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
    EOF
    Hope this may help,
    H

Maybe you are looking for

  • Outbound plug Firing

    Hi Friends, I am New to WebDynpro  programming. In My component I am using Select-options Component,My Component also has out bound plug TO_V1. after the selection-screen is created, the out bound plug is fired.( WD_THIS->FIRE_TO_V1_PLG( ).) in windo

  • A double-click populates several different stacked canvases

    Hi All, I am new to FORMS and would like to have a double-clicking of a column grab the item.value (which I have already coded) and then take that value to query the DB populating several (the number dependant on the data coming back) new canvases wi

  • IMac Disk utility volume doesn't go away?

    Hello! Could anyone please help me with this? (Please bear with me since this is my first post) So a couple of days ago I tried to bootcamp my mac to install windows 7 while half way through the power went out... It came back on to horror as when I b

  • How do I get apps to stop printing?

    I want the apps to stop printing

  • 4s hanged on connect to itunes while restoring

    i tried to restore my 4s and it gets hanged on the screen with a itunes logo and white wire below... my computer also doesnt show my 4s connected i tried every possible way to fix it but failed..... this has happened third time with me , i have to ta