W3C home > Mailing lists > Public > www-xsl-fo@w3.org > February 2003

Re: Symbols

From: Rohit Peyyeti <rohit@translogicsys.com>
Date: Wed, 12 Feb 2003 10:58:13 +0530
Message-ID: <003e01c2d257$8c29e9e0$170a0a0a@epithelium>
To: "Mike Haarman" <mhaarman@infinitecampus.org>
Cc: <www-xsl-fo@w3.org>

Sorry Mike. I think I got you completely wrong. When I 
re-read your mail again, then I came to know what you 
were asking me to do :)

But, is there anyway I can use HTML radio or similar
controls in my XSL and render PDF? Can't I just 
include HTML like: <input type=radio> in XSL FO?

Regards,
Rohit 

----- Original Message ----- 
From: "Mike Haarman" <mhaarman@infinitecampus.org>
To: "Rohit Peyyeti" <rohit@translogicsys.com>
Sent: Tuesday, February 11, 2003 10:30 PM
Subject: Re: Symbols


> From: "Rohit Peyyeti" <rohit@translogicsys.com>
> Subject: Symbols
> 
> 
> > I'm looking for radio and checkbox (selected/unselected) symbols. Does
> 
>   <xsl:template name="checkedBox">
>     <fo:table table-layout="fixed">
>       <fo:table-column column-width="8pt"/>
>       <fo:table-column column-width="8pt"/>
>       <fo:table-column column-width="8pt"/>
>       <fo:table-body>
>         <fo:table-row>
>           <fo:table-cell/>
>           <fo:table-cell display-align="center" 
>             padding="0pt">
>             <fo:block font-family="sans-serif" 
>               font-size="8pt" 
>               font-weight="normal" 
>               text-align="center"
>               border="0.5pt solid black">x</fo:block>
>           </fo:table-cell>
>         </fo:table-row>
>       </fo:table-body>
>     </fo:table>
>   </xsl:template>
> 
>   <xsl:template name="unCheckedBox">
>     <fo:table table-layout="fixed">
>       <fo:table-column column-width="8pt"/>
>       <fo:table-column column-width="8pt"/>
>       <fo:table-column column-width="8pt"/>
>       <fo:table-body>
>         <fo:table-row>
>           <fo:table-cell/>
>           <fo:table-cell display-align="center" 
>             padding="0pt">
>             <fo:block font-family="serif" 
>               font-size="8pt" 
>               font-weight="normal" 
>               text-align="center"
>               border="0.5pt solid black">&#xA0;</fo:block>
>           </fo:table-cell>
>         </fo:table-row>
>       </fo:table-body>
>     </fo:table>
>   </xsl:template>
> 
> 
> > Regards,
> > Rohit
> 
> Charmed,
> 
> Use it inside a 2pc table-cell and contain your selection copy in another.
> 
> 
> Mike
Received on Wednesday, 12 February 2003 00:35:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:10 GMT