Search found 16 matches
- Thu Jan 14, 2016 12:20 pm
- Forum: Support
- Topic: RV Header/Footer in HTML
- Replies: 6
- Views: 22688
To make clear where i need it: procedure TsrvActionsResource.TestActionEventExecute(Sender: TObject; Editor: TCustomRichViewEdit); begin // Here i need the Header and Footer of the Editor. end; This is a custom rv action added in your ActionTest Demo in the "ScaleRichView\Demos\ActionTest" Folder of ...
- Tue Jan 12, 2016 11:47 am
- Forum: Support
- Topic: RV Header/Footer in HTML
- Replies: 6
- Views: 22688
- Mon Jan 11, 2016 8:37 am
- Forum: Support
- Topic: RV Header/Footer in HTML
- Replies: 6
- Views: 22688
I have not the problem of saving documents as HTML and am doing it this way: saveOptions := [rvsoInlineCSS, rvsoOverrideImages]; Editor.SaveHTMLEx(appPath + 'TempFiles\HTMLExportDoc.htm', 'Document', 'HTMLExportDoc.Files\docImg', '', '', '', saveOptions); I am using your ActionTestDemo where you got ...
- Mon Jan 04, 2016 9:46 am
- Forum: Support
- Topic: RV Header/Footer in HTML
- Replies: 6
- Views: 22688
RV Header/Footer in HTML
Hello, due to several reasons i need to save and work with richview documents as HTML. I have a problem whith the export. Naturally the header and the footer are not exported to HTML. My idea to solve that would be to copy the header and paste it to the beginning of the document, then copy the ...
- Mon Sep 28, 2015 6:58 am
- Forum: Support
- Topic: How RichEdit to RichView
- Replies: 6
- Views: 26030
I haven´t tested it yet, but you might try:
Code: Select all
procedure CopyFromRichEditToRichView();
var strStream: TStringStream;
begin
RichEdit1.Lines.SaveToStream(strStream);
RichView1.LoadRTFFRomStream(strStream);
end;
- Tue Sep 15, 2015 7:15 am
- Forum: Support
- Topic: Text changes when saved with ScaleRichView.
- Replies: 2
- Views: 13286
- Fri Sep 11, 2015 2:16 pm
- Forum: Support
- Topic: RichViewActions, how to get the executing richedit?
- Replies: 15
- Views: 48228
- Fri Sep 11, 2015 1:47 pm
- Forum: Support
- Topic: RichViewActions, how to get the executing richedit?
- Replies: 15
- Views: 48228
- Fri Sep 11, 2015 10:09 am
- Forum: Support
- Topic: RichViewActions, how to get the executing richedit?
- Replies: 15
- Views: 48228
Oh i noticed the problem is not solved completely. When i load an RTF now this way: procedure TsrvActionsResource.OpenNewPlainTemplateActionEventExecute( Sender: TObject; Editor: TCustomRichViewEdit); var appPath : string; begin appPath := ExtractFilePath(Application.ExeName); Editor.Clear; Editor ...
- Fri Sep 11, 2015 9:11 am
- Forum: Support
- Topic: RichViewActions, how to get the executing richedit?
- Replies: 15
- Views: 48228
- Thu Sep 10, 2015 12:43 pm
- Forum: Support
- Topic: RichViewActions, how to get the executing richedit?
- Replies: 15
- Views: 48228
- Thu Sep 10, 2015 12:37 pm
- Forum: Support
- Topic: RichViewActions, how to get the executing richedit?
- Replies: 15
- Views: 48228
A sample project is not needed. Open ActionTest (The Demo), add a button to the upper left corner (or somewhere else) on the toolbar and set a Click-Event. Add this code to the button: procedure TForm3.Button2Click(Sender: TObject); var appPath : string; begin appPath := ExtractFilePath(Application ...
- Thu Sep 10, 2015 10:37 am
- Forum: Support
- Topic: RichViewActions, how to get the executing richedit?
- Replies: 15
- Views: 48228
- Wed Sep 09, 2015 12:13 pm
- Forum: Support
- Topic: RichViewActions, how to get the executing richedit?
- Replies: 15
- Views: 48228
I don´t understand what i have to do now. in your example in http://www.trichview.com/forums/viewtopic.php?t=4981 you say to use the Action Editor to add a new action. This is what i did. I have: OpenPlainTemplateAction: TAction; procedure OpenPlainTemplateActionExecute(Sender: TObject); private ...
- Wed Sep 09, 2015 9:39 am
- Forum: Support
- Topic: RichViewActions, how to get the executing richedit?
- Replies: 15
- Views: 48228
RichViewActions, how to get the executing richedit?
Hello, in the RichViewActions Demo, which i costumize, i need costum buttons in the toolbar. Normal OnClick-Events don´t work, as i get exceptions with buttons without any action applied. Therefor i wanted to create custom Actions, but i don´t know how to access the richview (scalerichview) which is ...