Manjush,

Why don't you create a table with a number of cells, put the text to the
left in a cell with no borders, the blank line in a cell with bottom border
only and the text to the right in another cell with no borders.

Regards,

Mark
----- Original Message ----- 
From: "Manjush" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 20, 2004 12:31 PM
Subject: Fill-in type cells with text on both sides in a single line.


> Hi
>
> I want to generate a contract form which contains
> fill-in kind of cells.
>
> "Its something like __________________________ and .."
> which will be a fixed length blank and the data will
> come centered in it. Textdecoration="underline" does
> not work in this case as the underlining will be
> limited to the text portion only.
>
> Initially I tried a single celled table (see(2) below)
> which could hold the data, but the table came in the
> next line instead of the same line like:
>
> "Its something like
> __________________________
> and .."
>
>
> Then I tried the fo:inline tag (see (1) below) but
> that too didn't help. Any idea of whats going wrong or
> What can be done?
>
> See the XSL:FO template below:
>
>  <xsl:template match="blankcell">
>     <fo:inline keep-with-previous="always">  <<--(1)
>
>       <fo:table                      <<--(2)
> keep-with-previous="always"
> border-collapse="separate"
> table-layout="fixed">
>
>         <fo:table-column column-width="10cm" />
>          <fo:table-body>
>            <fo:table-row>
>              <fo:table-cell>
>                 <fo:block keep-with-previous="always"
>                   border-bottom-color="black"
> border-bottom-style="solid"
> white-space-collapse="false">
>   <xsl:apply-templates select="*|text()" />
>                 </fo:block>
>              </fo:table-cell>
>            </fo:table-row>
>          </fo:table-body>
>       </fo:table>
>     </fo:inline>
>  </xsl:template>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to