[Xerte] Re: Speaking of MarkWord

Julian Tenney Julian.Tenney at nottingham.ac.uk
Tue Jan 25 16:59:12 GMT 2011


Can't find it right now, I'm sure this has been done before but can't think where it is: couple of methods, in both cases you need to use getTextExtent().

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 25 January 2011 16:54
To: Xerte discussion list
Subject: [Xerte] Re: Speaking of MarkWord

Difficult bugger.

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 25 January 2011 16:54
To: Xerte list
Subject: [Xerte] Re: Speaking of MarkWord

Highlighter.
________________________________
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Tue, 25 Jan 2011 16:50:45 +0000
Subject: [Xerte] Re: Speaking of MarkWord
You want to draw a rectangle behind it, like a highlighter, or just make the text a different colour?

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 25 January 2011 16:47
To: Xerte list
Subject: [Xerte] Speaking of MarkWord

Xerte 2 desktop.

I don't need any interactivity, just a way to highlight a word or words in a string:
e.g. I would like this [word] to have a yellow highlight.

Method already exist?

Cheers;

Dave

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.

_______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110125/92e99aa2/attachment.html>


More information about the Xerte mailing list