Translations:Macros/Calc/py001/6/da

    From The Document Foundation Wiki

    desktop = XSCRIPTCONTEXT.getDesktop()

       for doc_source in desktop.Components:
           if doc_source.Title == doc_source_name:
               break