Search found 9411 matches
- Sun Dec 24, 2006 7:18 am
- Forum: Support
- Topic: How to get the text of first line
- Replies: 3
- Views: 11743
uses CRVData, RVTable; function GetFirstLineText(RVData: TCustomRVData): String; var i: Integer; begin i := 0; if RVData.GetItemStyle(i)=rvsListMarker then inc(i); if RVData.GetItemStyle(i)=rvsTable then Result := GetFirstLineText(TRVTableItemInfo(RVData.GetItem(i)).Cells[0,0].GetRVData) else begin...
- Sat Dec 23, 2006 9:22 pm
- Forum: Support
- Topic: TrichviewEdit and blob stream
- Replies: 1
- Views: 8110
- Sat Dec 23, 2006 9:18 pm
- Forum: Support
- Topic: table width and height: can NOt figure. Help
- Replies: 5
- Views: 16368
LoadRVFFromStream can either load styles (existing styles are replaced) or ignore styles (so collections of styles at the moment of loading must be the same as at the moment of saving, otherwise document cannot be loaded). I hope the following setting will work as you need: 1) Return back saving and...
- Sat Dec 23, 2006 3:47 pm
- Forum: Support
- Topic: OnHTMLSaveImage or OnSaveImage2
- Replies: 9
- Views: 26050
- Fri Dec 22, 2006 12:48 pm
- Forum: Support
- Topic: table width and height: can NOt figure. Help
- Replies: 5
- Views: 16368
If you do not want to load collections of paragraph and list styles from RVF, set RVFParaStylesReadMode=rvf_sIgnore. For text styles, set RVFTextStylesReadMode to the same value. If you do not want to save styles in RVF file, exclude rvfoSaveParaStyles and rvfoSaveTextStyles from RVFOptions. As for ...
- Fri Dec 22, 2006 12:30 pm
- Forum: Support
- Topic: Saving text-style information in RTF files (OnSaveRTFExtra)?
- Replies: 1
- Views: 8868
rv_rtfs_TextStyle allows saving additional properties for text style. It does not allow applying text styles to text fragment. I am afraid it's not possible. It's simple to define font size. For 12pt, add \fs24 after \plain. But defining font name requires index in RTF font table. This table is not ...
- Thu Dec 21, 2006 2:32 pm
- Forum: Support
- Topic: table width and height: can NOt figure. Help
- Replies: 5
- Views: 16368
- Thu Dec 21, 2006 2:31 pm
- Forum: Support
- Topic: how to ensure fields expand (inserted with InsertStringtag)?
- Replies: 1
- Views: 8841
- Thu Dec 21, 2006 2:30 pm
- Forum: Support
- Topic: Hints not showing inthe status bar
- Replies: 3
- Views: 13451
- Thu Dec 21, 2006 2:23 pm
- Forum: Support
- Topic: autosave problems, using savehtmlex ...
- Replies: 14
- Views: 40227
- Tue Dec 19, 2006 3:25 pm
- Forum: Support
- Topic: Convertion from RTF to TEXT.
- Replies: 4
- Views: 13495
- Tue Dec 19, 2006 12:53 pm
- Forum: Support
- Topic: Page Break problem
- Replies: 1
- Views: 8668
Sorry, I missed this e-mail. In the first e-mail you asked: When copy and paste the content from Word, the page break is not inserted into RV, is this a bug or i missout some setting? In the second e-mail you sent me an example of document which should reproduce the problem. But this document does n...
- Tue Dec 19, 2006 12:48 pm
- Forum: Support
- Topic: Move caret to original position
- Replies: 1
- Views: 10195
You cannot store position as a number of characters from the beginning, because this value becomes incorrect if you delete something before this position. I think the simplest way is to store the following value: 1) RVData := RichViewEdit1.TopLevelEditor.RVData.GetSourceRVData; 2) ItemNo := RichView...
- Tue Dec 19, 2006 12:35 pm
- Forum: Support
- Topic: Convertion from RTF to TEXT.
- Replies: 4
- Views: 13495
For example, function SaveTextToField(rv: TCustomRichView; tbl: TTable; const FieldName: String): Boolean; var Stream: TStream; begin Stream := TMemoryStream.Create; try Result := rv.SaveTextToStream('', Stream, 60, False, False); Stream.Position := 0; TBlobField(tbl.FieldByName(FieldName)).LoadFrom...