Hello,

Well, I have this website that lets us download excel files. To me, this is the only data source I have to publish.

Now, I can't just offer the excel files for my users to dl nor can I make a script that saves each excel file as html and then have a little perl script handle the output of those .html files generated.

The thing is, I can only publish certain parts of the excel file. For example, publish rows 2a to 5a. This is why I need Spreadsheet::ParseExcel. It handles the receiving of certain parts of the excel file pretty well.

Now as to the first reply, I do know that Spreadsheet::ParseExcel has a format and font class. But it can't retreive it all. For example a cell with the format of "general" can either be align left or right. Also cells with a border style outline can not be intepreted since theres no format for it. Also the width, height, spacing of cells can not be retreived either.

I think I can only parse an excel file and format it into a html table to a certain limit.

Perhaps I can take a excel file and use Spreadsheet::ParseExcel to parse the certain rows and columns, then make a new spreadsheet, and save as .html file?

If I find a solution to display "exact detail format from an excel file", I'll post back.

Cheers,
Larry

In reply to Re: Parsing Excel Files while maintaining format by Anonymous Monk
in thread Parsing Excel Files while maintaining format by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.