Search found 7385 matches

by Sergey Tkachenko
Wed Apr 25, 2018 1:24 pm
Forum: Examples, Demos
Topic: Updating this forum to version 17.3
Replies: 0
Views: 15

Updating this forum to version 17.3

We are working to update all demo projects and code samples posted here. We are updating them for compatibility with TRichView 17.3 . In this version of TRichView, all strings were changed to TRVUnicodeStrings (i.e. to UnicodeString/WideString, depending on Delphi version), and this change requires ...
by Sergey Tkachenko
Wed Apr 25, 2018 1:02 pm
Forum: RVMedia
Topic: ANN: RVMedia 5.3 beta
Replies: 2
Views: 543

Re: ANN: RVMedia 5.3 beta

Sorry, no FM version yet.
Our plans:
- return Lazarus and Linux compatibility and release that version as RVMedia 6
- FireMonkey for Windows

Version for Android is planned too, but not in near future.
by Sergey Tkachenko
Sat Apr 21, 2018 7:11 pm
Forum: Support
Topic: save TDBRichViewEdit configuration
Replies: 3
Views: 65

Re: save TDBRichViewEdit configuration

TRichView does not use these properties for printing. They are used only for saving and loading in documents (RVF, RTF, DocX). For printing, properties of TRVPrint are used (such as margins) and properties of the current printer (such as page size and orientation). Here is how to store page informat...
by Sergey Tkachenko
Sat Apr 21, 2018 2:07 pm
Forum: Examples, Demos
Topic: PDF manuals
Replies: 1
Views: 1600

Re: PDF manuals

by Sergey Tkachenko
Sat Apr 21, 2018 12:50 pm
Forum: Examples, Demos
Topic: [Example] Document structure as a tree
Replies: 7
Views: 33131

Re: [Example] Document structure as a tree

Code for TRichView 17.3 and newer: procedure ShowStructure(RVData: TCustomRVData; Node: TTreeNode); var i, StyleNo: Integer; ParaNode, ItemNode: TTreeNode; function GetExtraBreakProps(i: Integer): String; begin if RVData.PageBreaksBeforeItems[i] then begin Result := '; page break'; exit; end; if RVD...
by Sergey Tkachenko
Sat Apr 21, 2018 12:20 pm
Forum: Support
Topic: dashed/dotted line rather than solid for borders
Replies: 2
Views: 55

Re: dashed/dotted line rather than solid for borders

Sorry, dashed and dotted borders are not supported yet (they are supported only in "breaks" - horizontal lines).

The only solution is custom drawing in events.
For tables and cells: table.OnDrawBorder
For paragraphs: TRVStyle.OnDrawParaBack
For text: TRVStyle.OnDrawTextBack
by Sergey Tkachenko
Fri Apr 20, 2018 3:50 pm
Forum: Support
Topic: save TDBRichViewEdit configuration
Replies: 3
Views: 65

Re: save TDBRichViewEdit configuration

Do you want to store information specified in DBRichView.DocParameters?
by Sergey Tkachenko
Thu Apr 19, 2018 10:08 am
Forum: Support
Topic: Import docx file with comment
Replies: 3
Views: 40

Re: Import docx file with comment

Our components do not support comments, sorry.
by Sergey Tkachenko
Wed Apr 18, 2018 6:31 pm
Forum: Support
Topic: Installation problem
Replies: 9
Views: 169

Re: Installation problem

Normal Architect edition of Delphi must have correct command line compilers. As I said, you can check it by running c:\Program Files (x86)\Embarcadero\Studio\19.0\bin\DCC32.EXE and seeing what it writes. Only Starter or trial editions have non-working command line compilers. If you have a licensed (...
by Sergey Tkachenko
Wed Apr 18, 2018 3:55 pm
Forum: Examples, Demos
Topic: [Example] Typing opening and closing quotes
Replies: 3
Views: 19968

Re: [Example] Typing opening and closing quotes

This code is for TRichView 17.3 and newer. uses RVTypes, CRVData, RVUni; function GetQuote(rve: TCustomRichViewEdit; Ch: TRVUnicodeChar): TRVUnicodeChar; var ItemNo1, Offs1: Integer; DelimBefore: Boolean; Lang: Cardinal; OpeningQuote: TRVUnicodeChar; {..........................................} // R...
by Sergey Tkachenko
Wed Apr 18, 2018 2:36 pm
Forum: Support
Topic: Installation problem
Replies: 9
Views: 169

Re: Installation problem

Maybe you use a trial version of Delphi? AFAIK, it does not support command line compilers as well, and you need to install packages manually in IDE. I can suggest to do 3 things: 1) Maybe, for some unknown reason, bpl files were created in a different folder. Search your hard drive for RVPkg*.bpl 2...
by Sergey Tkachenko
Wed Apr 18, 2018 12:22 pm
Forum: Examples, Demos
Topic: [Unit] Adding a table of contents
Replies: 22
Views: 73387

Re: [Unit] Adding a table of contents

I updated the demos for compatibility with TRichView 17.3 Here is a brief overview of available "table of context demo projects": 1. Adding TOC in TRichView, pages are calculated according to TRVPrint settings. Alternatively, adding TOC in TRVReportHelper, using the specified PageWidth and PageHeigh...
by Sergey Tkachenko
Wed Apr 18, 2018 8:13 am
Forum: Support
Topic: Installation problem
Replies: 9
Views: 169

Re: Installation problem

Click menu "Component | Install Packages". Find TRichView packages in the list. Click one of them. Below the list, you will see the full package file name, including the path, where it is expected to be.
by Sergey Tkachenko
Wed Apr 18, 2018 7:54 am
Forum: Support
Topic: Installation problem
Replies: 9
Views: 169

Re: Installation problem

When you start RAD Studio IDE, it displays a splash screen which shows which items are being loaded. It displays items like "Embarcadero(r) Delphi XE7 Enterprise", where "Enterprise" is a Delphi edition. It may be Enterprise, Professional, Starter, etc. Also, you can click the menu item "Help | Abou...