As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I am looking to make my column titles display vertically (or slanted) in an Excel 2000 output. The reason being because I am reporting an all columns in a table and several of them are only 1-character data fields. Having the column titles horizontally is wasting too much space.
ThanksThis message has been edited. Last edited by: Kerry,
Kevin ______________________ Production: WebFocus 7.6.11 on Win2K3 Server Test: WebFocus 7.6.11 on Win2K3 Server Formats: Excel2K, PDF, HTML
I know it can be done in HTML (search for it) and in PDF too, but Excel??? You can however create a macro in Excel to do this after the creation of the excel sheet
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006
Kevin, I've just had a play at lunch, and here is what I came up with.
SET CSSURL='dummy.css'
DEFINE FILE CAR
Style/A200 = '<' | 'style>.xl101 {mso-style-parent:style0;mso-rotate:45;height:70px;}'
| ' .xl102 {mso-style-parent:style0;mso-rotate:-45;height:70px;}<' | '/style>' ;
END
TABLE FILE CAR
HEADING
"<Style"
PRINT COUNTRY AS 'Country'
CAR AS 'Car'
MODEL AS 'Model'
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET STYLE *
TYPE=TITLE, COLUMN=COUNTRY, STYLE=BOLD, CLASS=rot_title, $
TYPE=TITLE, COLUMN=CAR, STYLE=BOLD, CLASS=rot_title, $
ENDSTYLE
END
It relies on the you knowing the classes produced, but seems to work.
SET CSSURL=http://localhost/approot/baseapp/h1.css SET PAGE=NOLEAD SET GRID=OFF DEFINE FILE EMPLOYEE NAME/A26=FIRST_NAME|' '|LAST_NAME; END TABLE FILE EMPLOYEE SUM ED_HRS/I7 AS '' BY DAT_INC AS '' ACROSS NAME AS '' ON TABLE SET HTMLCSS ON ON TABLE HOLD FORMAT HTML ON TABLE SET STYLE * TYPE=ACROSSVALUE,CLASS=rotate,$ TYPE=DATA,CLASS=border,$ ENDSTYLE END -RUN SET HTMLFORMTYPE=XLS -HTMLFORM HOLD
The report references a Cascading Style Sheet (CSS) file in the BASEAPP application:
PDF is a COMPLETELY different animal. You may want to check out the post located here created by Warren (Waz). Seems to have been helpful for many users trying to to the same thing as you.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007