[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

RE: [sqr-users] Underlining a portion of paragraph



This was originally what I was going to do, however, the entire paragraph is
dynamic and the underline portion could potentially span two rows. I am also
using a proportional font.  I have looked through some of the archives and
checked some other resources.  This was just kind of a last effort.

Thank you for your response.

-----Original Message-----
From: don.barclay@srs.gov [mailto:don.barclay@srs.gov]
Sent: Tuesday, March 01, 2005 4:20 PM
To: This list is for discussion about the SQR database reporting
language from Hyperion Solutions.
Subject: Re: [sqr-users] Underlining a portion of paragraph


Hi Steve,

This is easy if you are using a monospace font.  You can use separate 
print statements, and use a print location of (,+1) (same line, one column 
to the right) to add the underlined text at the proper location.

For your example:

Print 'Therefore,'            (+1,10)
Print 'you must take one'       (,+1) underline
Print 'of the following actions to avoid further consequences.' (,+1)

If you are using a non-monospace font, it becomes much more difficult to 
properly place the text for the separate print statements.  You can scan 
the archives for discussions on how to do this.

Hope this helps,
Don

> I have created a letter (.pdf) where a series of words in the paragraph 
need
> to be underlined.  I am not sure if this can be accomplished and was
> wondering if someone had any ideas.
> 
> I have tried to create and print a variable containing all of the text
> leading up to the underline and then force printing the location of the
> underline text, however, the paragraph is dynamic and the location will
> never be the same place each time.
> 
> Example text :Therefore, (underline)you must take one(/underline) of the
> following actions to avoid further consequences. 
> 
> Any help is appreciated.
> 
> Steve Bryson - Technical Business Analyst
> Center for Analysis and Reporting -PHH ARVAL
> Steve.Bryson@phh.com 
> (410) 771-2732 

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users


"The sender believes that this E-mail and any attachments were free of any
harmful and malicious code or defects when sent.  This message and its
attachments could have been infected during transmission.  By reading the
message and opening any attachments, the recipient accepts full
responsibility for taking protective and remedial action regarding the code
or such defects.  The sender is not liable for any loss or damage arising in
any way from this message or its attachments."

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users