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     [SOLVED] How to Colspan - rowspan in PDF ?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] How to Colspan - rowspan in PDF ?
 Login/Join
 
Member
posted
Hello
I need to make a list of this style in pdf and I do not know how to do it in PDF. This is is the html code for output. How could we make COLSPAN / ROWSPAN in PDF format?

DEFINE FILE CAR
TLINE/A500='<TR><TD>'| EDIT(DEALER_COST,'999999') |'</TD>' | '<TD>' | 
  EDIT(RETAIL_COST,'999999') |'</TD>' |  
 '<TD>' |COUNTRY |'</TD>' | '<TD>' |CAR |'</TD>' |
 '<TD>' | MODEL |'</TD>' | '</TR>' ;
END

TABLE FILE CAR
PRINT
TLINE AS ''
 WHERE RECORDLIMIT EQ 10
ON TABLE SET CDN ON
ON TABLE SET PAGE NOPAGE
ON TABLE SET NODATA ' '
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE HOLD AS HLD01
ON TABLE SET STYLESHEET *
     UNITS=IN,
     SQUEEZE=ON,
     ORIENTATION=LANDSCAPE,
$
TYPE=REPORT, GRID=ON, BORDER=LIGHT, $
END

-HTMLFORM BEGIN
<html>
<body>
<table border="1" bordercolor="#000000" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td colspan="2" rowspan="1">Unit Cost<br>
</td>
<td colspan="1" rowspan="2">Country<br>
</td>
<td colspan="1" rowspan="2">Car</td>
<td colspan="1" rowspan="2">Model</td>
</tr>
<tr>
<td>Dealer</td>
<td>Retail</td>
</tr>
!IBI.FIL.HLD01;
</tbody>
</table>
<br>
<br>
</body>
</html>
-HTMLFORM END


Any help would be appreciated.
Thanks,

Enrique
WebFOCUS 7.7.03 / Windows

This message has been edited. Last edited by: <Kathryn Henning>,
 
Posts: 6 | Registered: June 02, 2011Report This Post
Virtuoso
posted Hide Post
You will have to use "POSITION".


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Member
posted Hide Post
Thanks Danny,
do you have an example?


WebFOCUS 7.7.03
Windows, All Outputs
 
Posts: 6 | Registered: June 02, 2011Report This Post
Member
posted Hide Post
Any ideas?


WebFOCUS 7.7.03
Windows, All Outputs
 
Posts: 6 | Registered: June 02, 2011Report This Post
Virtuoso
posted Hide Post
Enrique,
Sorry about the delay: I was installing WF8007 and had some problems.
I had a look at your HTML output and I don't think you can obtain the same in PDF as you have inserted HTML into your code.
Anyway, here is what I suggest:
  
-SET &ECHO=ALL;
-* File enrique02.fex
TABLE FILE CAR
HEADING
"Unit<+0>Cost"
"Dealer<+0>Retail<+0>Country<+0>Car<+0>Model"
PRINT
DEALER_COST AS ''
RETAIL_COST AS ''
COUNTRY AS ''
CAR AS ''
MODEL AS ''

 WHERE RECORDLIMIT EQ 10
ON TABLE SET CDN ON
ON TABLE SET PAGE NOPAGE
ON TABLE SET NODATA ' '
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE SET STYLESHEET *
     UNITS=IN,
     SQUEEZE=ON,
     ORIENTATION=LANDSCAPE,
$
TYPE=REPORT, BORDER=LIGHT, $
TYPE=HEADING, LINE=1, ITEM=1, POSITION=P1, JUSTIFY=RIGHT, style=bold+underline, $
TYPE=HEADING, LINE=1, ITEM=2, POSITION=P2, JUSTIFY=LEFT, style=bold+underline, $
-REPEAT #POS FOR &I FROM 1 TO 5;
TYPE=HEADING, LINE=2, ITEM=&I, POSITION=P&I, $
-#POS
END


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Member
posted Hide Post
Daniel Thanks for taking your time.


WebFOCUS 7.7.03
Windows, All Outputs
 
Posts: 6 | Registered: June 02, 2011Report 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     [SOLVED] How to Colspan - rowspan in PDF ?

Copyright © 1996-2020 Information Builders