yaungmin wrote: > Here is detail information about the project that I am working on. > > I am using Java for this add-on program. This program is just for > openoffice.org writer, so I will only working with .odt format. I have five > buttons on the tool bar which are Login, New, Open, Save and Logout. After > the user login to the system, they are allowed to create new document, open > existing document, save current document and logout from the system. > > What I have so far is when I click on New, it shows me a new blank document. > I can type some text on the document but I wasn’t able to save it when I > click on Save button. I will be saving the document to the database in > future but just for testing purpose, I am saving the document to my desktop.
I saw the API calls in your other mail; I will have a look. > Basically yes, I would like to replace the “Save/Save As” functionality of > OOo, but my program will save to a given database instead of displaying a > file dialog to specify the folder to save in. Yes, I would like to have my > own function call to save the current document when user click on the save > button. OK, so at least later on you must implement a DispatchInterceptor and a Job service to achieve that. For the moment you can concentrate on getting the code working. > My code will be added to openoffice.org as an extension. If you are using Java perhaps our NetBeans pluging will make it easier to create the extension, it has a lot of support for OOo extension creation. > In additional to that, I tried to type some text in the document and tried > to save the document again, but additional text that I just typed in weren’t > saved. This is strange - but let's fix the problems one by one. Perhaps the second problems goes away once the first one is fixed. 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]
