Page 1 of 1

Different line spaces

Posted: Mon Jan 15, 2007 5:12 pm
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

Posted: Tue Jan 16, 2007 2:13 pm
by Sergey Tkachenko
Please send me this document as RVF file (by e-mail)

Posted: Fri Jan 19, 2007 3:54 pm
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.