[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Writing letters
From: |
Mark Summerfield |
Subject: |
Re: Writing letters |
Date: |
Tue, 30 Sep 2008 10:23:18 +0100 |
User-agent: |
KMail/1.9.10 |
On 2008-09-30, Robert Riebisch wrote:
> Hi all!
>
> When writing a letter is there a smart way to always make the
> recipient's address start at, e.g., 6.0cm to make it fit to a window
> envelope? Here's what I currently have.
> ***
> @SysInclude { tbl }
> @SysInclude { xrgb }
> @Include { cv_style.lt }
> @Doc @Text @Begin
> @RightDisplay 10p @Font { 0.85vx rlines } @Break {
> Street No
> Zip Town
> Phone: 123456789
> E-Mail: invalid"@"invalid.invalid
> }
> @Box
> linewidth { none }
> paint { @Xrgb grey90 }
> @HExpand 1.5f @Font @B @S { Robert Riebisch }
> ***
You could use something like this (untested):
@SysInclude { tbl }
@SysInclude { xrgb }
@Include { cv_style.lt }
@Doc @Text @Begin
@Place x{?}y{6c}{10p @Font { 0.85vx rlines } @Break {
Street No
Zip Town
Phone: 123456789
E-Mail: invalid"@"invalid.invalid
}
}
@Box
linewidth { none }
paint { @Xrgb grey90 }
@HExpand 1.5f @Font @B @S { Robert Riebisch }
***
Note that @Place objects are on top of everything else and don't take up
any space. The user guide does describe them and you can use relative x
and y coords.
--
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
C++, Python, Qt, PyQt - training and consultancy
"C++ GUI Programming with Qt 4" - ISBN 0132354160
- Writing letters, Robert Riebisch, 2008/09/30
- Re: Writing letters,
Mark Summerfield <=