Search found 193 matches

by Marsianin
Wed Aug 10, 2011 6:11 am
Forum: Support
Topic: Clear RichViewEdit completely
Replies: 7
Views: 23239

Clear RichViewEdit completely

Just want to know how should I clean RichViewEdit from previous documents? I need to clear all styles, get defaults etc. The problem I've got is when I clear RVE and RVStyle the documents here will get fixed width ignoring window size and RVRuler doesn't helps. Word wrap works fine if window/form si...
by Marsianin
Sun Aug 07, 2011 8:54 pm
Forum: Support
Topic: Set RVStyle.DefCodePage runtime
Replies: 11
Views: 28630

:?:
by Marsianin
Mon Aug 01, 2011 7:23 pm
Forum: Support
Topic: Sorting document by lines
Replies: 2
Views: 10166

Hm, yes I can put every line to StringList and sort it but I will lose formatting.

Yes I know about TableSort but it works in ANSI mode (as noted there)? My docs are Unicode.
by Marsianin
Sun Jul 31, 2011 11:58 pm
Forum: Support
Topic: Sorting document by lines
Replies: 2
Views: 10166

Sorting document by lines

Is there an easy way to sort document (or selection) by lines separated with Enter (#10#13) ?
by Marsianin
Thu Jul 28, 2011 7:36 pm
Forum: Support
Topic: Set RVStyle.DefCodePage runtime
Replies: 11
Views: 28630

Yes, I'm still using rvActions but step by step removing them from my project.
So when should I assign CurTextStyleNo and will it affect current text with this style?
by Marsianin
Thu Jul 28, 2011 8:36 am
Forum: Support
Topic: Set RVStyle.DefCodePage runtime
Replies: 11
Views: 28630

I'm inserting via InsertTextFromFile to a not empty Unicode document so I have to select inserted data and apply style?
How can I select it?
by Marsianin
Tue Jul 26, 2011 6:05 am
Forum: Support
Topic: Set RVStyle.DefCodePage runtime
Replies: 11
Views: 28630

So how can I import a TXT file in desired codepage? Or change it after import...
by Marsianin
Tue Jul 26, 2011 12:00 am
Forum: Support
Topic: Set RVStyle.DefCodePage runtime
Replies: 11
Views: 28630

Set RVStyle.DefCodePage runtime

My program is multilingual so when user change program language I need to change CodePage for imported TXT files too. RichViewEdit is Unicode but I need it for TXT import. Setting RVStyle.DefCodePage in IDE does the job but run-time it changes nothing. I tried to set codepage to 1251 run-time (was 0...
by Marsianin
Mon Jul 11, 2011 7:25 am
Forum: Support
Topic: [HOW] Import Undo
Replies: 1
Views: 8942

[HOW] Import Undo

Just tried to implement undo for OfficeConverters file import. I want to import several .doc files and create undo point after each import but this seems not working: RichViewEdit1.TopLevelEditor.BeginUndoGroup(rvutInsert); RichViewEdit1.TopLevelEditor.SetUndoGroupMode(True); try r:=RVOfficeConverte...
by Marsianin
Tue Jul 05, 2011 9:05 am
Forum: Support
Topic: rvf to and from docx
Replies: 8
Views: 34050

It seems TRVOfficeConverter cannot detect converters from MS Office 2010 64-bit version.
There were no problems with 32-bit Office 2010.
by Marsianin
Tue Jul 05, 2011 9:03 am
Forum: Support
Topic: PNG Pictures lost in Delphi 2009
Replies: 17
Views: 45740

Sorry, I think I found the error.
As I moved to DelphiXE I've reinstalled LMD Tools and got it's LMDPNG registered. I'm going to disable it.
by Marsianin
Tue Jul 05, 2011 8:40 am
Forum: Support
Topic: PNG Pictures lost in Delphi 2009
Replies: 17
Views: 45740

The problem is I didnt' change anything.
And yes my RVF contain old PNG's and loads them fine.
But when I insert new PNG it appears but doesn't saves.
by Marsianin
Tue Jul 05, 2011 8:36 am
Forum: Examples, Demos
Topic: [Examples] Count of characters and words
Replies: 37
Views: 230649

Ok, thanks. I didn't see it's another function.
I'm going to join GetCurrentLine and GetLineCount in one function to not do same job twice.
by Marsianin
Mon Jul 04, 2011 2:52 am
Forum: Support
Topic: PNG Pictures lost in Delphi 2009
Replies: 17
Views: 45740

Sorry, TRichView is 13.0.5
by Marsianin
Mon Jul 04, 2011 2:51 am
Forum: Support
Topic: PNG Pictures lost in Delphi 2009
Replies: 17
Views: 45740

Moved my project to Delphi XE and PNG does not save to RVF.
Inserting PNG image to RVE works but it does NOT save it to file.

Code: Select all

RegisterClass(TPNGImage);
RegisterClassAlias(TPNGImage,'TPNGObject');
RV_RegisterHTMLGraphicFormat(TPNGImage);
RV_RegisterPngGraphic(TPNGImage);
TRichView 12.0.5