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 remember seeing this somewhere on the forum but can't find it for the life of me. I am looking for the stylesheet syntax to position a certain string of text at a specific position on a page. It was something like TYPE=REPORT, TEXT='text string', POSITION=(x y),$
Does anyone know what it is or where I can find that post? Thanks.This message has been edited. Last edited by: Darin Lee,
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
Very interesting question. I find no mention of "TEXT=" anywhere in the docs. I imagine this is for PDF and allows you to place a text string anywhere on a page?
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
Maybe I'm getting old, but I'm almost positive that I saw some code that I actually ran and it worked. The reason I remember was that I had never seen it documented either (kind of like "BOX=") so I was surprised to see it worked.
And I also don't even remember if it was TEXT=. I can't remember for sure what the keywords were...
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
This is something that was set up for co-ordinated reports.
Try this
TABLE FILE CAR
PRINT CAR
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
TYPE=REPORT, OBJECT=STRING, TEXT='My Text', POSITION=(4 5),
MARKUP=OFF, WRAP=OFF, DIMENSION=(1.5 0.40),
FONT='ARIAL', color=RGB(0 128 0), size=8, $
ENDSTYLE
END
Are you referring to the Precision Reports (I believe they are still in Beta in 7.6.5 but may be coming out in production in the next release)?
Here is an example:
-* File pixelperfect.fex TABLE FILE CAR PRINT CAR HEADING "HELLO" "GOODBYE" ON TABLE SET NEWLAYOUT ON ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT PDF ON TABLE SET STYLE * UNITS=IN, PAGESIZE='Letter', LEFTMARGIN=0.000000, RIGHTMARGIN=0.000000, TOPMARGIN=0.500000, BOTTOMMARGIN=0.500000, SQUEEZE=OFF, ORIENTATION=PORTRAIT, $ TYPE=REPORT, GRID=OFF, FONT='TIMES NEW ROMAN', SIZE=10,
I created the sample by using the Focexec that DevStudio provides in pixper.ftp and using the stylesheet that DevStudio provides in pppdft.sty. After that I just plopped in some fields and items using the Report Painter. (I deleted out the metadata that Report Painter puts in for its use so that the sample would be clearer. If you plan to reopen it again in Report Painter you really need that metadata and you should not take it out.)
A gold star for Waz! That's the syntax I was looking for. It does work in our current version(7.1.6). The whole context of usage (in case you're interested) was that I was placing a box on a free-form (all text) report page at 1/2 inch borders and needed to put a revision notice under the box. If I put the notice in a heading or footing, it would not place the notice low enough to be under the box (without adding a second page) unless I raised the bottom border up 1/4 inch. With this
I got exactly what I needed. I was close - just needed the OBJECT=STRING. Thanks all for your responses.
quote:
It would be nice if it can be done with text.
There you go, Frank.This message has been edited. Last edited by: Darin Lee,
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