diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-06-25 13:26:03 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-06-25 13:26:03 +0000 |
commit | ca8f32bd6ed9c1ad06a11392d5710c357cb08e7b (patch) | |
tree | 4e6ca8bf76a4852e5d66f937ca6bf600668be4e2 /forms/qa/integration | |
parent | be815508a519767673309cd35b400d7117f3ce9c (diff) |
INTEGRATION: CWS xformsdocmodify (1.4.24); FILE MERGED
2008/06/04 20:57:51 fs 1.4.24.1: #i90363# support for an XML form document
Diffstat (limited to 'forms/qa/integration')
-rw-r--r-- | forms/qa/integration/forms/DocumentType.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/qa/integration/forms/DocumentType.java b/forms/qa/integration/forms/DocumentType.java index f10d13a9d706..855ea286e9e0 100644 --- a/forms/qa/integration/forms/DocumentType.java +++ b/forms/qa/integration/forms/DocumentType.java @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: DocumentType.java,v $ - * $Revision: 1.4 $ + * $Revision: 1.5 $ * * This file is part of OpenOffice.org. * @@ -29,8 +29,6 @@ ************************************************************************/ package integration.forms; -import com.sun.star.uno.*; - /** a helper "enumeration class" for classifying a document type */ public class DocumentType extends com.sun.star.uno.Enum @@ -48,6 +46,7 @@ public class DocumentType extends com.sun.star.uno.Enum public static final DocumentType WRITER = new DocumentType(0); public static final DocumentType CALC = new DocumentType(1); public static final DocumentType DRAWING = new DocumentType(2); + public static final DocumentType XMLFORM = new DocumentType(3); public static final DocumentType UNKNOWN = new DocumentType(-1); public static DocumentType fromInt(int value) @@ -57,6 +56,7 @@ public class DocumentType extends com.sun.star.uno.Enum case 0: return WRITER; case 1: return CALC; case 2: return DRAWING; + case 3: return XMLFORM; default: return UNKNOWN; } } |