Lines Matching refs:sfa
316 def __init__( self, storageType, sfa, uriHelper, scriptContext ): argument
318 self.sfa = sfa
386 src = readTextFromStream( self.sfa.openFileRead( url ) )
425 lastRead = self.sfa.getDateTimeModified( url )
435 src = readTextFromStream( self.sfa.openFileRead( url ) )
488 ret = not self.provCtx.sfa.isReadOnly( self.uri )
516 code = readTextFromStream(self.provCtx.sfa.openFileRead(self.uri))
552 self.provCtx.sfa.move( self.uri, copyUrl )
553 out = self.provCtx.sfa.openFileWrite( self.uri )
556 self.provCtx.sfa.kill( copyUrl )
630 contents = self.provCtx.sfa.getFolderContents( self.rootUrl, True )
637 elif self.provCtx.sfa.isFolder( i ) and not i.endswith("/pythonpath"):
686 def isPyFileInPath( sfa, path ): argument
688 contents = sfa.getFolderContents( path, True )
690 if sfa.isFolder(i):
691 ret = isPyFileInPath(sfa,i)
700 def getPathesFromPackage( rootUrl, sfa ): argument
704 inputStream = sfa.openFileRead( fileUrl )
710 if not isPyFileInPath( sfa, i ):
793 def getPackageName2PathMap( sfa, storageType ): argument
809 pathes = getPathesFromPackage( j, sfa )
943 sfa = ctx.ServiceManager.createInstanceWithContext( ucbService, ctx )
944 if not sfa:
949 storageType, sfa, urlHelper, ScriptContext( uno.getComponentContext(), doc, inv ) )
951 mapPackageName2Path = getPackageName2PathMap( sfa, storageType )
1046 if isPyFileInPath( self.provCtx.sfa, uri ):