LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File field-patch-split-build.diff of Package OpenOffice_org-libs-core (Project DISCONTINUED:openSUSE:11.2)

--- /dev/null	2007-04-20 17:59:41.000000000 +0200
+++ xmloff/inc/xmloff/ecmaflds.hxx	2009-04-24 11:38:07.000000000 +0200
@@ -0,0 +1,68 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ * 
+ * Copyright 2008 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: $
+ * $Revision: $
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * 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.
+ *
+ * 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).
+ *
+ * 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.
+ *
+ ************************************************************************/
+/* and also:
+ * Author: Florian Reuter <freuter@novell.com>
+ * Copyright 2008 by Novell, Inc.
+*/
+#ifndef _ECMAFLDS_HXX
+#define _ECMAFLDS_HXX
+
+
+#define ECMA_FORMTEXT "ecma.office-open-xml.field.FORMTEXT"
+#define ECMA_FORMTEXT_NAME "name"
+#define ECMA_FORMTEXT_HELPTEXT "helpText"
+#define ECMA_FORMTEXT_STATUSTEXT "statusText"
+#define ECMA_FORMTEXT_DEFAULT "default"
+#define ECMA_FORMTEXT_FORMAT "format"
+#define ECMA_FORMTEXT_MAXLENGTH "maxLength"
+#define ECMA_FORMTEXT_TYPE "type"
+
+#define ECMA_FORMCHECKBOX "ecma.office-open-xml.field.FORMCHECKBOX"
+#define ECMA_FORMCHECKBOX_NAME "name"
+#define ECMA_FORMCHECKBOX_HELPTEXT "helpText"
+#define ECMA_FORMCHECKBOX_STATUSTEXT "statusText"
+#define ECMA_FORMCHECKBOX_CHECKED "checked"
+#define ECMA_FORMCHECKBOX_DEFAULT "default"
+#define ECMA_FORMCHECKBOX_SIZE "size"
+#define ECMA_FORMCHECKBOX_SIZEAUTO "sizeAuto"
+
+
+#define ECMA_FORMDROPDOWN "ecma.office-open-xml.field.FORMDROPDOWN"
+#define ECMA_FORMDROPDOWN_DEFAULT "default"
+#define ECMA_FORMDROPDOWN_LISTENTRY "listEntry"
+#define ECMA_FORMDROPDOWN_RESULT "result"
+
+#define ECMA_TOC "ecma.office-open-xml.field.TOC"
+
+#define ECMA_HYPERLINK "ecma.office-open-xml.field.HYPERLINK"
+
+#define ECMA_PAGEREF "ecma.office-open-xml.field.PAGEREF"
+
+#endif /*  _ECMAFLDS_HXX */
--- xmloff/source/text/XMLTextMarkImportContext.cxx.old	2009-04-24 15:32:17.000000000 +0200
+++ xmloff/source/text/XMLTextMarkImportContext.cxx	2009-04-24 16:20:13.000000000 +0200
@@ -41,6 +41,7 @@
 #include <xmloff/xmltoken.hxx>
 #include <xmloff/xmlimp.hxx>
 #include <xmloff/nmspmap.hxx>
+#include <xmloff/ecmaflds.hxx>
 #include "xmlnmspe.hxx"
 #include <com/sun/star/xml/sax/XAttributeList.hpp>
 #include <com/sun/star/text/XTextContent.hpp>
@@ -50,7 +51,6 @@
 
 #include <com/sun/star/text/XFormField.hpp>
 
-#include <../../../sw/inc/ecmaflds.hxx>  // HACKYYYYYYYYY
 
 using ::rtl::OUString;
 using ::rtl::OUStringBuffer;