Search found 9416 matches

by Sergey Tkachenko
Tue Aug 21, 2007 4:30 pm
Forum: Support
Topic: Print a defined rtf
Replies: 3
Views: 10251

You use Lazarus version of TRichView. This is a port of the old freeware version of TRichView. It cannot load RTF.
As for printing, [rvdoImages, rvdoComponents, rvdoBullets] must be used instead of rvdoAll.
by Sergey Tkachenko
Tue Aug 21, 2007 10:02 am
Forum: Support
Topic: Bug in RVRuler.pas
Replies: 2
Views: 8840

This bug is already fixed in the newer version of RVRuler.
No, I believe that TRichView.Get*** methods must generate exception when called with incorrect item index.
by Sergey Tkachenko
Mon Aug 20, 2007 1:16 pm
Forum: Support
Topic: Changing the fontname of text in a document
Replies: 4
Views: 13710

This code must work. But if you want to replace content of Document, call: Document.Clear; VRichView.SaveRVFToStream( Document, False ); instead of VRichView.SaveRVFToStream( Document, True ); Without clearing the stream, new information will be written to the end of the existing content. It may pro...
by Sergey Tkachenko
Mon Aug 20, 2007 12:39 pm
Forum: ScaleRichView
Topic: TScaleRichView - EListIndex out of Bounds Error
Replies: 6
Views: 25535

Please note that trial again requires new version of TRichView and RichViewActions
by Sergey Tkachenko
Mon Aug 20, 2007 11:16 am
Forum: Support
Topic: TRVTextItemInfo
Replies: 5
Views: 11982

In addition, you can:
- for TRVTabItemInfo items, add #9 in text
- if objCell.GetRVData.IsFromNewLine(intCount), add #13#10
by Sergey Tkachenko
Mon Aug 20, 2007 11:14 am
Forum: Support
Topic: TRVTextItemInfo
Replies: 5
Views: 11982

var intIndex: Integer; objData: TRVEditRVData; objItem: TRVTableItemInfo; objCell: TRVTableCellData; intRow: Integer; intCol: Integer; intCount: Integer; begin objData := TRVEditRVData(rvEdit.RVData); for intIndex := 0 to rvEdit.ItemCount-1 do begin if objData.GetItem(intIndex) is TRVTableItemInfo ...
by Sergey Tkachenko
Mon Aug 20, 2007 11:01 am
Forum: Support
Topic: Page breaks problem in Table.
Replies: 7
Views: 18116

For example, now they are shown like:
Image
(I changed color to red to make them more noticeable)
How do you want to display them?
by Sergey Tkachenko
Mon Aug 20, 2007 10:54 am
Forum: Support
Topic: Changing the fontname of text in a document
Replies: 4
Views: 13710

Code: Select all

for i :=0 to VStyles.TextStyles.Count-1 do
  VRichView.Style.TextStyles[i].FontName := 'Arial Unicode MS'; 
VRichView.Format;
PS: currently, TRichView cannot work without Parent assigned.

So add:

Code: Select all

VRichView.Visible := False;
VRichView.Parent := <some form>
by Sergey Tkachenko
Mon Aug 20, 2007 10:50 am
Forum: Support
Topic: Print a defined rtf
Replies: 3
Views: 10251

Place on form: RichView1: TRichView, RVStyle1: TRVStyle; RVPrint1: TRVPrint. Assign (at designtime) RichView1.Style := RVStyle1. Loading RTF file: RichView1.Clear; RichView1.LoadRTF('/home/peter/test.rtf'); RichView1.Format; Next, you need to choose printer. RVPrint uses the application printer sett...
by Sergey Tkachenko
Mon Aug 20, 2007 10:37 am
Forum: Support
Topic: SaveRVFToStream problem
Replies: 1
Views: 7705

If you use Delphi debuger to view Stream.Size, it shows wrong value.
I do not know why, but it does not show Stream.Size correctly.
by Sergey Tkachenko
Mon Aug 20, 2007 9:32 am
Forum: ScaleRichView
Topic: ScaleRichView - shareware TRichView addon for WYSIWYG edit
Replies: 19
Views: 100796

Update 2007-Aug-20: ScaleRichView v1.2.9 Not all new features are included in the help files yet, it will be fixed in the next update Mainly fixes. InsertControls demo was moved from Demos\Advanced to Demos\Controls, so, when installing over the existing installation, delete the old version of demo...
by Sergey Tkachenko
Mon Aug 20, 2007 9:27 am
Forum: ScaleRichView
Topic: TScaleRichView - EListIndex out of Bounds Error
Replies: 6
Views: 25535

Just uploaded
by Sergey Tkachenko
Fri Aug 17, 2007 5:08 pm
Forum: ScaleRichView
Topic: TScaleRichView - EListIndex out of Bounds Error
Replies: 6
Views: 25535

This bug is fixed, but we need to make a couple of other changes before the new release, so it will be uploaded tomorrow.
by Sergey Tkachenko
Fri Aug 17, 2007 2:09 pm
Forum: Support
Topic: Copy/Paste without Linefeed
Replies: 4
Views: 17241

In TRichView, there are no end-of-line characters. There is only a flag "this item starts a new line/paragraph". This causes some problems when copying to MS Word/RichEdit, because in TRichView it's not possible to select EOL character at the end of document (because it does not exists). I...
by Sergey Tkachenko
Fri Aug 17, 2007 2:02 pm
Forum: Support
Topic: TRVTextItemInfo
Replies: 5
Views: 11982

Sorry, I do not understand. Can you explain in another words?