desktop = XSCRIPTCONTEXT.getDesktop()
for doc_source in desktop.Components: if doc_source.Title == doc_source_name: break