pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gk_br...@verizon.net>
Subject Re: Support for display of rich text?
Date Wed, 26 Jan 2011 13:05:45 GMT
> anyway, this doesn't work:
> 
>   <TextNode>Some text</TextNode>
> 
> but this does:
> 
>   <TextNode text="Some text"/>

Ah, of course. BXMLSerializer needs a minor modification to allow inline text to work for
TextNode.

> So a working example of what I wanted might be
> 
>   <Paragraph>
>     <Span font="{bold:true}">
>       <TextNode text="Label:"/>
>     </Span>
>     <TextNode text=" something of interest "/>
>     <Span font="{italic:true}">
>       <TextNode text="(some remark)"/>
>     </Span>
>   </Paragraph>
> 
> It would be very nice if whatever magic on Paragraph allows
> 
>   <Paragraph>This is a plain text paragraph</Paragraph>
> 
> would allow my example to be expressed as
> 
>   <Paragraph>
>     <Span font="{bold:true}">Label:</Span>
>     <Span> something of interest </Span>
>     <Span font="{italic:true}">(some remark)</Span>
>   </Paragraph>

I just checked in a minor update to Span. If you build from trunk, let me know if it works.

G


Mime
View raw message