fop doesn't style list-item-label for RTF

2007-06-18 Thread Deryl Seale
I am trying to render a numbered (well, lettered really) list in RTF  
format, but FOP doesn't apply the styles I specify.  I have tried the  
following:


fo:list-item-label end-indent=label-end() font-weight=bold
fo:blockxsl:number count=qti:simpleChoice  
format=A//fo:block

/fo:list-item-label

fo:list-item-label end-indent=label-end()
fo:block font-weight=boldxsl:number  
count=qti:simpleChoice format=A//fo:block

/fo:list-item-label

Both of these correctly make the label for the list item bold, but in  
RTF, the label is just plain text.  Any idea if this is a known bug,  
and if so, where I might poke around to fix it?


thanks.

--
Deryl Seale -- Director of Engineering
c: 734.883.9636
[EMAIL PROTECTED]
www.intel-assess.com





Re: fop doesn't style list-item-label for RTF

2007-06-18 Thread Deryl Seale
Both of these correctly make the label for the list item bold, but  
in RTF, the label is just plain text.


Sorry, I meant to say that these declarations make the label bold for  
PDF output, but not in RTF for some reason.


-d.


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



Re: fop doesn't style list-item-label for RTF

2007-06-18 Thread Adrian Cumiskey

Hi Deryl,

Which version of FOP are you using?  It would be really helpful if you 
include the FO file in full.


Cheers,

Adrian.

Deryl Seale wrote:
I am trying to render a numbered (well, lettered really) list in RTF 
format, but FOP doesn't apply the styles I specify.  I have tried the 
following:


fo:list-item-label end-indent=label-end() font-weight=bold
fo:blockxsl:number count=qti:simpleChoice 
format=A//fo:block

/fo:list-item-label

fo:list-item-label end-indent=label-end()
fo:block font-weight=boldxsl:number 
count=qti:simpleChoice format=A//fo:block

/fo:list-item-label

Both of these correctly make the label for the list item bold, but in 
RTF, the label is just plain text.  Any idea if this is a known bug, and 
if so, where I might poke around to fix it?


thanks.

--
Deryl Seale -- Director of Engineering
c: 734.883.9636
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
www.intel-assess.com






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



Re: fop doesn't style list-item-label for RTF

2007-06-18 Thread Deryl Seale
Sorry, I am using FOP 0.93, and a sample of the FO file is below --  
note that it renders the list-item-label text in bold when outputting  
in PDF form, but only renders them in plain text when outputting to RTF.


thanks.
-d.

-=-=-=-=-=- SAMPLE -=-=-=-=-=-

fo:root xmlns:fo='http://www.w3.org/1999/XSL/Format' xmlns:m='http:// 
www.w3.org/1998/Math/MathML' font-family='Helvetica'

  fo:layout-master-set
fo:simple-page-master margin-left='0.75in' master-name='normal- 
page' page-width='8.5in' page-height='11in' margin-bottom='.5in'  
margin-top='.5in' margin-right='0.75in'
  fo:region-body region-name='body' margin-bottom='0.7in'  
margin-top='1in'  /

/fo:simple-page-master
  /fo:layout-master-set
  fo:page-sequence master-reference='normal-page'
fo:flow flow-name='body' font-size='11pt'

  fo:block
fo:table table-layout='fixed'
  fo:table-body border='1px solid white'
fo:table-row

  fo:table-cell border='1px solid white' width='0.5in'
fo:block font-weight='bold'1/fo:block
  /fo:table-cell
  fo:table-cell border='1px solid white' width='3.5in'
fo:block space-after='5pt' font-weight='bold'Which  
of the following resources would be most valuable for a student doing  
research about the life cycle of a frog?/fo:block

fo:block space-before='10pt'
  fo:list-block provisional-distance-between- 
starts='6.5mm'

fo:list-item

  fo:list-item-label font-weight='bold' end- 
indent='label-end()'

fo:blockA/fo:block
  /fo:list-item-label
  fo:list-item-body start-indent='body-start()'
fo:block space-after='2pt' space-before='2pt'
  fo:blockScience book about frogs/fo:block
/fo:block
  /fo:list-item-body

/fo:list-item
fo:list-item
  fo:list-item-label font-weight='bold' end- 
indent='label-end()'

fo:blockB/fo:block
  /fo:list-item-label
  fo:list-item-body start-indent='body-start()'
fo:block space-after='2pt' space-before='2pt'
  fo:blockA short story entitled Jumping  
Frogs/fo:block


/fo:block
  /fo:list-item-body
/fo:list-item
fo:list-item
  fo:list-item-label font-weight='bold' end- 
indent='label-end()'

fo:blockC/fo:block
  /fo:list-item-label
  fo:list-item-body start-indent='body-start()'

fo:block space-after='2pt' space-before='2pt'
  fo:blockMap of frog habitats/fo:block
/fo:block
  /fo:list-item-body
/fo:list-item
fo:list-item
  fo:list-item-label font-weight='bold' end- 
indent='label-end()'

fo:blockD/fo:block

  /fo:list-item-label
  fo:list-item-body start-indent='body-start()'
fo:block space-after='2pt' space-before='2pt'
  fo:blockDictionary entry for Frogs/ 
fo:block

/fo:block
  /fo:list-item-body
/fo:list-item
  /fo:list-block

  /fo:block
  /fo:table-cell
/fo:table-row
  /fo:table-body
/fo:table
  /fo:block
/fo:flow
  /fo:page-sequence
/fo:root

On Jun 18, 2007, at 12:17 PM, Adrian Cumiskey wrote:


Hi Deryl,

Which version of FOP are you using?  It would be really helpful if  
you include the FO file in full.


Cheers,

Adrian.

Deryl Seale wrote:
I am trying to render a numbered (well, lettered really) list in  
RTF format, but FOP doesn't apply the styles I specify.  I have  
tried the following:

fo:list-item-label end-indent=label-end() font-weight=bold
fo:blockxsl:number count=qti:simpleChoice  
format=A//fo:block

/fo:list-item-label
fo:list-item-label end-indent=label-end()
fo:block font-weight=boldxsl:number  
count=qti:simpleChoice format=A//fo:block

/fo:list-item-label
Both of these correctly make the label for the list item bold, but  
in RTF, the label is just plain text.  Any idea if this is a known  
bug, and if so, where I might poke around to fix it?

thanks.
--
Deryl Seale -- Director of Engineering
c: 734.883.9636
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
www.intel-assess.com



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



--