473,386 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Read excel file exactly same as formatted

114 100+
Dear All,

I want to have a php code to read an excel file exactly thee same as it has formatted (including border, colors, font size, column width, row height, merged rows and columns etc.). The idea is to whatever I make changes in excel it should reflect exactly the same in the browser.

I searched a lot in google but not able to find any solution which gives me the exact solution. Can you please help me in this as I need this for my next project.

Thanks a lot in advance.
Deepak Saxena
Jun 1 '15 #1
2 1551
computerfox
276 100+
So... you want to rebuild the Excel component of Office 365?
You do know that Microsoft had TEAMS working on that application, right?
Here's the "basic" steps you'd have to take:

1) Rename the Excel file to a zip
2) Unzip the folder
3) Find the xml file that has the content
4) Parse through the xml
5) Decode the formatting.
6) Then you need to find the images if you have images embedded

I'm also sure that the worksheets are stored as separate xml files so you would have to repeat the steps several times.


And then you have to make sure that the browser doesn't download the Excel file

Good luck!
Jun 2 '15 #2
deepaks85
114 100+
Hello I am using https://code.google.com/p/php-excel-reader/ as a library which helps and solved my issue. The only problem is I am not getting any text with Strikethrough text formatting.

Can you please help me in this.

Many Thanks in advance.
Jul 7 '15 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: kath | last post by:
How do I read an Excel file in Python? I have found a package to read excel file, which can be used on any platform. http://www.lexicon.net/sjmachin/xlrd.htm I installed and working on the...
0
by: Ashish Tiwari | last post by:
Can i read excel file into asp.net 2.0
1
by: sunnyK | last post by:
hi all !!! i m new here ,,, i m suffering with excel file. i want help regarding how to open excel file in java as file & read row & column wise ..... not database (e.g. using jdbc odbc...
0
by: student491 | last post by:
hello, I opened the excel file by using workbook.open() method... Now i want to read the data from the excel file.. & save it into array. help out .. how to do this. Then i want to pass...
0
by: minhtran | last post by:
Hi Everyone Lately, I found the code as to read all file from Excel file as ".xls" from Excel before 2007, but does not work for ".xlsx" Excel 2007, Please, any help for me (new hired database...
0
by: paintballer4lfe | last post by:
Hello, i am trying to create a code or get something that lets me read an excel file and take whats in the excel file and then put all of the cells into a list box, or import certain cells into a...
0
by: Manesh Pawar | last post by:
Hello All, I need to read a Excel file to Import that data into the database. I can read it When Excel data Is In Tabular Form, but here, Excel data is in Random cells Format. ...
2
by: Ehsan arman | last post by:
I was wondering how I could read excel file names in a particular folder using Access VBA. I need to compare the file names in that folder with what I have in a field of Access table.
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.