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.
Hi, thanks in advance for any help! I have several reports that I am adding to an Excel document. There will be five total tabs, the first being a cover page, and the second will be a table of contents page, the last three will just be basic reports. I would like to add images to the cover page and table of contents, like logos/banners/etc. I am able to add the images with "TYPE=HEADING, IMAGE=IBFS:/WFC/Repository/Informatics/AppStudio/Header.jpg, $" but they are automatically placed in the top left corner and I cannot move them. I would like one image at the top, then text in the middle, and another image near the bottom. Is there a way to do this? Or a better way to do what I am trying to do? Still pretty new, thanks again for your help!
DEFINE FILE CAR Blank/A1 = IF COUNTRY EQ COUNTRY THEN ' ' ELSE ' '; END
This added the header to the top of the sheet and the footer on the bottom, both left justified. I had to add some blank lines to adjust the height of everything, but eventually got it to line up close to what I wanted. I never figured out how to place an image in a specific location but this will work for what I need.
TABLE FILE CAR
SUM
CAR.BODY.SALES
BY CAR.ORIGIN.COUNTRY
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
-* INCLUDE = IBFS:/EDA/UNICODE/_EDAHOME/ETC/endeflt.sty,
$
TYPE=HEADING,
IMAGE=IBFS:/WFC/Repository/vesir218/std_reports/dev/ford_logo.jpg,
$
ENDSTYLE
END
WebFOCUS 8.1.05 / APP Studio
Posts: 272 | Location: Brazil | Registered: October 31, 2006
I was able to get this to work with XLSX, not EXL2K, by adding
HEADING " "
After the BY statements. You may need to add some extra blank lines " " " " " " to get it to line up the way you want.
TABLE FILE CAR SUM CAR.BODY.SALES BY CAR.ORIGIN.COUNTRY HEADING " " ON TABLE SET PAGE-NUM NOLEAD ON TABLE SET ASNAMES ON ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT EXL2K ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * -* INCLUDE = IBFS:/EDA/UNICODE/_EDAHOME/ETC/endeflt.sty, $ TYPE=HEADING, IMAGE=IBFS:/WFC/Repository/vesir218/std_reports/dev/ford_logo.jpg, $ ENDSTYLE END
TABLE FILE CAR
SUM
CAR.BODY.SALES
BY CAR.ORIGIN.COUNTRY
HEADING
"Heading 1"
"Sub Heading 2"
""
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT XLSX
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
-* INCLUDE = IBFS:/EDA/UNICODE/_EDAHOME/ETC/endeflt.sty,
$
TYPE=HEADING,
IMAGE=IBFS:/WFC/Repository/vesir218/std_reports/dev/ford_logo.jpg,
position=(0 0),
SIZE=(0.6 0.25),
$
TYPE=HEADING, LINE=1, COLOR='RED', COLSPAN=5, JUSTIFY=CENTER, $
TYPE=HEADING, LINE=2, COLOR='RED', COLSPAN=5, JUSTIFY=CENTER, $
-*TYPE=TABHEADING, LINE=1, COLSPAN=2, $
-*TYPE=TABHEADING, LINE=2, COLSPAN=2, $
ENDSTYLE
END
WebFOCUS 8.1.05 / APP Studio
Posts: 272 | Location: Brazil | Registered: October 31, 2006