Search found 20 matches

by AXSchmidt
Fri Mar 15, 2013 12:45 pm
Forum: Support
Topic: AddPictureEx at the right position - not to the end
Replies: 2
Views: 12133

and is it posible to take over the align (=center) from aText?
by AXSchmidt
Fri Mar 15, 2013 12:33 pm
Forum: Support
Topic: AddPictureEx at the right position - not to the end
Replies: 2
Views: 12133

AddPictureEx at the right position - not to the end

Im searching a text (aText) in a RVReportHelper.RichView.RVData (aRVData) and try to replace it with an image (from aFileName). But my procedure puts the image to the end of the document... what can i use to insert the pic at the right position? procedure RVImportPic(aRVData: TCustomRVData ...
by AXSchmidt
Tue Feb 26, 2013 1:13 pm
Forum: Support
Topic: LoadRTF has bad Image quality
Replies: 2
Views: 11054

LoadRTF has bad Image quality

RichViewReportHelper.RichView.LoadRTF(filename);

If template file has an image, the quality of the image in the PrintPreview is clearly badly.

Do you know this problem? How can i fix it?
by AXSchmidt
Tue Feb 19, 2013 7:34 am
Forum: Support
Topic: Printer Orientation after LoadRTF
Replies: 7
Views: 22566

Problem solved

Code: Select all

if RVRHMain.RichView.DocParameters.PageWidth > RVRHMain.RichView.DocParameters.PageHeight then
instead of

Code: Select all

if RVRHMain.RichView.Width > RVRHMain.RichView.Height then
by AXSchmidt
Mon Feb 18, 2013 1:36 pm
Forum: Support
Topic: Printer Orientation after LoadRTF
Replies: 7
Views: 22566

pleased too early I've RVRHMain.RichView.RTFReadProperties.ReadDocParameters := True; RVRHMain.RichView.LoadRTF(dateiname); if RVRHMain.RichView.Width > RVRHMain.RichView.Height then begin if RVRHMain.RichView.DocParameters.Orientation = poPortrait then Printer.Orientation := poLandscape else ...
by AXSchmidt
Mon Feb 18, 2013 1:18 pm
Forum: Support
Topic: Printer Orientation after LoadRTF
Replies: 7
Views: 22566

Thks!

It work's 8)

But i think you mean:

Code: Select all

if rv.Width>rv.Height then 
cause rv.docparameters dont have width & height!? :?
by AXSchmidt
Fri Feb 15, 2013 1:34 pm
Forum: Support
Topic: Printer Orientation after LoadRTF
Replies: 7
Views: 22566

yes, im sure...

in your demo
\Demos\Delphi\Assorted\Printing\Headers
the orientation is not adopted, too
by AXSchmidt
Fri Feb 15, 2013 1:31 pm
Forum: Support
Topic: Save RichView with Header and Footer doesnt work
Replies: 2
Views: 11727

i created a new projext with the same load and save procedures, now it works!

i changed the three visual TRichView with the "newer" one, now the old projects works, too.

thanks for your effort
by AXSchmidt
Fri Feb 15, 2013 12:26 pm
Forum: Support
Topic: Printer Orientation after LoadRTF
Replies: 7
Views: 22566

Printer Orientation after LoadRTF

Is it possible to get the orientation after LoadRTF?

Code: Select all

      RichVReportHelper.RichView.LoadRTF(filename);
      Printer.Orientation := RichVReportHelper.RichView.DocParameters.Orientation;
by AXSchmidt
Fri Feb 15, 2013 12:02 pm
Forum: Support
Topic: Save RichView with Header and Footer doesnt work
Replies: 2
Views: 11727

Save RichView with Header and Footer doesnt work

I try to safe a rtf document RichViewMain.RTFOptions := RichViewMain.RTFOptions+[rvrtfSaveHeaderFooter]; RichViewMain.RTFReadProperties.SetHeader(RichViewHeader.RVData); RichViewMain.RTFReadProperties.SetFooter(RichViewFooter.RVData); RichViewMain.SaveRTF(FFileName, False); But in the saved file ...
by AXSchmidt
Wed Feb 06, 2013 12:33 pm
Forum: Support
Topic: take on format from RTF-File to ReportHelper to RichView
Replies: 1
Views: 9311

take on format from RTF-File to ReportHelper to RichView

Hi, Im loading a RTF file to a ReportHelper. After that I copy from ReportHelper to RichView. How is it possible to take on the formatting of the RTF document? // Load File in ReportHelper TRVReportHelper.RichView.Clear; TRVReportHelper.RichView.DeleteUnusedStyles(True,True,True); TRVReportHelper ...
by AXSchmidt
Mon Feb 04, 2013 12:22 pm
Forum: Support
Topic: How to get Header/Footer by TRVReportHelper
Replies: 1
Views: 9338

Problem solved!

I forgot: RVTmp.Clear;
before second and third "SaveRVFToStream"

thx
by AXSchmidt
Mon Feb 04, 2013 11:54 am
Forum: Support
Topic: How to get Header/Footer by TRVReportHelper
Replies: 1
Views: 9338

How to get Header/Footer by TRVReportHelper

I want to Load a rtf Document in three RVReportHelper (Main, Header & Footer). After that I want to show it on a Dialog (TQDARTFDialogDlg) with three RichViews on it. But in RichViewHeader / RichViewFooter i get the whole Document. What have I missed? procedure TForm1.Button1Click(Sender: TObject ...
by AXSchmidt
Mon Dec 10, 2012 9:24 am
Forum: Support
Topic: How to SearchText in RVReportHelper.RichView?
Replies: 4
Views: 15279

i would be nice to have both functions
by AXSchmidt
Mon Dec 10, 2012 8:49 am
Forum: Support
Topic: How to SearchText in RVReportHelper.RichView?
Replies: 4
Views: 15279

i want to find for example a text in a table and get the row.