/* -*- 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 . */ #pragma once #include #include "loadlisteneradapter.hxx" #include #include namespace bib { class FormControlContainer :public ::cppu::BaseMutex ,public ::bib::OLoadListener { private: rtl::Reference m_xFormAdapter; css::uno::Reference< css::form::XLoadable > m_xForm; private: void implSetDesignMode( bool _bDesign ); protected: FormControlContainer( ); virtual ~FormControlContainer( ) override; bool isFormConnected() const { return m_xFormAdapter.is(); } void connectForm( const css::uno::Reference< css::form::XLoadable >& _rxForm ); void disconnectForm(); virtual css::uno::Reference< css::awt::XControlContainer > getControlContainer() = 0; protected: // XLoadListener equivalents virtual void _loaded( const css::lang::EventObject& _rEvent ) override; virtual void _unloading( const css::lang::EventObject& _rEvent ) override; virtual void _reloading( const css::lang::EventObject& _rEvent ) override; virtual void _reloaded( const css::lang::EventObject& _rEvent ) override; }; } // namespace bib /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ ro/collabora/cd-5.3-3.4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2019-07-31Fix typosAndrea Gelmini
2017-07-12strip some linefeeds from the end of debug outputNoel Grandin
2017-06-26Remove nonsense TODOSamuel Mehrbrodt
2017-03-11Fix typosAndrea Gelmini
2017-01-25Fix typo in comments: relativ -> relativeTakeshi Abe
2016-10-03Fix typosAndrea Gelmini
2015-01-05java: remove dead codeNoel Grandin
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini
2014-09-25java: when rethrowing exceptions, store the original causeNoel Grandin
2014-08-19java: no need to instantiate String objects directlyNoel Grandin
2014-08-08java: remove unused variablesNoel Grandin
2014-08-05java: remove various unused variablesNoel Grandin
2014-04-17remove executable bitAndras Timar
2013-05-13Resolves: #i120635# Removed httpserv.jar and changed its dist directoryAndre Fischer
2013-05-06Java cleanup, close file handles when done with themNoel Grandin
2012-11-20fdo#51304: Remove @author annotationJosé Guilherme Vanz
2012-06-22.crt files don't need executable bitsMichael Stahl
2012-06-22.crl files don't need executable bitsMichael Stahl
2012-06-22.pem files don't need executable bitsMichael Stahl
2012-06-22.xml files don't need executable bitsMichael Stahl
2012-06-22.cfg files don't need executable bitsMichael Stahl
2012-06-22manifest.mf files don't need executable bitsMichael Stahl
2012-06-21re-base on ALv2 code.Michael Meeks
2012-03-23.txt files don't need executable bitsMichael Stahl
2012-03-23.java files don't need executable bitsMichael Stahl