/* -*- 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 "propertyhandler.hxx" #include namespace pcr { class XSDValidationHelper; //= XSDValidationPropertyHandler class XSDValidationPropertyHandler : public PropertyHandlerComponent { private: std::unique_ptr< XSDValidationHelper > m_pHelper; public: explicit XSDValidationPropertyHandler( const css::uno::Reference< css::uno::XComponentContext >& _rxContext ); protected: virtual ~XSDValidationPropertyHandler() override; // XServiceInfo virtual OUString SAL_CALL getImplementationName() override; virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override; // XPropertyHandler overriables virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& _rPropertyName ) override; virtual void SAL_CALL setPropertyValue( const OUString& _rPropertyName, const css::uno::Any& _rValue ) override; virtual css::uno::Sequence< OUString > SAL_CALL getSupersededProperties( ) override; virtual css::uno::Sequence< OUString > SAL_CALL getActuatingProperties( ) override; virtual css::inspection::LineDescriptor SAL_CALL describePropertyLine( const OUString& _rPropertyName, const css::uno::Reference< css::inspection::XPropertyControlFactory >& _rxControlFactory ) override; virtual css::inspection::InteractiveSelectionResult SAL_CALL onInteractivePropertySelection( const OUString& _rPropertyName, sal_Bool _bPrimary, css::uno::Any& _rData, const css::uno::Reference< css::inspection::XObjectInspectorUI >& _rxInspectorUI ) override; virtual void SAL_CALL actuatingPropertyChanged( const OUString& _rActuatingPropertyName, const css::uno::Any& _rNewValue, const css::uno::Any& _rOldValue, const css::uno::Reference< css::inspection::XObjectInspectorUI >& _rxInspectorUI, sal_Bool ) override; virtual void SAL_CALL addPropertyChangeListener( const css::uno::Reference< css::beans::XPropertyChangeListener >& _rxListener ) override; virtual void SAL_CALL removePropertyChangeListener( const css::uno::Reference< css::beans::XPropertyChangeListener >& _rxListener ) override; // PropertyHandler overridables virtual css::uno::Sequence< css::beans::Property > doDescribeSupportedProperties() const override; virtual void onNewComponent() override; private: bool implPrepareRemoveCurrentDataType(); bool implDoRemoveCurrentDataType(); bool implPrepareCloneDataCurrentType( OUString& _rNewName ); void implDoCloneCurrentDataType( const OUString& _rNewName ); /** retrieves the names of the data types which our introspectee can be validated against */ void implGetAvailableDataTypeNames( std::vector< OUString >& /* [out] */ _rNames ) const; }; } // namespace pcr /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ bora/cp-6.0-29'>distro/collabora/cp-6.0-29 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/SchXMLSeries2Context.cxx
AgeCommit message (Expand)Author
2024-05-15loplugin:ostr in xmloffNoel Grandin
2024-03-12tdf#146619 Recheck xmloff/*cxx with IWYUGabor Kelemen
2024-01-27Drop std::as_const from css::uno::Sequence iterationsMike Kaganski
2023-10-20Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: xmloffStephan Bergmann
2023-06-26new loplugin:constexprliteralNoel Grandin
2022-08-18Move tools/diagnose_ex.h to comphelper/diagnose_ex.hxxStephan Bergmann
2022-07-12clang-tidy modernize-pass-by-value in xmloffNoel Grandin
2022-05-03Just use Any ctor instead of makeAny in xmloffStephan Bergmann
2021-11-01Prepare for removal of non-const operator[] from Sequence in xmloffMike Kaganski
2021-10-15Remove non-const Sequence::begin()/end() in internal codeMike Kaganski
2021-10-14Avoid COW overhead using css::uno::SequenceMike Kaganski
2021-09-01tdf#143942: oox: import/export labels from <c15:datalabelsRange>Dennis Francis
2021-03-25const OUString -> const OUStringLiteralMike Kaganski
2020-11-30fastparser in SchXMLDomain2ContextNoel
2020-11-30fastparser in shapeimportNoel
2020-11-27Fix typo in commentStephan Bergmann
2020-11-26Fix typoAndrea Gelmini
2020-11-24loplugin:stringviewparam extend to comparison operatorsNoel
2020-11-23tdf#134059 Always include hidden cells in chart series labelOuyang Leyan
2020-11-19fastparser in SchXMLSeries2ContextNoel Grandin
2020-11-19fastparser in SchXMLDataPointContextNoel Grandin
2020-11-19fastparser in SchXMLPlotAreaContextNoel Grandin