I am using Sahi Open Source. does anybody know how to write values to Excel Sheet using Sahi?
i am trying to read data from web page and store it to excel sheet in a given cell. Please help.
This is what you are looking for:
http://sahi.co.in/w/working-with-excel-sheets
Writing for Excel (or any other tool which understands CSV) is pretty simple. Just store your data in a two dimensional array and use the _writeCSVFile API: http://sahi.co.in/w/miscellaneous-apis
Regards
Wormi
Related
We have some custom requirement to export our data into excel with custom and conditional cell styling. We have explored two libraries (xlsxjs and syncfusion) and would like to know whether it is compatible with salesforce Lightning Web Components.
Please suggest if there is any other way to achieve the same without the mentioned libraries.
PFA sample of expected excel file on export.
Greetings from Syncfusion.
It is possible to create Excel document using Syncfusion XlsIO similar to the shared screenshot.
But you have mentioned that you are exporting data to Excel, and we request you to share the below details.
Platform you are using
Control you are using to export data to Excel.
It would be helpful for us if you could share these details, so that we will check the compatibility from our side.
You can also mail the requested details to support#syncfusion.com
I work for Syncfusion.
Regards,
Mohan.
I need to read the Excel data using Xmldocument.Plz help me
You shouldn't.
Better use Office Open XML libraries from Microsoft.
I can't give some code but, you have to extract xlsx contents with System.IO.Packaging, find the sheet you need, and then load it in XmlDocument.
But be advised that it is quite tricky and has many caveats to do so.
I have a requirement to read a pdf file having tabular format data only like in excel file. I need to extract the cell value of given pdf file.
Is it be anyhow possible using itext API. If you have something to share then please share it or any other solutions?
The PDF format is just a canvas where text and graphics are placed without any structure information. As such there aren't any iText-objects in a PDF file. In each page there will probably be a number of Strings, but you can't reconstruct a phrase or a paragraph using these strings. There are probably a number of lines drawn, but you can't retrieve a Table-object based on these lines.
In short: parsing the content of a PDF-file is NOT POSSIBLE with iText.
You can try this! This lets you read PDF pages.
I recently ran into this problem. I wasn't able to make it work with itext.
An alternate solution I found was to open a PDF document in Adobe and export it to xml. At least with my PDF's it preserved the table information and then I was able to programmatically work with the XML to generate tabular files like excel etc.
The other issue I ran into was that Adobe only lets you export one file at a time and I had lots of files. Luckily Adobe also has a merge function. I ended up merging all the files together and then exporting them as one big XML file and working with that file to generate what I needed.
I want to parse an excel sheet and have to display the content in table view. Suggestions please.
The easiest way is to save your excel file as a text file with tab delimiters. This way its straight forward. In case you like to do some "intelligent" parsing - you may just take a look at one of these many parser tutorials for the iPhone. I am sure, you will be able to build on these sample quite easily.
I have a excel sheet of some 3000 enteries. I want an easy way by which I can convert this file in to a file format which is readable by my iphone application and it automatically populates the data in that excel sheet in the rows of the table format in iphone app.
I am making an application which takes enteries from users and saves them in database.
The enteries displayed on the application which user would select and save in database , I want them to be populated through that excel sheet .
Please let me know what can I do ?
Thanks
Why didn't wetsider put his/her answer as an answer instead of a comment?
Use CSV instead of the native Excel format. You can fairly simply parse CSV (http://stackoverflow.com/questions/3031181/csv-parser-with-low-memory-footprint-for-iphone)