cid#1636693 COPY_INSTEAD_OF_MOVE
[LibreOffice.git] / offapi / com / sun / star / text / textfield / MetadataField.idl
blobc4821cb9701f763b91ffa301ae733c5e7e6f57f8
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
22 module com { module sun { module star { module text { module textfield {
24 /** is a com::sun::star::text::TextField whose content
25 is specified by RDF metadata.
27 @since OOo 3.2
29 @see com::sun::star::rdf
31 service MetadataField
33 /** None of the properties of
34 com::sun::star::text::TextContent are supported. */
35 service com::sun::star::text::TextField;
37 /** The MetadataField can have RDF metadata attached. */
38 interface com::sun::star::rdf::XMetadatable;
40 /** Allows for insertion of text content into, and creating cursors
41 that are bound within, the MetadataField. */
42 interface com::sun::star::text::XText;
44 /** The com::sun::star::text::TextContents that are
45 contained in the MetadataField can be enumerated. */
46 interface com::sun::star::container::XEnumerationAccess;
48 /** The com::sun::star::text::TextContent
49 that is the parent of this MetadataField.
50 @since OOo 3.3
52 interface com::sun::star::container::XChild;
54 /** this is the number format for this field.
55 @see com::sun::star::util::NumberFormatter
57 [optional, property] long NumberFormat;
59 /** determines whether changes in language attributes at the
60 position of the text field also change the number format
61 as appropriate for this language.
63 [optional, property] boolean IsFixedLanguage;
67 }; }; }; }; };
69 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */