Lines Matching refs:ctx
228 def __init__( self, ctx, location ): argument
234 …self.m_uriRefFac = ctx.ServiceManager.createInstanceWithContext("com.sun.star.uri.UriReferenceFact…
315 def __init__( self, ctx, doc, inv ): argument
316 self.ctx = ctx
327 return self.ctx.ServiceManager.createInstanceWithContext(
328 "com.sun.star.frame.Desktop", self.ctx )
331 return self.ctx
514 def createEditorDialog( ctx ): argument
515 smgr = ctx.ServiceManager
518 "com.sun.star.awt.UnoControlDialogModel", ctx)
578 "com.sun.star.awt.UnoControlDialog", ctx);
583 "com.sun.star.awt.ExtToolkit", ctx);
647 ctx = self.provCtx.scriptContext.getComponentContext()
649 self.editor = createEditorDialog( ctx )
781 ctx = self.provCtx.scriptContext.getComponentContext()
783 self.editor = createEditorDialog( ctx )
1078 def getModelFromDocUrl(ctx, url): argument
1082 ucb = ctx.getServiceManager().createInstanceWithArgumentsAndContext(
1083 "com.sun.star.ucb.UniversalContentBroker", args, ctx)
1259 def __init__( self, ctx, *args ): argument
1275 doc = getModelFromDocUrl(ctx, storageType)
1280 content = ctx.getServiceManager().createInstanceWithContext(
1282 ctx).createDocumentContent(doc)
1293 urlHelper = MyUriHelper( ctx, storageType )
1300 sfa = ctx.ServiceManager.createInstanceWithContext( ucbService, ctx )