Overview | Namespace | Class | Index | Help |
PUBLIC MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
PRIVATE MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
virtual | abstract | interface | template |
NO | NO | NO | NO |
Parse UNO URLs into their components.
The ABNF for UNO URLs is as follows (see RFCs 2234, 2396, also see <http://udk.openoffice.org/common/man/spec/uno-url.html>): uno-url = "UNO:" connection ";" protocol ";" object-name connection = descriptor protocol = descriptor descriptor = name *("," parameter) name = 1*alphanum parameter = key "=" value key = 1*alphanum value = *vchar valchar = unreserved / escaped / "$" / "&" / "+" / "/" / ":" / "?" / "@" object-name = 1*ochar ochar = unreserved / "$" / "&" / "+" / "," / "/" / ":" / "=" / "?" / "@" Within a descriptor, the name and the keys are case insensitive, and within the parameter list all keys must be distinct. Parameter values are encoded using UTF-8. Note that parsing of parameter values as done by UnoUrl and UnoUrlDescriptor is not strict: Invalid UTF-16 entities in the input, as well as broken escape sequences ("%" not followed by two hex digits) are copied verbatim to the output, invalid bytes in the converted UTF-8 data are considered individual Unicode characters, and invalid UTF-16 entities in the resulting output (e.g., a high surrogate not followed by a low surrogate) are not detected.
Methods |
|
explicit UnoUrl( const rtl::OUString & rUrl ); |
Construct a UNO URL from a string representation. |
UnoUrl( const UnoUrl & rOther ); |
|
~UnoUrl( ); |
|
UnoUrl & operator=( const UnoUrl & rOther ); |
|
const UnoUrlDescriptor & getConnection( ) const; |
Return the connection descriptor component of the URL. |
const UnoUrlDescriptor & getProtocol( ) const; |
Return the protocol descriptor component of the URL. |
const rtl::OUString & getObjectName( ) const; |
Return the object-name component of the URL. |
Data |
|
std::auto_ptr< Impl > m_xImpl; |
Copyright © 2000, 2018 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.