Search found 12 matches
- Sun Aug 26, 2012 7:05 am
- Forum: Support
- Topic: Copy MSWord content to TRichviewEdit
- Replies: 1
- Views: 8512
Copy MSWord content to TRichviewEdit
Hello Sergey, When i copy text with some special symbols from msword to trichviewedit, and select the pasted text with a mouse move action in trichviewedit ,an error like this will occur: Project xxx.exe raised exception class ERichViewError with message 'Invalid caret position'. The RichViewEdit ...
- Fri Apr 20, 2012 2:26 am
- Forum: Support
- Topic: Copy MS Word content to TRichviewEdit
- Replies: 8
- Views: 19024
- Thu Apr 19, 2012 6:01 am
- Forum: Support
- Topic: Copy MS Word content to TRichviewEdit
- Replies: 8
- Views: 19024
- Wed Apr 18, 2012 1:38 am
- Forum: Support
- Topic: Copy MS Word content to TRichviewEdit
- Replies: 8
- Views: 19024
What version of Delphi do you use? Please give me step by step instructions how to reproduce this problem. Send the source doc file to richviewgmailcom I am using Delphi 7, and the richview version is v11.0.5.FS.AS we need to paste chinese to TRichViewEdit,so unicode is the only choice.Then i add ...
- Tue Apr 17, 2012 12:04 pm
- Forum: Support
- Topic: Copy MS Word content to TRichviewEdit
- Replies: 8
- Views: 19024
- Tue Apr 17, 2012 3:22 am
- Forum: Support
- Topic: Copy MS Word content to TRichviewEdit
- Replies: 8
- Views: 19024
- Tue Apr 17, 2012 12:42 am
- Forum: Support
- Topic: Copy MS Word content to TRichviewEdit
- Replies: 8
- Views: 19024
Copy MS Word content to TRichviewEdit
I'm trying to copy content from MS Word and paste it to TRichviewEdit. In the OnPaste event, my code like this:
In this way, what i get is plain text without font info. What should i do to get text with font info?
Code: Select all
str := Clipboard.AsText;
rchvwdt.InsertTextA(str,False);
DoDefault := false;
- Sun Apr 01, 2012 5:03 am
- Forum: Support
- Topic: table content paste to MS Word error
- Replies: 1
- Views: 7802
table content paste to MS Word error
When i copy a cell content and paste it to MS word, there will be added many empty line. code to read the table content like this: for j := 0 to RVData.ItemCount-1 do begin if (j>0) and RVData.IsFromNewLine(j) then xmlstr := xmlstr + #13#10; if RVData.GetItemStyle(j)=rvstab then xmlstr := xmlstr ...
- Fri Mar 30, 2012 8:50 am
- Forum: Support
- Topic: latest used font display on the top
- Replies: 1
- Views: 7234
latest used font display on the top
My problem is how to display a latest used font on the top of the font dialog just like MS word.
- Sun Mar 25, 2012 12:06 pm
- Forum: Support
- Topic: store table with merged cells to xml
- Replies: 1
- Views: 7178
store table with merged cells to xml
hello,everyone! I want to know how to store a table with merged cells to xml in a right way so that i can read the table from the xml correctly. who can show some sample code to help me?
- Sun Mar 25, 2012 1:56 am
- Forum: Support
- Topic: empty line in cell
- Replies: 2
- Views: 8510
- Fri Mar 23, 2012 2:44 am
- Forum: Support
- Topic: empty line in cell
- Replies: 2
- Views: 8510
empty line in cell
Hello,everyone! When i load cell content from xml and insert it to all cells in table, there will be an additional line in all cells. Before i use AddNL to insert the xmlstr, i have call Cell.Clear.However, an additional line still exist in all cells. Anybody can give me a hand? I insert text in ...