Search found 7612 matches

by Sergey Tkachenko
Thu Sep 08, 2005 8:36 pm
Forum: Support
Topic: gif image
Replies: 7
Views: 8881

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: 18643

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: 8492

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: 6959

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: 6594

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: 64821

:?: 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: 64821

:?: 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: 64821

:?: 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: 64821

:?: 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: 64821

:?: 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: 64821

[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: 8544

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: 7629

I need some time to review this problem. I'll answer later this week.
by Sergey Tkachenko
Wed Sep 07, 2005 1:02 pm
Forum: Support
Topic: Request for new action.
Replies: 3
Views: 8544

As far as I understand, TrvActionInsertSymbol does what you want (menu Insert | Symbol)
by Sergey Tkachenko
Wed Sep 07, 2005 1:00 pm
Forum: Support
Topic: Xhtml missing from Save(As)Action?
Replies: 1
Views: 6701

Since it's only export, not import, HTML saving functions are available only in the TrvActionExport. And this action was implemented before XHTML support, so it does have separate items in the file filter for it. You can save either HTML or XHTML using this action, depending on rvActionExport.SaveOp...