Lines Matching refs:ctx
176 def __init__( self, ctx, location ): argument
182 …self.m_uriRefFac = ctx.ServiceManager.createInstanceWithContext("com.sun.star.uri.UriReferenceFact…
263 def __init__( self, ctx, doc, inv ): argument
264 self.ctx = ctx
275 return self.ctx.ServiceManager.createInstanceWithContext(
276 "com.sun.star.frame.Desktop", self.ctx )
279 return self.ctx
508 ctx = self.provCtx.scriptContext.getComponentContext()
509 dlgprov = ctx.ServiceManager.createInstanceWithContext(
510 servicename, ctx )
760 def getModelFromDocUrl(ctx, url): argument
764 ucb = ctx.getServiceManager().createInstanceWithArgumentsAndContext(
765 "com.sun.star.ucb.UniversalContentBroker", args, ctx)
902 def __init__( self, ctx, *args ): argument
918 doc = getModelFromDocUrl(ctx, storageType)
923 content = ctx.getServiceManager().createInstanceWithContext(
925 ctx).createDocumentContent(doc)
936 urlHelper = MyUriHelper( ctx, storageType )
943 sfa = ctx.ServiceManager.createInstanceWithContext( ucbService, ctx )