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
Hi yaungmin,
yaungmin schrieb:
Hi Mikhail,
I did not get any exception when I tried to save the document. As you can
see in the saveDocument method, I was basically able to load a document and
save it as another document with a different name.
All I am trying to do is like say, I have an
Hi,
Sorry, I was confused by the example. You have written that you can not
save and have provided the source code. So I have assumed that you can
not save using the source code.
I am still not sure that I understand your problem completely. You have
written and addon that integrates a
Hi Peter,
I would strongly advise not to use getCurrentFrame(), especially in this
context.
The AddOn instance must use the own frame that is actually known. Yes,
in most cases the current frame will be the frame the addon is related
to, but not always.
Best regards,
Mikhail.
Peter
Hi,
By API I mean the OOo API in my question, in this case it is
XStorable::storeAsURL() method. If this method is not able to store a
document it should throw an exception. Which exception is thrown in this
case?
Best regards,
Mikhail.
yaungmin wrote:
Hi,
I don't quite understand your
Hi Mikhail,
I did not get any exception when I tried to save the document. As you can
see in the saveDocument method, I was basically able to load a document and
save it as another document with a different name.
All I am trying to do is like say, I have an Untitled1 document opened and
I
Hi,
Which API are you using currently to let the document be saved? Please
describe the arguments you provide to the API ( if any ) as well.
Best regards,
Mikhail.
yaungmin wrote:
Here is detail information about the project that I am working on.
I am using Java for this add-on program.
Hi,
I don't quite understand your question. I am using Netbeans IDE to write my
programs. I don't pass any arguments to my saveDocument method. See below
for the method that I have so far. I am sure that the method just load a
document from a given location and save it to a different location,
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
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
Hi yaungmin,
You didn´t tell which programming langauage you are using.
Anyway here´s an java example:
http://codesnippets.services.openoffice.org/Office/Office.ConvertDocuments.snip
Kind regards,
Bernd Eilers
yaungmin wrote:
Hi Cor,
I am pretty new to openoffice. I visited the links that
Hi Cor,
I am pretty new to openoffice. I visited the links that that you send me and
went thought the tutorial, but I still wasn't able to save the document
that is displayed on the window. Please advice how to get it to save the
document on the active window or frame.
Thanks,
Min
Cor Nouws
Hi Min,
yaungmin wrote (22-3-2008 5:32)
I am writing an Openoffice Add-on program which I need to write my own save
It will be helpfull to visit (and a bit more than that) these pages:
http://api.openoffice.org/
http://wiki.services.openoffice.org/wiki/Extensions_development
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
--
View this message in context:
14 matches
Mail list logo