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 am having Product Description column in PROD_DETAIL table which will have 3000 character . Currently we are showing this Description in PDF output using WRAP .I need to add line space between each wrap(within each row).
The above Code will add line space for each row like for each prod_Id. But i need to add space within row whenever text is wrapping to new line. let's see one sample product desc
[result] PROD_ID PROD_DESC ======= ========== 100 The Barrel Chair is one of sean and Catherine's favorite pieces.This oversized chair is perfect for those looking to spend hours sprawled out reading their favorite book or for those who just want to cuddle with the one they love. the barrel chair's handpicked fabric has special sheen that creates a look of total elegance.
101 The above Code will add line space for each row like for each prod_Id. But i need to add line space with row let's see one sample product desc The Barrel Chair is one of sean and Catherine's favorite pieces.This oversized chair is perfect for those looking to spend hours sprawled out reading their favorite book or for those who just want to cuddle with the one they love. the barrel chair's handpicked fabric has special sheen that creates a look of total elegance.
Expected
PROD_ID PROD_DESC ======= ========== 100 The above Code will add line space for each row like for
each prod_Id. But i need to add line space with row let's see one
sample product desc
The Barrel Chair is one of sean and Catherine's favorite
pieces.This oversized chair is perfect for those looking to spend
hours sprawled out
reading their favorite book or for those who just want to
cuddle with the one they love. the barrel chair's handpicked
fabric has special sheen
that creates a look of total elegance.
101 The above Code will add line space for each row like for
each prod_Id. But i need to add line space with row let's see one
sample product desc
The Barrel Chair is one of sean and Catherine's favorite
pieces.This oversized chair is perfect for those looking to spend
hours sprawled out
reading their favorite book or for those who just want to
cuddle with the one they love. the barrel chair's handpicked
fabric has special sheen
that creates a look of total elegance. [/result]This message has been edited. Last edited by: Gowtham,
The following code is an example of adding space within the text. It appears to work ONLY in PDF output format. Tested in WF8206.
TABLE FILE ggsales
PRINT
COMPUTE TEXT/A350 = 'The Barrel Chair is one of sean and Catherine''s favorite pieces. This oversized chair is perfect for those looking to spend hours sprawled out reading their favorite book or for those who just want to cuddle with the one they love. The barrel chair''s handpicked fabric has special sheen that creates a look of total elegance.' ;
BY PCD
WHERE RECORDLIMIT IS 5
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
TYPE=REPORT, SIZE=8, BORDER=LIGHT, $
TYPE=REPORT, COLUMN=TEXT, WRAP=5, $
TYPE=DATA, TOPGAP=0.1, BOTTOMGAP=0.1, WRAPGAP=OFF, $
ENDSTYLE
END
The above code will work without the WRAPGAP=OFF which is the default. To suppress the spacing within the text change to WRAPGAP=ON (the ON vs. OFF behavior seems counterintuitive to me).This message has been edited. Last edited by: dbeagan,
WebFOCUS 8.2.06
Posts: 210 | Location: Sterling Heights, Michigan | Registered: October 19, 2010