Class: Bs_FileConverter
Source Location: /core/file/converter/Bs_FileConverter.class.php
Bs_Object
|
--Bs_FileConverter
Pseudostatic utility class to convert files from one format to another.
Author(s):
Version:
- 4.3.$Revision: 1.4 $ $Date: 2003/11/05 18:18:09 $
Copyright:
|
|
Child classes:
|
Inherited Variables
|
Inherited Methods
|
Class Details
[line 67]
Pseudostatic utility class to convert files from one format to another.
WISHLIST
--------
FROM TO | CONVERTER LINUX | CONVERTER WIN32 | COMMENTS |
---------------+-------------------------+-------------------------+----------------------------|
html -> text | php (strip tags) | as linux | |
html -> word | | | |
html -> pdf | | | |
word -> html | wvware | as linux (win32 binary) | word me,2000,98,97,95,6.0,2.0 |
word -> text | catdoc | as linux (win32 binary) | word me,2000,98,97,95,6.0,2.0 could need 'lynx'. |
word -> pdf | | | word me,2000,98,97,95,6.0,2.0 wvware could do this job if the adobe distiller ($$$) is installed. |
pdf -> word | | | |
pdf -> html | | | |
pdf -> text | | | |
xls -> html | xlhtml | xlhtml | |
xls -> text | | | |
xls -> pdf | | | |
xls -> csv | xlhtml | catdoc | xlhtml | catdoc | |
csv -> xls | biffwriter | | |
ppt -> html | | | |
ppt -> text | | | |
rtf -> html
rtf -> text
png -> gif | | | |
png -> jpg | | | |
gif -> jpg | | | |
gif -> png | | | |
gif -> ascii | | | |
jpg -> gif | | | |
jpg -> png | | | |
bmp -> jpg | | | |
tiff -> jpg | | | |
all methods are called like 'htmlToText', and not the fancy way 'html2text'. this is because of things like 'word62word7' where 'word6ToWord7' looks much better. WORD: the wordTo methods should work with versions 2,6,7,8,9 (known as word 2, 6, 95, 97 and 2000) and are tested using versions 6 and xp. (version 2 is not fully supported.) wordxp supports versioning, that means you can store multiple versions of a document in one file. even then it works fine by using the latest version of your document. the images are not converted. i don't see why. others have similar problems, and i think more work will be done to make the whole install simpler and make everything work. also some ppl have asked for a php module, and that would be nice :). dependencies: Bs_System is loaded right away because it's used often. Bs_HtmlUtil is loaded on demand.
Tags:
Class Methods
|
|