diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-09-09 01:08:15 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-09-09 01:08:15 +0000 |
commit | e79607e00624de6c8679b715826c081faf6c2397 (patch) | |
tree | 1e01ce448635a3cff1e4ace2b30b1aab999ba8b5 | |
parent | 69a197f843fcd89a0f966e2104c2fbb7fdf8be91 (diff) |
INTEGRATION: CWS ooo19126 (1.9.502); FILE MERGED
2005/09/05 13:07:32 rt 1.9.502.1: #i54170# Change license header: remove SISSL
-rw-r--r-- | framework/test/typecfg/xml2xcd.cxx | 235 |
1 files changed, 83 insertions, 152 deletions
diff --git a/framework/test/typecfg/xml2xcd.cxx b/framework/test/typecfg/xml2xcd.cxx index e6a6f2fbd23a..3dba0030dc5d 100644 --- a/framework/test/typecfg/xml2xcd.cxx +++ b/framework/test/typecfg/xml2xcd.cxx @@ -1,61 +1,35 @@ /************************************************************************* * - * $RCSfile: xml2xcd.cxx,v $ - * - * $Revision: 1.9 $ - * - * last change: $Author: hr $ $Date: 2003-03-25 18:22:07 $ - * - * 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 + * OpenOffice.org - a multi-platform office productivity suite * - * 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 + * $RCSfile: xml2xcd.cxx,v $ * + * $Revision: 1.10 $ * - * 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. + * last change: $Author: rt $ $Date: 2005-09-09 02:08:15 $ * - * 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 Contents of this file are made available subject to + * the terms of GNU Lesser General Public License Version 2.1. * - * The Initial Developer of the Original Code is: Sun Microsystems, Inc. * - * Copyright: 2000 by Sun Microsystems, Inc. + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2005 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA * - * All Rights Reserved. + * 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. * - * Contributor(s): _______________________________________ + * 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 * ************************************************************************/ @@ -586,111 +560,68 @@ void XCDGenerator::impl_generateXCD() void XCDGenerator::impl_generateCopyright() { m_aData.sBufferStandard.appendAscii( "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" ); - m_aData.sBufferStandard.appendAscii( "<!-- The Contents of this file are made available subject to the terms of\n" ); - m_aData.sBufferStandard.appendAscii( " either of the following licenses\n" ); - m_aData.sBufferStandard.appendAscii( "\n" ); - m_aData.sBufferStandard.appendAscii( " - GNU Lesser General Public License Version 2.1\n" ); - m_aData.sBufferStandard.appendAscii( " - Sun Industry Standards Source License Version 1.1\n" ); - m_aData.sBufferStandard.appendAscii( "\n" ); - m_aData.sBufferStandard.appendAscii( " Sun Microsystems Inc., October, 2000\n" ); - m_aData.sBufferStandard.appendAscii( "\n" ); - m_aData.sBufferStandard.appendAscii( " GNU Lesser General Public License Version 2.1\n" ); - m_aData.sBufferStandard.appendAscii( " =============================================\n" ); - m_aData.sBufferStandard.appendAscii( " Copyright 2000 by Sun Microsystems, Inc.\n" ); - m_aData.sBufferStandard.appendAscii( " 901 San Antonio Road, Palo Alto, CA 94303, USA\n" ); - m_aData.sBufferStandard.appendAscii( " This library is free software; you can redistribute it and/or\n" ); - m_aData.sBufferStandard.appendAscii( " modify it under the terms of the GNU Lesser General Public\n" ); - m_aData.sBufferStandard.appendAscii( " License version 2.1, as published by the Free Software Foundation.\n" ); - m_aData.sBufferStandard.appendAscii( "\n" ); - m_aData.sBufferStandard.appendAscii( " This library is distributed in the hope that it will be useful,\n" ); - m_aData.sBufferStandard.appendAscii( " but WITHOUT ANY WARRANTY; without even the implied warranty of\n" ); - m_aData.sBufferStandard.appendAscii( " MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n" ); - m_aData.sBufferStandard.appendAscii( " Lesser General Public License for more details.\n" ); - m_aData.sBufferStandard.appendAscii( "\n" ); - m_aData.sBufferStandard.appendAscii( " You should have received a copy of the GNU Lesser General Public\n" ); - m_aData.sBufferStandard.appendAscii( " License along with this library; if not, write to the Free Software\n" ); - m_aData.sBufferStandard.appendAscii( " Foundation, Inc., 59 Temple Place, Suite 330, Boston,\n" ); - m_aData.sBufferStandard.appendAscii( " MA 02111-1307 USA\n" ); - m_aData.sBufferStandard.appendAscii( "\n" ); - m_aData.sBufferStandard.appendAscii( "\n" ); - m_aData.sBufferStandard.appendAscii( " Sun Industry Standards Source License Version 1.1\n" ); - m_aData.sBufferStandard.appendAscii( " =================================================\n" ); - m_aData.sBufferStandard.appendAscii( " The contents of this file are subject to the Sun Industry Standards\n" ); - m_aData.sBufferStandard.appendAscii( " Source License Version 1.1 (the \"License\"); You may not use this file\n"); - m_aData.sBufferStandard.appendAscii( " except in compliance with the License. You may obtain a copy of the\n" ); - m_aData.sBufferStandard.appendAscii( " License at http://www.openoffice.org/license.html.\n" ); - m_aData.sBufferStandard.appendAscii( "\n" ); - m_aData.sBufferStandard.appendAscii( " Software provided under this License is provided on an \"AS IS\" basis,\n"); - m_aData.sBufferStandard.appendAscii( " WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,\n" ); - m_aData.sBufferStandard.appendAscii( " WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,\n" ); - m_aData.sBufferStandard.appendAscii( " MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.\n" ); - m_aData.sBufferStandard.appendAscii( " See the License for the specific provisions governing your rights and\n" ); - m_aData.sBufferStandard.appendAscii( " obligations concerning the Software.\n" ); - m_aData.sBufferStandard.appendAscii( "\n" ); - m_aData.sBufferStandard.appendAscii( " The Initial Developer of the Original Code is: Sun Microsystems, Inc.\n" ); - m_aData.sBufferStandard.appendAscii( "\n" ); - m_aData.sBufferStandard.appendAscii( " Copyright: 2000 by Sun Microsystems, Inc.\n" ); - m_aData.sBufferStandard.appendAscii( "\n" ); - m_aData.sBufferStandard.appendAscii( " All Rights Reserved.\n" ); - m_aData.sBufferStandard.appendAscii( "\n" ); - m_aData.sBufferStandard.appendAscii( " Contributor(s): _______________________________________\n" ); - m_aData.sBufferStandard.appendAscii( "-->\n" ); - - if( m_aData.nVersionOutput >= DRAFT_SPLIT_VERSION ) - { - m_aData.sBufferAdditional.appendAscii( "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" ); - m_aData.sBufferAdditional.appendAscii( "<!-- The Contents of this file are made available subject to the terms of\n" ); - m_aData.sBufferAdditional.appendAscii( " either of the following licenses\n" ); - m_aData.sBufferAdditional.appendAscii( "\n" ); - m_aData.sBufferAdditional.appendAscii( " - GNU Lesser General Public License Version 2.1\n" ); - m_aData.sBufferAdditional.appendAscii( " - Sun Industry Standards Source License Version 1.1\n" ); - m_aData.sBufferAdditional.appendAscii( "\n" ); - m_aData.sBufferAdditional.appendAscii( " Sun Microsystems Inc., October, 2000\n" ); - m_aData.sBufferAdditional.appendAscii( "\n" ); - m_aData.sBufferAdditional.appendAscii( " GNU Lesser General Public License Version 2.1\n" ); - m_aData.sBufferAdditional.appendAscii( " =============================================\n" ); - m_aData.sBufferAdditional.appendAscii( " Copyright 2000 by Sun Microsystems, Inc.\n" ); - m_aData.sBufferAdditional.appendAscii( " 901 San Antonio Road, Palo Alto, CA 94303, USA\n" ); - m_aData.sBufferAdditional.appendAscii( " This library is free software; you can redistribute it and/or\n" ); - m_aData.sBufferAdditional.appendAscii( " modify it under the terms of the GNU Lesser General Public\n" ); - m_aData.sBufferAdditional.appendAscii( " License version 2.1, as published by the Free Software Foundation.\n" ); - m_aData.sBufferAdditional.appendAscii( "\n" ); - m_aData.sBufferAdditional.appendAscii( " This library is distributed in the hope that it will be useful,\n" ); - m_aData.sBufferAdditional.appendAscii( " but WITHOUT ANY WARRANTY; without even the implied warranty of\n" ); - m_aData.sBufferAdditional.appendAscii( " MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n" ); - m_aData.sBufferAdditional.appendAscii( " Lesser General Public License for more details.\n" ); - m_aData.sBufferAdditional.appendAscii( "\n" ); - m_aData.sBufferAdditional.appendAscii( " You should have received a copy of the GNU Lesser General Public\n" ); - m_aData.sBufferAdditional.appendAscii( " License along with this library; if not, write to the Free Software\n" ); - m_aData.sBufferAdditional.appendAscii( " Foundation, Inc., 59 Temple Place, Suite 330, Boston,\n" ); - m_aData.sBufferAdditional.appendAscii( " MA 02111-1307 USA\n" ); - m_aData.sBufferAdditional.appendAscii( "\n" ); - m_aData.sBufferAdditional.appendAscii( "\n" ); - m_aData.sBufferAdditional.appendAscii( " Sun Industry Standards Source License Version 1.1\n" ); - m_aData.sBufferAdditional.appendAscii( " =================================================\n" ); - m_aData.sBufferAdditional.appendAscii( " The contents of this file are subject to the Sun Industry Standards\n" ); - m_aData.sBufferAdditional.appendAscii( " Source License Version 1.1 (the \"License\"); You may not use this file\n"); - m_aData.sBufferAdditional.appendAscii( " except in compliance with the License. You may obtain a copy of the\n" ); - m_aData.sBufferAdditional.appendAscii( " License at http://www.openoffice.org/license.html.\n" ); - m_aData.sBufferAdditional.appendAscii( "\n" ); - m_aData.sBufferAdditional.appendAscii( " Software provided under this License is provided on an \"AS IS\" basis,\n"); - m_aData.sBufferAdditional.appendAscii( " WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,\n" ); - m_aData.sBufferAdditional.appendAscii( " WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,\n" ); - m_aData.sBufferAdditional.appendAscii( " MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.\n" ); - m_aData.sBufferAdditional.appendAscii( " See the License for the specific provisions governing your rights and\n" ); - m_aData.sBufferAdditional.appendAscii( " obligations concerning the Software.\n" ); - m_aData.sBufferAdditional.appendAscii( "\n" ); - m_aData.sBufferAdditional.appendAscii( " The Initial Developer of the Original Code is: Sun Microsystems, Inc.\n" ); - m_aData.sBufferAdditional.appendAscii( "\n" ); - m_aData.sBufferAdditional.appendAscii( " Copyright: 2000 by Sun Microsystems, Inc.\n" ); - m_aData.sBufferAdditional.appendAscii( "\n" ); - m_aData.sBufferAdditional.appendAscii( " All Rights Reserved.\n" ); - m_aData.sBufferAdditional.appendAscii( "\n" ); - m_aData.sBufferAdditional.appendAscii( " Contributor(s): _______________________________________\n" ); - m_aData.sBufferAdditional.appendAscii( "-->\n" ); - } -} - + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: xml2xcd.cxx,v $ + * + * $Revision: 1.10 $ + * + * last change: $Author: rt $ $Date: 2005-09-09 02:08:15 $ + * + * The Contents of this file are made available subject to + * the terms of GNU Lesser General Public License Version 2.1. + * + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2005 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 + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: xml2xcd.cxx,v $ + * + * $Revision: 1.10 $ + * + * last change: $Author: rt $ $Date: 2005-09-09 02:08:15 $ + * + * The Contents of this file are made available subject to + * the terms of GNU Lesser General Public License Version 2.1. + * + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2005 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 + * //***************************************************************************************************************** void XCDGenerator::impl_generateTypeTemplate() { |