diff options
author | Mikhail Voitenko <mav@openoffice.org> | 2003-03-25 07:24:23 +0000 |
---|---|---|
committer | Mikhail Voitenko <mav@openoffice.org> | 2003-03-25 07:24:23 +0000 |
commit | e694d3e6b94fd244189932079f2120d74178d34e (patch) | |
tree | 5351aca11c0f2a4244cc7bd62259abeb0d6f544a /embedserv/source | |
parent | #i2822# support 'Embedded Object' clipboard format (diff) | |
download | core-e694d3e6b94fd244189932079f2120d74178d34e.tar.gz core-e694d3e6b94fd244189932079f2120d74178d34e.zip |
#i2822# web and global documents are not supported
Diffstat (limited to 'embedserv/source')
-rwxr-xr-x | embedserv/source/embed/guid.cxx | 12 | ||||
-rwxr-xr-x | embedserv/source/embed/servprov.cxx | 8 | ||||
-rwxr-xr-x | embedserv/source/inc/common.h | 11 |
3 files changed, 15 insertions, 16 deletions
diff --git a/embedserv/source/embed/guid.cxx b/embedserv/source/embed/guid.cxx index 081b78eadb7a..b83bea891afb 100755 --- a/embedserv/source/embed/guid.cxx +++ b/embedserv/source/embed/guid.cxx @@ -2,9 +2,9 @@ * * $RCSfile: guid.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: mav $ $Date: 2003-03-17 11:02:34 $ + * last change: $Author: mav $ $Date: 2003-03-25 08:23:04 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -73,13 +73,13 @@ { if ( *guid == OID_WriterTextServer ) return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.comp.Writer.TextDocument" ) ); - +/* if ( *guid == OID_WriterWebServer ) return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.comp.Writer.WebDocument" ) ); if ( *guid == OID_WriterGlobalServer ) return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.comp.Writer.GlobalDocument" ) ); - +*/ if ( *guid == OID_CalcServer ) return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.comp.Calc.SpreadsheetDocument" ) ); @@ -99,13 +99,13 @@ { if ( *guid == OID_WriterTextServer ) return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "StarOffice XML (Writer)" ) ); - +/* if ( *guid == OID_WriterWebServer ) return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "HTML" ) ); if ( *guid == OID_WriterGlobalServer ) return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "writer_globaldocument_StarOffice_XML_Writer_GlobalDocument" ) ); - +*/ if ( *guid == OID_CalcServer ) return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "StarOffice XML (Calc)" ) ); diff --git a/embedserv/source/embed/servprov.cxx b/embedserv/source/embed/servprov.cxx index a96134bc00d2..d7f6b6cdce2d 100755 --- a/embedserv/source/embed/servprov.cxx +++ b/embedserv/source/embed/servprov.cxx @@ -2,9 +2,9 @@ * * $RCSfile: servprov.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: mav $ $Date: 2003-03-19 10:56:49 $ + * last change: $Author: mav $ $Date: 2003-03-25 08:23:54 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -81,8 +81,8 @@ using namespace com::sun::star; const GUID* guidList[ SUPPORTED_FACTORIES_NUM ] = { &OID_WriterTextServer, - &OID_WriterWebServer, - &OID_WriterGlobalServer, +// &OID_WriterWebServer, +// &OID_WriterGlobalServer, &OID_CalcServer, &OID_DrawingServer, &OID_PresentationServer, diff --git a/embedserv/source/inc/common.h b/embedserv/source/inc/common.h index f61bb4228cf9..3e7f738bf03f 100755 --- a/embedserv/source/inc/common.h +++ b/embedserv/source/inc/common.h @@ -2,9 +2,9 @@ * * $RCSfile: common.h,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: mav $ $Date: 2003-03-05 15:49:19 $ + * last change: $Author: mav $ $Date: 2003-03-25 08:24:23 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -73,8 +73,6 @@ #include <osl/interlck.h> #endif -#define SUPPORTED_FACTORIES_NUM 7 - namespace com { namespace sun { namespace star { namespace lang { class XMultiServiceFactory; @@ -93,15 +91,16 @@ namespace com { namespace sun { namespace star { const sal_Int32 nConstBufferSize = 32000; +#define SUPPORTED_FACTORIES_NUM 5 // {30A2652A-DDF7-45e7-ACA6-3EAB26FC8A4E} DEFINE_GUID(OID_WriterTextServer, 0x30a2652a, 0xddf7, 0x45e7, 0xac, 0xa6, 0x3e, 0xab, 0x26, 0xfc, 0x8a, 0x4e ); // {43FEEA23-228B-4726-AFFE-214598F47289} -DEFINE_GUID(OID_WriterWebServer, 0x43feea23, 0x228b, 0x4726, 0xaf, 0xfe, 0x21, 0x45, 0x98, 0xf4, 0x72, 0x89 ); +// DEFINE_GUID(OID_WriterWebServer, 0x43feea23, 0x228b, 0x4726, 0xaf, 0xfe, 0x21, 0x45, 0x98, 0xf4, 0x72, 0x89 ); // {1386E9B2-8706-438b-BF51-5CA7864770C5} -DEFINE_GUID(OID_WriterGlobalServer, 0x1386e9b2, 0x8706, 0x438b, 0xbf, 0x51, 0x5c, 0xa7, 0x86, 0x47, 0x70, 0xc5 ); +// DEFINE_GUID(OID_WriterGlobalServer, 0x1386e9b2, 0x8706, 0x438b, 0xbf, 0x51, 0x5c, 0xa7, 0x86, 0x47, 0x70, 0xc5 ); // {7B342DC4-139A-4a46-8A93-DB0827CCEE9C} DEFINE_GUID(OID_CalcServer, 0x7b342dc4, 0x139a, 0x4a46, 0x8a, 0x93, 0xdb, 0x8, 0x27, 0xcc, 0xee, 0x9c ); |