pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill van Melle <bill.van.me...@gmail.com>
Subject Re: Support for display of rich text?
Date Wed, 26 Jan 2011 02:38:26 GMT
(oops, send button pressed itself prematurely)

anyway, this doesn't work:

  <TextNode>Some text</TextNode>

but this does:

  <TextNode text="Some text"/>

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>

Mime
View raw message