1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 .
20 #ifndef __com_sun_star_table_CellRangeListSource_idl__
21 #define __com_sun_star_table_CellRangeListSource_idl__
23 #include
<com
/sun
/star
/form
/binding
/ListEntrySource.idl
>
24 #include
<com
/sun
/star
/table
/CellRangeAddress.idl
>
25 #include
<com
/sun
/star
/lang
/XInitialization.idl
>
28 module com
{ module sun
{ module star
{ module table
{
32 /** defines the a source of list entries coming from a cell range in a table document
34 <p>The component cannot be instantiated at a global service factory, instead
35 it's usually provided by a document instance.</p>
37 @see com::sun::star::document::OfficeDocument
39 service CellRangeListSource
41 /** ensures the basic functionality for supplying list entries
43 service com
::sun
::star
::form
::binding
::ListEntrySource
;
45 /** specifies the cell range within a document to which the component
48 [property
, bound
, readonly] com
::sun
::star
::table
::CellRangeAddress CellRange
;
50 /** allows setting initial, creation-time properties of the component
52 <p>This interface is used to initialize the component after creation. It has
53 to be used exactly once in the life time of the component, every second call
54 to <member scope"com::sun::star::lang">XInitialization::initialize</member>
55 will throw an exception.</p>
57 <p>The arguments passed to the <member scope"com::sun::star::lang">XInitialization::initialize</member>
58 method must be instances of <type scope="com::sun::star::beans">NamedValue</type>, where
59 the <member scope"com::sun::star::beans">NamedValue::Name</member> denotes the type of information
60 to initialize, and the <member scope"com::sun::star::beans">NamedValue::Value</member>
61 the initial value.</p>
63 <p>The following aspects of the components can be initialized:<br/>
64 <ul><li><b>CellRange</b><br/>
65 specifies the address of the cell range to bind this instance to. Must be a
66 <type scope="com::sun::star::table">CellRangeAddress</type> instance.</li>
70 interface com
::sun
::star
::lang
::XInitialization
;
78 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */