Does HSSF support Excel with Picture?

The following code works fine if the Excel File "test.xls" does not contain picture.
It also runs without error after I have added a picture to the Excel sheet, but when I open the excel file "test.xls", I got an error message "Unable to read file".
Does HSSF support Excel with Picture?
POIFSFileSystem fs = new POIFSFileSystem(new FileInputStream("test.xls"));
HSSFWorkbook wb = new HSSFWorkbook(fs);
HSSFSheet sheet = wb.getSheetAt(0);
int r = 10;
short c = 10;
HSSFRow row = sheet.getRow(r);
if (row != null)
if (row.getCell(c) != null)
row.getCell(c).setCellValue("testing");
else
row.createCell(c).setCellValue("testing");
FileOutputStream fileOut = new FileOutputStream("test.xls");
wb.write(fileOut);
fileOut.close();

If it must be dynamically embeded, you're SOL AFAIK. You can embed images in a template, then open that template and add data. POI will allow images and pivot tables to be in the original document and it will save them undamaged, however you cannot create images or pivot tables from within POI (HSSF).

Similar Messages

  • Buying a Ipad, does it support Excel with visual basic?

    I live in PC world with Excel and visual basic for an order program.  I would like to know if an Ipad supports Excel and VB.  Any help is greatly appriciated.
    Thank you,
    Gabriel

    Sorry, no Excel on iPad. The iPad equivalent of Excel is called Numbers, an Apple-made app.

  • Does it supports writing with stylus .

    I have a windows tab on which I have installed thunderbird, but it does not support writing with stylus. Pl advise. The MS outlook supports stylus.

    yea same question here, I mean they are supposed to be supporting adobe line and sketch by the end of this year ish I think. But adobe draw is just a much better app imo.
    If there will not be support soon I will have to buy the adonit Jot Touch instead of the Creative Stylus 2

  • Does apple support syncing with outlook 2013

    I read somewhere that apple does not support calendar or contact sync between iphone running ios7 or above with outlook 2013. jsut looking for some confirmation so i know whethere to stick with 2010 or not.

    Hello Murphy410,
    Thank you for the question.  You can use iCloud Calendars with Outlook 2007 or later (Outlook 2010 Personal Edition is not supported) according to the following article:
    iCloud: System requirements
    http://support.apple.com/kb/HT4759
    You can enable the iCloud Calendar in the iCloud Control Panel as outlined in this article:
    iCloud: Change iCloud feature settings
    http://support.apple.com/kb/PH2613
    If you are experiencing issues with the iCloud Calendar syncing properly, I recommend following the steps in the section titled "Troubleshooting on Microsoft Windows (Microsoft Outlook)" in the following article:
    iCloud: Troubleshooting iCloud Calendar
    http://support.apple.com/kb/TS3999
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Does Oracle Support Searches with Sentence and Paragraph Proximity?

    I have successfully used SENTENCE and PARAGRAPH special groups and the WITHIN operator to search for terms contained within the same sentence and/or paragraph. However, I also need to search for terms that are located within a variable number of sentences or paragraphs of each other. For example, I could search for the term 'dog' and the 'cat' located within 3 sentences of each other. Is this possible in Oracle Text? I have searched the documentation and I can only find the 'near' operator for searching based on word proximity. I cannot find any mention of sentence or paragraph proximity. This is a very important requirement for the system.

    Good question. We are trying to duplicate the functionality of an existing system. It was written into the requirements for the new system. I've asked how important this functionality is to the actual users, but we don't have the answer to that question yet. Knowing that Oracle Text does not support this out of the box, we will certainly need to evaluate the importance of this feature and determine whether it warrants some custom development or switching to another search technology.
    I've thought about using regular expressions to implement this feature, but I'm guessing that the performance wouldn't be that great and it wouldn't integrate well with other Oracle Text searches. Has anyone else used regular expressions combined with Oracle Text to implement more sophisticated searching capabilities?

  • Keynote does not support exporting with embedded Quicktime Movies

    I hope this helps a few of you out before you run into this problem.
    Keynote does not support export to Quicktime with any slides that contain a quicktime movie.
    Created a 27 page slide show with transitions, music, narrations and 6 Quicktime movies (Actually LiveType Text scrolls)
    When I attempted to export it never finishes the export cutting it short after about 20 pages.
    And the pages with the movies, don't start playing.
    It exports fine as a quicktime movie without the movies inserted though.
    Spoke with Apple Support and they confirmed that quicktime placed files within Keynote playback is only supported from the native Keynote Application.
    I read somewhere on this board that it was an issue with Quicktime version 7.5, not so as I tried the same test on a mac with Quicktime 7.42 and it had the same issue.
    So, beware.
    LJS

    Maybe I didn't understand well what you said but it is possible to export a Keynote file with embedded Quicktime movies to a quicktime movie. Actually, I'm doing it and I works. BUT, the issue I get is that I can't get my embedded videos to loop. Grrr...

  • Does Numbers support Excel functions CELL, SUBSTITUTE, and REDIRECT?

    Been trying to find the list of Excel-compatible functions but did not succeed. I would like to use Numbers to edit my Excel files in iPad. I often generate reports by pulling data out from a seperate sheet using Excel functions like CELL, SUBSTITUTE, and REDIRECT. I have not purchased Numbers yet, that is why I would like to know where I find the complete list of Excel-compatible functions or at least know if Numbers support these functions.  Thank you in advance.

    Numbers does support the function substitute()
    I did not see the functions cell() and redirect() in the function browser.
    There is afree function reference here:
    iWork '09 Formulas and Functions User Guide
    which you can use

  • Does pivotTable support rows with duplicated row names?

    I am developing an application using JDeveloper 11.1.1.6.0.
    Pivot table can display attribute values as row or column names. If the "row name" attribute for two records has the same/duplicated values, does pivot table show the two records in two rows with the same row name?
    My experiment shows only one row with blank value for "measure" in such case. Just want to confirm this is the expected behavior.

    Hi,
    don't quite understand the use case so answering in general: no data should be lost when using Pivot table
    Frank

  • Does Numbers support files with passwords?

    Does the Numbers iPhone app support my Numbers file that is password protected?
    Thanks!

    the password protection will be removed as iOS does not have such a option.

  • Does WD4A support Excel upload directly ??

    Hi Experts,
       I search whole the SDN forums, I know Dynpro ABAP don't support upload Excel format file directly.
    ( Binary format not tab-separated or XML format ) .
    So I issue a SAP support note several days ago. SAP says this is our program  issue, not standard issue or bug.
    According to SAP's answer, It's seem that it's possible to upload excel files.
    Can anyone teach me how to upload excel file directly ?

    >By the wayt I'm very disappointed at SAP's answer and attitude .
    What attitude?  You entered a support ticket for something that wasn't a bug or defect. You may want this feature added, but support tickets aren't the correct way to make feature requests or ask a consulting question.  Support responded as they should have to something that was either a feature request or a consulting request.
    The facts - there is no SAP supplied functionality to process binary Excel files.  You can upload and store such files in their binary format, but you can't process them - by process I mean extract the source data. Binary Excel is a Microsoft propriatery format and there are no libraries in ABAP for processing this format.  Even in the SAPGUI we use OLE Automation to take control of Microsoft Office in order to process Binary Excel files.  Such OLE control would not be possible/feasible within a web browser.
    General recommendations - convert the Excel file to something more standards based - Text Tab Delimited or one of the later Excel formats that are XML based.  You can then use fairly standard ABAP processing (XSLT, iXML, or just splits and substrings) to process the file.

  • HT5177 So, does it support video with .MTS format?

    Just dont understand why it cannot be more clear about supported format.  Its cofusing for non professional on video editing.

    To be clear, FCPX supports AVCHD. But you need to keep the card structure  intact to import easily. (One of the easiest ways to do that is simply to copy the card to the computer as a folder.) However, if you alter the card structure or have incomplete content, then you have to use a third party app to bring in the mts files.
    Russ

  • Does Lion support tethering with usb cable

    Had no problems tethering to both iphone and android before installing lion.

    Try updating the carrier settings, if that doesn't do it try following along with this Apple doc -> iOS: Troubleshooting Personal Hotspot

  • The build specifications does not support VIs with dynamic dispatch terminals

    Why?
    Will it be supported in the near future ?

    pacome wrote:
    I wanted to build a shared DLL.
    The problem occurs when an input Control is a dynamic dispatch terminal.
    "Now that's a horse of a different color!" (Caby, Wizard of Oz, Emerald City Scene).
    Yes the DLL spec never knew about dynamic dispatching.
    Your best option is to wrap the LVOOP stuff up in wrappers and expose the wrappers.
    I'm curious if others have ideas as well.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Does JSF support component with dynamic fields?

    Webapps forms usually map a input text field to a java bean property. This mapping is one to one. I would like to know if the JSF can handle the situation where a form is dynamically generated with variable number of fields (eg. check boxes) and having all the values post back to the server without having a java bean mapping (because the fields is not known) and still be able to collect the values on the server.
    Any help is appreciated.

    ckx,
    The components don't require a model reference (i.e. assocaition with a JavaBean). You can access all of the components on the posting page on the server, so you could definitely get all of the values that way. You can build up the tree dynamically as well.
    So the short answer is yes :-).
    <<KM>>

  • ATA 186 does not support hotline with IP dialing procedure.

    In a network without gatekeeper, I make H.323 calls from one ATA to other ATA, dialing in nn**n*n*n*n# format.
    When I put the string in DialPlan as hotline number H0nn**n*n*n*n#, it does not work.
    Can anyone help?

    For one Cisco ATA to access a specific FXS port on another Cisco ATA, you use an IP dialing procedure. The Cisco ATA originating the call must have the following information about the destination Cisco ATA:E.164 phone number of the destination FXS port
    IP address of the destination Cisco ATA
    To enable the IP dialing procedure, you need to set the IPDialPlan parameter to 1 to instruct the Cisco ATA to look for the destination IP address in the dialed digits
    .http://www.cisco.com/en/US/products/hw/gatecont/ps514/products_administration_guide_chapter09186a0080160f6f.html

Maybe you are looking for

  • Quicktime not playing videos online

    so, i'm trying to watch a video online using quicktime, but everytime i try to watch it, i get a the quicktime Q with a question mark. I've updated to the new version and updated adobe flash player, but its still not working. Is there a problem with

  • ITunes Store will not load in iTunes 11.0.1

    I have tried all the suggested tips but the store will NOT load with 11.0.1 any ideas are most welcome.  iTunes works fine in all other aspects.  I am using Mac OS X 10.7.5.

  • Creating a WSDL for a RFC with XI

    Hi everyone, I am trying to use the SAP XI in order to create a wsdl file for a BAPI (which is RFC). Can someone please tell (explain would be better) how to do this ? Thanks in advance for your precious help. Nice day. Message was edited by: David F

  • CF8 v. CF9 mail settings

    I have a question regarding mail server administration and behavior On CF8 i was able to set my mail server to 127.0.0.1.  When i did this, the mail would simply go to my undelivr folder since CF is actually not an SMTP server. I am trying to do the

  • JAWS: accessibility advice needed...

    Hi All, I've finished some govt. contract work here in Australia and now I've been asked to make the GUI elements accessible. Using code I've writte, which queries GUI objects and their children, and writes out the accessible name and description, I