Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: task ::

interface XUrlContainer
Description
Allows to store and retrieve URLs. URLs can be stored persistently or until end of OOo session.
Since
OOo 3.2

Methods' Summary
addUrl Add a URL to the container.  
findUrl Lookup a URL in the container.  
removeUrl Remove a URL from the container.  
getUrls Get all URLs.  
Methods' Details
addUrl
void
addUrl( [in] string  Url,
[in] boolean  MakePersistent );

Description
Add a URL to the container.
Parameter Url
URL to add to the container
Parameter MakePersistent
indicates whether the URL shall be stored persistently or just in memory (until end of OOo session)
findUrl
string
findUrl( [in] string  Url );

Description
Lookup a URL in the container.
Parameter Url
URL to lookup.
Returns
Best matched URL or empty string.
removeUrl
void
removeUrl( [in] string  Url );

Description
Remove a URL from the container.
Parameter Url
URL to remove.
getUrls
sequence< string >
getUrls( [in] boolean  OnlyPersistent );

Description
Get all URLs.
Parameter OnlyPersistent
Only URLs taht are stored persistently shall be returned.
Returns
List of URLs.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.