LibreOffice Module forms (master) 1
navigationbar.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 "navigationbar.hxx"
21#include <property.hxx>
22#include <services.hxx>
23
24#include <com/sun/star/beans/PropertyAttribute.hpp>
25#include <com/sun/star/form/FormComponentType.hpp>
26#include <com/sun/star/text/WritingMode2.hpp>
27
30#include <tools/debug.hxx>
31
32using namespace comphelper;
33
34namespace frm
35{
36
37 using namespace ::com::sun::star::uno;
38 using namespace ::com::sun::star::beans;
39 using namespace ::com::sun::star::form;
40 using namespace ::com::sun::star::awt;
41 using namespace ::com::sun::star::io;
42 using namespace ::com::sun::star::lang;
43 using namespace ::com::sun::star::util;
44 using namespace ::com::sun::star::container;
45 using namespace ::comphelper;
46
47 namespace WritingMode2 = ::com::sun::star::text::WritingMode2;
48
49 ONavigationBarModel::ONavigationBarModel( const Reference< XComponentContext >& _rxFactory )
50 :OControlModel( _rxFactory, OUString() )
51 ,FontControlModel( true )
52 {
53
54 m_nClassId = FormComponentType::NAVIGATIONBAR;
55 implInitPropertyContainer();
56
57 getPropertyDefaultByHandle( PROPERTY_ID_DEFAULTCONTROL ) >>= m_sDefaultControl;
58 getPropertyDefaultByHandle( PROPERTY_ID_ICONSIZE ) >>= m_nIconSize;
59 getPropertyDefaultByHandle( PROPERTY_ID_BORDER ) >>= m_nBorder;
60 getPropertyDefaultByHandle( PROPERTY_ID_DELAY ) >>= m_nDelay;
61 getPropertyDefaultByHandle( PROPERTY_ID_ENABLED ) >>= m_bEnabled;
62 getPropertyDefaultByHandle( PROPERTY_ID_ENABLEVISIBLE ) >>= m_bEnableVisible;
63 getPropertyDefaultByHandle( PROPERTY_ID_SHOW_POSITION ) >>= m_bShowPosition;
64 getPropertyDefaultByHandle( PROPERTY_ID_SHOW_NAVIGATION ) >>= m_bShowNavigation;
65 getPropertyDefaultByHandle( PROPERTY_ID_SHOW_RECORDACTIONS ) >>= m_bShowActions;
66 getPropertyDefaultByHandle( PROPERTY_ID_SHOW_FILTERSORT ) >>= m_bShowFilterSort;
67 getPropertyDefaultByHandle( PROPERTY_ID_WRITING_MODE ) >>= m_nWritingMode;
68 getPropertyDefaultByHandle( PROPERTY_ID_CONTEXT_WRITING_MODE ) >>= m_nContextWritingMode;
69 }
70
71
72 ONavigationBarModel::ONavigationBarModel( const ONavigationBarModel* _pOriginal, const Reference< XComponentContext >& _rxFactory )
73 :OControlModel( _pOriginal, _rxFactory )
74 ,FontControlModel( _pOriginal )
75 {
76
77 implInitPropertyContainer();
78
79 m_aTabStop = _pOriginal->m_aTabStop;
80 m_aBackgroundColor = _pOriginal->m_aBackgroundColor;
81 m_sDefaultControl = _pOriginal->m_sDefaultControl;
82 m_sHelpText = _pOriginal->m_sHelpText;
83 m_sHelpURL = _pOriginal->m_sHelpURL;
84 m_bEnabled = _pOriginal->m_bEnabled;
85 m_bEnableVisible = _pOriginal->m_bEnableVisible;
86 m_nIconSize = _pOriginal->m_nIconSize;
87 m_nBorder = _pOriginal->m_nBorder;
88 m_nDelay = _pOriginal->m_nDelay;
89 m_bShowPosition = _pOriginal->m_bShowPosition;
90 m_bShowNavigation = _pOriginal->m_bShowNavigation;
91 m_bShowActions = _pOriginal->m_bShowActions;
92 m_bShowFilterSort = _pOriginal->m_bShowFilterSort;
93 m_nWritingMode = _pOriginal->m_nWritingMode;
94 m_nContextWritingMode = _pOriginal->m_nContextWritingMode;
95 }
96
97
98 void ONavigationBarModel::implInitPropertyContainer()
99 {
100 registerProperty( PROPERTY_DEFAULTCONTROL, PROPERTY_ID_DEFAULTCONTROL, PropertyAttribute::BOUND | PropertyAttribute::MAYBEDEFAULT,
101 &m_sDefaultControl, cppu::UnoType<decltype(m_sDefaultControl)>::get() );
102 registerProperty( PROPERTY_HELPTEXT, PROPERTY_ID_HELPTEXT, PropertyAttribute::BOUND | PropertyAttribute::MAYBEDEFAULT,
103 &m_sHelpText, cppu::UnoType<decltype(m_sHelpText)>::get() );
104 registerProperty( PROPERTY_HELPURL, PROPERTY_ID_HELPURL, PropertyAttribute::BOUND | PropertyAttribute::MAYBEDEFAULT,
105 &m_sHelpURL, cppu::UnoType<decltype(m_sHelpURL)>::get() );
106 registerProperty( PROPERTY_ENABLED, PROPERTY_ID_ENABLED, PropertyAttribute::BOUND | PropertyAttribute::MAYBEDEFAULT,
107 &m_bEnabled, cppu::UnoType<decltype(m_bEnabled)>::get() );
108 registerProperty( PROPERTY_ENABLEVISIBLE, PROPERTY_ID_ENABLEVISIBLE, PropertyAttribute::BOUND | PropertyAttribute::MAYBEDEFAULT,
109 &m_bEnableVisible, cppu::UnoType<decltype(m_bEnableVisible)>::get() );
110 registerProperty( PROPERTY_ICONSIZE, PROPERTY_ID_ICONSIZE, PropertyAttribute::BOUND | PropertyAttribute::MAYBEDEFAULT,
111 &m_nIconSize, cppu::UnoType<decltype(m_nIconSize)>::get() );
112 registerProperty( PROPERTY_BORDER, PROPERTY_ID_BORDER, PropertyAttribute::BOUND | PropertyAttribute::MAYBEDEFAULT,
113 &m_nBorder, cppu::UnoType<decltype(m_nBorder)>::get() );
114 registerProperty( PROPERTY_DELAY, PROPERTY_ID_DELAY, PropertyAttribute::BOUND | PropertyAttribute::MAYBEDEFAULT,
115 &m_nDelay, cppu::UnoType<decltype(m_nDelay)>::get() );
116 registerProperty( PROPERTY_SHOW_POSITION, PROPERTY_ID_SHOW_POSITION, PropertyAttribute::BOUND | PropertyAttribute::MAYBEDEFAULT,
117 &m_bShowPosition, cppu::UnoType<decltype(m_bShowPosition)>::get() );
118 registerProperty( PROPERTY_SHOW_NAVIGATION, PROPERTY_ID_SHOW_NAVIGATION, PropertyAttribute::BOUND | PropertyAttribute::MAYBEDEFAULT,
119 &m_bShowNavigation, cppu::UnoType<decltype(m_bShowNavigation)>::get() );
120 registerProperty( PROPERTY_SHOW_RECORDACTIONS, PROPERTY_ID_SHOW_RECORDACTIONS, PropertyAttribute::BOUND | PropertyAttribute::MAYBEDEFAULT,
121 &m_bShowActions, cppu::UnoType<decltype(m_bShowActions)>::get() );
122 registerProperty( PROPERTY_SHOW_FILTERSORT, PROPERTY_ID_SHOW_FILTERSORT, PropertyAttribute::BOUND | PropertyAttribute::MAYBEDEFAULT,
123 &m_bShowFilterSort, cppu::UnoType<decltype(m_bShowFilterSort)>::get() );
124 registerProperty( PROPERTY_WRITING_MODE, PROPERTY_ID_WRITING_MODE, PropertyAttribute::BOUND | PropertyAttribute::MAYBEDEFAULT,
125 &m_nWritingMode, cppu::UnoType<decltype(m_nWritingMode)>::get() );
126
127 registerProperty( PROPERTY_CONTEXT_WRITING_MODE, PROPERTY_ID_CONTEXT_WRITING_MODE, PropertyAttribute::BOUND | PropertyAttribute::MAYBEDEFAULT | PropertyAttribute::TRANSIENT,
128 &m_nContextWritingMode, cppu::UnoType<decltype(m_nContextWritingMode)>::get() );
129
130 registerMayBeVoidProperty( PROPERTY_TABSTOP, PROPERTY_ID_TABSTOP, PropertyAttribute::BOUND | PropertyAttribute::MAYBEDEFAULT | PropertyAttribute::MAYBEVOID,
131 &m_aTabStop, cppu::UnoType<sal_Bool>::get() );
132
133 registerMayBeVoidProperty( PROPERTY_BACKGROUNDCOLOR, PROPERTY_ID_BACKGROUNDCOLOR, PropertyAttribute::BOUND | PropertyAttribute::MAYBEDEFAULT | PropertyAttribute::MAYBEVOID,
134 &m_aBackgroundColor, cppu::UnoType<sal_Int32>::get() );
135 }
136
137
138 ONavigationBarModel::~ONavigationBarModel()
139 {
140 if ( !OComponentHelper::rBHelper.bDisposed )
141 {
142 acquire();
143 dispose();
144 }
145
146 }
147
148
149 Any SAL_CALL ONavigationBarModel::queryAggregation( const Type& _rType )
150 {
151 Any aReturn = ONavigationBarModel_BASE::queryInterface( _rType );
152
153 if ( !aReturn.hasValue() )
154 aReturn = OControlModel::queryAggregation( _rType );
155
156 return aReturn;
157 }
158
159
161
162
163 css::uno::Reference< css::util::XCloneable > SAL_CALL ONavigationBarModel::createClone()
164{
165 rtl::Reference<ONavigationBarModel> pClone = new ONavigationBarModel(this, getContext());
166 pClone->clonedFrom(this);
167 return pClone;
168}
169
170
171 OUString SAL_CALL ONavigationBarModel::getImplementationName()
172 {
173 return "com.sun.star.comp.form.ONavigationBarModel";
174 }
175
176
177 Sequence< OUString > SAL_CALL ONavigationBarModel::getSupportedServiceNames()
178 {
179 Sequence< OUString > aSupported = OControlModel::getSupportedServiceNames_Static();
180 aSupported.realloc( aSupported.getLength() + 2 );
181
182 OUString* pArray = aSupported.getArray();
183 pArray[ aSupported.getLength() - 2 ] = "com.sun.star.awt.UnoControlModel";
184 pArray[ aSupported.getLength() - 1 ] = FRM_SUN_COMPONENT_NAVTOOLBAR;
185 return aSupported;
186 }
187
188 OUString SAL_CALL ONavigationBarModel::getServiceName()
189 {
191 }
192
193 #define PERSIST_TABSTOP 0x0001
194 #define PERSIST_BACKGROUND 0x0002
195 #define PERSIST_TEXTCOLOR 0x0004
196 #define PERSIST_TEXTLINECOLOR 0x0008
197
198 #define PERSIST_ENABLED 0x0001
199 #define PERSIST_LARGEICONS 0x0002
200 // leaf a leap here - this will allow for two more icon size values to be stored compatibly
201 #define PERSIST_SHOW_POSITION 0x0008
202 #define PERSIST_SHOW_NAVIGATION 0x0010
203 #define PERSIST_SHOW_ACTIONS 0x0020
204 #define PERSIST_SHOW_FILTERSORT 0x0040
205
206
207 void SAL_CALL ONavigationBarModel::write( const Reference< XObjectOutputStream >& _rxOutStream )
208 {
209 // open a section for compatibility - if we later on write additional members,
210 // then older versions can skip them
211 OStreamSection aEnsureBlockCompat( _rxOutStream );
212
213 // base class
214 OControlModel::write( _rxOutStream );
215
216 {
217 OStreamSection aEnsureCompat( _rxOutStream );
218 // determine which properties are not void and need to be written
219 sal_Int32 nNonVoids = 0;
220 if ( m_aTabStop.hasValue() )
221 nNonVoids |= PERSIST_TABSTOP;
222 if ( m_aBackgroundColor.hasValue() )
223 nNonVoids |= PERSIST_BACKGROUND;
224 if ( hasTextColor() )
225 nNonVoids |= PERSIST_TEXTCOLOR;
226 if ( hasTextLineColor() )
227 nNonVoids |= PERSIST_TEXTLINECOLOR;
228
229 _rxOutStream->writeLong( nNonVoids );
230
231 // the maybeboid anys
232 if ( nNonVoids & PERSIST_TABSTOP )
233 {
234 bool bTabStop( false );
235 m_aTabStop >>= bTabStop;
236 _rxOutStream->writeBoolean( bTabStop );
237 }
238 if ( nNonVoids & PERSIST_BACKGROUND )
239 {
240 sal_Int32 nBackgroundColor = 0;
241 m_aBackgroundColor >>= nBackgroundColor;
242 _rxOutStream->writeLong( nBackgroundColor );
243 }
244 if ( nNonVoids & PERSIST_TEXTCOLOR )
245 {
246 _rxOutStream->writeLong( sal_Int32(getTextColor()) );
247 }
248 if ( nNonVoids & PERSIST_TEXTLINECOLOR )
249 {
250 _rxOutStream->writeLong( sal_Int32(getTextLineColor()) );
251 }
252 }
253
254 {
255 OStreamSection aEnsureCompat( _rxOutStream );
256 ::comphelper::operator<<( _rxOutStream, getFont() );
257 }
258
259 // our boolean flags
260 sal_Int32 nFlags = 0;
261 if ( m_bEnabled ) nFlags |= PERSIST_ENABLED;
262 if ( m_nIconSize ) nFlags |= PERSIST_LARGEICONS; // at the moment, this is quasi boolean
263 if ( m_bShowPosition ) nFlags |= PERSIST_SHOW_POSITION;
264 if ( m_bShowNavigation ) nFlags |= PERSIST_SHOW_NAVIGATION;
265 if ( m_bShowActions ) nFlags |= PERSIST_SHOW_ACTIONS;
266 if ( m_bShowFilterSort ) nFlags |= PERSIST_SHOW_FILTERSORT;
267 _rxOutStream->writeLong( nFlags );
268
269 // our strings
270 _rxOutStream->writeUTF( m_sHelpText );
271 _rxOutStream->writeUTF( m_sHelpURL );
272 _rxOutStream->writeUTF( m_sDefaultControl );
273
274 // misc
275 _rxOutStream->writeShort( m_nBorder );
276 _rxOutStream->writeLong ( m_nDelay );
277 }
278
279
280 void SAL_CALL ONavigationBarModel::read( const Reference< XObjectInputStream >& _rxInStream )
281 {
282 OStreamSection aEnsureBlockCompat( _rxInStream );
283
284 // base class
285 OControlModel::read( _rxInStream );
286
287 {
288 OStreamSection aEnsureCompat( _rxInStream );
289 // determine which properties were non-void
290 sal_Int32 nNonVoids = _rxInStream->readLong( );
291
292 // the maybeboid anys
293 if ( nNonVoids & PERSIST_TABSTOP )
294 m_aTabStop <<= _rxInStream->readBoolean();
295 else
296 m_aTabStop.clear();
297
298 if ( nNonVoids & PERSIST_BACKGROUND )
299 m_aBackgroundColor <<= _rxInStream->readLong();
300 else
301 m_aBackgroundColor.clear();
302
303 if ( nNonVoids & PERSIST_TEXTCOLOR )
304 setTextColor( ::Color(ColorTransparency, _rxInStream->readLong()) );
305 else
306 clearTextColor();
307
308 if ( nNonVoids & PERSIST_TEXTLINECOLOR )
309 setTextLineColor( ::Color(ColorTransparency, _rxInStream->readLong()) );
310 else
311 clearTextLineColor();
312 }
313
314 {
315 OStreamSection aEnsureCompat( _rxInStream );
316 FontDescriptor aFont;
317 ::comphelper::operator>>( _rxInStream, aFont );
318 setFont( aFont );
319 }
320
321 // our boolean flags
322 sal_Int32 nFlags = _rxInStream->readLong( );
323 m_bEnabled = ( nFlags & PERSIST_ENABLED ) != 0;
324 m_nIconSize = ( nFlags & PERSIST_LARGEICONS ) ? 1 : 0;
325 m_bShowPosition = ( nFlags & PERSIST_SHOW_POSITION ) != 0;
326 m_bShowNavigation = ( nFlags & PERSIST_SHOW_NAVIGATION ) != 0;
327 m_bShowActions = ( nFlags & PERSIST_SHOW_ACTIONS ) != 0;
328 m_bShowFilterSort = ( nFlags & PERSIST_SHOW_FILTERSORT ) != 0;
329
330 // our strings
331 m_sHelpText = _rxInStream->readUTF( );
332 m_sHelpURL = _rxInStream->readUTF( );
333 m_sDefaultControl = _rxInStream->readUTF( );
334
335 // misc
336 m_nBorder = _rxInStream->readShort();
337 m_nDelay = _rxInStream->readLong();
338 }
339
340
341 void SAL_CALL ONavigationBarModel::getFastPropertyValue( Any& _rValue, sal_Int32 _nHandle ) const
342 {
343 if ( isRegisteredProperty( _nHandle ) )
344 {
345 OPropertyContainerHelper::getFastPropertyValue( _rValue, _nHandle );
346 }
347 else if ( isFontRelatedProperty( _nHandle ) )
348 {
349 FontControlModel::getFastPropertyValue( _rValue, _nHandle );
350 }
351 else
352 {
353 OControlModel::getFastPropertyValue( _rValue, _nHandle );
354 }
355 }
356
357
358 sal_Bool SAL_CALL ONavigationBarModel::convertFastPropertyValue( Any& _rConvertedValue, Any& _rOldValue,
359 sal_Int32 _nHandle, const Any& _rValue )
360 {
361 bool bModified = false;
362
363 if ( isRegisteredProperty( _nHandle ) )
364 {
365 bModified = OPropertyContainerHelper::convertFastPropertyValue( _rConvertedValue, _rOldValue, _nHandle, _rValue );
366 }
367 else if ( isFontRelatedProperty( _nHandle ) )
368 {
369 bModified = FontControlModel::convertFastPropertyValue( _rConvertedValue, _rOldValue, _nHandle, _rValue );
370 }
371 else
372 {
373 bModified = OControlModel::convertFastPropertyValue( _rConvertedValue, _rOldValue, _nHandle, _rValue );
374 }
375
376 return bModified;
377 }
378
379
380 void SAL_CALL ONavigationBarModel::setFastPropertyValue_NoBroadcast( sal_Int32 _nHandle, const Any& _rValue )
381 {
382 if ( isRegisteredProperty( _nHandle ) )
383 {
384 OPropertyContainerHelper::setFastPropertyValue( _nHandle, _rValue );
385 }
386 else if ( isFontRelatedProperty( _nHandle ) )
387 {
388 FontControlModel::setFastPropertyValue_NoBroadcast_impl(
389 *this, &ONavigationBarModel::setDependentFastPropertyValue,
390 _nHandle, _rValue);
391 }
392 else
393 {
394 OControlModel::setFastPropertyValue_NoBroadcast( _nHandle, _rValue );
395 }
396 }
397
398
399 Any ONavigationBarModel::getPropertyDefaultByHandle( sal_Int32 _nHandle ) const
400 {
401 Any aDefault;
402
403 switch ( _nHandle )
404 {
407 /* void */
408 break;
411 aDefault <<= WritingMode2::CONTEXT;
412 break;
413
420 aDefault <<= true;
421 break;
422
424 aDefault <<= sal_Int16(0);
425 break;
426
428 aDefault <<= OUString( "com.sun.star.form.control.NavigationToolBar" );
429 break;
430
433 aDefault <<= OUString();
434 break;
435
437 aDefault <<= sal_Int16(0);
438 break;
439
441 aDefault <<= sal_Int32(20);
442 break;
443
444 default:
445 if ( isFontRelatedProperty( _nHandle ) )
446 aDefault = FontControlModel::getPropertyDefaultByHandle( _nHandle );
447 else
448 aDefault = OControlModel::getPropertyDefaultByHandle( _nHandle );
449 }
450 return aDefault;
451 }
452
453
454 void ONavigationBarModel::describeFixedProperties( Sequence< Property >& _rProps ) const
455 {
456 OControlModel::describeFixedProperties( _rProps );
457 sal_Int32 nOldCount = _rProps.getLength();
458 _rProps.realloc( nOldCount + 1);
459 css::beans::Property* pProperties = _rProps.getArray() + nOldCount;
460 *pProperties++ = css::beans::Property(PROPERTY_TABINDEX, PROPERTY_ID_TABINDEX, cppu::UnoType<sal_Int16>::get(), css::beans::PropertyAttribute::BOUND | css::beans::PropertyAttribute::MAYBEDEFAULT);
461 DBG_ASSERT( pProperties == _rProps.getArray() + _rProps.getLength(), "<...>::describeFixedProperties/getInfoHelper: forgot to adjust the count ?");
462
463 // properties which the OPropertyContainerHelper is responsible for
464 Sequence< Property > aContainedProperties;
465 describeProperties( aContainedProperties );
466
467 // properties which the FontControlModel is responsible for
468 Sequence< Property > aFontProperties;
469 describeFontRelatedProperties( aFontProperties );
470
471 _rProps = concatSequences(
472 aContainedProperties,
473 aFontProperties,
474 _rProps
475 );
476 }
477
478} // namespace frm
479
480extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
482 css::uno::Sequence<css::uno::Any> const &)
483{
484 return cppu::acquire(new frm::ONavigationBarModel(context));
485}
486
487/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
ONavigationBarModel(const css::uno::Reference< css::uno::XComponentContext > &_rxFactory)
ColorTransparency
#define DBG_ASSERT(sCon, aError)
constexpr OUStringLiteral PROPERTY_TABINDEX
Definition: frm_strings.hxx:26
constexpr OUStringLiteral PROPERTY_DEFAULTCONTROL
Definition: frm_strings.hxx:51
constexpr OUStringLiteral PROPERTY_BACKGROUNDCOLOR
constexpr OUStringLiteral PROPERTY_ICONSIZE
constexpr OUStringLiteral PROPERTY_HELPURL
constexpr OUStringLiteral PROPERTY_SHOW_RECORDACTIONS
constexpr OUStringLiteral PROPERTY_HELPTEXT
constexpr OUStringLiteral PROPERTY_SHOW_FILTERSORT
constexpr OUStringLiteral PROPERTY_DELAY
constexpr OUStringLiteral PROPERTY_ENABLEVISIBLE
Definition: frm_strings.hxx:40
constexpr OUStringLiteral PROPERTY_WRITING_MODE
constexpr OUStringLiteral PROPERTY_SHOW_POSITION
constexpr OUStringLiteral PROPERTY_SHOW_NAVIGATION
constexpr OUStringLiteral PROPERTY_TABSTOP
constexpr OUStringLiteral PROPERTY_BORDER
constexpr OUStringLiteral PROPERTY_ENABLED
Definition: frm_strings.hxx:39
constexpr OUStringLiteral PROPERTY_CONTEXT_WRITING_MODE
css::uno::Sequence< T > concatSequences(const css::uno::Sequence< T > &rS1, const Ss &... rSn)
Type
ListBox is a bit confusing / different from other form components, so here are a few notes:
Definition: BaseListBox.hxx:25
IMPLEMENT_FORWARD_XTYPEPROVIDER2(ChildWindowPane, ChildWindowPaneInterfaceBase, Pane)
void dispose()
#define PERSIST_SHOW_FILTERSORT
#define PERSIST_ENABLED
#define PERSIST_TABSTOP
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_comp_form_ONavigationBarModel_get_implementation(css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
#define PERSIST_SHOW_POSITION
#define PERSIST_TEXTLINECOLOR
#define PERSIST_LARGEICONS
#define PERSIST_TEXTCOLOR
#define PERSIST_SHOW_NAVIGATION
#define PERSIST_BACKGROUND
#define PERSIST_SHOW_ACTIONS
#define PROPERTY_ID_SHOW_FILTERSORT
Definition: property.hxx:160
#define PROPERTY_ID_WRITING_MODE
Definition: property.hxx:55
#define PROPERTY_ID_SHOW_RECORDACTIONS
Definition: property.hxx:159
#define PROPERTY_ID_ENABLEVISIBLE
Definition: property.hxx:200
#define PROPERTY_ID_BACKGROUNDCOLOR
Definition: property.hxx:93
#define PROPERTY_ID_ENABLED
Definition: property.hxx:144
#define PROPERTY_ID_DELAY
Definition: property.hxx:88
#define PROPERTY_ID_ICONSIZE
Definition: property.hxx:254
#define PROPERTY_ID_HELPTEXT
Definition: property.hxx:176
#define PROPERTY_ID_SHOW_NAVIGATION
Definition: property.hxx:158
#define PROPERTY_ID_TABSTOP
Definition: property.hxx:103
#define PROPERTY_ID_DEFAULTCONTROL
Definition: property.hxx:78
#define PROPERTY_ID_CONTEXT_WRITING_MODE
Definition: property.hxx:56
#define PROPERTY_ID_HELPURL
Definition: property.hxx:187
#define PROPERTY_ID_TABINDEX
Definition: property.hxx:41
#define PROPERTY_ID_SHOW_POSITION
Definition: property.hxx:157
#define PROPERTY_ID_BORDER
Definition: property.hxx:97
constexpr OUStringLiteral FRM_SUN_COMPONENT_NAVTOOLBAR
Definition: services.hxx:134
unsigned char sal_Bool