LibreOffice Module extensions (master) 1
cellbindinghelper.cxx
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#include "cellbindinghelper.hxx"
21#include <com/sun/star/form/binding/XBindableValue.hpp>
22#include <com/sun/star/form/binding/XListEntrySink.hpp>
23#include <com/sun/star/form/FormComponentType.hpp>
24#include <com/sun/star/form/XGridColumnFactory.hpp>
25#include <com/sun/star/container/XChild.hpp>
26#include <com/sun/star/drawing/XDrawPageSupplier.hpp>
27#include <com/sun/star/form/XFormsSupplier.hpp>
28#include <com/sun/star/form/XForm.hpp>
29#include <com/sun/star/lang/XServiceInfo.hpp>
30#include <com/sun/star/lang/XMultiServiceFactory.hpp>
31#include <com/sun/star/beans/NamedValue.hpp>
32#include <com/sun/star/sheet/XSpreadsheet.hpp>
34#include <osl/diagnose.h>
36#include "formstrings.hxx"
37
38#include <algorithm>
39#include <utility>
40
41
42namespace pcr
43{
44
45
46 using namespace ::com::sun::star::uno;
47 using namespace ::com::sun::star::beans;
48 using namespace ::com::sun::star::frame;
49 using namespace ::com::sun::star::sheet;
50 using namespace ::com::sun::star::container;
51 using namespace ::com::sun::star::drawing;
52 using namespace ::com::sun::star::table;
53 using namespace ::com::sun::star::form;
54 using namespace ::com::sun::star::lang;
55 using namespace ::com::sun::star::i18n;
56 using namespace ::com::sun::star::form::binding;
57
58 namespace
59 {
60
61 struct StringCompare
62 {
63 private:
64 OUString m_sReference;
65
66 public:
67 explicit StringCompare( OUString _aReference ) : m_sReference(std::move( _aReference )) { }
68
69 bool operator()( std::u16string_view _rCompare )
70 {
71 return ( _rCompare == m_sReference );
72 }
73 };
74 }
75
76
77 CellBindingHelper::CellBindingHelper( const Reference< XPropertySet >& _rxControlModel, const Reference< XModel >& _rxContextDocument )
78 :m_xControlModel( _rxControlModel )
79 {
80 OSL_ENSURE( m_xControlModel.is(), "CellBindingHelper::CellBindingHelper: invalid control model!" );
81
82 m_xDocument.set(_rxContextDocument, css::uno::UNO_QUERY);
83 OSL_ENSURE( m_xDocument.is(), "CellBindingHelper::CellBindingHelper: This is no spreadsheet document!" );
84
86 "CellBindingHelper::CellBindingHelper: the document cannot convert address representations!" );
87 }
88
89
90 bool CellBindingHelper::isSpreadsheetDocument( const Reference< XModel >& _rxContextDocument )
91 {
92 return Reference< XSpreadsheetDocument >::query( _rxContextDocument ).is();
93 }
94
95
96 sal_Int16 CellBindingHelper::getControlSheetIndex( Reference< XSpreadsheet >& _out_rxSheet ) const
97 {
98 sal_Int16 nSheetIndex = -1;
99 // every sheet has a draw page, and every draw page has a forms collection.
100 // Our control, OTOH, belongs to a forms collection. Match these...
101 try
102 {
103 // for determining the draw page, we need the forms collection which
104 // the object belongs to. This is the first object up the hierarchy which is
105 // *no* XForm (and, well, no XGridColumnFactory)
106 Reference< XChild > xCheck( m_xControlModel, UNO_QUERY );
107 Reference< XForm > xParentAsForm; if ( xCheck.is() ) xParentAsForm.set(xCheck->getParent(), css::uno::UNO_QUERY);
108 Reference< XGridColumnFactory > xParentAsGrid; if ( xCheck.is() ) xParentAsGrid.set(xCheck->getParent(), css::uno::UNO_QUERY);
109
110 while ( ( xParentAsForm.is() || xParentAsGrid.is() ) && xCheck.is() )
111 {
112 xCheck.set(xCheck->getParent(), css::uno::UNO_QUERY);
113 xParentAsForm.set(xCheck.is() ? xCheck->getParent() : Reference< XForm >(), css::uno::UNO_QUERY);
114 xParentAsGrid.set(xCheck.is() ? xCheck->getParent() : Reference< XGridColumnFactory >(), css::uno::UNO_QUERY);
115 }
116 Reference< XInterface > xFormsCollection( xCheck.is() ? xCheck->getParent() : Reference< XInterface >() );
117
118 // now iterate through the sheets
119 Reference< XIndexAccess > xSheets( m_xDocument->getSheets(), UNO_QUERY );
120 if ( xSheets.is() && xFormsCollection.is() )
121 {
122 for ( sal_Int32 i = 0; i < xSheets->getCount(); ++i )
123 {
124 Reference< XDrawPageSupplier > xSuppPage( xSheets->getByIndex( i ), UNO_QUERY_THROW );
125 Reference< XFormsSupplier > xSuppForms( xSuppPage->getDrawPage(), UNO_QUERY_THROW );
126
127 if ( xSuppForms->getForms() == xFormsCollection )
128 { // found it
129 nSheetIndex = static_cast<sal_Int16>(i);
130 _out_rxSheet.set( xSuppPage, UNO_QUERY_THROW );
131 break;
132 }
133 }
134 }
135 }
136 catch( const Exception& )
137 {
138 DBG_UNHANDLED_EXCEPTION("extensions.propctrlr");
139 }
140
141 return nSheetIndex;
142 }
143
144
145 bool CellBindingHelper::convertStringAddress( const OUString& _rAddressDescription, CellAddress& /* [out] */ _rAddress ) const
146 {
147 Any aAddress;
150 Any( _rAddressDescription ),
152 aAddress,
153 false
154 )
155 && ( aAddress >>= _rAddress );
156 }
157
158
159 bool CellBindingHelper::doConvertAddressRepresentations( const OUString& _rInputProperty, const Any& _rInputValue,
160 const OUString& _rOutputProperty, Any& _rOutputValue, bool _bIsRange ) const
161 {
162 bool bSuccess = false;
163
164 Reference< XPropertySet > xConverter(
166 _bIsRange ? OUString(SERVICE_RANGEADDRESS_CONVERSION) : OUString(SERVICE_ADDRESS_CONVERSION),
167 OUString(),
168 Any()
169 ),
170 UNO_QUERY
171 );
172 OSL_ENSURE( xConverter.is(), "CellBindingHelper::doConvertAddressRepresentations: could not get a converter service!" );
173 if ( xConverter.is() )
174 {
175 try
176 {
177 Reference< XSpreadsheet > xSheet;
178 xConverter->setPropertyValue( PROPERTY_REFERENCE_SHEET, Any( static_cast<sal_Int32>(getControlSheetIndex( xSheet )) ) );
179 xConverter->setPropertyValue( _rInputProperty, _rInputValue );
180 _rOutputValue = xConverter->getPropertyValue( _rOutputProperty );
181 bSuccess = true;
182 }
183 catch( const Exception& )
184 {
185 TOOLS_WARN_EXCEPTION( "extensions.propctrlr", "CellBindingHelper::doConvertAddressRepresentations" );
186 }
187 }
188
189 return bSuccess;
190 }
191
192
193 bool CellBindingHelper::convertStringAddress( const OUString& _rAddressDescription,
194 CellRangeAddress& /* [out] */ _rAddress ) const
195 {
196 Any aAddress;
199 Any( _rAddressDescription ),
201 aAddress,
202 true
203 )
204 && ( aAddress >>= _rAddress );
205 }
206
207
208 Reference< XValueBinding > CellBindingHelper::createCellBindingFromAddress( const CellAddress& _rAddress, bool _bSupportIntegerExchange ) const
209 {
210 Reference< XValueBinding > xBinding( createDocumentDependentInstance(
211 _bSupportIntegerExchange ? OUString(SERVICE_SHEET_CELL_INT_BINDING) : OUString(SERVICE_SHEET_CELL_BINDING),
213 Any( _rAddress )
214 ), UNO_QUERY );
215
216 return xBinding;
217 }
218
219
220 Reference< XValueBinding > CellBindingHelper::createCellBindingFromStringAddress( const OUString& _rAddress, bool _bSupportIntegerExchange ) const
221 {
222 Reference< XValueBinding > xBinding;
223 if ( !m_xDocument.is() )
224 // very bad ...
225 return xBinding;
226
227 // get the UNO representation of the address
228 CellAddress aAddress;
229 if ( _rAddress.isEmpty() || !convertStringAddress( _rAddress, aAddress ) )
230 return xBinding;
231
232 return createCellBindingFromAddress( aAddress, _bSupportIntegerExchange );
233 }
234
235
236 Reference< XListEntrySource > CellBindingHelper::createCellListSourceFromStringAddress( const OUString& _rAddress ) const
237 {
238 Reference< XListEntrySource > xSource;
239
240 CellRangeAddress aRangeAddress;
241 if ( _rAddress.isEmpty() || !convertStringAddress( _rAddress, aRangeAddress ) )
242 return xSource;
243
244 // create a range object for this address
248 Any( aRangeAddress )
249 ), css::uno::UNO_QUERY);
250
251 return xSource;
252 }
253
254
255 Reference< XInterface > CellBindingHelper::createDocumentDependentInstance( const OUString& _rService, const OUString& _rArgumentName,
256 const Any& _rArgumentValue ) const
257 {
259
260 Reference< XMultiServiceFactory > xDocumentFactory( m_xDocument, UNO_QUERY );
261 OSL_ENSURE( xDocumentFactory.is(), "CellBindingHelper::createDocumentDependentInstance: no document service factory!" );
262 if ( xDocumentFactory.is() )
263 {
264 try
265 {
266 if ( !_rArgumentName.isEmpty() )
267 {
268 Sequence aArgs{ Any(NamedValue(_rArgumentName, _rArgumentValue)) };
269 xReturn = xDocumentFactory->createInstanceWithArguments( _rService, aArgs );
270 }
271 else
272 {
273 xReturn = xDocumentFactory->createInstance( _rService );
274 }
275 }
276 catch ( const Exception& )
277 {
278 OSL_FAIL( "CellBindingHelper::createDocumentDependentInstance: could not create the binding at the document!" );
279 }
280 }
281 return xReturn;
282 }
283
284
286 const Reference< XValueBinding >& _rxBinding, CellAddress& _rAddress ) const
287 {
288 OSL_PRECOND( !_rxBinding.is() || isCellBinding( _rxBinding ), "CellBindingHelper::getAddressFromCellBinding: this is no cell binding!" );
289
290 bool bReturn = false;
291 if ( !m_xDocument.is() )
292 // very bad ...
293 return bReturn;
294
295 try
296 {
297 Reference< XPropertySet > xBindingProps( _rxBinding, UNO_QUERY );
298 OSL_ENSURE( xBindingProps.is() || !_rxBinding.is(), "CellBindingHelper::getAddressFromCellBinding: no property set for the binding!" );
299 if ( xBindingProps.is() )
300 {
301 bReturn = ( xBindingProps->getPropertyValue( PROPERTY_BOUND_CELL ) >>= _rAddress );
302 }
303 }
304 catch( const Exception& )
305 {
306 TOOLS_WARN_EXCEPTION( "extensions.propctrlr", "CellBindingHelper::getAddressFromCellBinding" );
307 }
308
309 return bReturn;
310 }
311
312
313 OUString CellBindingHelper::getStringAddressFromCellBinding( const Reference< XValueBinding >& _rxBinding ) const
314 {
315 CellAddress aAddress;
316 OUString sAddress;
317 if ( getAddressFromCellBinding( _rxBinding, aAddress ) )
318 {
319 Any aStringAddress;
321 PROPERTY_UI_REPRESENTATION, aStringAddress, false );
322
323 aStringAddress >>= sAddress;
324 }
325
326 return sAddress;
327 }
328
329
330 OUString CellBindingHelper::getStringAddressFromCellListSource( const Reference< XListEntrySource >& _rxSource ) const
331 {
332 OSL_PRECOND( !_rxSource.is() || isCellRangeListSource( _rxSource ), "CellBindingHelper::getStringAddressFromCellListSource: this is no cell list source!" );
333
334 OUString sAddress;
335 if ( !m_xDocument.is() )
336 // very bad ...
337 return sAddress;
338
339 try
340 {
341 Reference< XPropertySet > xSourceProps( _rxSource, UNO_QUERY );
342 OSL_ENSURE( xSourceProps.is() || !_rxSource.is(), "CellBindingHelper::getStringAddressFromCellListSource: no property set for the list source!" );
343 if ( xSourceProps.is() )
344 {
345 CellRangeAddress aRangeAddress;
346 xSourceProps->getPropertyValue( PROPERTY_LIST_CELL_RANGE ) >>= aRangeAddress;
347
348 Any aStringAddress;
350 PROPERTY_UI_REPRESENTATION, aStringAddress, true );
351 aStringAddress >>= sAddress;
352 }
353 }
354 catch( const Exception& )
355 {
356 TOOLS_WARN_EXCEPTION( "extensions.propctrlr", "CellBindingHelper::getStringAddressFromCellListSource" );
357 }
358
359 return sAddress;
360 }
361
362
363 bool CellBindingHelper::isSpreadsheetDocumentWhichSupplies( const OUString& _rService ) const
364 {
365 bool bYesItIs = false;
366
367 Reference< XServiceInfo > xSI( m_xDocument, UNO_QUERY );
368 if ( xSI.is() && xSI->supportsService( SERVICE_SPREADSHEET_DOCUMENT ) )
369 {
370 Reference< XMultiServiceFactory > xDocumentFactory( m_xDocument, UNO_QUERY );
371 OSL_ENSURE( xDocumentFactory.is(), "CellBindingHelper::isSpreadsheetDocumentWhichSupplies: spreadsheet document, but no factory?" );
372
373 if ( xDocumentFactory.is() )
374 {
375 const Sequence<OUString> aAvailableServices = xDocumentFactory->getAvailableServiceNames( );
376
377 bYesItIs = std::any_of(
378 aAvailableServices.begin(),
379 aAvailableServices.end(),
380 StringCompare( _rService )
381 );
382 }
383 }
384
385 return bYesItIs;
386 }
387
388
390 {
391 bool bAllow( false );
392
393 Reference< XListEntrySink > xSink( m_xControlModel, UNO_QUERY );
394 if ( xSink.is() )
395 {
397 }
398
399 return bAllow;
400 }
401
402
404 {
405 bool bAllow( true );
406
407 // first, we only offer this for controls which allow bindings in general
408 Reference< XBindableValue > xBindable( m_xControlModel, UNO_QUERY );
409 if ( !xBindable.is() )
410 bAllow = false;
411
412 // then, we must live in a spreadsheet document which can provide the special
413 // service needed for exchanging integer values
414 if ( bAllow )
416
417 // then, we only offer this for list boxes
418 if ( bAllow )
419 {
420 try
421 {
422 sal_Int16 nClassId = FormComponentType::CONTROL;
423 m_xControlModel->getPropertyValue( PROPERTY_CLASSID ) >>= nClassId;
424 if ( FormComponentType::LISTBOX != nClassId )
425 bAllow = false;
426 }
427 catch( const Exception& )
428 {
429 TOOLS_WARN_EXCEPTION( "extensions.propctrlr", "CellBindingHelper::isCellIntegerBindingAllowed" );
430 // are there really control models which survive isCellBindingAllowed, but don't have a ClassId
431 // property?
432 bAllow = false;
433 }
434 }
435
436 return bAllow;
437 }
438
439
441 {
442 bool bAllow( false );
443
444 Reference< XBindableValue > xBindable( m_xControlModel, UNO_QUERY );
445 if ( xBindable.is() )
446 {
447 // the control can potentially be bound to an external value
448 // Does it live within a Calc document, and is able to supply CellBindings?
450 }
451
452 // disallow for some types
453 // TODO: shouldn't the XBindableValue supply a list of supported types, and we can distinguish
454 // using this list? The current behavior below is somewhat hackish...
455 if ( bAllow )
456 {
457 try
458 {
459 sal_Int16 nClassId = FormComponentType::CONTROL;
460 m_xControlModel->getPropertyValue( PROPERTY_CLASSID ) >>= nClassId;
461 if ( ( FormComponentType::DATEFIELD == nClassId ) || ( FormComponentType::TIMEFIELD == nClassId ) )
462 bAllow = false;
463 }
464 catch( const Exception& )
465 {
466 TOOLS_WARN_EXCEPTION( "extensions.propctrlr", "CellBindingHelper::isCellBindingAllowed" );
467 bAllow = false;
468 }
469 }
470 return bAllow;
471 }
472
473
474 bool CellBindingHelper::isCellBinding( const Reference< XValueBinding >& _rxBinding )
475 {
477 }
478
479
480 bool CellBindingHelper::isCellIntegerBinding( const Reference< XValueBinding >& _rxBinding )
481 {
483 }
484
485
486 bool CellBindingHelper::isCellRangeListSource( const Reference< XListEntrySource >& _rxSource )
487 {
489 }
490
491
492 bool CellBindingHelper::doesComponentSupport( const Reference< XInterface >& _rxComponent, const OUString& _rService )
493 {
494 Reference< XServiceInfo > xSI( _rxComponent, UNO_QUERY );
495 bool bDoes = xSI.is() && xSI->supportsService( _rService );
496 return bDoes;
497 }
498
499
500 Reference< XValueBinding > CellBindingHelper::getCurrentBinding( ) const
501 {
502 Reference< XValueBinding > xBinding;
503 Reference< XBindableValue > xBindable( m_xControlModel, UNO_QUERY );
504 if ( xBindable.is() )
505 xBinding = xBindable->getValueBinding();
506 return xBinding;
507 }
508
509
510 Reference< XListEntrySource > CellBindingHelper::getCurrentListSource( ) const
511 {
512 Reference< XListEntrySource > xSource;
513 Reference< XListEntrySink > xSink( m_xControlModel, UNO_QUERY );
514 if ( xSink.is() )
515 xSource = xSink->getListEntrySource();
516 return xSource;
517 }
518
519
520 void CellBindingHelper::setBinding( const Reference< XValueBinding >& _rxBinding )
521 {
522 Reference< XBindableValue > xBindable( m_xControlModel, UNO_QUERY );
523 OSL_PRECOND( xBindable.is(), "CellBindingHelper::setBinding: the object is not bindable!" );
524 if ( xBindable.is() )
525 xBindable->setValueBinding( _rxBinding );
526 }
527
528
529 void CellBindingHelper::setListSource( const Reference< XListEntrySource >& _rxSource )
530 {
531 Reference< XListEntrySink > xSink( m_xControlModel, UNO_QUERY );
532 OSL_PRECOND( xSink.is(), "CellBindingHelper::setListSource: the object is no list entry sink!" );
533 if ( xSink.is() )
534 xSink->setListEntrySource( _rxSource );
535 }
536
537
538} // namespace pcr
539
540
541/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sal_Int16 getControlSheetIndex(css::uno::Reference< css::sheet::XSpreadsheet > &_out_rxSheet) const
retrieves the index of the sheet which our control belongs to
static bool isCellIntegerBinding(const css::uno::Reference< css::form::binding::XValueBinding > &_rxBinding)
checks whether a given binding is a spreadsheet cell binding, exchanging integer values
static bool isCellRangeListSource(const css::uno::Reference< css::form::binding::XListEntrySource > &_rxSource)
checks whether a given list source is a spreadsheet cell list source
OUString getStringAddressFromCellBinding(const css::uno::Reference< css::form::binding::XValueBinding > &_rxBinding) const
creates a string representation for the given value binding's address
css::uno::Reference< css::form::binding::XValueBinding > createCellBindingFromStringAddress(const OUString &_rAddress, bool _bSupportIntegerExchange) const
gets a cell binding for the given address @precond isCellBindingAllowed returns <TRUE>
css::uno::Reference< css::form::binding::XValueBinding > getCurrentBinding() const
returns the current binding of our control model, if any.
bool isCellIntegerBindingAllowed() const
checks whether it's possible to bind the control model to a spreadsheet cell, with exchanging integer...
static bool isCellBinding(const css::uno::Reference< css::form::binding::XValueBinding > &_rxBinding)
checks whether a given binding is a spreadsheet cell binding
bool getAddressFromCellBinding(const css::uno::Reference< css::form::binding::XValueBinding > &_rxBinding, css::table::CellAddress &_rAddress) const
creates an address object for the given value binding's address
bool doConvertAddressRepresentations(const OUString &_rInputProperty, const css::uno::Any &_rInputValue, const OUString &_rOutputProperty, css::uno::Any &_rOutputValue, bool _bIsRange) const
converts an address representation into another one
bool isCellBindingAllowed() const
checks whether it's possible to bind the control model to a spreadsheet cell
static bool doesComponentSupport(const css::uno::Reference< css::uno::XInterface > &_rxComponent, const OUString &_rService)
checks whether a given component supports a given service
static bool isSpreadsheetDocument(const css::uno::Reference< css::frame::XModel > &_rxContextDocument)
determines whether the given model is a spreadsheet document model
bool isSpreadsheetDocumentWhichSupplies(const OUString &_rService) const
determines if our document is a spreadsheet document, and can supply the given service
void setListSource(const css::uno::Reference< css::form::binding::XListEntrySource > &_rxSource)
sets a list source for our control model @precond the control model is a list sink (which is implied ...
css::uno::Reference< css::form::binding::XValueBinding > createCellBindingFromAddress(const css::table::CellAddress &_rAddress, bool _bSupportIntegerExchange) const
creates a cell binding (supporting integer exchange, if requested) for the given address object
css::uno::Reference< css::uno::XInterface > createDocumentDependentInstance(const OUString &_rService, const OUString &_rArgumentName, const css::uno::Any &_rArgumentValue) const
uses the document (it's factory interface, respectively) to create a component instance
css::uno::Reference< css::form::binding::XListEntrySource > getCurrentListSource() const
returns the current external list source of the control model, if any
CellBindingHelper(const css::uno::Reference< css::beans::XPropertySet > &_rxControlModel, const css::uno::Reference< css::frame::XModel > &_rxContextDocument)
ctor
css::uno::Reference< css::sheet::XSpreadsheetDocument > m_xDocument
void setBinding(const css::uno::Reference< css::form::binding::XValueBinding > &_rxBinding)
sets a new binding for our control model @precond the control model is bindable (which is implied by ...
OUString getStringAddressFromCellListSource(const css::uno::Reference< css::form::binding::XListEntrySource > &_rxSource) const
creates a string representation for the given list source's range address
bool convertStringAddress(const OUString &_rAddressDescription, css::table::CellAddress &_rAddress) const
creates an address object from a string representation of a cell address
bool isListCellRangeAllowed() const
checks whether it's possible to bind the control model to range of spreadsheet cells supplying the li...
css::uno::Reference< css::beans::XPropertySet > m_xControlModel
css::uno::Reference< css::form::binding::XListEntrySource > createCellListSourceFromStringAddress(const OUString &_rAddress) const
gets a cell range list source binding for the given address
#define TOOLS_WARN_EXCEPTION(area, stream)
#define DBG_UNHANDLED_EXCEPTION(...)
Reference< XTypeConverter > xConverter
const OUString & m_sReference
constexpr OUStringLiteral PROPERTY_ADDRESS
constexpr OUStringLiteral SERVICE_ADDRESS_CONVERSION
constexpr OUStringLiteral SERVICE_SHEET_CELL_INT_BINDING
constexpr OUStringLiteral SERVICE_SHEET_CELLRANGE_LISTSOURCE
constexpr OUStringLiteral PROPERTY_UI_REPRESENTATION
constexpr OUStringLiteral SERVICE_RANGEADDRESS_CONVERSION
constexpr OUStringLiteral PROPERTY_LIST_CELL_RANGE
constexpr OUStringLiteral PROPERTY_REFERENCE_SHEET
constexpr OUStringLiteral PROPERTY_CLASSID
Definition: formstrings.hxx:30
constexpr OUStringLiteral PROPERTY_BOUND_CELL
constexpr OUStringLiteral SERVICE_SHEET_CELL_BINDING
constexpr OUStringLiteral SERVICE_SPREADSHEET_DOCUMENT
tools::SvRef< SvBaseLink > xSink
@ Exception
int i
a property handler for any virtual string properties
Definition: browserline.cxx:39