RE: selected checkbox

2001-12-19 Thread Conal Tuohy

 -Original Message-
 From: Cyril Rognon [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, 19 December 2001 21:34
 To: FOP dev
 Subject: RE: selected checkbox
 
 
 Do you have any svg code for a checkbox (checed and un 
 checked version) ?
 
 or some pointer where I could find some ?

something like this?

!-- an unchecked checkbox --
svg width=10mm height=10mm
rect x=0 y=0 width=10mm height=10mm
 style=stroke:rgb(0,0,0);stroke-width:1;fill:none/
/svg

!-- a checked checkbox --
svg width=10mm height=10mm
rect x=0 y=0 width=10mm height=10mm
 style=stroke:rgb(0,0,0);stroke-width:1;fill:none/
line x1=2mm y1=2mm x2=8mm y2=8mm
 style=fill:none;stroke:rgb(0,0,0);stroke-width:2/
line x1=8mm y1=2mm x2=2mm y2=8mm
 style=fill:none;stroke:rgb(0,0,0);stroke-width:2/
/svg


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




RE: selected checkbox

2001-12-19 Thread Mark Lillywhite

I haven't followed this thread at all, however it occurs to me that you
can get a Graphics object from Batik (can't you?), draw into it using
the java.awt.Graphics API, and then output that as SVG.

So couldn't you create a JCheckBox and paint it to an SVG Graphics()  ?

Maybe I'm talking rubbish but I thought this was possible.

M.

On Thu, 2001-12-20 at 09:35, Conal Tuohy wrote:
  -Original Message-
  From: Cyril Rognon [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, 19 December 2001 21:34
  To: FOP dev
  Subject: RE: selected checkbox
  
  
  Do you have any svg code for a checkbox (checed and un 
  checked version) ?
  
  or some pointer where I could find some ?
 
 something like this?
 
 !-- an unchecked checkbox --
 svg width=10mm height=10mm
   rect x=0 y=0 width=10mm height=10mm
style=stroke:rgb(0,0,0);stroke-width:1;fill:none/
 /svg
 
 !-- a checked checkbox --
 svg width=10mm height=10mm
   rect x=0 y=0 width=10mm height=10mm
style=stroke:rgb(0,0,0);stroke-width:1;fill:none/
   line x1=2mm y1=2mm x2=8mm y2=8mm
style=fill:none;stroke:rgb(0,0,0);stroke-width:2/
   line x1=8mm y1=2mm x2=2mm y2=8mm
style=fill:none;stroke:rgb(0,0,0);stroke-width:2/
 /svg
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 




msg04345/pgp0.pgp
Description: PGP signature


RE: selected checkbox

2001-12-19 Thread Conal Tuohy

I think Cyril was just looking for an easy way to specify a checkbox in his
xml doc ... I think svg is the best way, since it's platform neutral,
doesn't involve fonts or external-graphics, and is pure xml (no java
programming).

 -Original Message-
 From: Mark Lillywhite [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, 20 December 2001 13:55
 To: FOP dev
 Subject: RE: selected checkbox
 
 
 I haven't followed this thread at all, however it occurs to 
 me that you
 can get a Graphics object from Batik (can't you?), draw into it using
 the java.awt.Graphics API, and then output that as SVG.
 
 So couldn't you create a JCheckBox and paint it to an SVG 
 Graphics()  ?
 
 Maybe I'm talking rubbish but I thought this was possible.
 
 M.
 
 On Thu, 2001-12-20 at 09:35, Conal Tuohy wrote:
   -Original Message-
   From: Cyril Rognon [mailto:[EMAIL PROTECTED]]
   Sent: Wednesday, 19 December 2001 21:34
   To: FOP dev
   Subject: RE: selected checkbox
   
   
   Do you have any svg code for a checkbox (checed and un 
   checked version) ?
   
   or some pointer where I could find some ?
  
  something like this?
  
  !-- an unchecked checkbox --
  svg width=10mm height=10mm
  rect x=0 y=0 width=10mm height=10mm
   style=stroke:rgb(0,0,0);stroke-width:1;fill:none/
  /svg
  
  !-- a checked checkbox --
  svg width=10mm height=10mm
  rect x=0 y=0 width=10mm height=10mm
   style=stroke:rgb(0,0,0);stroke-width:1;fill:none/
  line x1=2mm y1=2mm x2=8mm y2=8mm
   style=fill:none;stroke:rgb(0,0,0);stroke-width:2/
  line x1=8mm y1=2mm x2=2mm y2=8mm
   style=fill:none;stroke:rgb(0,0,0);stroke-width:2/
  /svg
  
  
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]
  
 
 

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




selected checkbox

2001-12-18 Thread Henrik Holle
Title: Nachricht



i also 
need an selected checkbox

on http://www.w3.org/Style/XSL/TestSuite/contrib/FOP/fonts.pdf 
i found no char that looks like a selected checkbox

any 
idea how i can print a checkbox?

when i 
try something like this:
 fo:inline font-family="Symbol" #108; 
/fo:inline

only a 
control sign is displayed in the AWT preview, in the PDF the sign is display 
correct.



  
  -Ursprüngliche Nachricht-Von: Suhail Rashid 
  [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 18. Dezember 
  2001 08:18An: [EMAIL PROTECTED]Betreff: RE: 
  checkbox
  something like;
  
  fo:inline 
  font-family="ZapfDingbats" #113; /fo:inline
  
  will 
  give u a check-box. 
  
  suhail
  
  
-Original Message-From: Henrik Holle 
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, December 18, 2001 
12:43 PMTo: [EMAIL PROTECTED]Subject: 
checkbox
hi,

i nee to insert 
some checkboxes in my fo document. can this be done or do i need 
graphics for that?


mfg

holle


Re: selected checkbox

2001-12-18 Thread Keiron Liddle


The place to find a character is
http://www.unicode.org/
this specifies all the unicode character.

for a check box, empty, with tick and with cross you can find it here 
(actually called ballot box):
http://www.unicode.org/charts/PDF/U2600.pdf

This will only work if you have a font that supports these characters. So 
you will need to find the right font.


On 2001.12.18 11:20 Henrik Holle wrote:
 i also need an selected checkbox
 
 on http://www.w3.org/Style/XSL/TestSuite/contrib/FOP/fonts.pdf  i found
 no char that looks like a selected checkbox
 
 any idea how i can print a checkbox?
 
 when i try something like this:
 fo:inline font-family=Symbol #108; /fo:inline
 
 only a control sign is displayed in the AWT preview, in the PDF the sign
 is display correct.

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




Re: selected checkbox

2001-12-18 Thread Jozef Chocholacek

Keiron Liddle wrote:

 The place to find a character is
 http://www.unicode.org/
 this specifies all the unicode character.
 for a check box, empty, with tick and with cross you can find it here 
 (actually called ballot box):
 http://www.unicode.org/charts/PDF/U2600.pdf
 This will only work if you have a font that supports these characters. 
 So you will need to find the right font.


   To evade problems with fonts supporting checkboxes etc. I use 
external images. I know it is not the pure, clean and scientific 
solution but it always works .

   Regards,

J.Ch.
-- 
Ing. Jozef Chocholacek  Qbizm Technologies, Inc.
Chief Project Analyst   ... the art of internet.

Kralovopolska 139  tel: +420 5 4124 2414
601 12 Brno, CZ  http://www.qbizm.com  fax: +420 5 4121 2696


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




RE: selected checkbox

2001-12-18 Thread Conal Tuohy

-Original Message-
From: Henrik Holle [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 18 December 2001 23:20
To: [EMAIL PROTECTED]
Subject: selected checkbox
i also need an selected checkbox

on http://www.w3.org/Style/XSL/TestSuite/contrib/FOP/fonts.pdf  i found no
char that looks like
a selected checkbox

any idea how i can print a checkbox?

I would recommend using an svg drawing of a checkbox. You can put the svg
inline as a foreign-object.




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




RE: selected checkbox

2001-12-18 Thread Joshua.Kuswadi

Jozef wrote:
To evade problems with fonts supporting checkboxes etc. I use 
 external images. I know it is not the pure, clean and scientific 
 solution but it always works .
 
We tried this also, but came across a problem if the fo:external-graphic file was 
being referenced too frequently, then it wouldn't get rendered. It appeared that the 
image itself was cached, but FOP would still open a URL connection which would 
sometimes return a 403 error.

Thanks,
Joshua

--
This message and any attachment is confidential and may be privileged or otherwise 
protected from disclosure.  If you have received it by mistake please let us know by 
reply and then delete it from your system; you should not copy the message or disclose 
its contents to anyone.





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