2010-10-27 13:11:31 +01:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2000-11-17 18:03:33 +00:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-10 21:05:03 +00:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2000-11-17 18:03:33 +00:00
|
|
|
*
|
2010-02-12 15:01:35 +01:00
|
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
2000-11-17 18:03:33 +00:00
|
|
|
*
|
2008-04-10 21:05:03 +00:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2000-11-17 18:03:33 +00:00
|
|
|
*
|
2008-04-10 21:05:03 +00:00
|
|
|
* This file is part of OpenOffice.org.
|
2000-11-17 18:03:33 +00:00
|
|
|
*
|
2008-04-10 21:05:03 +00:00
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
2000-11-17 18:03:33 +00:00
|
|
|
*
|
2008-04-10 21:05:03 +00:00
|
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
2000-11-17 18:03:33 +00:00
|
|
|
*
|
2008-04-10 21:05:03 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
2000-11-17 18:03:33 +00:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _XMLOFF_FORMENUMS_HXX_
|
|
|
|
#define _XMLOFF_FORMENUMS_HXX_
|
|
|
|
|
2007-06-27 14:15:08 +00:00
|
|
|
#include <xmloff/xmlement.hxx>
|
2000-11-17 18:03:33 +00:00
|
|
|
|
|
|
|
//.........................................................................
|
|
|
|
namespace xmloff
|
|
|
|
{
|
|
|
|
//.........................................................................
|
|
|
|
|
|
|
|
//=====================================================================
|
|
|
|
//= OEnumMapper
|
|
|
|
//=====================================================================
|
|
|
|
class OEnumMapper
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
enum EnumProperties
|
|
|
|
{
|
|
|
|
epSubmitEncoding = 0,
|
|
|
|
epSubmitMethod,
|
|
|
|
epCommandType,
|
|
|
|
epNavigationType,
|
|
|
|
epTabCyle,
|
|
|
|
epButtonType,
|
|
|
|
epListSourceType,
|
|
|
|
epCheckState,
|
2000-12-18 14:14:35 +00:00
|
|
|
epTextAlign,
|
2000-12-19 11:13:57 +00:00
|
|
|
epBorderWidth,
|
2001-06-07 11:25:52 +00:00
|
|
|
epFontEmphasis,
|
|
|
|
epFontRelief,
|
2003-10-21 07:39:48 +00:00
|
|
|
epListLinkageType,
|
2003-12-11 12:54:32 +00:00
|
|
|
epOrientation,
|
2004-07-05 15:09:20 +00:00
|
|
|
epVisualEffect,
|
|
|
|
epImagePosition,
|
|
|
|
epImageAlign,
|
2008-12-01 12:31:27 +00:00
|
|
|
epImageScaleMode,
|
2000-11-17 18:03:33 +00:00
|
|
|
|
|
|
|
KNOWN_ENUM_PROPERTIES
|
|
|
|
};
|
|
|
|
|
|
|
|
private:
|
2000-12-06 16:28:05 +00:00
|
|
|
static const SvXMLEnumMapEntry* s_pEnumMap[KNOWN_ENUM_PROPERTIES];
|
2000-11-17 18:03:33 +00:00
|
|
|
|
|
|
|
public:
|
2000-12-06 16:28:05 +00:00
|
|
|
static const SvXMLEnumMapEntry* getEnumMap(EnumProperties _eProperty);
|
2000-11-17 18:03:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//.........................................................................
|
|
|
|
} // namespace xmloff
|
|
|
|
//.........................................................................
|
|
|
|
|
|
|
|
#endif // _XMLOFF_FORMENUMS_HXX_
|
|
|
|
|
2010-10-27 13:11:31 +01:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|