Search found 9424 matches

by Sergey Tkachenko
Thu Sep 08, 2005 8:25 pm
Forum: Support
Topic: Displaying a document to directly to a canvas?
Replies: 2
Views: 16533

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

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

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

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

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

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

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

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

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

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

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

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...
by Sergey Tkachenko
Wed Sep 07, 2005 11:19 am
Forum: Examples, Demos
Topic: [Component] Using Shockwave Flash ActiveX in RichView
Replies: 22
Views: 288357

[Component] Using Shockwave Flash ActiveX in RichView

Using Shockwave Flash ActiveX in RichView.
You can play SWF movies just in RichView documents, save/load them in RVF, export to HTML.

Download
http://www.trichview.com/support/files/rvswf.zip
and read readme.txt
by Sergey Tkachenko
Wed Sep 07, 2005 9:52 am
Forum: Examples, Demos
Topic: [Demo] Dual editor for translators
Replies: 12
Views: 153531

This demo does not modify the second editor, if the text in the first editor is changed. It only highlights paragraph with the same index.
by Sergey Tkachenko
Wed Sep 07, 2005 9:43 am
Forum: Examples, Demos
Topic: [How to] How to make Unicode editor
Replies: 2
Views: 56764

[How to] How to make Unicode editor

This information is about TRichView versions prior to 11. Information about TRichView 11 and newer is in the next post. 1) Set Unicode property to True for all TextStyles in TRVStyle 2) Set RichViewEdit1.RTFReadProperties.UnicodeMode = rvruOnlyUnicode 3) Some methods cannot be used if the document ...