summaryrefslogtreecommitdiff
path: root/xml2cmp
diff options
context:
space:
mode:
authorNikolai Pretzell <np@openoffice.org>2001-03-12 16:16:35 +0000
committerNikolai Pretzell <np@openoffice.org>2001-03-12 16:16:35 +0000
commit38230b2e57c79afb96c320f29c2ed4fdaa2628a8 (patch)
tree3d92e38da851e8e08edbbffb13ecc5a2ba8e39e9 /xml2cmp
parent17aa5b1d27e9b575bb5958ddd7ab84dd5f6c9144 (diff)
xml-descriptions new dtd, step3
Diffstat (limited to 'xml2cmp')
-rw-r--r--xml2cmp/source/support/list.hxx69
-rw-r--r--xml2cmp/source/support/syshelp.cxx76
-rw-r--r--xml2cmp/source/support/syshelp.hxx76
-rw-r--r--xml2cmp/source/xcd/main.cxx9
4 files changed, 185 insertions, 45 deletions
diff --git a/xml2cmp/source/support/list.hxx b/xml2cmp/source/support/list.hxx
index b37d921e92d9..0aa69cb02ce8 100644
--- a/xml2cmp/source/support/list.hxx
+++ b/xml2cmp/source/support/list.hxx
@@ -1,12 +1,63 @@
-/*****************************************************************
-* Project:
-*
-* File: LIST.HXX
-* Description: Template for Lists
-*
-* Created: 21. 8. 1994
- * Author: Nikolai Pretzell
-******************************************************************/
+/*************************************************************************
+ *
+ * $RCSfile: list.hxx,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: np $ $Date: 2001-03-12 17:16:34 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library 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 for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
#ifndef __LISTEN_123456__
#define __LISTEN_123456__
diff --git a/xml2cmp/source/support/syshelp.cxx b/xml2cmp/source/support/syshelp.cxx
index 36807eba4125..18be4fba5f9a 100644
--- a/xml2cmp/source/support/syshelp.cxx
+++ b/xml2cmp/source/support/syshelp.cxx
@@ -1,21 +1,63 @@
/*************************************************************************
-#*
-#* $Workfile: syshelp.cxx $
-#*
-#* class
-#*
-#* Beschreibung
-#*
-#* Ersterstellung NP
-#* Letzte Aenderung $Author: np $
-#* $Date: 2001-03-09 15:22:59 $
-#* $Revision: 1.1 $
-#*
-#* $Logfile: T:/solar/source/... $
-#*
-#* Copyright (c) 2000, Star Office Gmbh
-#*
-#**************************************************************************/
+ *
+ * $RCSfile: syshelp.cxx,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: np $ $Date: 2001-03-12 17:16:34 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library 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 for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
#include <syshelp.hxx>
diff --git a/xml2cmp/source/support/syshelp.hxx b/xml2cmp/source/support/syshelp.hxx
index 6b86d834b1ab..3ef0f985a85f 100644
--- a/xml2cmp/source/support/syshelp.hxx
+++ b/xml2cmp/source/support/syshelp.hxx
@@ -1,21 +1,63 @@
/*************************************************************************
-#*
-#* $Workfile: syshelp.hxx $
-#*
-#* class
-#*
-#* Beschreibung
-#*
-#* Ersterstellung NP
-#* Letzte Aenderung $Author: np $
-#* $Date: 2001-03-09 15:22:59 $
-#* $Revision: 1.1 $
-#*
-#* $Logfile: T:/solar/source/... $
-#*
-#* Copyright (c) 2000, Star Office Gmbh
-#*
-#**************************************************************************/
+ *
+ * $RCSfile: syshelp.hxx,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: np $ $Date: 2001-03-12 17:16:34 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library 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 for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
#ifndef X2C_SYSHELP_HXX
#define X2C_SYSHELP_HXX
diff --git a/xml2cmp/source/xcd/main.cxx b/xml2cmp/source/xcd/main.cxx
index 5fd1a1768183..5de2f1ab1bb7 100644
--- a/xml2cmp/source/xcd/main.cxx
+++ b/xml2cmp/source/xcd/main.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: main.cxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: np $ $Date: 2001-03-09 15:23:00 $
+ * last change: $Author: np $ $Date: 2001-03-12 17:16:35 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -394,7 +394,12 @@ Create_TypeInfoFile( const char * o_sOutputFile,
const char * sEnd = strchr( pHeapTop->Key(), ' ' );
if (sEnd != 0)
+ {
+ const char * sQuali = strrchr( pHeapTop->Key(), ' ' )+1;
+ WriteStr( aOut, sQuali );
+ WriteStr( aOut, "." );
aOut.write( pHeapTop->Key(), sEnd - pHeapTop->Key() );
+ }
else
WriteStr( aOut, pHeapTop->Key() );
} // end for