BlueShoes Application Framework made with PHP http://www.blueshoes.org/


Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: C:/usr/local/lib/php/blueshoes-4.2/core/file/converter/Bs_FileConverterExcel.class.php
BlueShoes Application Framework - file/converter

Bs_FileConverterExcel

Bs_Object
   |
  +-- Bs_FileConverter
     |
    +-- Bs_FileConverterExcel

Pseudostatic utility class to convert files from one format to another.

 

public class Bs_FileConverterExcel extends Bs_FileConverter

Pseudostatic utility class to convert files from one format to another.
WISHLIST--------FROM TO | CONVERTER LINUX | CONVERTER WIN32 | COMMENTS |---------------+-------------------------+-------------------------+----------------------------|xls -> html | xlhtml | xlhtml | |xls -> text | | | |xls -> pdf | | | |xls -> csv | xlhtml | catdoc | xlhtml | catdoc | |csv -> xls | biffwriter | | |dependencies: Bs_FileConverter, XPath

Authorsandrej arn <andrej@arn.li>
Version4.0.$id$
Copyrightblueshoes.org

 

Methods inherited from Bs_FileConverter

&htmltotext, &_wordconvert, &wordtotext, &wordtohtml, &wordtowml, &wordtolatex, &wordtoabi, wordsummary, wordversion, bs_fileconverter, loadbshtmlutil, htmltoword, htmltopdf

Methods inherited from Bs_Object

isex, isexception, tostring, tohtml, persist, unpersist, bs_object, bbsetoutput, bbawake, bbisawake, bbxmsg, bbxfunctionstart, bbxfunctionend, bbxecho, bbxvar, bbxvardump, bbforcetrace, bbbufferstart, bbbufferget, bbbufferendflush, bbbufferendclean

Public Method Summary

bool

capable(string $functionName)

Tells whether we can do a conversion or not.Warning: documentation is missing.
string

xlsToHtml(string $fullPath)

reads a microsoft excel document and returns it as html.
string

xlsToXml(string $fullPath)

reads a microsoft excel document and returns it as xml.
string

xlsToArray(string $fullPath)

reads a microsoft excel document and returns it as php array.
string

xlsToCsv(string $fullPath)

reads a microsoft excel document and returns it as csv.
void

Bs_FileConverterExcel()

Warning: documentation is missing.

Fields inherited from Bs_FileConverter

$_app, $_bs_system, $_bs_html, $_bs_file

Private Constant Summary

BS_FILECONVERTEREXCEL_VERSION >>4.0.$x$<< Warning: documentation is missing.

Public Method Details

capable

public bool capable( string $functionName )

  Tells whether we can do a conversion or not.

Warning: documentation is missing.

Parameter
string $functionName
not case sensitive.
Returns bool

true if we can, false if not
@throw NULL on an unknown $functionName


xlsToHtml

public string xlsToHtml( string $fullPath )

  reads a microsoft excel document and returns it as html.

Parameter
string $fullPath
(path & filename of .xls file)
Returns string


xlsToXml

public string xlsToXml( string $fullPath )

  reads a microsoft excel document and returns it as xml.
xml output looks like: see file excel.xml.

Parameter
string $fullPath
(path & filename of .xls file)
Returns string


xlsToArray

public string xlsToArray( string $fullPath )

  reads a microsoft excel document and returns it as php array.

Parameter
string $fullPath
(path & filename of .xls file)
Returns string

Throws bool FALSE (if not capable, on any error.)

xlsToCsv

public string xlsToCsv( string $fullPath )

  reads a microsoft excel document and returns it as csv.

Parameter
string $fullPath
(path & filename of .xls file)
Returns string

Throws bool FALSE (if not capable, on any error.)

Bs_FileConverterExcel

public void Bs_FileConverterExcel( )

 

Warning: documentation is missing.

Returns void


Private Constant Details

BS_FILECONVERTEREXCEL_VERSION

define( BS_FILECONVERTEREXCEL_VERSION, >>4.0.$x$<< )
Case: default: case sensitive




Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta