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 believe you're talking about "Full Justification" and no, it's not supported in WebFOCUS.
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
Isn't possible during wrapping itself it should full justify it. or is there any other way to bring data on multiple lines with left and right justification in the header. Since i am passing a variable in the header like " v_test/A400='Please find attached ' || NO_OF_COPIES || ' of your report for' || FUND_NAME || '. If you have any queries regarding the review or any other matter, please contact your Client Services Manager directly or email your enquiry to client.enquiries@abc.com where it will be picked up by a member of the team.';
here FUND_NAME can have length upto 100 characters and getting derived from SQLOUT. in heading the below code is given.
Another alternative is to split the text manually by using the PARAG function to place a delimiter every so many places and then use the GETTOK function to split the text into chunks of more or less equal length. There have been a number of postings regarding this technique in this forum. This won't give you perfect full justification, but it might be adequate.
V_TEST/A400='Please find attached ' || NO_OF_COPIES || ' of your report for' || FUND_NAME || '. If you have any queries regarding the
review or any other matter, please contact your Client Services Manager directly or email your enquiry to client.enquiries@abc.com where
it will be picked up by a member of the team.';
PARAGTXT/A410 = PARAG(400, V_TEST, '|', 100, PARAGTXT);
SUBHEAD1/A100 = GETTOK(PARAGTXT, 410, 1, '|', 100, SUBHEAD1);
SUBHEAD2/A100 = GETTOK(PARAGTXT, 410, 2, '|', 100, SUBHEAD2);
SUBHEAD3/A100 = GETTOK(PARAGTXT, 410, 3, '|', 100, SUBHEAD3);
SUBHEAD4/A100 = GETTOK(PARAGTXT, 410, 4, '|', 100, SUBHEAD4);
WebFOCUS 7.7.05
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007
Many Thanks Dan, I have used the method given in the above link.
It worked fine but with a small issue still there.
the output of the car example given is
ENGLAND Fully Justified Heading: Customer Service Is Everything. At Information Builders, we are as open and flexible as our software, and our customers are our greatest asset. For every new product and feature, there's a customer who drove it. For every customer there's an answer. Our customer-centric philosophy is backed up by an integrated support network of people passionately dedicated to the success of your business initiatives. Consulting, Education, Technical Support, Product Development the support network is the sum of these groups, and it stands ready to help you. Information Builders has also created a community Web site for our developers.At Focal Point, you can visit our message boards and browse through numerous helpful resources.browse through numerous helpful resources.
the las line "browse through numerous helpful resources." is repeating twice.
Can you suggest again how to supress the repeating last line?
You can also achieve full justification in HTML and EXCEL output, but it requires an external style declaration in conjunction with HTMLFORM. This same code will generate HTML output simply by removing the line: SET HTMLFORMTYPE = XLS.
DEFINE FILE CAR
XX/A1000 = '<b>' | COUNTRY | 'Fully Justified Heading:</b> Customer Service Is Everything. At Information Builders, we are as open and flexible as our software, and our customers are our greatest asset. For every new product and feature, there's a customer who drove it. For every customer there's an answer. Our customer-centric philosophy is backed up by an integrated support network of people passionately dedicated to the success of your business initiatives. Consulting, Education, Technical Support, Product Development the support network is the sum of these groups, and it stands ready to help you. Information Builders has also created a community Web site for our developers. At Focal Point, you can visit our message boards and browse through numerous helpful resources.';
END
-*
TABLE FILE CAR
BY COUNTRY NOPRINT PAGE-BREAK
HEADING
"<XX"
ON TABLE SET PAGE-NUM OFF
ON TABLE HOLD FORMAT HTMTABLE
ON TABLE SET STYLE *
TYPE=REPORT, FONT=COURIER, SIZE=10, $
TYPE=HEADING, CLASS=justify, $
ENDSTYLE
END
-*
SET HTMLFORMTYPE = XLS
-*
-RUN
-HTMLFORM BEGIN
<style type="text/css">
.justify {text-align:justify;}
</style>
!IBI.FIL.HOLD;
-HTMLFORM END
This message has been edited. Last edited by: Dan Satchell,
WebFOCUS 7.7.05
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007
Well....actually you don't need to use HTMLFORM with HTML and EXCEL output to accomplsih full justification. You can place in-line style justification attributes directly into your text. But don't forget to place the closing
</p>
marker at the end of the text.
DEFINE FILE CAR
XX/A1000 = '<p style="text-align:justify"><b>' | COUNTRY | 'Fully Justified Heading:</b> Customer Service Is Everything. At Information Builders, we are as open and flexible as our software, and our customers are our greatest asset. For every new product and feature, there's a customer who drove it. For every customer there's an answer. Our customer-centric philosophy is backed up by an integrated support network of people passionately dedicated to the success of your business initiatives. Consulting, Education, Technical Support, Product Development the support network is the sum of these groups, and it stands ready to help you. Information Builders has also created a community Web site for our developers. At Focal Point, you can visit our message boards and browse through numerous helpful resources.</p>';
END
-*
TABLE FILE CAR
BY COUNTRY NOPRINT PAGE-BREAK
HEADING
"<XX"
ON TABLE SET PAGE-NUM OFF
ON TABLE SET HTMLCSS ON
ON TABLE PCHOLD FORMAT EXL2K
-* ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *
TYPE=REPORT, FONT=COURIER, SIZE=10, $
ENDSTYLE
END
This message has been edited. Last edited by: Dan Satchell,
WebFOCUS 7.7.05
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007