Re: Symbols
"Rohit Peyyeti" <[email protected]> Wed, 12 Feb 2003 10:58:13 +0530
| Newsgroups | gmane.text.xml.xsl.general |
|---|---|
| Organization | TransLogic Systems |
| Message-ID | <003e01c2d257$8c29e9e0$170a0a0a@epithelium> |
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" <[email protected]> To: "Rohit Peyyeti" <[email protected]> Sent: Tuesday, February 11, 2003 10:30 PM Subject: Re: Symbols > From: "Rohit Peyyeti" <[email protected]> > 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"> </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