summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-07-05 15:09:05 +0000
committerOliver Bolte <obo@openoffice.org>2004-07-05 15:09:05 +0000
commita0aa9d0f1127f74a066483815f8dc084084d13ea (patch)
tree68f088f887ba1ccfdc2d9e89215461295f01c810 /xmloff
parent610905e0a6ffe7e8c44160417bdb8d3acd1afa0a (diff)
INTEGRATION: CWS frmcontrols04 (1.11.96); FILE MERGED
2004/05/06 12:25:39 fs 1.11.96.2: #i26047# import and export of the ImagePosition property 2004/05/05 14:15:56 fs 1.11.96.1: #i24683# #i24685# #i24688# new attributes reflecting new properties
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/forms/formenums.cxx49
1 files changed, 47 insertions, 2 deletions
diff --git a/xmloff/source/forms/formenums.cxx b/xmloff/source/forms/formenums.cxx
index 93e0bc9677ef..92ebfeae5409 100644
--- a/xmloff/source/forms/formenums.cxx
+++ b/xmloff/source/forms/formenums.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: formenums.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: kz $ $Date: 2003-12-11 13:54:04 $
+ * last change: $Author: obo $ $Date: 2004-07-05 16:09:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -102,6 +102,9 @@
#ifndef _COM_SUN_STAR_AWT_SCROLLBARORIENTATION_HPP_
#include <com/sun/star/awt/ScrollBarOrientation.hpp>
#endif
+#ifndef _COM_SUN_STAR_AWT_VISUALEFFECT_HPP_
+#include <com/sun/star/awt/VisualEffect.hpp>
+#endif
#ifndef _SV_WINTYPES_HXX
#include <vcl/wintypes.hxx> // for check states
#endif
@@ -134,6 +137,7 @@ namespace xmloff
NULL,
NULL,
NULL,
+ NULL,
NULL
};
@@ -340,6 +344,47 @@ namespace xmloff
rReturn = aOrientationMap;
}
break;
+
+ case epVisualEffect:
+ {
+ static SvXMLEnumMapEntry aVisualEffectMap[] =
+ {
+ { XML_NONE, VisualEffect::NONE },
+ { XML_3D, VisualEffect::LOOK3D },
+ { XML_FLAT, VisualEffect::FLAT },
+ { XML_TOKEN_INVALID, 0 }
+ };
+ rReturn = aVisualEffectMap;
+ }
+ break;
+
+ case epImagePosition:
+ {
+ static SvXMLEnumMapEntry aImagePositionMap[] =
+ {
+ { XML_START, 0 },
+ { XML_END, 1 },
+ { XML_TOP, 2 },
+ { XML_BOTTOM, 3 },
+ { XML_CENTER, -1 },
+ { XML_TOKEN_INVALID, 0 }
+ };
+ rReturn = aImagePositionMap;
+ }
+ break;
+
+ case epImageAlign:
+ {
+ static SvXMLEnumMapEntry aImageAlignMap[] =
+ {
+ { XML_START, 0 },
+ { XML_CENTER, 1 },
+ { XML_END, 2 },
+ { XML_TOKEN_INVALID, 0 }
+ };
+ rReturn = aImageAlignMap;
+ }
+ break;
}
}