cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Asterisk in Colwidth

unknown1
1-Newbie

Asterisk in Colwidth

Hi Adepters,

Does anyone know the reasoning or purpose for the asterisk in the colwidth attribute value? I am trying to get proportional column widths to work in XSL for table PDF output. The cells are displaying with equal dimensions, even though the colwidths have different values. This also cause text overflow. Please let me know if additional information is required.

Thanks in advance!

Regards,

<table colsep="1" frame="all" rowsep="1">
<title>References</title>
<tgroup cols="4" colsep="1" rowsep="1">
<colspec align="center" colname="col1" colnum="1" colwidth="1.5*"/">
<colspec align="center" colname="col2" colnum="2" colwidth="2*"/">
<colspec align="center" colname="col3" colnum="3" colwidth="3*"/">
<colspec align="center" colname="col4" colnum="4" colwidth="2*"/">
1 REPLY 1

The asterisk is an Arbortext specific (FOSI and Styler stylesheet
supported) width "unit" and has no meaning in XSL. Think of it as a
proprietary processing instruction.

We use the proportional units in XSL (and HTML output behind it) by
replacing the * with % during the transform. We have to make sure the
numeric components (whether reflecting proportional or "real" mm or in
or whatever) of our colwidths add up to approximately 100.

Not sure if or how this would apply to XSL PDF output.

Announcements