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 want to create columns that show up and down arrrows (use some kind font like this from windows character map ↓↑) to indicate a gain or a loss. How would I define those chatracters, since I cant just cut and past the symbol into the editor or painter.
Yes Leah that can be done, but the positioning of the image in a pdf report is a **** of a job. What you did is placing a logo on a fixed place, that does work of course.
btw 841 and 842.....
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
If you have a single column for that value then you could set the font to symbol and use the characters 173 and 175. But as with any font based solution you would have to be confident that the browser and output could use that font (particularly PDF). I think you would be better off using a graphic from the ibi_html/images folder as suggested by Frank above, and also as suggested in the first reply from Gerry to your initial post. That way it is controlled and served by WF and not the end users machine.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
DEFINE FILE CAR
FLAG/A100=DECODE COUNTRY('ENGLAND' '\\localhost\images\england.GIF'
'FRANCE' '\\localhost\images\france.GIF'
'W GERMANY' '\\localhost\images\germany.GIF'
'ITALY' '\\localhost\images\italy.GIF'
'JAPAN' '\\localhost\images\japan.GIF');
END
-RUN
TABLE FILE CAR
SUM RCOST
DCOST
BY COUNTRY BY FLAG
BY CAR
BY MODEL
HEADING
" </4"
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
TYPE=REPORT, IMAGE=c:\ibi\apps\ibisamp\IWCPOWER.GIF, POSITION=(0 0), $
type=data, column=flag, image=(flag), size=(.5 .25), preserveratio=on,$
ENDSTYLE
END
or
can you use & # 8595; and & # 8593; for the up and down arrows in your fex? the same way we use blank spaces?(i've spaced out the & and the # to get this board to show the numbers) You could define an &VAR that is either & # 8595; or the other one, and use that &VAR in your column header SUM SALES AS 'something &VAR ' ?This message has been edited. Last edited by: susannah,
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
dan,first. put code tags around your code, when you post. (and nuke all the style sheet stuff..its irrelevant to your goal) second, do anything at all with the GRAPHTYPE command and then run it in pdf. it works. aha. that's your clue. third, just run the code i gave you with whatever images you have. -s.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
tags the same way in PDF reports. This functionality relies on the code placed in the defined field rendering the image at display time in an HTML browser. Since a PDF is displayed in the Adobe Reader, it hasn't a clue what
<img>
is and just displays the contents of the defined field as text.
Susannah's code references the images path in the stylesheet, meaning that it must first find the image, whcih is then "coded" as part of the PDF document. This should work.
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