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'm experiencing two difficulties while creating output to PDF:
#1 the cause is a text block, which is a variable number of lines. The trouble is that I would like to see complete 'blocks' on each page, now the lines are cut off halfway and continue on the next page. The difficulty here is that it's impossible to determine how many 'blocks' would fit on each page. Therefore I assume that playing with the margins is only left as a solution? Or is there a way to tell FOCUS not to cut off those blocks?
#2 The next difficulty as that I make use of a report header and a page header. This I coded as follows:
ON TABLE SUBHEAD
"TEXT1"
" "
" "
" "
" "
" "
" "
"<TEXT2"
"<TEXT3"
HEADING
" "
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
PAGESIZE='A4',
LEFTMARGIN=0.430556,
RIGHTMARGIN=0.430556,
TOPMARGIN=0.680556,
BOTTOMMARGIN=0.388889,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=TABHEADING,
IMAGE=\\IMAGE1.gif,
POSITION=(-0.444444 -0.675),
SIZE=(8.388889 2.000000),
$
TYPE=REPORT,
IMAGE=\\IMAGE2.gif,
SIZE=(8.388889 1.180556),
$
TYPE=REPORT,
IMAGE=\\IMAGE3.gif,
POSITION=(0.000000 11.275000),
SIZE=(8.388889 0.388889),
The report header is just perfect now (so preferably no changes here), but the thing is that the ´variable text block´ on page two and up are placed over the image meant as a page header... How to create extra space for the margins on pages two and up, while not changing the report header?
Thank you for looking into this.
Best, SWES
WebFOCUS 8105m Windows 7, All Outputs
Member of the Benelux Usergroup
Posts: 198 | Location: Amsterdam | Registered: August 24, 2011
swes, it doesn't seem that you are using the pdf composer method of preparing a complex pdf report. it seems that you might just be turning compound on and off, and just letting your elements fall where they may. [Having said that, i'm still in version 76, and the composed method of pdf preparation may have changed.] In the composer method, you prepare each of your page components separately, and then lay them out exactly where you want them. if you want to pm me with your email address, i'll send you some code.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
It seems like I’m on the right track by opening the report in the composer. The thing is that I can’t figure out how I could add a title page in the report. I’ve tried the option: ‘Menu > Insert > Add Page Master Layout’ but that does not seem to do the trick.. When I do that the image header only overlaps the image header on the regular page. What would you suggest?
WebFOCUS 8105m Windows 7, All Outputs
Member of the Benelux Usergroup
Posts: 198 | Location: Amsterdam | Registered: August 24, 2011