yaungmin wrote:

> I am writing an Openoffice Add-on program which I need to write my own save
> function. Can someone please give me some advice on how to save an
> Openoffice writer document which is active on the screen.
> 
> Thanks,
> Min

With so little information it's close to impossible to give advice. So:

- do you want to have a file dialog to select a file name or folder to
save in?

- in which format or formats do you want to save the file?

- do you want to create a copy of the file or do you intend to replace
the "Save"/"SaveAs" functionality of OOo?

- if the answer to the last question is "yes", do you want your own
function called when the user selects the corresponding command in the
menu or toolbar?

- which programming language do you want to use?

- do you want to add your code to your own private build of OOo or do
you want to create an extension?

I'm sure I can present some more nice questions before I can give you a
*useful* advice, but let's start with those ones. :-9

Ciao,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[EMAIL PROTECTED]".
I use it for the OOo lists and only rarely read other mails sent to it.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to