LibreOffice: XNamespaceMapping Interface Reference

LibreOffice LibreOffice 7.5 SDK API Reference

Loading...
Searching...
No Matches
Public Member Functions | List of all members
XNamespaceMapping Interface Reference

Interface to map XML namespace URI strings to ordinals (URI-id, short uid). More...

Inheritance diagram for XNamespaceMapping:

## Public Member Functions
long | getUidByUri ([in] string uri)
| Creates a unique ordinal passing an XML namespace URI.
string | getUriByUid ([in] long uid) raises (com::sun::star::container::NoSuchElementException)
| Gets the corresponding XML namespace URI passing a uid (created using getUidByUri()).
Public Member Functions inherited from XInterface
any | queryInterface ([in] type aType)
| queries for a new interface to an existing UNO object.
void | acquire ()
| increases the reference counter by one.
void | release ()
| decreases the reference counter by one.

## Detailed Description

Interface to map XML namespace URI strings to ordinals (URI-id, short uid).

## Member Function Documentation

## ◆ getUidByUri()

long getUidByUri | ( | [in] string | uri | ) |

Creates a unique ordinal passing an XML namespace URI.

Parameters

  uri | XML namespace URI

Returns
  uid

## ◆ getUriByUid()

string getUriByUid | ( | [in] long | uid | ) |
raises | ( | com::sun::star::container::NoSuchElementException
| ) |  |

Gets the corresponding XML namespace URI passing a uid (created using getUidByUri()).

Parameters

  uid | uid

Returns
  XML namespace URI

The documentation for this interface was generated from the following file:

- com/sun/star/xml/input/XNamespaceMapping.idl