on 03-04-2010 1:49 PM
Hi at all,
i try to develop a rtf editor based on the class CL_GUI_RTF_EDITOR similar to the SAPScript EditorControl.
At this moment the editor can load, save, change font, bold, ...
I try to add Variables to the rft-File, so that a generator (e.g. words mail merge ) can use the rtf files to generate letters.
An Idea to solve my Problem:
The class CL_GUI_RTF_EDITOR calls an extern API, for example the Method SET_TEXT_COLOUR from Class CL_GUI_RTF_EDITOR calls an other method SetTextColour. It seems to be some kind of OLE2.
I can't find out what API it is. Can anyone help me?
Maybe this API helps me to define Variables.
Other Ideas?
Thanks in Advance.
Tobias
Edited by: Tobias Bettmann on Mar 4, 2010 2:49 PM
I know its a pretty old topic but i really need help.Can you please share the code? I'm trying to create RTF editor but see nothing in my screen.
i have a container and editor and passing the rtf text vai set_text method.
Thanks in advance.
siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This control corresponds to sapeditor.sapeditorctrl.1 object. You'll find the OCX in C:\Program Files\SAP\FrontEnd\SAPgui\sapedit.ocx (change to the path where you installed the sapgui).
So, you may add a reference to the OCX in Visual Basic (MS word for example) so that to use the object explorer, and you'll see the methods available and parameters. You may also use set x as new Oeditor, then you'll see the members too.
But, I would advise you to use SAP DOI classes so that to use all MS Word functionalities.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.