IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Open Office and Excel
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Gold member
Posted
We are using WebFocus release 7.64
Some of our user are using Open Office version 2.4 instead of Microsoft. When using Open Office and running a report in Excel the report does not open. Is anyone else using Open Office ?
 
Posts: 63 | Location: OH | Registered: November 09, 2004Reply With QuoteEdit or Delete MessageReport This Post
JG
Master
Posted Hide Post
Cheri,

WebFocus has no idea what Open Office is and currently does not care.
If Microsoft ever support an industry standard for Open source document formats
then that might change and the world will be a happier place.

Solutions, In a mixed environment difficult because it is controlled primarily by the
MIME type configurations in WebFocus and your application server and also by browser settings
for which application should open which file extensions automatically. It is also dependant on
whether a plugin for the browser is available to allow it to open the document.

Basic problem is that Open Office does not know what a .mht document is (that is what WebFocus generates
not a .xls).

look at the following post from 2005 which offers a solution. You will have to buy a piece of addon
software but it's cheap and means that both Open Office and true Excel users can work with no difference.

http://forums.informationbuilders.com/eve/forums/a/tpc/...101012822#8101012822
 
Posts: 945 | Registered: February 24, 2005Reply With QuoteEdit or Delete MessageReport This Post
Expert
Posted Hide Post
Perhaps this will work, it creates an xls file:

SET PAGE=NOLEAD
-RUN

TABLE FILE CAR
SUM SALES
ACROSS BODYTYPE AS ''
BY COUNTRY
BY MODEL

HEADING
"Car Sales"
" "

ON TABLE SET HTMLCSS ON
ON TABLE HOLD AS H001 FORMAT HTML

ON TABLE SET STYLE *
TYPE=REPORT, FONT='Arial', SIZE=10, COLOR=BLACK, STYLE=NORMAL, GRID=OFF, $
TYPE=HEADING, COLOR=NAVY, STYLE=BOLD, SIZE=11, $
TYPE=TITLE, COLOR=BLUE, STYLE=BOLD, $
TYPE=ACROSSVALUE, COLOR=BLUE, STYLE=BOLD, $
ENDSTYLE
END
-RUN

SET HTMLFORMTYPE=XLS
-RUN
-HTMLFORM H001


Francis



Env 1: WebFOCUS 5.3.2 Servlet - MRE/BID/Self Service/ReportCaster - MS Windows Server 2003 - IIS/New Atlanta ServletExec - MS SQL Server 2000 - DataMigrator 5.3.4
Env 2: WebFOCUS 7.6.5 Servlet - MRE/BID/Self Service - MS Windows XP SP2 - Apache Tomcat/5.5.25 - MS SQL Server 2000
Env 3: WebFOCUS 5.3.3 CGI - Self Service - AIX 5.2 - IBM DB2
Output formats: HTML, Excel 2000 and PDF
 
Posts: 3379 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Reply With QuoteEdit or Delete MessageReport This Post
JG
Master
Posted Hide Post
Francis,

It does not create an Excel XLS binary; all it actually does is download the file
with the extension .xls.

Physically the file is a standard html document which the browser opens in excel.
 
Posts: 945 | Registered: February 24, 2005Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Open Office and Excel

Copyright © 1996-2008 Information Builders, leaders in enterprise business intelligence.