Search found 9411 matches
- Tue Jan 15, 2008 3:57 pm
- Forum: Support
- Topic: DocProperties should not be loaded
- Replies: 1
- Views: 8043
I cannot reproduce copying of DocProperties if rvfoLoadDocProperties is excluded from rv.RVFOptions. But if you call rv.LoadRVFFromStream, rv.DocProperties will be cleared, because rv.LoadRVFFromStream calls rv.Clear, and rv.Clear clears rv.DocProperties. So if you need to store them after call of C...
- Tue Jan 15, 2008 3:41 pm
- Forum: Support
- Topic: Always unable to export to MS Word
- Replies: 39
- Views: 105303
- Tue Jan 15, 2008 3:39 pm
- Forum: Support
- Topic: RichViewEdit1.Paste doesn't work inside the table cell.
- Replies: 5
- Views: 14426
- Tue Jan 15, 2008 3:37 pm
- Forum: Support
- Topic: Selection bounds and Unicode text
- Replies: 3
- Views: 11627
- Sat Jan 12, 2008 1:38 pm
- Forum: Support
- Topic: TEdit and resizing
- Replies: 3
- Views: 11174
You can assign this code to OnChange of TEdits: procedure TForm1.OnControlChange(Sender: TObject); var txt: TEdit; begin txt := (Sender as TEdit); Canvas.Font := txt.Font; txt.ClientWidth := Canvas.TextWidth(txt.Text)+6; RichViewEdit1.AdjustControlPlacement2(txt); end; (do not forget to reassign it ...
- Sat Jan 12, 2008 11:09 am
- Forum: Support
- Topic: TEdit Control and Font
- Replies: 6
- Views: 16242
- Sat Jan 12, 2008 11:06 am
- Forum: Support
- Topic: I have an question about TRichViewEdit
- Replies: 26
- Views: 48152
- Sat Jan 12, 2008 11:05 am
- Forum: Support
- Topic: How to save selectionbound for future use
- Replies: 1
- Views: 8367
- Thu Jan 10, 2008 4:45 pm
- Forum: Support
- Topic: How to save table background img original path+name in HTML
- Replies: 6
- Views: 15003
Do you use this code: procedure TForm3.RichViewEdit1HTMLSaveImage(Sender: TCustomRichView; RVData: TCustomRVData; ItemNo: Integer; const Path: String; BackgroundColor: TColor; var Location: String; var DoDefault: Boolean); var FileName: String; begin if (ItemNo>=0) and RVData.GetItemExtraStrProperty...
- Thu Jan 10, 2008 4:32 pm
- Forum: Support
- Topic: Off-screen rendering
- Replies: 3
- Views: 11318
- Thu Jan 10, 2008 12:46 pm
- Forum: Support
- Topic: Off-screen rendering
- Replies: 3
- Views: 11318
In the latest version (available for registered users), TRVReportHelper does not require forms (can be created without parent or placed on datamodule). But I doubt that VCL components can work in thread properly. As for the paragraph coordinates, can you explain what you want to implement? I'll try ...
- Wed Jan 09, 2008 5:04 pm
- Forum: Support
- Topic: Bounds checking for TRichViewEdit.
- Replies: 2
- Views: 9035
- Wed Jan 09, 2008 4:58 pm
- Forum: Support
- Topic: Adding to image path when exporting
- Replies: 1
- Views: 7578
Continued here: http://www.trichview.com/forums/viewtopic.php?t=2227
- Wed Jan 09, 2008 4:56 pm
- Forum: Support
- Topic: How to save table background img original path+name in HTML
- Replies: 6
- Views: 15003
But I think you should check if FileName is a full local path (do not add 'file://' to relative paths and to internet addresses).
For example,
For example,
Code: Select all
if (Length(FileName)>=2) and (FileName[2]=':') then ...
- Wed Jan 09, 2008 4:48 pm
- Forum: Support
- Topic: How to save table background img original path+name in HTML
- Replies: 6
- Views: 15003
Your code work for table background. For table cells: if (ItemNo=-1) and (RVData.GetSourceRVData is TRVTableCellData) then begin FileName := TRVTableCellData(RVData.GetSourceRVData).BackgroundImageFileName; if FileName<>'' then begin Location := 'file://' + FileName; DoDefault := False; end; end; Fo...