LibreOffice LibreOffice 25.8 SDK API Reference

XDataTypeRepository.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
21module com { module sun { module star { module xforms {
22
28 interface XDataTypeRepository
29{
32 interface com::sun::star::container::XEnumerationAccess;
33
37 interface com::sun::star::container::XNameAccess;
38
46 com::sun::star::xsd::XDataType
47 getBasicDataType( [in] short dataTypeClass )
48 raises ( com::sun::star::container::NoSuchElementException );
49
58 com::sun::star::xsd::XDataType
59 cloneDataType( [in] string sourceName, [in] string newName )
60 raises( com::sun::star::container::NoSuchElementException, com::sun::star::container::ElementExistException );
61
73 void
74 revokeDataType( [in] string typeName )
75 raises( com::sun::star::container::NoSuchElementException, com::sun::star::util::VetoException );
76
77 com::sun::star::xsd::XDataType
78 getDataType( [in] string typeName )
79 raises( com::sun::star::container::NoSuchElementException );
80};
81
82
83}; }; }; };
84
85/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::container::ElementExistException
is thrown by container methods, if an element is added which is already a child of the container.
Definition: ElementExistException.idl:35
com::sun::star::container::NoSuchElementException
is thrown by child access methods of collections, if the addressed child does not exist.
Definition: NoSuchElementException.idl:31
com::sun::star::util::VetoException
thrown to indicate a general veto.
Definition: VetoException.idl:29
com::sun::star::container::XEnumerationAccess
used to enumerate objects in a container which contains objects.
Definition: XEnumerationAccess.idl:28
com::sun::star::container::XNameAccess
is used to access named objects within a container.
Definition: XNameAccess.idl:32
com::sun::star::xforms::XDataTypeRepository
specifies a repository of XSD data types
Definition: XDataTypeRepository.idl:29
com::sun::star::xforms::XDataTypeRepository::cloneDataType
com::sun::star::xsd::XDataType cloneDataType([in] string sourceName, [in] string newName)
creates a clone of the given data type, and inserts it into the repository
com::sun::star::xforms::XDataTypeRepository::revokeDataType
void revokeDataType([in] string typeName)
removes a data type given by name from the repository
com::sun::star::xforms::XDataTypeRepository::getDataType
com::sun::star::xsd::XDataType getDataType([in] string typeName)
com::sun::star::xforms::XDataTypeRepository::getBasicDataType
com::sun::star::xsd::XDataType getBasicDataType([in] short dataTypeClass)
retrieves the basic type for the given type class
com::sun::star::xsd::XDataType
specifies an XSD compliant simple data type
Definition: XDataType.idl:25
com
Definition: Ambiguous.idl:20