Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: drawing :: framework ::

unpublished service ResourceId
Supported Interface
XResourceId
Usage Restrictions
not published
Description
The ResourceId service provides several constructors for resource ids.

They mainly differe in how the anchor is specified.



Constructors' Summary
createEmpty Create an empty resource id. It does not specify a specific resource but describes the absence of one.  
create Create a resource id that has no anchor.  
createWithAnchor Create a resource id for an anchor that is given as XResourceId object. This is the mose general of the constructor variants.  
createWithAnchorURL Create a resource id for a resource that is bound to an anchor that can be specified by a single URL.  
Constructors' Details
createEmpty
createEmpty();

Description
Create an empty resource id. It does not specify a specific resource but describes the absence of one.
create
create( [in] string  sResourceURL );

Description
Create a resource id that has no anchor.

This constructor can be used to create resource ids for panes.

createWithAnchor
createWithAnchor( [in] string  sResourceURL,
[in] XResourceId  xAnchor );

Description
Create a resource id for an anchor that is given as XResourceId object. This is the mose general of the constructor variants.
createWithAnchorURL
createWithAnchorURL( [in] string  sResourceURL,
[in] string  sAnchorURL );

Description
Create a resource id for a resource that is bound to an anchor that can be specified by a single URL.

This constructor can be used to create resources ids for views where the anchor is a pane.


 
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.