1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 #ifndef INCLUDED_XMLOFF_SOURCE_CORE_SVXMLATTR_HXX
11 #define INCLUDED_XMLOFF_SOURCE_CORE_SVXMLATTR_HXX
13 #include <rtl/ustring.hxx>
17 sal_uInt16 aPrefixPos
;
21 // Assuming OUString is well behaved, the default copy constructor and
22 // assignment operator are fine.
23 SvXMLAttr( const OUString
& rLName
,
24 const OUString
& rValue
);
25 SvXMLAttr( const sal_uInt16 nPos
,
26 const OUString
& rLName
,
27 const OUString
& rValue
);
28 bool operator== (const SvXMLAttr
&rCmp
) const;
30 sal_uInt16
getPrefixPos() const { return aPrefixPos
;}
31 const OUString
& getLName() const { return aLName
;}
32 const OUString
& getValue() const { return aValue
;}
35 #endif // INCLUDED_XMLOFF_SOURCE_CORE_SVXMLATTR_HXX
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */