List Info

Thread: New component: instead of ".uno:SaveAs" ".uno:SaveTo"




New component: instead of ".uno:SaveAs" ".uno:SaveTo"
user name
2006-03-28 07:07:44
Tobias Krais wrote:
> Hi again,
> 
> I now had success with creating my first component. I
can register it
> and use in in the menus. Thank you all!
> 
> But now I want to write a second component: it should
be the same as
> already exists: ".uno:SaveAs". But the
functionality should be
> different: it should store the object's persistent
data to a URL and
> continues to be a representation of the old URL.
> 
> It is the same difference as in XStorable.storeAsURL()
and
> XStorable.storeToURL().
> 
> My question: is it the easiest way to develop a
complete new component
> or can I reuse the main parts of
".uno:SaveAs"?

You can reuse main parts of ".uno:SaveAs" ... if
you link your code 
against the core libraries of OOo .-)
But there is no way doing so in case you wish to use the UNO
API.
So you have to do the full implementation again.

> 
> Greetings, Tobias
> 
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
> For additional commands, e-mail: dev-helpapi.openoffice.org
> 

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )