Focal Point
Achieving COLSPAN in PDF format

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7451005842

September 24, 2007, 10:51 PM
Aravindbaalaaji
Achieving COLSPAN in PDF format
Hi all,

I need help in alignment of PDF report.
I have a table report which has heading before the actual column begins.

I have the following in the HTML table report

Heading 1 : Credit (under this it has 4 columns)
Debit (under this it has 4 columns)

Heading 2 : the columns from the query.
Out of this first 4 columns come under "Credit" heading and the next 4 columns come under "Debit" heading.

I need to center align both "Credit" and "Debit" to thier corresponding 4 columns.

I achieved this in HTML format using the COLSPAN property.

How can we do this in PDF report?

Thanks in advance.

Regards
Aravindbaalaaji
September 25, 2007, 12:25 AM
susannah
yes, go read the 2 articles by Mickey Grackin in the Focal Point Tips & Techniques section on the subject of PDF ...




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
September 25, 2007, 10:25 AM
Kamesh
Hello Aravind,

You can achieve this by directly specifying the column number.

For ex:

-IF &DISPFORMAT EQ 'HTML' THEN GOTO DOHTML ELSE GOTO DOPDF;
-DOHTML
YOUR CODE
-GOTO ENDDISP;
-DOPDF
Heading
"<1 Heading1 <50 Heading2 <100 Heading3"
-ENDDISP

Hope this helps,


WFConsultant

WF 8105M on Win7/Tomcat