Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     right justify alpha fields using pixel perfect stylesheet
Go
New
Search
Notify
Tools
Reply
  
right justify alpha fields using pixel perfect stylesheet
 Login/Join
 
Member
posted
HI, I have a very styled pdf that I'm using the pixel perfect stylesheet editor for. I have a many numeric fields that I converted to alpha so they appear in thousands (i.e. 10 k). Does anyone know any tricks to right justify alpha fields in the heading using the pixper.ftp stylesheet?

Thanks
 
Posts: 10 | Registered: February 12, 2008Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Please update your signature with what version of WebFocus you are using.
If you use the FIND button at the top of this page you see several posts on JUSTIFY.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Reply With QuoteReport This Post
Member
posted Hide Post
thanks, using pixper the gui doesn't allow for any JUSTIFY of any sort that I can find, its all absolute x,y coord positioning. Here's a sample of the code that is generated from the GUI below. Where does JUSTIFY apply?


TYPE=HEADING,
LINE=58,
POSITION=(543.000000 141.000000),
WRAP=ON,
DIMENSION=(55.000000 12.000000),
NAME=TEXT57,
METADATA='anchor=0,parentanchor=0,flags=9,line=58,item=0',
$
TYPE=HEADING,
LINE=58,
OBJECT=FIELD,
ITEM=1,
FONT='ARIAL',
SIZE=9,
$


FSGDev
WebFOCUS version 7.7.2
Linux
 
Posts: 10 | Registered: February 12, 2008Reply With QuoteReport This Post
Master
posted Hide Post
I don't know if this will work, but you might try right justifying the field with RJUST before you print it. RJUST(inlength, infield, outfield)


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Reply With QuoteReport This Post
Member
posted Hide Post
thanks, I tried using the RJUST, it didn't make a difference. I think the x,y POSITION keyword in the stylesheets for the text box that houses the embedded field supercedes any other justify styling commands or functions.


FSGDev
WebFOCUS version 7.7.2
Linux
 
Posts: 10 | Registered: February 12, 2008Reply With QuoteReport This Post
Master
posted Hide Post
Hard code the K to a specific position in the report and leave your field numeric/1000.


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Reply With QuoteReport This Post
Member
posted Hide Post
thanks, I tried leaving the field numeric no change in justification. All values within the text objects are left justified in the heading.


FSGDev
WebFOCUS version 7.7.2
Linux
 
Posts: 10 | Registered: February 12, 2008Reply With QuoteReport This Post
Master
posted Hide Post
the only thing else I can think of is to adjust the position depending on the number of characters in the field. By the way do you have SQUEEZE off?


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Reply With QuoteReport This Post
Member
posted Hide Post
thanks. Squeeze is off. I opened a case to see if product support has any ideas.


FSGDev
WebFOCUS version 7.7.2
Linux
 
Posts: 10 | Registered: February 12, 2008Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     right justify alpha fields using pixel perfect stylesheet

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.