Search found 21 matches

by alanmcd
Fri Oct 29, 2021 1:36 am
Forum: Support
Topic: Default Font Size 8 point - need default 9 point Question
Replies: 3
Views: 7911

Re: Default Font Size 8 point - need default 9 point Question

Hmm, OK well I have decided to do it this way: DBRichViewEdit1.DeleteUnusedStyles(True, True, True); for I := 0 to RVStyleEstimateItems.TextStyles.Count-1 do begin if (RVStyleEstimateItems.TextStyles.Items[i].Size<9) then RVStyleEstimateItems.TextStyles[i].Size:=9; end; And I do that when I save my ...
by alanmcd
Thu Oct 28, 2021 6:22 am
Forum: Support
Topic: Default Font Size 8 point - need default 9 point Question
Replies: 3
Views: 7911

Default Font Size 8 point - need default 9 point Question

Searched here but no answer: I have a DBRichViewEdit with a RVStyles attached. RVStyles has some TextStyles set, one of which is '0 - Normal Text' with SizeDouble set to 18 Now - I can insert an item (e.g. table) and beforehand search for and add a missing font size 9 - no problems there. But for ...
by alanmcd
Thu Feb 03, 2011 10:11 am
Forum: Support
Topic: Does RichViewEdit had some property to get it's plain text?
Replies: 5
Views: 21902

sorry - should have been LoadRTFFromStream
Alan
by alanmcd
Thu Feb 03, 2011 10:04 am
Forum: Support
Topic: Does RichViewEdit had some property to get it's plain text?
Replies: 5
Views: 21902

The field has a value - I can showmessage the value. The function is: function TMEProjectSelect.LoadRVFFromField(rv: TCustomRichView; qry: TIB_Query; const FieldName: String): Boolean; var Stream: TStream; begin Stream := qry.CreateBlobStream(qry.FieldByName(FieldName), bsmRead); try Result := rv ...
by alanmcd
Thu Feb 03, 2011 6:19 am
Forum: Support
Topic: Does RichViewEdit had some property to get it's plain text?
Replies: 5
Views: 21902

If I just do this from a form var sItemDes: String; begin sItemDes := GetAllText(frmeMEItemList1.DBRichViewEdit1); Showmessage(sItemDes); end; I see the text excluding format codes which is what I want. But if I do this via code: LoadRVFFromField(rvHidden, SchoolDB.IB_QItemListExport, 'RVDESCRIPTION ...
by alanmcd
Mon Jun 23, 2008 11:59 am
Forum: Support
Topic: Gnostice RichView Export interface
Replies: 10
Views: 28073

Sergey, Gnostice have just sent me a couple of files which fixes this. It makes a big difference. I see many other posts here with a similar issue where bold text runs into non-bold text which follows it and wrapping issues and margin clipping. It's all fixed. Hopefully Gnostice get the fix out ...
by alanmcd
Mon Jun 16, 2008 12:37 am
Forum: Support
Topic: Gnostice RichView Export interface
Replies: 10
Views: 28073

I have been testing all this with RVReportHelper instead of RVPrint. It works better, but of course the canvas object is different and so the margins and footer header setup is more complicated. I'd rather use the RVPrint to do it. I still can't work out why the rendering of the RVPrint object to ...
by alanmcd
Wed Jun 11, 2008 1:57 pm
Forum: Support
Topic: Gnostice RichView Export interface
Replies: 10
Views: 28073

Gnostice support have asked for a demo app. I hope you don't mind, I've added the gnostice render call to your Editor1 Delphi sample app and sent that to them.
It clearly shows the output rendering is different from printer to printer (text overrunning).
Alan
by alanmcd
Tue Jun 10, 2008 11:00 am
Forum: Support
Topic: Gnostice RichView Export interface
Replies: 10
Views: 28073

Sergey, They offer both methods: procedure RenderDocument(ARVPrint: TRVPrint; IsFormatted: Boolean); overload; procedure RenderDocument(ARVHelper: TRVReportHelper); overload; But it seems to me from looking at their source that they need to make the call to FormatPages after they assign the new ...
by alanmcd
Tue Jun 10, 2008 10:47 am
Forum: Support
Topic: Gnostice RichView Export interface
Replies: 10
Views: 28073

Thanks Sergey, I'll wait patiently on your review. I'd like to get this sorted ASAP. BTW here's my help file of march 08 http://www.meta.com.au/rvprintproperties.jpg So sorry - I was looking in the component list but it's in CustomRVPrint. Anyway - the upgraded color component icons I see in the ...
by alanmcd
Mon Jun 09, 2008 11:27 pm
Forum: Support
Topic: Gnostice RichView Export interface
Replies: 10
Views: 28073

OK - RVPrint.PreviewCorrection property is not documented. But if I set it to False, the preview and printing of the document is the same as the gnostice rendering (i.e. the margins are clipped because the formatting of the font is incorrect, bold text overruns adjacent non-bold text etc). If I set ...
by alanmcd
Mon Jun 09, 2008 10:51 pm
Forum: Support
Topic: Gnostice RichView Export interface
Replies: 10
Views: 28073

This is the Gnostice reply: Hello Alan, We would like to mention that the problem seems to be 'RVPrint' and its corresponding printer settings. We request you contact TRichView support team to get this report file previewed correctly using 'RVPrintPreview', so that it can be properly rendered to PDF ...
by alanmcd
Mon Jun 09, 2008 5:16 am
Forum: Support
Topic: Gnostice RichView Export interface
Replies: 10
Views: 28073

Gnostice RichView Export interface

I've just upgraded to V10. I am also using gnostice and the export interface. I've noticed that while rendering the document for some printers (both my HP Laser and Photosmart) on screen appears fine and print fine. The saving of the document as a pdf via the export interface, however, is not ...
by alanmcd
Mon Jun 09, 2008 2:03 am
Forum: Support
Topic: More than 1 Richview page on 1 pdf page using eDocEngine
Replies: 5
Views: 18492

if you create separate pdf files for each page or yor report, you can then pickj each page upagain and stitch them together into one pdf using gnostice pdftoolkit. It's very simple. (and fast) so noone would know you are using this method of temp files.
Alan
by alanmcd
Sat May 31, 2008 12:21 am
Forum: Support
Topic: class not found TrvActionAddictSpell3
Replies: 9
Views: 24134

hmmm, that class is compiled (or not) into richviewactions.dcu so if I search for this file I should find duplicates if they exist. correct? But when I do, there are no duplicates. As I said, I have never used actions WITHOUT addict switched on so I can't even understand how a dcu could be built ...