LibreOffice Module xmloff (master)
1
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
xmloff
source
core
SvXMLAttr.cxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
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/.
8
*/
9
10
#include <limits.h>
11
#include "
SvXMLAttr.hxx
"
12
13
SvXMLAttr::SvXMLAttr
(
const
OUString& rLName,
14
const
OUString&
rValue
) :
15
aPrefixPos(
USHRT_MAX
),
16
aLName(rLName),
17
aValue(rValue)
18
{
19
}
20
21
SvXMLAttr::SvXMLAttr
(
const
sal_uInt16 nPos,
22
const
OUString& rLName,
23
const
OUString&
rValue
) :
24
aPrefixPos(nPos),
25
aLName(rLName),
26
aValue(rValue)
27
{
28
}
29
30
bool
SvXMLAttr::operator==
(
const
SvXMLAttr
&rCmp)
const
31
{
32
return
( rCmp.
aPrefixPos
==
aPrefixPos
) &&
33
( rCmp.
aLName
==
aLName
) &&
34
( rCmp.
aValue
==
aValue
);
35
}
36
37
38
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SvXMLAttr
Definition:
SvXMLAttr.hxx:15
SvXMLAttr::aPrefixPos
sal_uInt16 aPrefixPos
Definition:
SvXMLAttr.hxx:17
XMLImageStyle::rValue
css::uno::Any const & rValue
Definition:
ImageStyle.hxx:38
SvXMLAttr::SvXMLAttr
SvXMLAttr(const OUString &rLName, const OUString &rValue)
Definition:
SvXMLAttr.cxx:13
SvXMLAttr::aLName
OUString aLName
Definition:
SvXMLAttr.hxx:18
SvXMLAttr.hxx
SvXMLAttr::operator==
bool operator==(const SvXMLAttr &rCmp) const
Definition:
SvXMLAttr.cxx:30
SvXMLAttr::aValue
OUString aValue
Definition:
SvXMLAttr.hxx:19
USHRT_MAX
const o3tl::enumarray< SvxAdjust, unsigned short > aSvxToUnoAdjust USHRT_MAX
Generated on Sat Feb 27 2021 02:56:20 for LibreOffice Module xmloff (master) by
1.8.10