/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
/** implements the XControlAccess, XControlInformation and XFilePickerControlAccess for the file picker
*/ class OControlAccess
{
IFilePickerController* m_pFilePickerController;
SvtFileView* m_pFileView;
private: /** implements the various methods for setting properties on controls
@param nControlId the id of the control @param pControl the affected control. Must be the same as referred by <arg>nControlId</arg>, or NULL. @param nProperty the property to set See PropFlags::* @param rValue the value to set @param bIgnoreIllegalArgument if <FALSE/>, an exception will be thrown if the given value is of improper type
*/ void implSetControlProperty(
sal_Int16 nControlId,
weld::Widget* pControl, PropFlags nProperty, const css::uno::Any& rValue, bool bIgnoreIllegalArgument = true );
/** implements the various methods for retrieving properties from controls
@param pControl the affected control @PRECOND not <NULL/> @param nProperty the property to retrieve See PropFlags::* @return
*/
css::uno::Any implGetControlProperty( weld::Widget const * pControl, PropFlags nProperty ) const;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.