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     [CLOSED] Heading position

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Heading position
 Login/Join
 
Guru
posted
I've read the documents, I've tried the examples, I've had no joy. I'm missing something and hope someone here can show me the error of my ways.

For PDF output with HEADINGS centered there is more gap than I want on the left side of the heading. What is the command to shrink the left gap? 'LEFTGAP=' is not legal with WF 5.2.6 for HEADING. 'TYPE=REPORT, LEFTGAP=' works but changes the entire report which is not what I want.

Any help, trials, suggestions or outrage at my stupidity that gets me to the solution, will be appreciated.

Thanks,
Greg

This message has been edited. Last edited by: Kerry,



Greg



current client: WF 8.1.05 & 8.2 - Windows 7 64bit - Tomcat 7 - MRE / BID - IE11

local: WF 8.2 - Windows 7 64bit - Tomcat 6 - MRE / BID - FOCUS - IE11

PMF 8
 
Posts: 274 | Location: Boston/New England | Registered: February 12, 2006Report This Post
Gold member
posted Hide Post
This report has 5 heading lines –
all centered in style sheet,
but listed as HEADING in the TABLE
request.

Hope this helps.

Jim

$ ******* P D F **********
UNITS=IN, PAGESIZE='LETTER',
LEFTMARGIN=0.100000,
RIGHTMARGIN=0.100000,
TOPMARGIN=0.250000,
BOTTOMMARGIN=0.250000,
SQUEEZE=ON,
LEFTGAP=0.040000,
RIGHTGAP=0.040000,
ORIENTATION=LANDSCAPE,$
$
TYPE=REPORT, GRID=ON,
FONT='ARIAL',
SIZE=7,
COLOR=BLACK,
BACKCOLOR=NONE,
STYLE=NORMAL,$
$
TYPE=HEADING, GRID=OFF, JUSTIFY=CENTER,$
$
TYPE=HEADING, LINE=2, STYLE=BOLD,$
:
Etc.


WebFOCUS 7.6.11, WINDOWS, HTML, PDF, EXCEL
 
Posts: 77 | Location: Baltimore | Registered: May 31, 2006Report This Post
<JG>
posted
If its just for PDF then remove the justification from the stylesheet
and use spot markers in the heading.


"<+0> <+15> MY HEADING"

Just adjust the value as required.
 
Report This Post
Guru
posted Hide Post
My description was not as clear as it should have been.

The issue is the column headings which are part of the page HEADING. They are aligned to the body and display with no problem. It's just that I can't get control over the left gap that WF uses for the heading (only) when centering.

I get this (the '!' is PDF data overflow indicator):
| Account! | Date |

When I want this:
| Account # | Date |

Thanks for your suggestions so far.
Greg



Greg



current client: WF 8.1.05 & 8.2 - Windows 7 64bit - Tomcat 7 - MRE / BID - IE11

local: WF 8.2 - Windows 7 64bit - Tomcat 6 - MRE / BID - FOCUS - IE11

PMF 8
 
Posts: 274 | Location: Boston/New England | Registered: February 12, 2006Report This Post
Virtuoso
posted Hide Post
Have you tried changing the heading font size or the leftmargin size?


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
<JG>
posted
Greg only option is to combine the use of spotmakers and position in the stylesheet


"title 1<+0> title 2<+0>title 3"


TYPE=HEADING,
LINE=1,
OBJECT=TEXT,
ITEM=1,
POSITION=0.25,
$
TYPE=HEADING,
LINE=1,
OBJECT=TEXT,
ITEM=2,
POSITION=1.25,
$
TYPE=HEADING,
LINE=1,
OBJECT=TEXT,
ITEM=3,
POSITION=2.25,
$

the value used for position is based on the UNITS set in the stylesheet eq inches,centimeters etc.
 
Report This Post
Platinum Member
posted Hide Post
Bonjour,
Nothing New under the sun, I have a problem with Postionning Items of One single line of Headings ( Focus MVS 7.3.4 ).
With PDF, it works about :
TYPE=HEADING,
COLOR='BLACK',
BACKCOLOR=RGB(175 239 233),
GRID=ON,
JUSTIFY=LEFT,
$
TYPE=HEADING, LINE=1,
ITEM=1,
BACKCOLOR='NONE',
POSITION=RIB_REMET_ED(2),
SQUEEZE=4.50,
$
TYPE=HEADING, LINE=1,
ITEM=2,
SQUEEZE=6.00,
$
TYPE=HEADING, LINE=1,
ITEM=3,
POSITION=W_FEDE,

But With EXL2K Formula, no good Positionning, a single Line, but things are not where they should be. I'll try to understand why to-morrow, but, perhaps, It's a classic mistake ( With Excel use COLSPAN and HEADALIGN - but this is out of my understanding of the moment)
Cordially and Focusely
PS : I am able to write so many lines of complex verbose Marked Langage - Real Thanks, Focus and your good old StyleSheets.


-


Focus Mainframe 7.6.11
Dev Studio 7.6.11 and !!!
PC Focus, Focus for OS/2, FFW Six, MSO
 
Posts: 134 | Registered: November 06, 2007Report This Post
Master
posted Hide Post
You are on the right track with COLSPAN and HEADALIGN=BODY. The thing that you are probably missing is that spaces between fields take up a column.

 

HEADING
"This is my report heading"

is all one field, but

HEADING
"<CAR <MODEL"
is 3.
"<CAR<MODEL"
is 2.

 


If you still have a doubt about which item number you are on, try coloring each item differently and see if the colors match the expected items .
 
TYPE=HEADING,
LINE=1,
ITEM=1,
COLOR=GREEN,
$
TYPE=HEADING,
LINE=1,
ITEM=2,
COLOR=BLUE,
$
 


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report This Post
Platinum Member
posted Hide Post
Bonjour,
It's probably stupid to answer to one self, but I am happy to have mostly understood HeadAlign and COLSPAN
TYPE=HEADING,
HEADALIGN=BODY,
COLOR='BLACK',
BACKCOLOR=RGB(153 204 255),
GRID=ON,
JUSTIFY=CENTER,
$
TYPE=HEADING, LINE=1,
ITEM=1,
BACKCOLOR='NONE',
COLSPAN=1,
$
TYPE=HEADING, LINE=1,
ITEM=2,
COLSPAN=2,
$
TYPE=HEADING, LINE=1,
ITEM=3,
COLSPAN=8,

This put things at the proper place.
Moreover, since I am a maniac of one thing on one line, I have taken out of my memory <0X
which tells in HEADING etc ... Continued on Next Line
HEADING
" <+0><0X
Période Traitée <+0><0X
Station Technique de prise en charge de la Remise (Guichet) <+0><0X
<+0><0X
Ventilation des Remises par Nombre de Chèques dans la Remise <+0><0X
Ventilation des Cheques par Nombre de Chèques dans la Remise <+0><0X
Référentiel Origine <+0><0X
Référentiel Rib Remettant <+0><0X
"
I hope this can help
Cordially and Focusely
PS : It's nice to read Chapter 10 : Styling Reports. But I might dare to ask if somebody has any Useful Memo
to be efficient and not turn crazy Reading ... (One knows a Focus guy to the blood, sweat and tears one can
find on his First Focus Bible, but ...)


Focus Mainframe 7.6.11
Dev Studio 7.6.11 and !!!
PC Focus, Focus for OS/2, FFW Six, MSO
 
Posts: 134 | Registered: November 06, 2007Report 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     [CLOSED] Heading position

Copyright © 1996-2020 Information Builders