Lines Matching refs:aDocument
86 ScriptDocument aDocument( aDesc.GetDocument() ); in EditingEntry() local
88 …Reference< script::XLibraryContainer2 > xModLibContainer( aDocument.getLibraryContainer( E_SCRIPTS… in EditingEntry()
89 …Reference< script::XLibraryContainer2 > xDlgLibContainer( aDocument.getLibraryContainer( E_DIALOGS… in EditingEntry()
117 ScriptDocument aDocument( aDesc.GetDocument() ); in EditedEntry() local
118 DBG_ASSERT( aDocument.isValid(), "ExtBasicTreeListBox::EditedEntry: no document!" ); in EditedEntry()
119 if ( !aDocument.isValid() ) in EditedEntry()
125 ? BasicIDE::RenameModule( this, aDocument, aLibName, aCurText, rNewText ) in EditedEntry()
126 : BasicIDE::RenameDialog( this, aDocument, aLibName, aCurText, rNewText ); in EditedEntry()
131 BasicIDE::MarkDocumentModified( aDocument ); in EditedEntry()
138 … SbxItem aSbxItem( SID_BASICIDE_ARG_SBX, aDocument, aLibName, rNewText, ConvertType( eType ) ); in EditedEntry()
165 ScriptDocument aDocument( aDesc.GetDocument() ); in NotifyStartDrag() local
168 …Reference< script::XLibraryContainer2 > xModLibContainer( aDocument.getLibraryContainer( E_SCRIPTS… in NotifyStartDrag()
169 …Reference< script::XLibraryContainer2 > xDlgLibContainer( aDocument.getLibraryContainer( E_DIALOGS… in NotifyStartDrag()
178 …Reference< container::XNameContainer > xDialogLib( aDocument.getLibrary( E_DIALOGS, aOULibName, sa… in NotifyStartDrag()
624 ScriptDocument aDocument( aDesc.GetDocument() ); in CheckButtons() local
627 sal_Bool bVBAEnabled = aDocument.isInVBAMode(); in CheckButtons()
646 …Reference< script::XLibraryContainer2 > xModLibContainer( aDocument.getLibraryContainer( E_SCRIPTS… in CheckButtons()
647 …Reference< script::XLibraryContainer2 > xDlgLibContainer( aDocument.getLibraryContainer( E_DIALOGS… in CheckButtons()
719 ScriptDocument aDocument( ScriptDocument::getApplicationScriptDocument() ); in IMPL_LINK() local
725 aDocument = pBasicDocumentEntry->GetDocument(); in IMPL_LINK()
727 …SfxUsrAnyItem aDocItem( SID_BASICIDE_ARG_DOCUMENT_MODEL, makeAny( aDocument.getDocumentOrNull() ) … in IMPL_LINK()
800 ScriptDocument aDocument( ScriptDocument::getApplicationScriptDocument() ); in NewModule() local
803 if ( GetSelection( aDocument, aLibName ) ) in NewModule()
806 createModImpl( static_cast<Window*>( this ), aDocument, in NewModule()
813 ScriptDocument aDocument( ScriptDocument::getApplicationScriptDocument() ); in NewDialog() local
816 if ( GetSelection( aDocument, aLibName ) ) in NewDialog()
818 aDocument.getOrCreateLibrary( E_DIALOGS, aLibName ); in NewDialog()
822 xNewDlg->SetObjectName( aDocument.createObjectName( E_DIALOGS, aLibName ) ); in NewDialog()
828 aDlgName = aDocument.createObjectName( E_DIALOGS, aLibName); in NewDialog()
830 if ( aDocument.hasDialog( aLibName, aDlgName ) ) in NewDialog()
838 if ( !aDocument.createDialog( aLibName, aDlgName, xISP ) ) in NewDialog()
841 …SbxItem aSbxItem( SID_BASICIDE_ARG_SBX, aDocument, aLibName, aDlgName, BASICIDE_TYPE_DIALOG ); in NewDialog()
850 LibraryLocation eLocation = aDocument.getLibraryLocation( aLibName ); in NewDialog()
851 SvLBoxEntry* pRootEntry = aBasicBox.FindRootEntry( aDocument, eLocation ); in NewDialog()
887 ScriptDocument aDocument( aDesc.GetDocument() ); in DeleteCurrent() local
888 DBG_ASSERT( aDocument.isAlive(), "ObjectPage::DeleteCurrent: no document!" ); in DeleteCurrent()
889 if ( !aDocument.isAlive() ) in DeleteCurrent()
906 …SbxItem aSbxItem( SID_BASICIDE_ARG_SBX, aDocument, aLibName, aName, aBasicBox.ConvertType( eType )… in DeleteCurrent()
915 bSuccess = aDocument.removeModule( aLibName, aName ); in DeleteCurrent()
917 bSuccess = BasicIDE::RemoveDialog( aDocument, aLibName, aName ); in DeleteCurrent()
920 BasicIDE::MarkDocumentModified( aDocument ); in DeleteCurrent()