Search found 9390 matches

by Sergey Tkachenko
Thu Sep 20, 2007 6:27 pm
Forum: Support
Topic: FastReport wapper
Replies: 37
Views: 153696

Still no news.
But the next release is almost ready, after it I will be able to start working on new problems like this wrapper.
by Sergey Tkachenko
Thu Sep 20, 2007 6:23 pm
Forum: Support
Topic: Save HTML
Replies: 6
Views: 19111

var s1, s2: String; if ((SaveFormat in [rvsfHTML]) and (RVData.GetItemStyle(ItemNo) >= 0)) then begin if Sender.Style.TextStyles[RVData.GetItemStyle(ItemNo)].BackColor <> clNone then begin s1 := Format('<font style="background-color: %s">', [ColorToHex(Sender.Style.TextStyles[RVData.GetIt...
by Sergey Tkachenko
Thu Sep 20, 2007 6:15 pm
Forum: Support
Topic: Numbering style
Replies: 3
Views: 11320

How do you start numbering? Do you use RichViewActions?
by Sergey Tkachenko
Thu Sep 20, 2007 6:14 pm
Forum: Support
Topic: RV action demo test page break
Replies: 2
Views: 9366

It will be fixed in the next update.
In the current version, type any character and press backspace.
by Sergey Tkachenko
Thu Sep 20, 2007 6:07 pm
Forum: Support
Topic: Need help to remove tables from RV
Replies: 1
Views: 7443

Oh, RVData->SaveRTFToStream has a bunch of parameters.
Call

Code: Select all

table->Cells[r][c]->GetRVData()->SaveRTFToStream(Stream, '', false, 0,  clNone, NULL, NULL, NULL, NULL, NULL, 0, true); 
(the last parameter was added in a recent version)
by Sergey Tkachenko
Mon Sep 17, 2007 3:54 pm
Forum: Support
Topic: Table Printing problem
Replies: 9
Views: 21957

The following changes should help. 1) Change OnDrawBorder (the most important change is moving (Left, Top, Right, Bottom) rectangle to the top left by one pixel) procedure TForm1.DoDrawBorder(Sender: TRVTableItemInfo; Canvas: TCanvas; Left, Top, Right, Bottom, Width: Integer; LightColor, Color, Back...
by Sergey Tkachenko
Mon Sep 17, 2007 3:32 pm
Forum: Support
Topic: How to get the size in pixels of the Blue bar when selecting
Replies: 4
Views: 11895

My suggestions are below, if the selection is not inside table cells. var StartItemNo, StartOffs, EndItemNo, EndOffs, StartDItemNo, StartDOffs, EndDItemNo, EndDOffs: Integer; SelTop, SelBottom, VisTop, VisBottom: Integer; RichView1.GetSelectionBounds(StartItemNo, StartOffs, EndItemNo, EndOffs, True)...
by Sergey Tkachenko
Mon Sep 17, 2007 3:19 pm
Forum: ScaleRichView
Topic: ScaleRichView OnItemHint
Replies: 4
Views: 20884

What version of ScaleRichView do you use?
by Sergey Tkachenko
Fri Sep 14, 2007 4:58 pm
Forum: Support
Topic: Image path when HTML saving(Pls hep me :(()
Replies: 7
Views: 16131

Yes, by default TRichView saves relative paths. You can override it in OnHTMLSaveImage event: procedure TForm3.RichViewEdit1HTMLSaveImage(Sender: TCustomRichView; RVData: TCustomRVData; ItemNo: Integer; const Path: String; BackgroundColor: TColor; var Location: String; var DoDefault: Boolean); var F...
by Sergey Tkachenko
Fri Sep 14, 2007 4:48 pm
Forum: Support
Topic: How to get the size in pixels of the Blue bar when selecting
Replies: 4
Views: 11895

I remember your question how to scroll to the selection in TRichView.
Please wait, I'll create an example.
by Sergey Tkachenko
Fri Sep 14, 2007 4:29 pm
Forum: Support
Topic: Save HTML
Replies: 6
Views: 19111

No, modifying tags for text item attributes is not supported.
Yes, you can try to use OnSaveItemToFile to add new tags for text items.
But this is a low-level event, please read the help file very carefully.
by Sergey Tkachenko
Fri Sep 14, 2007 4:26 pm
Forum: Support
Topic: Text style which does not define (e.g.) font size
Replies: 2
Views: 9965

This feature is not supported yet.
You can use ModifiedProperties property of text style to implement a command like this (this property is not used in the current version).
But each text is formatted with the specific text style. It must have all properties defined, otherwise how can it be displayed?
by Sergey Tkachenko
Tue Sep 11, 2007 7:18 pm
Forum: Support
Topic: rvEdit / rvStyle / rvPrint: Problem with tabs (DefTabWidth)
Replies: 2
Views: 9624

Sorry, it cannot be fixed. Sometimes text on screen and on printer have slightly different heights. Usually it's not a big problem, except for possible misalignment of of tabs, as you can see. Solutions: - use tables instead of tabs to align text in columns; - or you can use WYSIWYG component, Scale...
by Sergey Tkachenko
Mon Sep 10, 2007 4:27 pm
Forum: ScaleRichView
Topic: Does the ScaleRichView Full (non-Trial) Version look better?
Replies: 4
Views: 18924

Ilya said that output will look better in future version. But this is not a simple change, and it cannot be done very soon. It will take several months.
by Sergey Tkachenko
Mon Sep 10, 2007 4:10 pm
Forum: Support
Topic: Image path when HTML saving(Pls hep me :(()
Replies: 7
Views: 16131

In order to store file names for pictures inserted by rvActionInsertPicture1, set rvActionInsertPicture1.StoreFileName = True (RichViewActions version v1.53 or newer is required). In order to store file names for pictures inserted with RTF, set RichViewEdit1.RTFReadProperties.StoreImagesFileNames = ...