Class Service

class ooodev.loader.inst.service.Service(value)[source]

Service Type

get_doc_type()[source]

Gets the document type as DocType Enum

Return type:

DocType

get_doc_type_str()[source]

Gets the document type as DocTypeStr Enum

Return type:

DocTypeStr

BASE = 'com.sun.star.sdb.OfficeDatabaseDocument'
CALC = 'com.sun.star.sheet.SpreadsheetDocument'
DRAW = 'com.sun.star.drawing.DrawingDocument'
IMPRESS = 'com.sun.star.presentation.PresentationDocument'
MATH = 'com.sun.star.formula.FormulaProperties'
UNKNOWN = 'com.sun.frame.XModel'
WRITER = 'com.sun.star.text.TextDocument'