LibreOffice
LibreOffice 25.8 SDK API Reference
Loading...
Searching...
No Matches
XRegistryKey.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20
21
22module com { module sun { module star { module registry {
23
32{
41 [readonly, attribute] string KeyName;
42
48 boolean isReadOnly()
50
53 boolean isValid();
54
65 com::sun::star::registry::RegistryKeyType getKeyType( [in] string rKeyName )
67
76
89
98 void setLongValue( [in] long value )
100
101 // DOCUMENTATION CHANGED FOR XRegistryKey::getLongListValue
111 sequence<long> getLongListValue()
114
123 void setLongListValue( [in] sequence<long> seqValue )
125
126 // DOCUMENTATION CHANGED FOR XRegistryKey::getAsciiValue
139
149 void setAsciiValue( [in] string value )
151
152 // DOCUMENTATION CHANGED FOR XRegistryKey::getAsciiListValue
162 sequence<string> getAsciiListValue()
165
175 void setAsciiListValue( [in] sequence<string> seqValue )
177
178 // DOCUMENTATION CHANGED FOR XRegistryKey::getStringValue
191
200 void setStringValue( [in] string value )
202
203 // DOCUMENTATION CHANGED FOR XRegistryKey::getStringListValue
213 sequence<string> getStringListValue()
216
224 void setStringListValue( [in] sequence<string> seqValue )
226
227 // DOCUMENTATION CHANGED FOR XRegistryKey::getBinaryValue
237 sequence<byte> getBinaryValue()
240
249 void setBinaryValue( [in] sequence<byte> value )
251
267 com::sun::star::registry::XRegistryKey openKey( [in] string aKeyName )
269
285 com::sun::star::registry::XRegistryKey createKey( [in] string aKeyName )
287
293 void closeKey()
295
306 void deleteKey( [in] string rKeyName )
308
309 // DOCUMENTATION CHANGED FOR XRegistryKey::openKeys
321
322 // DOCUMENTATION CHANGED FOR XRegistryKey::getKeyNames
330 sequence<string> getKeyNames()
332
353 boolean createLink( [in] string aLinkName,
354 [in] string aLinkTarget )
356
367 void deleteLink( [in] string rLinkName )
369
370 // DOCUMENTATION CHANGED FOR XRegistryKey::getLinkTarget
381 string getLinkTarget( [in] string rLinkName )
383
384 // DOCUMENTATION CHANGED FOR XRegistryKey::getResolvedName
396 string getResolvedName( [in] string aKeyName )
398
399};
400
401
402}; }; }; };
403
404/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
signals that the registry is invalid or an operation on the registry failed.
Definition InvalidRegistryException.idl:28
signals that the value of the key is invalid or does not have the appropriate key type.
Definition InvalidValueException.idl:28
makes structural information (except regarding tree structures) of a single registry key accessible.
Definition XRegistryKey.idl:32
string getResolvedName([in] string aKeyName)
void setStringListValue([in] sequence< string > seqValue)
sets a unicode string value to the key.
void setAsciiValue([in] string value)
sets an ASCII string value to the key.
sequence< string > getAsciiListValue()
void setStringValue([in] string value)
sets a unicode string value to the key.
string getLinkTarget([in] string rLinkName)
void deleteKey([in] string rKeyName)
deletes a key from the registry.
boolean isValid()
checks if the key points to an open valid key in the data-source.
void closeKey()
closes a key in the registry.
sequence< string > getStringListValue()
com::sun::star::registry::RegistryKeyType getKeyType([in] string rKeyName)
void setBinaryValue([in] sequence< byte > value)
sets a binary value to the key.
void setLongListValue([in] sequence< long > seqValue)
sets a long list value to the key.
void setLongValue([in] long value)
sets a long value to the key.
boolean createLink([in] string aLinkName, [in] string aLinkTarget)
creates a new link in the registry.
com::sun::star::registry::XRegistryKey createKey([in] string aKeyName)
creates a new key in the registry.
com::sun::star::registry::RegistryValueType getValueType()
void setAsciiListValue([in] sequence< string > seqValue)
sets an ASCII string list value to the key.
sequence< com::sun::star::registry::XRegistryKey > openKeys()
opens all subkeys of the key.
boolean isReadOnly()
checks if the key can be overwritten.
com::sun::star::registry::XRegistryKey openKey([in] string aKeyName)
opens a sub key of the key.
string KeyName
This is the key of the entry relative to its parent.
Definition XRegistryKey.idl:41
void deleteLink([in] string rLinkName)
deletes a link from the registry.
base interface of all UNO interfaces
Definition XInterface.idl:46
Interfaces to access registration databases.
Definition modules.idl:63
RegistryKeyType
represents all possible types of a key.
Definition RegistryKeyType.idl:30
RegistryValueType
represents all possible types of a key value.
Definition RegistryValueType.idl:31
the module com::sun::star is the root module of the UNO API.
Definition Ambiguous.idl:20
Definition Ambiguous.idl:20
Definition Ambiguous.idl:20