Search found 7026 matches

by Sergey Tkachenko
Sat Jun 24, 2017 6:05 pm
Forum: Support
Topic: How to change the equation editor's font?
Replies: 2
Views: 29

Re: How to change the equation editor's font?

In the current version, the memo font is the same as the font of other dialog controls.
It can be changed in RVAControlPanel.DialogFontSize property.
By default, it is 8.
It seems RichViewActions dialog are OK, if font size = 9 for English text.
by Sergey Tkachenko
Fri Jun 23, 2017 4:42 pm
Forum: Support
Topic: bubble chat window possible ?
Replies: 4
Views: 1854

Re: bubble chat window possible ?

Do you need an example of implementation of "Style 5" from that page?
by Sergey Tkachenko
Fri Jun 23, 2017 4:29 pm
Forum: Support
Topic: Get height of remaining space on page
Replies: 1
Views: 14

Re: Get height of remaining space on page

I answered there: viewtopic.php?f=12&t=8785&p=33403#p33403

It took some time because I had to write code.
by Sergey Tkachenko
Fri Jun 23, 2017 4:28 pm
Forum: ScaleRichView
Topic: Get height of remaining space on page
Replies: 2
Views: 45

Re: Get height of remaining space on page

function GetFreeSpaceAtTheEndOfPage(srv: TSRichViewEdit; PageNo: Integer): Integer; var ItemNo, Offs, Part, PageNo1, PageNo2: Integer; rve: TCustomRichViewEdit; R: TRect; begin Result := 0; if (PageNo < 1) or (PageNo > srv.PageCount) then exit; rve := srv.RichViewEdit; // getting the last item on t...
by Sergey Tkachenko
Thu Jun 22, 2017 9:33 am
Forum: Support
Topic: ScaleRichViewEdit - line spacing are changed after tab
Replies: 3
Views: 56

Re: ScaleRichViewEdit - line spacing are changed after tab

Yes, it is solvable.
In the current version, text is measured on a high-resolution canvas, while tab height is still measured on a screen canvas.
I changed, now the both of them are measure on a high-resolution canvas, and the results are identical.
by Sergey Tkachenko
Wed Jun 21, 2017 1:53 pm
Forum: Support
Topic: ScaleRichViewEdit - line spacing are changed after tab
Replies: 3
Views: 56

Re: ScaleRichViewEdit - line spacing are changed after tab

I confirm the problem. A difference may be 1 pixel due to rounding errors. It will be fixed in the next update.
by Sergey Tkachenko
Wed Jun 21, 2017 11:07 am
Forum: Support
Topic: ScaleRichViewEdit - different gaps between characters
Replies: 2
Views: 38

Re: ScaleRichViewEdit - different gaps between characters

In TRichViewEdit/TRVPrint, text is formatted for perfect displaying in the specified screen/printer resolution. However, it's not possible to implement WYSIWYG in this way. In ScaleRichView, text is formatted on a off-screen hi-resolution canvas, and then drawn stretched on screen/printer. Unfortuna...
by Sergey Tkachenko
Tue Jun 20, 2017 7:00 pm
Forum: Examples, Demos
Topic: [Example] DeleteBlankLines, RemoveParagraphBreaks, etc.
Replies: 16
Views: 55454

Re: [Example] DeleteBlankLines, RemoveParagraphBreaks, etc.

Use CanUpdate:

Code: Select all

  SRichViewEdit1.CanUpdate := False;
  DeleteBlankLines(SRichViewEdit1.ActiveEditor.RVData);
  SRichViewEdit1.ActiveEditor.ClearUndo;
  SRichViewEdit1.Format;
  SRichViewEdit1.CanUpdate := True;
by Sergey Tkachenko
Mon Jun 19, 2017 11:18 am
Forum: Support
Topic: I can'n to win the margins in preview
Replies: 9
Views: 166

Re: I can'n to win the margins in preview

How to change paper size. TRVPrint uses settings of the current printer. They are returned by the global Printer function. To change paper orientation (portrait/landscape), assign Printer.Orientation property. As for changing page format, it's more difficult, we need to use WinAPI functions. uses Pr...
by Sergey Tkachenko
Mon Jun 19, 2017 10:18 am
Forum: Support
Topic: I can'n to win the margins in preview
Replies: 9
Views: 166

Re: I can'n to win the margins in preview

About TRichView.DocParameters. DocParameters are used to store page information in files, in RTF, DocX and RVF formats, see additional notes in the help topic . It is not used for printing. Only RVPrint properties (like Margins) are important, and also a page size of the current printer (see notes a...
by Sergey Tkachenko
Sun Jun 18, 2017 11:35 am
Forum: Announcements
Topic: TRichView 16.15 - equation editor
Replies: 4
Views: 1080

Re: TRichView 16.15 - equation editor

TRichView installer has been updated to version 16.15.4 In this update, we used our own trial generation utility instead of third-party tools. Everything was double- and triple-tested, but if you find any problem, please inform me. Changes in this update: SrvDxSkin is included in the setup (in Third...
by Sergey Tkachenko
Sun Jun 18, 2017 8:26 am
Forum: Support
Topic: I can'n to win the margins in preview
Replies: 9
Views: 166

Re: I can'n to win the margins in preview

This is the correct result. Printers have "physical margins": they cannot print too close to sheet edges, and the preview shows it.
If you change RVPrint1->FixMarginsMode back to rvfmmAutoCorrect, RVPrint1 sets margins to minimal values (physical margins) preventing this problem.
by Sergey Tkachenko
Sat Jun 17, 2017 8:33 pm
Forum: Support
Topic: how to upload image to server and paste url as the picture to rve?
Replies: 2
Views: 65

Re: how to upload image to server and paste url as the picture to rve?

Sorry, I do not understand the question.

Do you want to insert picture located on a web server to TRichViewEdit? In this case, see viewtopic.php?f=3&t=5247

Or do you want to generate HTML containing references to images on a web server?
by Sergey Tkachenko
Sat Jun 17, 2017 10:19 am
Forum: Support
Topic: Create lists from code
Replies: 1
Views: 65

Re: Create lists from code

Use SetListMarkerInfo(-1, ...) instead of AddItem.
by Sergey Tkachenko
Wed Jun 14, 2017 8:30 am
Forum: Support
Topic: programmatically adding subscripted string
Replies: 4
Views: 110

Re: programmatically adding subscripted string

The second and the third string in the line must be added with -1 in ParaNo parameter of AddNLWtag.

PS: before adding content to a cell, clear it: Cell.Clear.