| View previous topic :: View next topic |
| Author |
Message |
reav3r Newbie

Joined: 08 Feb 2006 Posts: 4
|
Posted: Wed Feb 08, 2006 2:34 am Post subject: How to update an HTML file from a doc file with a macro ? |
|
|
Hello everybody,
I'm new to oOo programming and I was wondering if it was possible to develop a macro that will open an HTML file, seek to a certain part (like a bookmark or stuff like that) and update this part with the content of the doc file from where the macro execution will be launched ?
Right now, I only manage to seek and replace the part I want, but not with the content of another file ...
Thanks for help  |
|
| Back to top |
|
 |
SergeM Super User

Joined: 09 Sep 2003 Posts: 3211 Location: Troyes France
|
|
| Back to top |
|
 |
reav3r Newbie

Joined: 08 Feb 2006 Posts: 4
|
Posted: Fri Feb 10, 2006 2:02 am Post subject: |
|
|
I can see this in the api documentation about loadComponentFromURL :
Parameter TargetFrameName
specifies the name of the frame to view the document in
what if I only want to load the document without viewing it ?
My aim is to load the HTML and modify it, I don't want oOo to show it to the macro user ...
Any help ? |
|
| Back to top |
|
 |
|