/* -*- 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 . */ #ifndef INCLUDED_XMLOFF_XMLPRCON_HXX #define INCLUDED_XMLOFF_XMLPRCON_HXX #include #include class SvXMLImportPropertyMapper; struct XMLPropertyState; class XMLOFF_DLLPUBLIC SvXMLPropertySetContext : public SvXMLImportContext { protected: sal_Int32 const mnStartIdx; sal_Int32 const mnEndIdx; sal_uInt32 const mnFamily; ::std::vector< XMLPropertyState > &mrProperties; rtl::Reference < SvXMLImportPropertyMapper > mxMapper; public: SvXMLPropertySetContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList, sal_uInt32 nFamily, ::std::vector< XMLPropertyState > &rProps, const rtl::Reference < SvXMLImportPropertyMapper > &rMap, sal_Int32 nStartIdx = -1, sal_Int32 nEndIdx = -1 ); virtual ~SvXMLPropertySetContext() override; virtual SvXMLImportContextRef CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; // This method is called from this instance implementation of // CreateChildContext if the element matches an entry in the // SvXMLImportItemMapper with the mid flag MID_FLAG_ELEMENT_ITEM_IMPORT virtual SvXMLImportContextRef CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList, ::std::vector< XMLPropertyState > &rProperties, const XMLPropertyState& rProp ); }; #endif // INCLUDED_XMLOFF_XMLPRCON_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -24.04.10 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2020-04-22Fix typosAndrea Gelmini
2020-04-09pyuno,*: kill Python 2 support with fireMichael Stahl
2020-04-06scripting: mailmerge.py: remove Python 3.0/3.1 supportMichael Stahl
2020-04-02loplugin:flatten in scriptingNoel Grandin
2020-03-12Revert "loplugin:constfields in scripting"Noel Grandin
2020-01-31new loplugin:namespaceindentationNoel Grandin
2020-01-28sys.version is for displaying; use sys.version_info for version checkMike Kaganski
2020-01-28remove some unused local varsNoel Grandin
2020-01-07Fix typoAndrea Gelmini
2019-12-22sal_Char->char in scaddins..sdextNoel Grandin
2019-12-20tdf#124176: Use pragma once instead of include guardsKemal Ayhan
2019-12-09SbxArray: drop 16-bit indicesMike Kaganski
2019-12-03remove some useless comment linesNoel Grandin
2019-11-24cppcheck: performing init in init list (sc/scripting/sd)Julien Nabet
2019-11-22Extend loplugin:external to warn about classesStephan Bergmann
2019-11-09tdf#80731: Only check closing parenthesis when in IDEMike Kaganski
2019-11-06Check if scripting disabled for each dispatch callSamuel Mehrbrodt
2019-11-05Fix option to disable macrosSamuel Mehrbrodt
2019-10-31Fix StringAdd::isCompileTimeConstantStephan Bergmann
2019-10-17Remaining loplugin:bufferaddStephan Bergmann
2019-10-16loplugin:stringadd look through a couple more known-good methodsNoel Grandin
2019-10-01loplugin:stringadd in scNoel Grandin
2019-09-26loplugin:constmethod in scNoel Grandin
2019-08-26loplugin:returnconstval in variousNoel Grandin
2019-08-20loplugin:constvars in sccomp..sdNoel Grandin
2019-08-19Improve check for absolute URIStephan Bergmann
2019-08-17tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctorJulien Nabet
2019-08-16member 'Context' of struct type 'uno.Exception' not given a valueCaolán McNamara
2019-08-16AttributeError on getMessageCaolán McNamara
2019-08-16an absolute uri is invalid inputCaolán McNamara
2019-08-15loplugin:sequenceloop in scaddins..scriptingNoel Grandin
2019-08-14revert part of 'warn on load when a document binds an event to a macro'Caolán McNamara
2019-08-13warn on load when a document binds an event to a macroCaolán McNamara
2019-08-13construct final url from parsed outputCaolán McNamara
2019-08-06Properly obtain locationStephan Bergmann
2019-08-06keep name percent-encodedStephan Bergmann
2019-07-31Improved loplugin:stringconstant (now that GCC 7 supports it): scriptingStephan Bergmann
2019-07-30Simplify Sequence iterations in scaddins, sccomp, scriptingArkadiy Illarionov
2019-07-20loplugin:referencecasting in scriptingNoel Grandin
2019-06-25improve loplugin:simplifyconstructNoel Grandin
2019-06-21simplify some getSupportedServiceNamesNoel Grandin
2019-06-17loplugin:logexceptionnicely in scripting..sdextNoel Grandin
2019-05-13fix wrong SET/QUERY flags passed to uno::ReferenceNoel Grandin
2019-05-12Use hasElements to check Sequence emptiness in sax..sdextArkadiy Illarionov
2019-05-10an uno -> a unoCaolán McNamara
2019-04-30implement std::hash for css::uno::Reference and rtl::ReferenceNoel Grandin