1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
30 #include <config_lgpl.h>
31 #include <rtl/ustring.hxx>
32 #include "NeonTypes.hxx"
39 static constexpr OUStringLiteral CREATIONDATE
= u
"DAV:creationdate";
40 static constexpr OUStringLiteral DISPLAYNAME
= u
"DAV:displayname";
41 static constexpr OUStringLiteral GETCONTENTLANGUAGE
= u
"DAV:getcontentlanguage";
42 static constexpr OUStringLiteral GETCONTENTLENGTH
= u
"DAV:getcontentlength";
43 static constexpr OUStringLiteral GETCONTENTTYPE
= u
"DAV:getcontenttype";
44 static constexpr OUStringLiteral GETETAG
= u
"DAV:getetag";
45 static constexpr OUStringLiteral GETLASTMODIFIED
= u
"DAV:getlastmodified";
46 static constexpr OUStringLiteral LOCKDISCOVERY
= u
"DAV:lockdiscovery";
47 static constexpr OUStringLiteral RESOURCETYPE
= u
"DAV:resourcetype";
48 static constexpr OUStringLiteral SOURCE
= u
"DAV:source";
49 static constexpr OUStringLiteral SUPPORTEDLOCK
= u
"DAV:supportedlock";
50 static constexpr OUStringLiteral EXECUTABLE
= u
"http://apache.org/dav/props/executable";
52 static void createNeonPropName( const OUString
& rFullName
,
53 NeonPropName
& rName
);
54 static void createUCBPropName ( const char * nspace
,
56 OUString
& rFullName
);
58 static bool isUCBDeadProperty( const NeonPropName
& rName
);
59 static bool isUCBSpecialProperty( const OUString
& rFullName
,
60 OUString
& rParsedName
);
63 } // namespace webdav_ucp
65 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */