Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
c4508dd5
Kaydet (Commit)
c4508dd5
authored
May 03, 2015
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sc: Convert many services to constructors.
Change-Id: I8f382fec62c11760399872eae86b71214534a372
üst
8568c722
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
42 additions
and
254 deletions
+42
-254
ScPanelFactory.hxx
sc/inc/ScPanelFactory.hxx
+0
-5
afmtuno.hxx
sc/inc/afmtuno.hxx
+0
-8
appluno.hxx
sc/inc/appluno.hxx
+0
-54
filtuno.hxx
sc/inc/filtuno.hxx
+0
-8
xmlexprt.cxx
sc/source/filter/xml/xmlexprt.cxx
+0
-0
ScPanelFactory.cxx
sc/source/ui/sidebar/ScPanelFactory.cxx
+10
-26
afmtuno.cxx
sc/source/ui/unoobj/afmtuno.cxx
+3
-18
appluno.cxx
sc/source/ui/unoobj/appluno.cxx
+0
-104
filtuno.cxx
sc/source/ui/unoobj/filtuno.cxx
+3
-18
sc.component
sc/util/sc.component
+26
-13
No files found.
sc/inc/ScPanelFactory.hxx
Dosyayı görüntüle @
c4508dd5
...
...
@@ -42,11 +42,6 @@ class ScPanelFactory
public
PanelFactoryInterfaceBase
{
public
:
static
::
rtl
::
OUString
SAL_CALL
getImplementationName_static
();
static
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
createInstance
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>&
rxFactory
);
static
css
::
uno
::
Sequence
<
rtl
::
OUString
>
SAL_CALL
getSupportedServiceNames_static
();
ScPanelFactory
();
virtual
~
ScPanelFactory
();
...
...
sc/inc/afmtuno.hxx
Dosyayı görüntüle @
c4508dd5
...
...
@@ -44,11 +44,6 @@ class ScAutoFormatObj;
#define SC_AFMTOBJ_INVALID USHRT_MAX
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XInterface
>
SAL_CALL
ScAutoFormatsObj_CreateInstance
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>&
);
class
ScAutoFormatsObj
:
public
::
cppu
::
WeakImplHelper4
<
::
com
::
sun
::
star
::
container
::
XNameContainer
,
::
com
::
sun
::
star
::
container
::
XEnumerationAccess
,
...
...
@@ -63,9 +58,6 @@ public:
ScAutoFormatsObj
();
virtual
~
ScAutoFormatsObj
();
static
OUString
getImplementationName_Static
();
static
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
getSupportedServiceNames_Static
();
// XNameContainer
virtual
void
SAL_CALL
insertByName
(
const
OUString
&
aName
,
const
::
com
::
sun
::
star
::
uno
::
Any
&
aElement
)
...
...
sc/inc/appluno.hxx
Dosyayı görüntüle @
c4508dd5
...
...
@@ -76,60 +76,6 @@ OUString SAL_CALL ScXMLImport_Settings_getImplementationName() throw();
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
ScXMLImport_Settings_createInstance
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>
&
rSMgr
)
throw
(
css
::
uno
::
Exception
);
// Calc XML export
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
ScXMLOOoExport_getSupportedServiceNames
()
throw
();
OUString
SAL_CALL
ScXMLOOoExport_getImplementationName
()
throw
();
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
ScXMLOOoExport_createInstance
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>
&
rSMgr
)
throw
(
css
::
uno
::
Exception
,
std
::
exception
);
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
ScXMLOOoExport_Meta_getSupportedServiceNames
()
throw
();
OUString
SAL_CALL
ScXMLOOoExport_Meta_getImplementationName
()
throw
();
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
ScXMLOOoExport_Meta_createInstance
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>
&
rSMgr
)
throw
(
css
::
uno
::
Exception
,
std
::
exception
);
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
ScXMLOOoExport_Styles_getSupportedServiceNames
()
throw
();
OUString
SAL_CALL
ScXMLOOoExport_Styles_getImplementationName
()
throw
();
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
ScXMLOOoExport_Styles_createInstance
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>
&
rSMgr
)
throw
(
css
::
uno
::
Exception
,
std
::
exception
);
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
ScXMLOOoExport_Content_getSupportedServiceNames
()
throw
();
OUString
SAL_CALL
ScXMLOOoExport_Content_getImplementationName
()
throw
();
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
ScXMLOOoExport_Content_createInstance
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>
&
rSMgr
)
throw
(
css
::
uno
::
Exception
,
std
::
exception
);
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
ScXMLOOoExport_Settings_getSupportedServiceNames
()
throw
();
OUString
SAL_CALL
ScXMLOOoExport_Settings_getImplementationName
()
throw
();
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
ScXMLOOoExport_Settings_createInstance
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>
&
rSMgr
)
throw
(
css
::
uno
::
Exception
,
std
::
exception
);
// Calc XML Oasis export
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
ScXMLOasisExport_getSupportedServiceNames
()
throw
();
OUString
SAL_CALL
ScXMLOasisExport_getImplementationName
()
throw
();
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
ScXMLOasisExport_createInstance
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>
&
rSMgr
)
throw
(
css
::
uno
::
Exception
,
std
::
exception
);
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
ScXMLOasisExport_Meta_getSupportedServiceNames
()
throw
();
OUString
SAL_CALL
ScXMLOasisExport_Meta_getImplementationName
()
throw
();
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
ScXMLOasisExport_Meta_createInstance
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>
&
rSMgr
)
throw
(
css
::
uno
::
Exception
,
std
::
exception
);
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
ScXMLOasisExport_Styles_getSupportedServiceNames
()
throw
();
OUString
SAL_CALL
ScXMLOasisExport_Styles_getImplementationName
()
throw
();
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
ScXMLOasisExport_Styles_createInstance
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>
&
rSMgr
)
throw
(
css
::
uno
::
Exception
,
std
::
exception
);
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
ScXMLOasisExport_Content_getSupportedServiceNames
()
throw
();
OUString
SAL_CALL
ScXMLOasisExport_Content_getImplementationName
()
throw
();
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
ScXMLOasisExport_Content_createInstance
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>
&
rSMgr
)
throw
(
css
::
uno
::
Exception
,
std
::
exception
);
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
ScXMLOasisExport_Settings_getSupportedServiceNames
()
throw
();
OUString
SAL_CALL
ScXMLOasisExport_Settings_getImplementationName
()
throw
();
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
ScXMLOasisExport_Settings_createInstance
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>
&
rSMgr
)
throw
(
css
::
uno
::
Exception
,
std
::
exception
);
class
ScSpreadsheetSettings
:
public
cppu
::
WeakImplHelper3
<
com
::
sun
::
star
::
sheet
::
XGlobalSheetSettings
,
com
::
sun
::
star
::
beans
::
XPropertySet
,
...
...
sc/inc/filtuno.hxx
Dosyayı görüntüle @
c4508dd5
...
...
@@ -33,11 +33,6 @@ namespace com { namespace sun { namespace star { namespace io {
class
XInputStream
;
}
}
}
}
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XInterface
>
SAL_CALL
ScFilterOptionsObj_CreateInstance
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>&
);
class
ScFilterOptionsObj
:
public
::
cppu
::
WeakImplHelper5
<
::
com
::
sun
::
star
::
beans
::
XPropertyAccess
,
::
com
::
sun
::
star
::
ui
::
dialogs
::
XExecutableDialog
,
...
...
@@ -56,9 +51,6 @@ public:
ScFilterOptionsObj
();
virtual
~
ScFilterOptionsObj
();
static
OUString
getImplementationName_Static
();
static
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
getSupportedServiceNames_Static
();
// XPropertyAccess
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
beans
::
PropertyValue
>
SAL_CALL
getPropertyValues
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
...
...
sc/source/filter/xml/xmlexprt.cxx
Dosyayı görüntüle @
c4508dd5
This diff is collapsed.
Click to expand it.
sc/source/ui/sidebar/ScPanelFactory.cxx
Dosyayı görüntüle @
c4508dd5
...
...
@@ -43,30 +43,6 @@ using ::rtl::OUString;
namespace
sc
{
namespace
sidebar
{
#define IMPLEMENTATION_NAME "org.apache.openoffice.comp.sc.sidebar.ScPanelFactory"
#define SERVICE_NAME "com.sun.star.ui.UIElementFactory"
::
rtl
::
OUString
SAL_CALL
ScPanelFactory
::
getImplementationName_static
()
{
return
OUString
(
IMPLEMENTATION_NAME
);
}
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
ScPanelFactory
::
createInstance
(
const
uno
::
Reference
<
lang
::
XMultiServiceFactory
>&
)
{
::
rtl
::
Reference
<
ScPanelFactory
>
pPanelFactory
(
new
ScPanelFactory
());
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
xService
(
static_cast
<
XWeak
*>
(
pPanelFactory
.
get
()),
css
::
uno
::
UNO_QUERY
);
return
xService
;
}
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
ScPanelFactory
::
getSupportedServiceNames_static
()
{
css
::
uno
::
Sequence
<
OUString
>
aServiceNames
(
1
);
aServiceNames
[
0
]
=
SERVICE_NAME
;
return
aServiceNames
;
}
ScPanelFactory
::
ScPanelFactory
()
:
PanelFactoryInterfaceBase
(
m_aMutex
)
{
...
...
@@ -151,7 +127,7 @@ Reference<ui::XUIElement> SAL_CALL ScPanelFactory::createUIElement (
OUString
ScPanelFactory
::
getImplementationName
()
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
{
return
getImplementationName_static
(
);
return
OUString
(
"org.apache.openoffice.comp.sc.sidebar.ScPanelFactory"
);
}
sal_Bool
ScPanelFactory
::
supportsService
(
OUString
const
&
ServiceName
)
...
...
@@ -163,9 +139,17 @@ sal_Bool ScPanelFactory::supportsService(OUString const & ServiceName)
css
::
uno
::
Sequence
<
OUString
>
ScPanelFactory
::
getSupportedServiceNames
()
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
{
return
getSupportedServiceNames_static
();
css
::
uno
::
Sequence
<
OUString
>
aServiceNames
(
1
);
aServiceNames
[
0
]
=
"com.sun.star.ui.UIElementFactory"
;
return
aServiceNames
;
}
}
}
// end of namespace sc::sidebar
extern
"C"
SAL_DLLPUBLIC_EXPORT
css
::
uno
::
XInterface
*
SAL_CALL
ScPanelFactory_get_implementation
(
css
::
uno
::
XComponentContext
*
,
css
::
uno
::
Sequence
<
css
::
uno
::
Any
>
const
&
)
{
return
cppu
::
acquire
(
new
sc
::
sidebar
::
ScPanelFactory
());
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sc/source/ui/unoobj/afmtuno.cxx
Dosyayı görüntüle @
c4508dd5
...
...
@@ -171,27 +171,12 @@ ScAutoFormatsObj::~ScAutoFormatsObj()
{
}
// stuff for exService_...
uno
::
Reference
<
uno
::
XInterface
>
SAL_CALL
ScAutoFormatsObj_CreateInstance
(
const
uno
::
Reference
<
lang
::
XMultiServiceFactory
>&
)
extern
"C"
SAL_DLLPUBLIC_EXPORT
css
::
uno
::
XInterface
*
SAL_CALL
ScAutoFormatsObj_get_implementation
(
css
::
uno
::
XComponentContext
*
,
css
::
uno
::
Sequence
<
css
::
uno
::
Any
>
const
&
)
{
SolarMutexGuard
aGuard
;
ScDLL
::
Init
();
return
(
::
cppu
::
OWeakObject
*
)
new
ScAutoFormatsObj
;
}
OUString
ScAutoFormatsObj
::
getImplementationName_Static
()
{
return
OUString
(
"stardiv.StarCalc.ScAutoFormatsObj"
);
}
uno
::
Sequence
<
OUString
>
ScAutoFormatsObj
::
getSupportedServiceNames_Static
()
{
uno
::
Sequence
<
OUString
>
aRet
(
1
);
OUString
*
pArray
=
aRet
.
getArray
();
pArray
[
0
]
=
SCAUTOFORMATSOBJ_SERVICE
;
return
aRet
;
return
cppu
::
acquire
(
new
ScAutoFormatsObj
);
}
// XTableAutoFormats
...
...
sc/source/ui/unoobj/appluno.cxx
Dosyayı görüntüle @
c4508dd5
...
...
@@ -128,14 +128,6 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL sc_component_getFactory(
ScFunctionListObj_CreateInstance
,
ScFunctionListObj
::
getSupportedServiceNames_Static
()
));
}
else
if
(
aImpl
==
ScAutoFormatsObj
::
getImplementationName_Static
()
)
{
xFactory
.
set
(
cppu
::
createOneInstanceFactory
(
static_cast
<
lang
::
XMultiServiceFactory
*>
(
pServiceManager
),
ScAutoFormatsObj
::
getImplementationName_Static
(),
ScAutoFormatsObj_CreateInstance
,
ScAutoFormatsObj
::
getSupportedServiceNames_Static
()
));
}
else
if
(
aImpl
==
ScFunctionAccess
::
getImplementationName_Static
()
)
{
xFactory
.
set
(
cppu
::
createOneInstanceFactory
(
...
...
@@ -144,14 +136,6 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL sc_component_getFactory(
ScFunctionAccess_CreateInstance
,
ScFunctionAccess
::
getSupportedServiceNames_Static
()
));
}
else
if
(
aImpl
==
ScFilterOptionsObj
::
getImplementationName_Static
()
)
{
xFactory
.
set
(
cppu
::
createSingleFactory
(
static_cast
<
lang
::
XMultiServiceFactory
*>
(
pServiceManager
),
ScFilterOptionsObj
::
getImplementationName_Static
(),
ScFilterOptionsObj_CreateInstance
,
ScFilterOptionsObj
::
getSupportedServiceNames_Static
()
));
}
else
if
(
aImpl
==
ScXMLImport_getImplementationName
()
)
{
xFactory
.
set
(
cppu
::
createSingleFactory
(
...
...
@@ -192,86 +176,6 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL sc_component_getFactory(
ScXMLImport_Settings_createInstance
,
ScXMLImport_Settings_getSupportedServiceNames
()
));
}
else
if
(
aImpl
==
ScXMLOOoExport_getImplementationName
()
)
{
xFactory
=
cppu
::
createSingleFactory
(
static_cast
<
lang
::
XMultiServiceFactory
*>
(
pServiceManager
),
ScXMLOOoExport_getImplementationName
(),
ScXMLOOoExport_createInstance
,
ScXMLOOoExport_getSupportedServiceNames
()
);
}
else
if
(
aImpl
==
ScXMLOOoExport_Meta_getImplementationName
()
)
{
xFactory
=
cppu
::
createSingleFactory
(
static_cast
<
lang
::
XMultiServiceFactory
*>
(
pServiceManager
),
ScXMLOOoExport_Meta_getImplementationName
(),
ScXMLOOoExport_Meta_createInstance
,
ScXMLOOoExport_Meta_getSupportedServiceNames
()
);
}
else
if
(
aImpl
==
ScXMLOOoExport_Styles_getImplementationName
()
)
{
xFactory
=
cppu
::
createSingleFactory
(
static_cast
<
lang
::
XMultiServiceFactory
*>
(
pServiceManager
),
ScXMLOOoExport_Styles_getImplementationName
(),
ScXMLOOoExport_Styles_createInstance
,
ScXMLOOoExport_Styles_getSupportedServiceNames
()
);
}
else
if
(
aImpl
==
ScXMLOOoExport_Content_getImplementationName
()
)
{
xFactory
=
cppu
::
createSingleFactory
(
static_cast
<
lang
::
XMultiServiceFactory
*>
(
pServiceManager
),
ScXMLOOoExport_Content_getImplementationName
(),
ScXMLOOoExport_Content_createInstance
,
ScXMLOOoExport_Content_getSupportedServiceNames
()
);
}
else
if
(
aImpl
==
ScXMLOOoExport_Settings_getImplementationName
()
)
{
xFactory
=
cppu
::
createSingleFactory
(
static_cast
<
lang
::
XMultiServiceFactory
*>
(
pServiceManager
),
ScXMLOOoExport_Settings_getImplementationName
(),
ScXMLOOoExport_Settings_createInstance
,
ScXMLOOoExport_Settings_getSupportedServiceNames
()
);
}
else
if
(
aImpl
==
ScXMLOasisExport_getImplementationName
()
)
{
xFactory
=
cppu
::
createSingleFactory
(
static_cast
<
lang
::
XMultiServiceFactory
*>
(
pServiceManager
),
ScXMLOasisExport_getImplementationName
(),
ScXMLOasisExport_createInstance
,
ScXMLOasisExport_getSupportedServiceNames
()
);
}
else
if
(
aImpl
==
ScXMLOasisExport_Meta_getImplementationName
()
)
{
xFactory
=
cppu
::
createSingleFactory
(
static_cast
<
lang
::
XMultiServiceFactory
*>
(
pServiceManager
),
ScXMLOasisExport_Meta_getImplementationName
(),
ScXMLOasisExport_Meta_createInstance
,
ScXMLOasisExport_Meta_getSupportedServiceNames
()
);
}
else
if
(
aImpl
==
ScXMLOasisExport_Styles_getImplementationName
()
)
{
xFactory
=
cppu
::
createSingleFactory
(
static_cast
<
lang
::
XMultiServiceFactory
*>
(
pServiceManager
),
ScXMLOasisExport_Styles_getImplementationName
(),
ScXMLOasisExport_Styles_createInstance
,
ScXMLOasisExport_Styles_getSupportedServiceNames
()
);
}
else
if
(
aImpl
==
ScXMLOasisExport_Content_getImplementationName
()
)
{
xFactory
=
cppu
::
createSingleFactory
(
static_cast
<
lang
::
XMultiServiceFactory
*>
(
pServiceManager
),
ScXMLOasisExport_Content_getImplementationName
(),
ScXMLOasisExport_Content_createInstance
,
ScXMLOasisExport_Content_getSupportedServiceNames
()
);
}
else
if
(
aImpl
==
ScXMLOasisExport_Settings_getImplementationName
()
)
{
xFactory
=
cppu
::
createSingleFactory
(
static_cast
<
lang
::
XMultiServiceFactory
*>
(
pServiceManager
),
ScXMLOasisExport_Settings_getImplementationName
(),
ScXMLOasisExport_Settings_createInstance
,
ScXMLOasisExport_Settings_getSupportedServiceNames
()
);
}
else
if
(
aImpl
==
ScDocument_getImplementationName
()
)
{
xFactory
.
set
(
sfx2
::
createSfxModelFactory
(
...
...
@@ -280,14 +184,6 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL sc_component_getFactory(
ScDocument_createInstance
,
ScDocument_getSupportedServiceNames
()
));
}
else
if
(
aImpl
==
::
sc
::
sidebar
::
ScPanelFactory
::
getImplementationName_static
()
)
{
xFactory
=
::
cppu
::
createSingleFactory
(
static_cast
<
lang
::
XMultiServiceFactory
*>
(
pServiceManager
),
::
sc
::
sidebar
::
ScPanelFactory
::
getImplementationName_static
(),
::
sc
::
sidebar
::
ScPanelFactory
::
createInstance
,
::
sc
::
sidebar
::
ScPanelFactory
::
getSupportedServiceNames_static
()
);
}
void
*
pRet
=
NULL
;
if
(
xFactory
.
is
())
...
...
sc/source/ui/unoobj/filtuno.cxx
Dosyayı görüntüle @
c4508dd5
...
...
@@ -111,27 +111,12 @@ ScFilterOptionsObj::~ScFilterOptionsObj()
{
}
// stuff for exService_...
uno
::
Reference
<
uno
::
XInterface
>
SAL_CALL
ScFilterOptionsObj_CreateInstance
(
const
uno
::
Reference
<
lang
::
XMultiServiceFactory
>&
)
extern
"C"
SAL_DLLPUBLIC_EXPORT
css
::
uno
::
XInterface
*
SAL_CALL
Calc_FilterOptionsDialog_get_implementation
(
css
::
uno
::
XComponentContext
*
,
css
::
uno
::
Sequence
<
css
::
uno
::
Any
>
const
&
)
{
SolarMutexGuard
aGuard
;
ScDLL
::
Init
();
return
(
::
cppu
::
OWeakObject
*
)
new
ScFilterOptionsObj
;
}
OUString
ScFilterOptionsObj
::
getImplementationName_Static
()
{
return
OUString
(
SCFILTEROPTIONSOBJ_IMPLNAME
);
}
uno
::
Sequence
<
OUString
>
ScFilterOptionsObj
::
getSupportedServiceNames_Static
()
{
uno
::
Sequence
<
OUString
>
aRet
(
1
);
OUString
*
pArray
=
aRet
.
getArray
();
pArray
[
0
]
=
SCFILTEROPTIONSOBJ_SERVICE
;
return
aRet
;
return
cppu
::
acquire
(
new
ScFilterOptionsObj
);
}
// XPropertyAccess
...
...
sc/util/sc.component
Dosyayı görüntüle @
c4508dd5
...
...
@@ -19,58 +19,70 @@
<component
loader=
"com.sun.star.loader.SharedLibrary"
environment=
"@CPPU_ENV@"
prefix=
"sc"
xmlns=
"http://openoffice.org/2010/uno-components"
>
<implementation
name=
"com.sun.star.comp.Calc.FilterOptionsDialog"
>
<implementation
name=
"com.sun.star.comp.Calc.FilterOptionsDialog"
constructor=
"Calc_FilterOptionsDialog_get_implementation"
>
<service
name=
"com.sun.star.ui.dialogs.FilterOptionsDialog"
/>
</implementation>
<implementation
name=
"com.sun.star.comp.Calc.SpreadsheetDocument"
>
<service
name=
"com.sun.star.sheet.SpreadsheetDocument"
/>
</implementation>
<implementation
name=
"com.sun.star.comp.Calc.XMLContentExporter"
>
<implementation
name=
"com.sun.star.comp.Calc.XMLContentExporter"
constructor=
"Calc_XMLContentExporter_get_implementation"
>
<service
name=
"com.sun.star.comp.Calc.XMLContentExporter"
/>
</implementation>
<implementation
name=
"com.sun.star.comp.Calc.XMLExporter"
>
<implementation
name=
"com.sun.star.comp.Calc.XMLExporter"
constructor=
"Calc_XMLExporter_get_implementation"
>
<service
name=
"com.sun.star.comp.Calc.XMLExporter"
/>
</implementation>
<implementation
name=
"com.sun.star.comp.Calc.XMLMetaExporter"
>
<implementation
name=
"com.sun.star.comp.Calc.XMLMetaExporter"
constructor=
"Calc_XMLMetaExporter_get_implementation"
>
<service
name=
"com.sun.star.comp.Calc.XMLMetaExporter"
/>
</implementation>
<implementation
name=
"com.sun.star.comp.Calc.XMLOasisContentExporter"
>
<implementation
name=
"com.sun.star.comp.Calc.XMLOasisContentExporter"
constructor=
"Calc_XMLOasisContentExporter_get_implementation"
>
<service
name=
"com.sun.star.comp.Calc.XMLOasisContentExporter"
/>
</implementation>
<implementation
name=
"com.sun.star.comp.Calc.XMLOasisContentImporter"
>
<service
name=
"com.sun.star.comp.Calc.XMLOasisContentImporter"
/>
</implementation>
<implementation
name=
"com.sun.star.comp.Calc.XMLOasisExporter"
>
<implementation
name=
"com.sun.star.comp.Calc.XMLOasisExporter"
constructor=
"Calc_XMLOasisExporter_get_implementation"
>
<service
name=
"com.sun.star.comp.Calc.XMLOasisExporter"
/>
</implementation>
<implementation
name=
"com.sun.star.comp.Calc.XMLOasisImporter"
>
<service
name=
"com.sun.star.comp.Calc.XMLOasisImporter"
/>
</implementation>
<implementation
name=
"com.sun.star.comp.Calc.XMLOasisMetaExporter"
>
<implementation
name=
"com.sun.star.comp.Calc.XMLOasisMetaExporter"
constructor=
"Calc_XMLOasisMetaExporter_get_implementation"
>
<service
name=
"com.sun.star.comp.Calc.XMLOasisMetaExporter"
/>
</implementation>
<implementation
name=
"com.sun.star.comp.Calc.XMLOasisMetaImporter"
>
<service
name=
"com.sun.star.comp.Calc.XMLOasisMetaImporter"
/>
</implementation>
<implementation
name=
"com.sun.star.comp.Calc.XMLOasisSettingsExporter"
>
<implementation
name=
"com.sun.star.comp.Calc.XMLOasisSettingsExporter"
constructor=
"Calc_XMLOasisSettingsExporter_get_implementation"
>
<service
name=
"com.sun.star.comp.Calc.XMLOasisSettingsExporter"
/>
</implementation>
<implementation
name=
"com.sun.star.comp.Calc.XMLOasisSettingsImporter"
>
<service
name=
"com.sun.star.comp.Calc.XMLOasisSettingsImporter"
/>
</implementation>
<implementation
name=
"com.sun.star.comp.Calc.XMLOasisStylesExporter"
>
<implementation
name=
"com.sun.star.comp.Calc.XMLOasisStylesExporter"
constructor=
"Calc_XMLOasisStylesExporter_get_implementation"
>
<service
name=
"com.sun.star.comp.Calc.XMLOasisStylesExporter"
/>
</implementation>
<implementation
name=
"com.sun.star.comp.Calc.XMLOasisStylesImporter"
>
<service
name=
"com.sun.star.comp.Calc.XMLOasisStylesImporter"
/>
</implementation>
<implementation
name=
"com.sun.star.comp.Calc.XMLSettingsExporter"
>
<implementation
name=
"com.sun.star.comp.Calc.XMLSettingsExporter"
constructor=
"Calc_XMLSettingsExporter_get_implementation"
>
<service
name=
"com.sun.star.comp.Calc.XMLSettingsExporter"
/>
</implementation>
<implementation
name=
"com.sun.star.comp.Calc.XMLStylesExporter"
>
<implementation
name=
"com.sun.star.comp.Calc.XMLStylesExporter"
constructor=
"Calc_XMLStylesExporter_get_implementation"
>
<service
name=
"com.sun.star.comp.Calc.XMLStylesExporter"
/>
</implementation>
<implementation
name=
"stardiv.StarCalc.ScAutoFormatsObj"
>
<implementation
name=
"stardiv.StarCalc.ScAutoFormatsObj"
constructor=
"ScAutoFormatsObj_get_implementation"
>
<service
name=
"com.sun.star.sheet.TableAutoFormats"
/>
</implementation>
<implementation
name=
"stardiv.StarCalc.ScFunctionAccess"
>
...
...
@@ -85,7 +97,8 @@
<implementation
name=
"stardiv.StarCalc.ScSpreadsheetSettings"
>
<service
name=
"com.sun.star.sheet.GlobalSheetSettings"
/>
</implementation>
<implementation
name=
"org.apache.openoffice.comp.sc.sidebar.ScPanelFactory"
>
<implementation
name=
"org.apache.openoffice.comp.sc.sidebar.ScPanelFactory"
constructor=
"ScPanelFactory_get_implementation"
>
<service
name=
"com.sun.star.ui.UIElementFactory"
/>
</implementation>
</component>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment