Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     PDF positioning fields in header (headalign=body)

Read-Only Read-Only Topic
Go
Search
Notify
Tools
PDF positioning fields in header (headalign=body)
 Login/Join
 
Expert
posted
in PDF, headalign = body just doesn't seem to do anything. How can you accomplish nice heading alignments in PDF?
Mickey G, if you've got your ears on, i sure would like some help. Your PDF article in the Focus On section is the BEST!




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Expert
posted Hide Post
Susannah,

Use ITEM and WIDTH -

-DEFAULT &Format = 'PDF'
TABLE FILE CAR
BY COUNTRY NOPRINT
WHERE COUNTRY EQ 'FRANCE'
HEADING
"Country <+0 <COUNTRY"
"Manufacturer <+0 <CAR"
"Model <+0 <MODEL"
"Cost to Dealer <+0 <DCOST Retail Cost <+0 <RCOST"
-* OK with HTML, PDF or EXL2K output
ON TABLE PCHOLD FORMAT &Format
ON TABLE SET PAGE-NUM NOPAGE
ON TABLE SET STYLE *
-IF &Format EQ 'HTML' THEN :No_Align;
  TYPE=REPORT, HEADALIGN=BODY, $
-:No_Align
  TYPE=HEADING, LINE=1, ITEM=1, WIDTH=2.50, JUSTIFY=LEFT, STYLE=BOLD, SIZE=12, $
  TYPE=HEADING, LINE=1, ITEM=2, WIDTH=1.50, JUSTIFY=LEFT, COLOR=RED, SIZE=10, $
  TYPE=HEADING, LINE=2, ITEM=1, WIDTH=2.50, JUSTIFY=LEFT, STYLE=BOLD, SIZE=12, $
  TYPE=HEADING, LINE=2, ITEM=2, WIDTH=1.50, JUSTIFY=LEFT, COLOR=RED, SIZE=10, $
  TYPE=HEADING, LINE=3, ITEM=1, WIDTH=2.50, JUSTIFY=LEFT, STYLE=BOLD, SIZE=12, $
  TYPE=HEADING, LINE=3, ITEM=2, WIDTH=1.50, JUSTIFY=LEFT, COLOR=RED, SIZE=10, $
  TYPE=HEADING, LINE=4, ITEM=1, WIDTH=1.20, JUSTIFY=LEFT, STYLE=BOLD, SIZE=10, $
  TYPE=HEADING, LINE=4, ITEM=2, WIDTH=1.00, JUSTIFY=CENTER, COLOR=RED, SIZE=10, $
  TYPE=HEADING, LINE=4, ITEM=3, WIDTH=1.20, JUSTIFY=LEFT, STYLE=BOLD, SIZE=10, $
  TYPE=HEADING, LINE=4, ITEM=4, WIDTH=1.00, JUSTIFY=CENTER, COLOR=RED, SIZE=10, $
ENDSTYLE
END


T

This message has been edited. Last edited by: Tony A,



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, 2004Report This Post
Virtuoso
posted Hide Post
Susan, Tony;

I wrote a "Part 2" article on the subject of HTML and PDF Report Design which I sent to IBI on Monday, January 6, 2007. I discuss the HEADALIGN keyword among other things in this article and how it affects (or DOESN'T affect) HTML and PDF output formats.

Hopefully IBI will have it up in the Focus on Developers section soon.


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Expert
posted Hide Post
As I've grumbled before - wouldn't it be nice to use the same styling syntax for HTML, PDF and Excel and have WebFOCUS take care of it in the background?

I understand that some things can't be done the same way across the board, but we keep getting told that the Excel 2000 format is really a XHT file, which is HTML, then why can't the styling for HTML and Excel be exactly the same?


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
you all are the bomb! thanks so much.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     PDF positioning fields in header (headalign=body)

Copyright © 1996-2020 Information Builders