summaryrefslogtreecommitdiff
path: root/xmloff/source/style/prhdlfac.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/prhdlfac.cxx')
-rw-r--r--xmloff/source/style/prhdlfac.cxx27
1 files changed, 16 insertions, 11 deletions
diff --git a/xmloff/source/style/prhdlfac.cxx b/xmloff/source/style/prhdlfac.cxx
index f0bb4c9f7dc4..99ee3810f7dd 100644
--- a/xmloff/source/style/prhdlfac.cxx
+++ b/xmloff/source/style/prhdlfac.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: prhdlfac.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: mib $ $Date: 2001-05-10 10:07:18 $
+ * last change: $Author: dvo $ $Date: 2001-06-15 10:37:07 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -81,6 +81,10 @@
#include "xmlkywd.hxx"
#endif
+#ifndef _XMLOFF_XMLTOKEN_HXX
+#include "xmltoken.hxx"
+#endif
+
#ifndef _XMLOFF_PROPERTYHANDLER_BASICTYPES_HXX
#include "xmlbahdl.hxx"
#endif
@@ -160,22 +164,23 @@
#endif
using namespace ::com::sun::star;
+using namespace ::xmloff::token;
SvXMLEnumMapEntry aXML_ColorMode_EnumMap[] =
{
- { sXML_greyscale, drawing::ColorMode_GREYS },
- { sXML_mono, drawing::ColorMode_MONO },
- { sXML_watermark, drawing::ColorMode_WATERMARK },
- { sXML_standard, drawing::ColorMode_STANDARD },
- { NULL, 0 }
+ { XML_GREYSCALE, drawing::ColorMode_GREYS },
+ { XML_MONO, drawing::ColorMode_MONO },
+ { XML_WATERMARK, drawing::ColorMode_WATERMARK },
+ { XML_STANDARD, drawing::ColorMode_STANDARD },
+ { XML_TOKEN_INVALID, 0 }
};
SvXMLEnumMapEntry __READONLY_DATA aXML_HorizontalAdjust_Enum[] =
{
- { sXML_left, text::HorizontalAdjust_LEFT },
- { sXML_center, text::HorizontalAdjust_CENTER },
- { sXML_right, text::HorizontalAdjust_RIGHT },
- { 0, 0 }
+ { XML_LEFT, text::HorizontalAdjust_LEFT },
+ { XML_CENTER, text::HorizontalAdjust_CENTER },
+ { XML_RIGHT, text::HorizontalAdjust_RIGHT },
+ { XML_TOKEN_INVALID, 0 }
};