Search found 9429 matches

by Sergey Tkachenko
Fri Sep 09, 2005 7:17 am
Forum: Support
Topic: gif image
Replies: 7
Views: 27732

Update it to the newer version
by Sergey Tkachenko
Thu Sep 08, 2005 8:39 pm
Forum: Support
Topic: Slow adding new items into table cells
Replies: 4
Views: 22465

Do you mean inserting?

After insertion, it's necessary to reformat the changed part of document. It may be the whole table, in case of insertion inside cell.

What are you trying to implement? May be there are more efficient ways to do it.
by Sergey Tkachenko
Thu Sep 08, 2005 8:36 pm
Forum: Support
Topic: gif image
Replies: 7
Views: 27732

1) Include RVGifAnimate unit in the project or in the uses clause of one of your units 2) Set rich.AnimationMode=rvaniOnFormat And do not call Format after Insert*** methods. They are editing-style methods, they reformat the changed part of document themselves. In this case, Format only slows down t...
by Sergey Tkachenko
Thu Sep 08, 2005 8:31 pm
Forum: Support
Topic: OpenDocument support
Replies: 17
Views: 58432

Currently it's not planned. May be plans will be changed.
by Sergey Tkachenko
Thu Sep 08, 2005 8:28 pm
Forum: Support
Topic: ApplyStyleConversion not working?
Replies: 2
Views: 19007

ApplyStyleConversion calls OnStyleConversion event for each selected text item, passing its parameter (TEXT_BOLD in your case) as one of parameters to this event.
If you do not process this event, ApplyStyleConversion will do nothing. Example can be found in Demos\Editors\Editor 2\
by Sergey Tkachenko
Thu Sep 08, 2005 8:25 pm
Forum: Support
Topic: Displaying a document to directly to a canvas?
Replies: 2
Views: 16534

Yes, you need TRVReportHelper.

Examples can be found in TRichView demos (Demos\Delphi\)

Example how to draw TRichView in image:
Assorted\Graphics\ToImage\

Example how to draw in TDBGrid:
DB Demo\3 DBGrid\

As I understand, the last example is almost exactly what you need.
by Sergey Tkachenko
Thu Sep 08, 2005 7:59 pm
Forum: Support
Topic: Printing question
Replies: 1
Views: 14234

I created a little FAQ about printing, I hope you'll find an answer there:
http://www.trichview.com/forums/viewtopic.php?p=255
by Sergey Tkachenko
Thu Sep 08, 2005 7:56 pm
Forum: Examples, Demos
Topic: [How to] How to print 2 documents in one printing job, etc.
Replies: 14
Views: 108342

:?: How to print the selected fragment There are no functions for printing the selection. The only way to do it is to copy it to the separate (hidden) RichView and to print it. var Stream: TMemoryStream; // copying the selection Stream := TMemoryStream.Create; try rvSource.SaveRVFToStream(Stream, Tr...
by Sergey Tkachenko
Thu Sep 08, 2005 7:50 pm
Forum: Examples, Demos
Topic: [How to] How to print 2 documents in one printing job, etc.
Replies: 14
Views: 108342

:?: How to print without background?

Set RVPrint.TransparentBackground = True. Background color will not be painted.
Call RVPrint.rv.BackgroundBitmap := nil after calling RVPrint.AssignSource. Background bitmap will not be printed.
by Sergey Tkachenko
Thu Sep 08, 2005 7:47 pm
Forum: Examples, Demos
Topic: [How to] How to print 2 documents in one printing job, etc.
Replies: 14
Views: 108342

:?: How to print the chosen pages, for example 1, 3, 4, 5, 23? procedure PrintSomePages(const Title: String; RVPrint: TRVPrint; const Pages: array of Integer); var i: Integer; begin Printer.Title := Title; Printer.BeginDoc; for i := Low(Pages) to High(Pages) do begin if i<>Low(Pages) then Printer.Ne...
by Sergey Tkachenko
Thu Sep 08, 2005 7:45 pm
Forum: Examples, Demos
Topic: [How to] How to print 2 documents in one printing job, etc.
Replies: 14
Views: 108342

:?: How to mix portrait and landscape orientation? You need to separate your document in two (or more) parts - one with portrait orientation, and one with landscape orientation. Printer.BeginDoc; Printer.Orientation := ...; RVPrint1.ContinuousPrint; Printer.NewPage; Printer.Orientation := ...; RVPri...
by Sergey Tkachenko
Thu Sep 08, 2005 7:42 pm
Forum: Examples, Demos
Topic: [How to] How to print 2 documents in one printing job, etc.
Replies: 14
Views: 108342

:?: How to change paper orientation?

Change Printer.Orientation to poLandscape (or poPortrait) before calling RVPrint.FormatPages.

(Printer is defined in the Printers unit)
by Sergey Tkachenko
Thu Sep 08, 2005 7:40 pm
Forum: Examples, Demos
Topic: [How to] How to print 2 documents in one printing job, etc.
Replies: 14
Views: 108342

[How to] How to print 2 documents in one printing job, etc.

:?: How to print more than one document in one printing job? :?: How to print two documents on one page? Printer.BeginDoc; RVPrint.StartAt := 0; RVPrint.TransparentBackground := True; RVPrint.AssignSource(RichView1); RVPrint.FormatPages(rvdoALL); RVPrint.ContinuousPrint; RVPrint.StartAt := RVPrint.E...
by Sergey Tkachenko
Thu Sep 08, 2005 5:50 pm
Forum: Support
Topic: Request for new action.
Replies: 3
Views: 21452

May be, when I will have time for it.
Or may be some user will contribute his improvements in this action :)
by Sergey Tkachenko
Wed Sep 07, 2005 4:24 pm
Forum: Support
Topic: Richview report builder wrapper problem
Replies: 2
Views: 17902

I need some time to review this problem. I'll answer later this week.