/* -*- 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 _XMLOFF_XMLCNIMP_HXX #define _XMLOFF_XMLCNIMP_HXX #include "xmloff/dllapi.h" //XMLOFF_DLLPUBLIC #include //sal_uInt16 and sal_Bool #include class SvXMLAttrCollection; //Forward declaration only. class XMLOFF_DLLPUBLIC SvXMLAttrContainerData { private: boost::scoped_ptr pimpl; public: SvXMLAttrContainerData(); SvXMLAttrContainerData(const SvXMLAttrContainerData &rCopy); ~SvXMLAttrContainerData(); int operator ==( const SvXMLAttrContainerData& rCmp ) const; sal_Bool AddAttr( const OUString& rLName, const OUString& rValue ); sal_Bool AddAttr( const OUString& rPrefix, const OUString& rNamespace, const OUString& rLName, const OUString& rValue ); sal_Bool AddAttr( const OUString& rPrefix, const OUString& rLName, const OUString& rValue ); size_t GetAttrCount() const; const OUString GetAttrNamespace( size_t i ) const; const OUString GetAttrPrefix( size_t i ) const; const OUString& GetAttrLName( size_t i ) const; const OUString& GetAttrValue( size_t i ) const; sal_uInt16 GetFirstNamespaceIndex() const; sal_uInt16 GetNextNamespaceIndex( sal_uInt16 nIdx ) const; const OUString& GetNamespace( sal_uInt16 i ) const; const OUString& GetPrefix( sal_uInt16 i ) const; sal_Bool SetAt( size_t i, const OUString& rLName, const OUString& rValue ); sal_Bool SetAt( size_t i, const OUString& rPrefix, const OUString& rNamespace, const OUString& rLName, const OUString& rValue ); sal_Bool SetAt( size_t i, const OUString& rPrefix, const OUString& rLName, const OUString& rValue ); void Remove( size_t i ); }; #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ distro/collabora/co-24.04.10 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-23tdf#124176 Use pragma once in connectivityVincent LE GARREC
Change-Id: I4a57cd6dcbc180fe9a378d2713c687a66476ee79 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111979 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2020-07-18compact namespace: connectivityNoel Grandin
Change-Id: I4f7999672ba15d9f453ded9accb3991b8150c32d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98905 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-07-06connectivity: turn on clang-format for the Writer driverMiklos Vajna
I (tried to) keep this consistent locally with astyle in the past, switching to clang-format means consistency is enforced by CI. Change-Id: I1016e253c6536b207a05328e5f6f13de37889588 Reviewed-on: https://gerrit.libreoffice.org/57046 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins
2018-01-11connectivity: various small cleanups in the Writer driverMiklos Vajna
Change-Id: I91735c3e92262fd37966c53f973d5eee1522cd61 Reviewed-on: https://gerrit.libreoffice.org/47741 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-10-23loplugin:includeform: connectivityStephan Bergmann
Change-Id: I06596fac09f0568b8bab2e2e235a2b88bcd3fc7a
2017-09-11connectivity DatabaseMetaData: pull out OComponent from OCalc/WriterMiklos Vajna
Only getURL() and getTables() is custom, the rest can be shared. Change-Id: I9d282a30f722bce0c05b37c7d005c84193e01b7c Reviewed-on: https://gerrit.libreoffice.org/42152 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-07-17connectivity writer driver: initial DatabaseMetaData implementationMiklos Vajna
With this the list of tables is visible in Data Sources. Change-Id: I7ee4955c54a76c57f854dba19fd1a6a8ee606089 Reviewed-on: https://gerrit.libreoffice.org/40056 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>