473,503 Members | 1,733 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Read excel file exactly same as formatted

114 New Member
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 1553
computerfox
276 Contributor
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 New Member
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
5992
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
1232
by: Ashish Tiwari | last post by:
Can i read excel file into asp.net 2.0
1
3493
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
1298
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
1607
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
1499
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
1459
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
3306
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
7203
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
7281
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
7334
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...
1
6993
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
5014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3156
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1514
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
383
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.