Different line spaces

General TRichView support forum. Please post your questions here
Post Reply
j&b
Posts: 182
Joined: Mon Sep 05, 2005 1:35 pm

Different line spaces

Post by j&b »

Hello Sergey, <RETURN>
<RETURN>
sometimes I get eMails with 2x so high line spaces. If I copy them into rve I can't set them to simple high line space. <RETURN>
<RETURN>
Please look at the picture (I don't understand how to use the issue: <RETURN>
[d:/Zeilenabstand.jpg][/img] <RETURN>
These lines have a normal line space (oK) <RETURN>
<RETURN>
<RETURN>
<RETURN>
These lines have a 2x so high line spaces: <RETURN>
(no return)
[d:/Zeilenabstand.jpg][/img] <RETURN>
(no return)
I want to get the lines nearer ('normal' line space). <RETURN>


Jürgen
Sergey Tkachenko
Site Admin
Posts: 17310
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Please send me this document as RVF file (by e-mail)
j&b
Posts: 182
Joined: Mon Sep 05, 2005 1:35 pm

Post by j&b »

Thank you for your hints, Sergey.

(from Sergey:)
Distance between lines can be changed by line spacing and by setting spacing
before and after paragraphs.

In TRichView, it is the following properties of paragraph style (item of
RVStyle.ParaStyles collection): LineSpacing, SpaceBefore, SpaceAfter.

If your files (I looked in the Word's one), LineSpacing is not changed
(single line spacing),
but spacings between paragraphs were changed.

If you want to change spacing as an editing operation, use
ApplyParaStyleConversion+OnParaStyleConversion, as it's shown in
Demos\Delphi\Editors\Editor 2\

In RichViewActions, these values can be changed in the paragraph properties
dialog.
Post Reply