Most popular api for modifying excel spreadsheets?

I googled a bit and it seems like POI and jexcel are the most popular ? I'm interested in hearing your opinions... I've tried POI and I find it OK, but I wish I had more features like copying a row and "pasting/inserting" it into another row and copying formulas and having it modified as you "paste" it to another cell.
edit:
scratch jexcel off the list... it's not free :(
Message was edited by:
lapchern

hi,
POI is best
The most popular API for manipulating Excel files is Apache POI (http://jakarta.apache.org/poi). This is an API for reading office-documents in general. For reading Excel there is the hssf subproject (http://jakarta.apache.org/poi/hssf). They also have a list of alternative projects that can be used for accessing Excel files (http://jakarta.apache.org/poi/hssf/alternatives.html)
You can also read in the excel file through the jexcel api (http://www.andykhan.com/jexcelapi/)
once you can read in the entire excel file into java, you can create your own Java object structure and go from there.
some other
http://www.download3k.com/Web-Authoring/Java-JavaScript-Editors/Download-SpreadsheetConverter-to-Java-JSP.html

Similar Messages

  • Java API for reading Excel Files.

    Hi,
    Can you please suggest me any api for reading excel files.
    Right now i am using jxl.jar for this purpose but i am searching for an open source java api better than this.
    Whether POI gives better than this ?
    Thanks,
    Amit Shah.

    Can you please suggest me any api for reading excel
    files.
    Right now i am using jxl.jar for this purpose
    but i am searching for an open source java api better
    than this.
    Whether POI gives better than this ?i don't know about jxl but poi has several features which an excel can contain and it has been vastly improved in the past few versions.

  • Where is the best spot for reviews of most popular apps for iPhone 4?

    where is the best spot for reviews of most popular apps for iPhone 4?

    Best is extremely subjective.
    Here is one:
    http://appshopper.com/
    The best? Depends on who you ask.

  • Most popular case for a 15" Macbook pro

    I would like to know which carrying case is the most popular for a 15" Macbook Pro with retina to be used by a college student who may be tough on a laptop?

    This is a tough question since everyone has a different need and sense of what they like.
    With that said Brenthaven makes some excellent cases for the MacBook Pro. If you dont have that many other accessories to carry then their Elliot slim case is an excellent case. (http://www.brenthaven.com/macbook-cases/elliot-slim-brief)

  • API for modifying rep:Policy nodes

    The JCR API does not work when we are trying to modify/create rep:policy nodes.
    I tried to have a look at the CqActionsServlet and CQActions class but could not make much progress on understanding the implementation.
    Is there any API documentation on how  to do this.
    Basically the idea is to have a package of permission nodes (rep:policy) in the svn. As part of build process, we want to read the rep_policy.xmls and configure the corresponding permissions in CQ using RMI.

    Could you explain what you mean by the JCR API? While JCR 1.0 didn't have any API for managing access control policies, JCR 2.0 does.
    I don't know think AccessControlManager works over RMI. The JIRA issue is still open: https://issues.apache.org/jira/browse/JCR-2113
    There is a Sling bundle which you can install to manage ACLs via HTTP: http://sling.apache.org/site/managing-permissions-jackrabbitaccessmanager.html. Search this forum for prior discussions.
    For the use case you describe, you should be able to do that with content packages.

  • Weblogic API for modifying users/roles

    I need to write an application which will enable adding users to weblogic
    domain and configuring roles.
    Does Weblogic provide such API?
    If so, what are the relevant packages?
    P.S.
    I wasn't sure which exact newsgroup my question belongs to.
    If anyone has a better suggestions please provide it.

    I searched the newsgroup and found that somebody addressed this issue.
    "Andrey" <[email protected]> wrote in message
    news:[email protected]...
    >
    WebLogic 7.0
    I have read a number of questions on how to do these but not many answers,so
    after figuring it all out, I thought I would post a message describing allthese
    tasts (It would be great if BEA would start something like 'HOW-TOs forLinux'
    for WebLogic)
    -1. Imports required :
    import weblogic.jndi.Environment;
    import weblogic.management.MBeanHome;
    import weblogic.management.WebLogicObjectName;
    import weblogic.management.configuration.DomainMBean;
    import weblogic.management.configuration.SecurityConfigurationMBean;
    import weblogic.management.security.RealmMBean;
    importweblogic.management.security.authentication.AuthenticationProviderMBean;
    import weblogic.management.security.authentication.GroupEditorMBean;
    import weblogic.management.security.authentication.UserEditorMBean;
    importweblogic.management.security.authentication.UserPasswordEditorMBean;
    import weblogic.security.providers.authentication.*;
    0. Code to retrieve DefaultAuthenticatorMBean (this code is running insideWebLogic
    server - I have it inside EJB):
    DefaultAuthenticatorMBean authBean;
    Context ctx = new InitialContext();
    MBeanHome mbeanHome = (MBeanHome)ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
    >
    //Find UserEditorMBean
    DomainMBean dmb = mbeanHome.getActiveDomain();
    SecurityConfigurationMBean scmb =dmb.getSecurityConfiguration();
    RealmMBean rmb = scmb.findDefaultRealm();
    AuthenticationProviderMBean[] providers =rmb.getAuthenticationProviders();
    >
    for (int i = 0; i < providers.length; i++) {
    if (providers[i] instanceof DefaultAuthenticatorMBean) {
    authBean = (DefaultAuthenticatorMBean) providers;
    break;
    1. Create/Drop/Update users
    to perform these tasks, the user must be logged in into weblogic and be in
    Administrators
    group. Then, the code is as follows:
    create user: authBean.createUser(username, password, description);
    remove user: authBean.removeUser(username);
    change user's description: authBean.setUserDescription(username,newDescription);
    >
    remove user from group: authBean.removeMemberFromGroup(groupname,username);
    >
    add user to group: authBean.addMemberToGroup(groupname,username);
    >
    2. Change other users' passwords (MUST BE ADMIN TO DO THIS - by Admin Imean be
    a member of Administrators group)
    authBean.resetUserPassword(username, newPassword);
    3. Change your own password:
    this is a bit trickier, because if you are not an admin, you can't changeyour
    own password!!!! This is a part that I personally don't understand - seemslike
    a screw up on BEA's part. So, to allow users to change their ownpasswords, you
    must change security context in the middle of processing to that of Adminuser
    and run this function as Admin user. Although a bit ackward, it's veryeasy to
    do. Suppose you have two EJBs - EJB A and EJB B. EJB A does normalprocessing
    for the user and always runs in logged in user's security context. Now,suppose
    you want to add a method to EJB A to change current password. The methodmay
    look like:
    public void changePassword(String logon, String oldpwd, String newpwd)
    throws some exceptions
    Now, there is no way to do it in EJB A, because for most users, it willrun in
    a 'non-admin' security context. So, to get around it, you create another
    EJB - EJB B. This EJB has one method:
    public void changePassword(String logon, String oldpwd, String newpwd)
    throws some exceptions
    and one major difference - this EJB always runs in a secrity context ofadmin
    user. To get an EJB B running 'as admin user', all you have to do in EJBA is
    the following
    EJB A:
    public void changePassword(String logon, String oldpwd, String newpwd)
    Hashtable props = new Hashtable();
    props.put(Context.SECURITY_PRINCIPAL, "wlmanager");
    props.put(Context.SECURITY_CREDENTIALS, "password");
    // get context that with different credentials
    Context ctx = new InitialContext(props);
    EJBBHome home = (EJBBHome) ctx.lookup("EJBBHome");
    EJBBLocal adminEJB = home.create();
    adminEJB.changePassword(logon, oldpwd, newpwd);
    adminEJB.remove();
    of course, this poses a problem of hardcoding user id and password foradmin user
    in your application - you can come up with your own ways to secure that.
    THAT's IT!!! You can use the method explained in part 3 to allownon-admin users
    to do pretty much everything, however for the sake of security, I woulddefinetly
    vote against it and use part 3 to ONLY allow users change their ownpasswords
    >
    Enjoy
    Andrey
    "Yonatan Taub" <[email protected]> wrote in message
    news:[email protected]...
    I need to write an application which will enable adding users to weblogic
    domain and configuring roles.
    Does Weblogic provide such API?
    If so, what are the relevant packages?
    P.S.
    I wasn't sure which exact newsgroup my question belongs to.
    If anyone has a better suggestions please provide it.

  • Most popular uses for ACS?

    What do most companies use ACS for? 
    Thank you!

    HI
      You can use the ACS for multiple IOS devices like Swicthes, Routers, ASA.
    You can use it for following setup:
    1.Wireless authentication like , Eap-tls/PEAP/EAP-FAST, using AP/WLC/WCS.
    2.VPN authentication/Authorization  like ipsec/site to site using Radius protocol on ASA/VPN concentrator
    3. For admin Access of the Multiple devices like switches/Routers/ASA/WLC/IPS/IDS/WCS and multi vendor devices using Tacacs and Radius protocol.
    4. It is used for command authorization on the multiple devices using Tacacs protocol
    Regards
    Minakshi (Do rate the helpful Posts)

  • What is the most popular reason for importing XML?

    Hi
    New to this feature, so I would like to know what people are using it for. Presumably the XML is exported from another application. I need to get some idea of which applications people are generally exporting from, and why. Brief examples of workflows would be appreciated.
    Many Thanks
    Jason

    All databases support today export to XML.
    For InDesign the items have to be transformed in a special order.
    Upon import InDesign can attach a XML element to a specific style or element in the document.
    This helps to import a huge amount of informative content in formatted styles. Such methods are used for example for exhibition guides where information comes often very late, but the structure is foreknown or for special medicine the package will be produced automatically upon the content.
    XML makes sense when the structure is given but the content may vary. Think about it with catalogues, receipts, phone and address books or similar. Less for literature.
    Other methods to get the same result might be InDesign tagged text, which could also be exported from data bases.
    Or if someone is exporting IDML it is a package of XML files bundled together, zip compressed with the extension IDML. Here you can research a little bit how XML works with InDesign.

  • Export complete "Most Popular Items" report

    I need to take snapshots of the Most Popular Items (views) report for a pages library so we can analyze the data to get weekly/monthly/yearly visit trends/data for each page within the library. Our typical pages library (being used as KB's) contains 200+
    pages (in one instance, over 1,000) so exporting & combining the data for each individual page every week is just not an option. What I'm looking for is a way to export the "Most Popular Items" (accessed via Library tab > Most Popular Items)
    to an Excel spreadsheet without having to manually copy/paste/clean up each page of data. Has anyone found a way (programmatically or otherwise) to accomplish this?
    Is it possible to modify the "topreport.aspx" page to include an 'Export to Excel' type function? Or at the least, is it possible to customize the layout of that page to be more Excel-friendly (for example: show all results on 1 page or make each
    entry appear as a single row)? Is this data able to be captured through PerformancePoint?
    Any help/guidance will be greatly appreciated!
    Thank You!
    - Kyle

    Hi Kyle,
    Per my understanding, you might want to export the Most Popular Items related data to an Excel report in a specific format.
    As there is no OOTB feature can meet your requirement, custom code would be required.
    In Microsoft.Office.Server.Search.Analytics namespace, there is a method “UsageAnalytics.GetAnalyticsItemData”
    which can help to “Retrieves aggregated usage data for a specified item for a specified event type”.
    A demo about how to identify view count for each item in a Pages library for your reference:
    http://www.sharepointpals.com/post/Step-by-steps-on-how-to-display-Most-Visited-Sites-with-number-of-view-count-in-SharePoint-2013-Web-Analytics#sthash.ETDAKw1Y.dpuf
    About creating Excel file with data programmatically, the links below would be helpful:
    https://msdn.microsoft.com/en-us/library/ms173186(v=vs.80).aspx
    http://www.codeproject.com/Articles/20228/Using-C-to-Create-an-Excel-Document
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Patrick Liang
    TechNet Community Support

  • Detect fields and edit imported Excel spreadsheet

    i would like to know how I can detect fields for imported Excel spreadsheets so I can add and edit the spreadsheet

    I have an excel spread sheet that i would like to import into form central & I would like the fields to be editable by other users.  When i try exporting the excel file as a PDF Form Central  I get this message "FormsCentral could not import the PDF document because it does not contain interactive form fields. You need to add fields to your PDF using Adobe Acrobat and import again" Is there any other way for me to do this or do i have to purchase a version of Adobe Acrobat?

  • I cannot open files attached to an excel spreadsheet. I am using office for mac 2011. when double clicking object I only get the picture modifier windows.

    I cannot open files attached to an excel spreadsheet. I am using office for mac 2011. when double clicking object I only get the picture modifier windows.

    Preventing Microsoft Office to open recent documents at startup in Mac OS, Please see:
    http://www.frenchguys.com/wordpress/preventing-microsoft-office-open-documents-startup-mac-os-lion/
    It seems that the solution works for most people.
    In a terminal, enter the following:
     defaults write com.microsoft.Excel NSQuitAlwaysKeepsWindows -bool false

  • Unable to modify embedded Excel spreadsheet

    Unable to modify embedded Excel spreadsheet
    I am having problems with 2 Xcelsius files.  When I open them and try to change the tab name, the embedded Excel spreadsheet is coming up that it is protected, but I have never put a password on these 2 files.
    The following pop-up message appears - "Workbook is protected and cannot be changed".
    Please advise.
    Thanks,
    Neil.

    HI Neil
    Assuming your using Xcelsius 2008, have you tried exporting the spreadsheet (Data > Export), check the exported workbook for passwords and then re-imported the spreadsheet back into your model?
    Regards
    [Charles|http://www.reportex.co.uk/xc_waterfallchart.html]

  • How to get an effective EXCEL Spreadsheet as output for Oracle report 10g

    Hi All,
    I am a newbie in Oracle reporting. I am using 10g. I have an oracle report whose output format is PDF from the user interface. User asked for Spreadsheet output. I changed the JAVA CODE "desformat" = Spreadsheet and got the report in Excel. But this report is not as expected as it has many blank cells, misplacements etc and looks really ugly. so Is there anyway to get an excellent spreadsheet as output.
    If anybody needs any more information on this, please let me know.
    Thanks in advance.

    Thank you so much Marwim. Your suggestion is very helpful. But I have some other Oracle reports which have only one .rdf file giving output in both pdf and Excel. This doubt might be silly. Almost same features were existing for the rdf what I am working now. For the remaining reports, it was given that DESFORMAT=SPREADSHEET , what this report lacks. I googled and found these links http://docs.oracle.com/html/B13895_01/orbr_paptoexcel.htm &
    http://docs.oracle.com/html/B13895_01/orbr_paptoexcel.htm#CIHFDJAJ . But they are not intended for excel output. they generate only web layout in spreadsheet form. Could you please suggest any other ways to achieve this.
    Thank you in advacne.
    Edited by: user07960 on Jan 10, 2013 10:47 AM

  • Help team! I need to find a way to copy the information on a website database to an Excel spreadsheet. It's probably really simple for some of you!

    Hey there!
    So without getting into too much detail, here's my problem:
    I have to take every approved entry from this website: http://eapr.fairtrading.nsw.gov.au/CertDetails.aspx
    Then paste it into an Excel spreadsheet. I need only 'Declared Articles' from each category (aplliance connectors, etc), and then only a few subfieds in them:
    -Name
    -Certificate Number
    -Model Number
    -Expiry Date
    -Article Class
    -Description (Including volts, amps, watts and hertz if included)
    -Volts
    -Amps (If applicable)
    -Watts (If applicable)
    -Hertz (If applicable)
    At the moment I'm literally copying each entry manually. I can't request a spreadsheet from them, and as you'll see from the website, it's extremely difficult to get these thousands of entries manually. The individual certificates cannot be opened in a new
    tab, let alone copied efficiently.
    So my question to you: is there a way I can create some sort of macro to take the details from the page? What avenues can I take to get there?
    Please note that the Department of Fair Trading is aware of and allows these ventures.
    Thanks in advance for your time!

    Apologies, 'name' referred to the 'Certificate Holder' field.
    Fields should be as below. I'm currently extracting the 'Description' field from each individual certificate, along with the inputs and outputs. The rest is copied then reformatted to suit the current spreadsheet, as it is available on the search page.
    Certificate Holder
    Cert. Number
    Cert. Date
    End Date
    Equipment Category/Article Class
    Description
    Cert Standard
    Model Numbers/Reference Code
    Trade Name/Mark
    Inputs
    Longwell Company
    NSW10313
    5/12/2010
    5/12/2015
    Appliance Connector
    Type C, 3 contact integrally moulded to 3 core 24/0.2mm conductors, ordinary duty cord 
    AS/NZS 60320.1
    LS-13
    Longwell Company
    250V, 7.5A
    Longwell Company
    NSW10397
    16/10/2011
    16/10/2016
    Appliance Connector
    Type C all PVC integrally moulded to "Longwell" 2 core light duty flat 0.75mm2 flexible cord
    AS/NZS 60320.1
    LS-7
    Longwell Company
    250V, 2.5A
    Feller GmbH
    NSW10544
    20/09/2011
    20/09/2016
    Appliance Connector
    Appliance Plug (AS3109 appliance coupler, standard sheet C19, integrally moulded to 1.5 sq mm ordinary duty flexible cord, PVC insulated, PVC sheathed, type OD3CCFC)
    AS/NZS 60320.1
    C19
    Feller GmbH
    250V, ac, 16A
    Feller GmbH
    NSW10656
    6/02/2012
    6/02/2017
    Appliance Connector
    Group 1, C15 configuration
    AS/NZS 60320.1
    C15
    Feller GmbH
    250V, ac, 10A

  • Most Popular Items not working for document libraries

    One of the new Library features is the "Most Popular Items" report.  In the library tab you can click on the icon to in theory, see a list of the recent and total Views of an item:  
    This does work in our environment to record views for wiki or publishing page, but it is not recording views for documents regardless of their location:
    I've had several people open and view the documents, and even had 1 person edit a couple of the documents.  Even after waiting a couple of hours to make sure whatever job it is that updates the Views has run, we still aren't seeing any views.
    Any ideas? 
    Nick Hurst

    We finally got Office Web Apps installed and now the Most Popular is working.  Of course that means only when the documents are viewed in the Office Web App are they recorded for the Most Popular report.  We've done some testing and opening the
    file directly in the desktop application, or even editing the file directly in the desktop application are never recorded.  My one disclaimer with this is we are using Office 2010, I'm curious if Office 2013 perhaps records views and edits using the desktop
    application?
    Luckily the latest OWA patch now allows PDF's to open in the Word Office App as well, so those views are recorded.  If you have any non office or non PDF in the library, views will not be recorded for these items unfortunately.
    I can't believe how this isn't documented anywhere. 
    Nick Hurst

Maybe you are looking for