LibreOffice Module sc (master) 1
Public Types | Static Public Member Functions | List of all members
ScServiceProvider Class Reference

#include <servuno.hxx>

Public Types

enum class  Type {
  SHEET ,
  URLFIELD ,
  PAGEFIELD ,
  PAGESFIELD ,
  DATEFIELD ,
  TIMEFIELD ,
  TITLEFIELD ,
  FILEFIELD ,
  SHEETFIELD ,
  CELLSTYLE ,
  PAGESTYLE ,
  GRAPHICSTYLE ,
  AUTOFORMAT ,
  AUTOFORMATS ,
  CELLRANGES ,
  FUNCTIONDESCRIPTIONS ,
  GLOBALSHEETSETTINGS ,
  RECENTFUNCTIONS ,
  GRADTAB ,
  HATCHTAB ,
  BITMAPTAB ,
  TRGRADTAB ,
  MARKERTAB ,
  DASHTAB ,
  NUMRULES ,
  DOCDEFLTS ,
  DRAWDEFLTS ,
  DOCSPRSETT ,
  DOCCONF ,
  IMAP_RECT ,
  IMAP_CIRC ,
  IMAP_POLY ,
  EXPORT_GRAPHIC_STORAGE_HANDLER ,
  IMPORT_GRAPHIC_STORAGE_HANDLER ,
  EXPORT_EOR ,
  IMPORT_EOR ,
  VALBIND ,
  LISTCELLBIND ,
  LISTSOURCE ,
  CELLADDRESS ,
  RANGEADDRESS ,
  SHEETDOCSET ,
  CHDATAPROV ,
  CHART_PIVOTTABLE_DATAPROVIDER ,
  FORMULAPARS ,
  OPCODEMAPPER ,
  VBAOBJECTPROVIDER ,
  VBACODENAMEPROVIDER ,
  VBAGLOBALS ,
  EXT_TIMEFIELD ,
  INVALID
}
 

Static Public Member Functions

static css::uno::Reference< css::uno::XInterface > MakeInstance (Type nType, ScDocShell *pDocShell)
 
static css::uno::Sequence< OUString > GetAllServiceNames ()
 
static Type GetProviderType (std::u16string_view rServiceName)
 

Detailed Description

Definition at line 29 of file servuno.hxx.

Member Enumeration Documentation

◆ Type

enum class ScServiceProvider::Type
strong
Enumerator
SHEET 
URLFIELD 
PAGEFIELD 
PAGESFIELD 
DATEFIELD 
TIMEFIELD 
TITLEFIELD 
FILEFIELD 
SHEETFIELD 
CELLSTYLE 
PAGESTYLE 
GRAPHICSTYLE 
AUTOFORMAT 
AUTOFORMATS 
CELLRANGES 
FUNCTIONDESCRIPTIONS 
GLOBALSHEETSETTINGS 
RECENTFUNCTIONS 
GRADTAB 
HATCHTAB 
BITMAPTAB 
TRGRADTAB 
MARKERTAB 
DASHTAB 
NUMRULES 
DOCDEFLTS 
DRAWDEFLTS 
DOCSPRSETT 
DOCCONF 
IMAP_RECT 
IMAP_CIRC 
IMAP_POLY 
EXPORT_GRAPHIC_STORAGE_HANDLER 
IMPORT_GRAPHIC_STORAGE_HANDLER 
EXPORT_EOR 
IMPORT_EOR 
VALBIND 
LISTCELLBIND 
LISTSOURCE 
CELLADDRESS 
RANGEADDRESS 
SHEETDOCSET 
CHDATAPROV 
CHART_PIVOTTABLE_DATAPROVIDER 
FORMULAPARS 
OPCODEMAPPER 
VBAOBJECTPROVIDER 
VBACODENAMEPROVIDER 
VBAGLOBALS 
EXT_TIMEFIELD 
INVALID 

Definition at line 32 of file servuno.hxx.

Member Function Documentation

◆ GetAllServiceNames()

uno::Sequence< OUString > ScServiceProvider::GetAllServiceNames ( )
static

Definition at line 614 of file servuno.cxx.

References aProvNamesId, i, and SAL_N_ELEMENTS.

Referenced by ScModelObj::getAvailableServiceNames().

◆ GetProviderType()

ScServiceProvider::Type ScServiceProvider::GetProviderType ( std::u16string_view  rServiceName)
static

Definition at line 372 of file servuno.cxx.

References aProvNamesId, i, and INVALID.

Referenced by ScModelObj::create().

◆ MakeInstance()

uno::Reference< uno::XInterface > ScServiceProvider::MakeInstance ( Type  nType,
ScDocShell pDocShell 
)
static

Definition at line 396 of file servuno.cxx.

References AUTOFORMAT, AUTOFORMATS, BITMAPTAB, CELLADDRESS, CELLRANGES, CELLSTYLE, CHART_PIVOTTABLE_DATAPROVIDER, CHDATAPROV, DASHTAB, DATEFIELD, DOCCONF, DOCDEFLTS, DOCSPRSETT, DRAWDEFLTS, EXPORT_EOR, EXPORT_GRAPHIC_STORAGE_HANDLER, EXT_TIMEFIELD, FILEFIELD, FORMULAPARS, FUNCTIONDESCRIPTIONS, SfxObjectShell::GetBaseModel(), SfxApplication::GetBasicManager(), SfxObjectShell::GetBasicManager(), ScDocShell::GetDocument(), getFieldType(), BasicManager::GetGlobalUNOConstant(), ScDocument::GetGrammar(), ScDocShell::GetModel(), ScShapeObj::GetSupportedMacroItems(), GLOBALSHEETSETTINGS, GRADTAB, GRAPHICSTYLE, HATCHTAB, IMAP_CIRC, IMAP_POLY, IMAP_RECT, IMPORT_EOR, IMPORT_GRAPHIC_STORAGE_HANDLER, ScDocument::IsInVBAMode(), LISTCELLBIND, LISTSOURCE, ScDocShell::MakeDrawLayer(), MARKERTAB, nType, NUMRULES, OPCODEMAPPER, PAGEFIELD, PAGESFIELD, PAGESTYLE, RANGEADDRESS, RECENTFUNCTIONS, SC_AFMTOBJ_INVALID, BasicManager::SetGlobalUNOConstant(), ScDocument::SetVbaEventProcessor(), SHEET, SHEETDOCSET, SHEETFIELD, SvUnoImageMapCircleObject_createInstance(), SvUnoImageMapPolygonObject_createInstance(), SvUnoImageMapRectangleObject_createInstance(), SvxCreateNumRule(), SvxUnoBitmapTable_createInstance(), SvxUnoDashTable_createInstance(), SvxUnoGradientTable_createInstance(), SvxUnoHatchTable_createInstance(), SvxUnoMarkerTable_createInstance(), SvxUnoTransGradientTable_createInstance(), TIMEFIELD, TITLEFIELD, TRGRADTAB, URLFIELD, VALBIND, VBACODENAMEPROVIDER, VBAGLOBALS, and VBAOBJECTPROVIDER.

Referenced by ScModelObj::create(), ScModelObj::createDataProvider(), and ScFormulaDlg::ScFormulaDlg().


The documentation for this class was generated from the following files: