Version 4.0.2.1, tag libreoffice-4.0.2.1
[LibreOffice.git] / ucb / source / ucp / webdav / UCBDeadPropertyValue.hxx
blob7ed138fa7c8665046a8103e05505f431e0aed6fd
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 #ifndef _UCBDEADPROPERTYVALUE_HXX_
23 #define _UCBDEADPROPERTYVALUE_HXX_
25 #include <rtl/string.hxx>
26 #include <com/sun/star/uno/Any.hxx>
28 namespace http_dav_ucp
31 class UCBDeadPropertyValue
33 private:
34 static const rtl::OUString aTypeString;
35 static const rtl::OUString aTypeLong;
36 static const rtl::OUString aTypeShort;
37 static const rtl::OUString aTypeBoolean;
38 static const rtl::OUString aTypeChar;
39 static const rtl::OUString aTypeByte;
40 static const rtl::OUString aTypeHyper;
41 static const rtl::OUString aTypeFloat;
42 static const rtl::OUString aTypeDouble;
44 static const rtl::OUString aXMLPre;
45 static const rtl::OUString aXMLMid;
46 static const rtl::OUString aXMLEnd;
48 public:
49 static bool supportsType( const com::sun::star::uno::Type & rType );
51 static bool createFromXML( const rtl::OString & rInData,
52 com::sun::star::uno::Any & rOutData );
53 static bool toXML( const com::sun::star::uno::Any & rInData,
54 rtl::OUString & rOutData );
59 #endif /* _UCBDEADPROPERTYVALUE_HXX_ */
61 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */